Sunday, January 11, 2009

Wireless script stopped working in Puppy 4.1.2

A few days ago I described how I managed to get wifi in Puppy 4.1.2 to connect at boot by means of a small script I added to /root/Startup/
Well, this stopped working for some reason although to get wifi going it was just a matter of open ROX-filer, going to /root/startup and clicking on the startwifi script file.
What could be wrong?
Let's look at the script again:

sleep 10
ifconfig ra0 up
iwconfig ra0 key open
iwconfig ra0 key abcdefghijklmnopqrstuvwxyz
iwconfig ra0 essid "zyxwvu"
ifconfig ra0 netmask
route add default gw

Nothing at all seems wrong here or to have changed in the last couple of days. So, it had to be the sleep time. So, I changed that to 20 seconds and, yes, it now works perfectly again although the boot does take 10 seconds longer.

No comments:

Post a Comment