Networking :: Every reboot, lose wireless settings



I have DSL booting from Compact Flash, I finally got a PCMCIA wireless card to work (Gave up on SMC2532 with NDISWRAPPER, wasted days on this, bought a Dlink G650, worked out of the box :)

Anyhow, I opened .filetool.lst and added the line:

opt/myiwconfig.sh

... thinking this would save my wireless settings.  I checked the myiwconfig.sh file, and it contained the correct channel and WEP settings.

Then, as per Dillo, I ran the backup button on the DSLpanel, and specified HDC1 (the CF card).  The backup.tar.gz appeared in the /

I rebooted and expected the wireless card to come alive, but it doesn't.

I really don't understand the cheatcodes part of the instructions, possibly this is the missing link.  Can anyone explain this to a dumb newbie?

TimAllix, a "dumb newbie" you are not if you got your wireless card to work.  "Dumb Newbie" is a state of mind.

You say you have a file called opt/myiwconfig.sh which (by the .sh extension) is a shell script.  When you reboot can you open an xterminal and type /opt/myiwconfig.sh and see if the wireless is set up then?  If it is, then all you need to do is add the line:

/opt/myiwconfig.sh

to the end of the /opt/bootlocal.sh script and save the backup again.  The commands in bootlocal.sh are run when dsl boots up so your script will get run then.  /opt/bootlocal.sh should already be in .filetool.lst.

Thanks Clacker, that was the answer i was seeking.  System boots and card connects right away.

I am still not fully understanding the processes at work, perhaps you can clear things up for me...

When I finally figured out that the myiwconfig.sh file held the necessary settings for the wireless card, I wasn't sure why the settings had been saved in the first place....

Was it because I added the line, /opt/myiwconfig.bs to the .filetools.lst file?  Or were those settings saved the first time I ran a backup from the control console?

My DSL 3.0.1 is installed on my hard drive and I, too, have problems with the persistence of network settings.

Code Sample
$ /etc/init.d/networking start

will bring up my wireless card correctly, so all the parameters must be stored correctly. But when I boot, "knoppix" insists on running dhcp when the parameters I've stored indicate static IPs. I tried linking the above script into rc3.d with

Code Sample
$ cd /etc/rc3.d
$ ln -s ../init.d/networking ./S03networking

but this doesn't help. Doesn't this get executed as the boot process reaches stage 3?

Add nodhcp to your lilo or grub to avoid the dhcp request.
Or alternatively, modify the Knoppix boot script...
/etc/init.d/knoppix-autoconfig

Next Page...
original here.