How do I save wifi config to USB so it restores on reboot?

Booting, installing, newbie
Post Reply
Message
Author
pbucau
Posts: 7
Joined: Mon 10 Oct 2005, 19:04

How do I save wifi config to USB so it restores on reboot?

#1 Post by pbucau »

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.

keenerd
Posts: 176
Joined: Sat 20 Aug 2005, 19:24

#2 Post by keenerd »

There are several programs for wifi. Which doesn't save?

pbucau
Posts: 7
Joined: Mon 10 Oct 2005, 19:04

#3 Post by pbucau »

OK

All the IWCONGIF a enter on manul.
when a live PUPPY and rebbot i must be reenter all .

i don't know how and where make it .

I know my english is bad !!

Thanks to help me

User avatar
rarsa
Posts: 3053
Joined: Sun 29 May 2005, 20:30
Location: Kitchener, Ontario, Canada
Contact:

#4 Post by rarsa »

Open the /etc/rc.d/rc.local file with the leafpad or beaver text editor and add the same commands you type to that file.

They will be executed next time you boot up.

Guest

#5 Post by Guest »

Thanks rarsa,

I'll try it, but can i have a sample of this file please ?
( /etc/rc.d/rc.local)

Before use wifi, i must be type "insmod -v zd1211.o"
Can i put it on rc.local ?
Where i must be copy zd1211.o file ?
Or if another way ??

Thanks for your help.

User avatar
danleff
Posts: 294
Joined: Sun 08 May 2005, 13:11
Location: Albany, NY
Contact:

#6 Post by danleff »

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.
I love it when a plan comes together

--Hannibal Smith

pbucau
Posts: 7
Joined: Mon 10 Oct 2005, 19:04

#7 Post by pbucau »

Thanks Hannibal ,

OK a can move files in /root/

What's different about wlan0 and eth0 ?

Thanks.

Patrick

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#8 Post by tempestuous »

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

pbucau
Posts: 7
Joined: Mon 10 Oct 2005, 19:04

#9 Post by pbucau »

Thanks,

i try a lot of command...nothing work!

Thanks for your helps, but i think i sould be return to XP !!!!

bye...

Post Reply