Networking :: persistant wireless



I added the commands I was manually using to configure wireless with each boot from my Live CD (V 4.4) with modifications in accord with geomort's post and lucky13 comment) to my bootlocal.sh.

On reboot, ping didn't work, but did after I entered a pump -i wlan0 command in a root shell.

Since I had a pump -i wlan0 line in my bootlocal.sh, I am puzzled why it didn't work.

My bootlocal.sh is:
#!/bin/bash
# put other system startup command here
sudo pump -k
sudo mount /dev/hda1 /mnt/hda1
sudo ndiswrapper -i /mnt/hda1/Drivers/Wireless/bcmwl5a.inf
sudo sleep 5
sudo modprobe ndiswrapper
sudo sleep 5
sudo umount /mnt/hda1
sudo iwconfig wlan0 essid blackriver
sudo iwconfig wlan0 key F2EA328E4F6FA8805CBBE45DD0
sudo ifconfig wlan0 up
sudo pump -i wlan0
sudo iwconfig

Appreciate help; thanks in advance.

Steve

Found my error, by searching the forum archives some more and found a comment by (dread pirate) Roberts that the boot code nodhcp should be used in conjunction with the wireless configuration in bootlocal.sh.

I added nodhcp at boot and DSL comes up connected!

Thanks all.

Steve


original here.