Hi all,
How to save the config when seting wifi configuration to auto restore at boot?
( i use a USB drive to save PUPPPY config)
Comment sauvegarder la configuration du wifi et la retrouver au demarage ?
Thanks
Patrick.
How do I save wifi config to USB so it restores on reboot?
Take a look at my wiki page on ndiswrapper for reference. Scroll down to the section "Making the process automatic at boot."
The link is here
Ignore, of course, the ndiswrapper part if you are not usng ndiswrapper.
Where is the zd1211.o file now? You should use it as the first entry in the rc.local file. So, if it is in the root folder, try;
insmod -v /root/zd1211.o
Modify what I wrote for the iwconfig entries with your usual settings.
The link is here
Ignore, of course, the ndiswrapper part if you are not usng ndiswrapper.
Where is the zd1211.o file now? You should use it as the first entry in the rc.local file. So, if it is in the root folder, try;
insmod -v /root/zd1211.o
Modify what I wrote for the iwconfig entries with your usual settings.
I love it when a plan comes together
--Hannibal Smith
--Hannibal Smith
-
- Posts: 5464
- Joined: Fri 10 Jun 2005, 05:12
- Location: Australia
Patrick,
Different wireless drivers create different interface names. Your ZD1211 driver creates "wlan0" ... I think. Run "ifconfig -a" to check.
When you compiled this driver, the installation process probably ran "depmod" which maps the location of the driver, so you won't need to specify the driver's location when loading it (it's probably at /lib/modules/2.4.29/net/zd1211_mod.o). I presume you have a full Type2 hard drive installation of Puppy.
So these are the lines you need to add to /etc/rc.d/rc.local -
modprobe zd1211_mod
(... maybe not necessary, if Puppy automatically loads this module already, check with "lsmod")
iwconfig wlan0 essid MY_ESSID key 1234567890 mode Managed
dhcpcd -t 20 -h puppypc -d wlan0
Different wireless drivers create different interface names. Your ZD1211 driver creates "wlan0" ... I think. Run "ifconfig -a" to check.
When you compiled this driver, the installation process probably ran "depmod" which maps the location of the driver, so you won't need to specify the driver's location when loading it (it's probably at /lib/modules/2.4.29/net/zd1211_mod.o). I presume you have a full Type2 hard drive installation of Puppy.
So these are the lines you need to add to /etc/rc.d/rc.local -
modprobe zd1211_mod
(... maybe not necessary, if Puppy automatically loads this module already, check with "lsmod")
iwconfig wlan0 essid MY_ESSID key 1234567890 mode Managed
dhcpcd -t 20 -h puppypc -d wlan0