So for the last few evenings I have been working like a slave to get this thing finished.
Saturday inspired by seeing two up and running, I have finally completed the building and wiring of the printer.. and this morning I added power \o/
I am hoping to get my first print this evening after work.
Tuesday, 15 May 2012
Tuesday, 8 May 2012
3D printer update!
So I spent most of the bankholiday weekend building more of my 3d printer!
frame is complete
the cold and hot sides of the extruder are now done and fitted
the heated bed is now fitted (still needs wiring up)
I also built/soldered the two identical Stepper Driver boards too, tested and both seem to be fine :)
just need to complete the main board which should be easier!
then just the final wiring and should be ready to go. :D
frame is complete
the cold and hot sides of the extruder are now done and fitted
the heated bed is now fitted (still needs wiring up)
I also built/soldered the two identical Stepper Driver boards too, tested and both seem to be fine :)
just need to complete the main board which should be easier!
then just the final wiring and should be ready to go. :D
Friday, 4 May 2012
Qnap Ts-412 NAS Lost shares - fixed!!
so my NAS lost all its shares over night somehow... the data was still there according to the hdd sizes reported back.. i just couldn't access them.
QNAP emailed me a fix that required a factory reset and a few other parts that just seemed scary despite the promise I wouldn't loose data!
Here however is my fix which worked flawlessly you can skip steps 1-6 if you don't have capacity/time
(this part can be skipped)
1, Insert a spare drive large enough to take the capacity of the data that is missing.
2, create a new share on that drive (eg "mybackupshare")
3, Enable SSH and then SSH into the QNAP device
4, cd into share/
5, ls * to locate your old shares (can get the names from this list too) and will locate your new backup "mybackupshare" folder too
6, cp -r MD0_DATA/mylostshares/* HDD_DATA/mybackupshare/
this provides a backup of the data in case the next step goes wrong.
(this will rebuild the shares and retrieve data back into those folders)
7, goto the admin panel and click "restore default network shares"
8, create your old shares using the EXACT same name (as found via step 5 above)
9, all your data/shares should be back.
No need for the factory reset at all!
win!
QNAP emailed me a fix that required a factory reset and a few other parts that just seemed scary despite the promise I wouldn't loose data!
Here however is my fix which worked flawlessly you can skip steps 1-6 if you don't have capacity/time
(this part can be skipped)
1, Insert a spare drive large enough to take the capacity of the data that is missing.
2, create a new share on that drive (eg "mybackupshare")
3, Enable SSH and then SSH into the QNAP device
4, cd into share/
5, ls * to locate your old shares (can get the names from this list too) and will locate your new backup "mybackupshare" folder too
6, cp -r MD0_DATA/mylostshares/* HDD_DATA/mybackupshare/
this provides a backup of the data in case the next step goes wrong.
(this will rebuild the shares and retrieve data back into those folders)
7, goto the admin panel and click "restore default network shares"
8, create your old shares using the EXACT same name (as found via step 5 above)
9, all your data/shares should be back.
No need for the factory reset at all!
win!
Thursday, 3 May 2012
3D Printer update.
Did a little more to the printer tonight... but need to grab some other parts before i can do any more :(
Tuesday, 1 May 2012
Gnuradio with ubuntu (11.10)
So I installed and played about with Gnuradio after seeing a talk at defcon london this month.
Some little trips i found along the way and their fixes!
GRC (gnu radio companion) wont start - copy your grc.conf file to yourlocal directory, you might need to make the .gnuradio folder first.
cp /etc/gnuradio/conf.d/grc.conf ~/.gnuradio/config.conf
GRC now works but audio sinks dont like your sound card under ubuntu, this is because your running pulse audio not alsa...and so it cant open the device, so to solve this set the device name in the sink to "pulse" and set the sample rater to 48Khz
if i find more problems ill add to this post.
Some little trips i found along the way and their fixes!
GRC (gnu radio companion) wont start - copy your grc.conf file to yourlocal directory, you might need to make the .gnuradio folder first.
cp /etc/gnuradio/conf.d/grc.conf ~/.gnuradio/config.conf
GRC now works but audio sinks dont like your sound card under ubuntu, this is because your running pulse audio not alsa...and so it cant open the device, so to solve this set the device name in the sink to "pulse" and set the sample rater to 48Khz
if i find more problems ill add to this post.
Tuesday, 24 April 2012
Comms with screen
So today I learnt you can connect to a coms port using screen!
eg
screen /dev/ttyUSB0 115200 8N1
same screen key bindings work :)
no need for minicom crap now!
eg
screen /dev/ttyUSB0 115200 8N1
same screen key bindings work :)
no need for minicom crap now!
Tuesday, 10 April 2012
perl modules in ubuntu
Thought I better write this down before I forget it, how to install missing perl modules under ubuntu using apt-get
so say you see this:
Requirements
------------
Net::LDAP
Getopt::Std
Net::Nslookup
Net::Dns
how do you install those?
well simple...
apt-get install libnet-ldap-perl
apt-get install libnet-dns-perl
etc
so say you see this:
Requirements
------------
Net::LDAP
Getopt::Std
Net::Nslookup
Net::Dns
how do you install those?
well simple...
apt-get install libnet-ldap-perl
apt-get install libnet-dns-perl
etc
Saturday, 31 March 2012
Flash Video over other windows even when firefox is minimised
Fecking annoying bug recently, if i opened a flash video in firefox it would mess up other windows by showing through everything, even if i minimised firefox.
The fix was pretty easy
In a terminal, execute
gstreamer-properties
and in the second tab change the Plugin option in the "Default Output" to "X Window System - Without XV".
The fix was pretty easy
In a terminal, execute
gstreamer-properties
and in the second tab change the Plugin option in the "Default Output" to "X Window System - Without XV".
Thursday, 22 March 2012
Removing Ubuntu One (ubuntuone-syncd)
First track down and kill the process of ubuntuone-syncd
ps -ef|grep ubuntu
kill -9 {pid number}
then remove the folders it uses
rm –rf ~/.local/share/ubuntuone
rm –rf ~/.cache/ubuntuone
rm –rf ~/.config/ubuntuone
rm –rf ~/Ubuntu\ One
then remove the packages
sudo apt-get purge ubuntuone-client* python-ubuntuone-storage*
you should be sorted!
ps -ef|grep ubuntu
kill -9 {pid number}
then remove the folders it uses
rm –rf ~/.local/share/ubuntuone
rm –rf ~/.cache/ubuntuone
rm –rf ~/.config/ubuntuone
rm –rf ~/Ubuntu\ One
then remove the packages
sudo apt-get purge ubuntuone-client* python-ubuntuone-storage*
you should be sorted!
Saturday, 17 March 2012
getting yaptest to run under ubuntu
So here are some (hopefully complete) notes I have made over the last few hours trying to get yaptest running
after downloading yaptest from pentestmonkey.net
untar etc
and get that made and installed
next you need to get postgres up and running
so you need to be root
dont forget to start it /etc/init.d/postgres start
You also need a bunch of perl modules
change the pg_hba_conf file too for postgres
change the following lines at the bottom of the file
(/etc/postgresql/9.1/main/pg_hba.conf)
Remember to restart your postgres server ;)
you will need to use this connect to the 127.0.0.1 database, find the yaptest_user under the login roles and give them create db privilages.
you can now run yaptest-wizard.pl to create the database and run yaptest as normal.
ldapsearch is provided by ldap-utils in ubuntu
after downloading yaptest from pentestmonkey.net
untar etc
and get that made and installed
next you need to get postgres up and running
so you need to be root
apt-get install postgresql
dont forget to start it /etc/init.d/postgres start
You also need a bunch of perl modules
apt-get install libdbd-pg-perl
apt-get install libparallel-forkmanager-perl
apt-get install libdigest-md4-perl
apt-get install libxml-simple-perlchange the pg_hba_conf file too for postgres
change the following lines at the bottom of the file
(/etc/postgresql/9.1/main/pg_hba.conf)
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
Remember to restart your postgres server ;)
apt-get install pgadmin3you will need to use this connect to the 127.0.0.1 database, find the yaptest_user under the login roles and give them create db privilages.
you can now run yaptest-wizard.pl to create the database and run yaptest as normal.
ldapsearch is provided by ldap-utils in ubuntu
Sunday, 4 March 2012
Does freezing a laptop battery give it a longer life...(answer no)
So battery on this Dell Mini 9 I got the other day has a terrible battery life, about 2 hours, I decided to do an experiement to see if sticking the battery in the freezer ACTUALLY does something useful
li-ion battery
all testing done with no interaction of the laptop
-- day 1 --
Day one was basically starting from 0% battery to full charge and then letting it run down back to 0% and repeating this several times
Charging from 0% to 100% took 2 hours
Discharging from 100% to 0% was also 2 hours
-- day 2 --
08:30 battery placed in freezer in two bags as per guides on the internet
-- day 3 --
12:00 Battery is removed after 27 hours in the freezer and given two hours to get back to room temperature.
Charging from 0% to 100% takes 2 hours
Discharge from 100% to 0% also takes 2 hours
-- Results --
Freezing the battery has done nothing what so ever to the battery!
-- addendum --
Some people have said that I need to cycle the battery at least 4 times to see an effect, this is currently being done and the results will be posted later on. I dont think it will work...
li-ion battery
all testing done with no interaction of the laptop
-- day 1 --
Day one was basically starting from 0% battery to full charge and then letting it run down back to 0% and repeating this several times
Charging from 0% to 100% took 2 hours
Discharging from 100% to 0% was also 2 hours
-- day 2 --
08:30 battery placed in freezer in two bags as per guides on the internet
-- day 3 --
12:00 Battery is removed after 27 hours in the freezer and given two hours to get back to room temperature.
Charging from 0% to 100% takes 2 hours
Discharge from 100% to 0% also takes 2 hours
-- Results --
Freezing the battery has done nothing what so ever to the battery!
-- addendum --
Some people have said that I need to cycle the battery at least 4 times to see an effect, this is currently being done and the results will be posted later on. I dont think it will work...
Dell Mini 9 Linux wifi broadcom drivers (solved) (updated!)
OK so most of this weekend I have spent fucking about trying to find a lightweight linux OS that worked with the broadcom wifi built in.... here are the results
Crunchbang - doesn't install from USB (using unetbootin)
Ubuntu 12.04 beta - didn't work out the box
Ubuntu 10.04 - worked but way way too heavy
Ubuntu 11.10 - too heavy hate gnome3 and unity
Arch - argghhhh just NO
Xubuntu - lightweight but didn't work out the box
Linux mint debian xfce - didn't work out the box
Linux mint 12 - Live CD worked fine - useable but installed didn't work and needed a wired connection
So what have I gone for? Linux Mint 12, set up with a wired connection to install the bcm-kernal-sources which i am hoping to move over to xfce.
** update **
So i have finally found a perfect solution on getting the dell mini 9 to play nice!
first add this to your software repository (using synaptic for example)
deb http://ftp.us.debian.org/debian testing main contrib non-free
then do the rest in a root termin (sudo -s)
apt-get update
apt-get install module-assistant wireless-tools
m-a a-i broadcom-sta
echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf
update-initramfs -u -k $(uname -r)
modprobe -r b44 b43 b43legacy ssb brcm80211
modprobe wl
should be done :D
Crunchbang - doesn't install from USB (using unetbootin)
Ubuntu 12.04 beta - didn't work out the box
Ubuntu 10.04 - worked but way way too heavy
Ubuntu 11.10 - too heavy hate gnome3 and unity
Arch - argghhhh just NO
Xubuntu - lightweight but didn't work out the box
Linux mint debian xfce - didn't work out the box
Linux mint 12 - Live CD worked fine - useable but installed didn't work and needed a wired connection
So what have I gone for? Linux Mint 12, set up with a wired connection to install the bcm-kernal-sources which i am hoping to move over to xfce.
** update **
So i have finally found a perfect solution on getting the dell mini 9 to play nice!
first add this to your software repository (using synaptic for example)
deb http://ftp.us.debian.org/debian testing main contrib non-free
then do the rest in a root termin (sudo -s)
apt-get update
apt-get install module-assistant wireless-tools
m-a a-i broadcom-sta
echo blacklist brcm80211 >> /etc/modprobe.d/broadcom-sta-common.conf
update-initramfs -u -k $(uname -r)
modprobe -r b44 b43 b43legacy ssb brcm80211
modprobe wl
should be done :D
Tuesday, 14 February 2012
Network Thumbnails in Ubuntu
Just found this out as a cure for a little annoyance of mine, not seeing thumbnails of images/files over network shares.
goto Nautilus > edit > preferences > preview
and change thumbnails to Always rather than Local Only.
Another small problem in life fixed!
goto Nautilus > edit > preferences > preview
and change thumbnails to Always rather than Local Only.
Another small problem in life fixed!
Friday, 27 January 2012
3d Rep-rap printer build (phase 2)
Thought I would share the current state of the 3d Rep-rap printer I am building... z-motors installed along with Z-guides, the Y axis wood bed (the Z motor wires are sitting on it) is also installed now and everything is now tightened up and secure - the weight has pretty much trebled too!
Subscribe to:
Posts (Atom)





