Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: lamers question, help with prism2< Next Oldest | Next Newest >
Matoxxx Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: Dec. 30 2005,13:01 QUOTE

Hello i new in sphere of unix, selfstudiing, bbut i have pproblems with saving my netcard config. and wlanconfig for prism2 Harris-Intersil PCI card. It is working fine with no issues, but on every boot i loose my config settings, and its annoying to do it again and again. i tryed to backup on usb drive whole ramdisk/home/var/ directory where i found netconfig file, but for no use.. any ideas thanks
Back to top
Profile PM 
Matoxxx Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: Dec. 30 2005,13:15 QUOTE

adding some info. i need to save my static ip and wireless config
Back to top
Profile PM 
Matoxxx Offline





Group: Members
Posts: 4
Joined: Dec. 2005
Posted: Dec. 30 2005,15:15 QUOTE

static ip saved,  but cant do nothing about saving wlan config. please help
Back to top
Profile PM 
thylacine222 Offline





Group: Members
Posts: 3
Joined: Dec. 2005
Posted: Dec. 30 2005,15:23 QUOTE

If I understand you correctly, what you need to do is make a shell script. What you do to make a shell script is:

#/bin/sh
(Enter in everything you do to start up your wireless network here)


And save this. Save it in a place you will remember it.
And once you have saved this, run "chmod +x (Filename of shell script)

DSL should have a file called /etc/rc.local or /etc/rc.d/rc.local or /etc/init.d/rc.local.

What you have to do is put the location of the shell script you have made underneath everything in this file. Once you have done this, it should be saved onto your USB drive, unless I have messed up grossly and USB DSL is only read only.

Rc.local starts up automatically after the startup procedure, but before login. This hopefully is what you wanted. If rc.local does not exist, there are some more files I can list for you if you want.
Back to top
Profile PM 
doobit Offline





Group: Members
Posts: 912
Joined: July 2005
Posted: Dec. 30 2005,15:28 QUOTE

Most of the info is already save in scripts in the /opt directory. One is called myiwconfig.sh for example. To make them persistant you add the path to those scripts to the /opt/bootlocal.sh script so they are loaded at boot time. You can also add them to a list called .filetool.lst that is made visible in /home/dsl when you click the "H" in the upper left corner of EmelFM. Or just select the script and click the filetool.lst button in EmelFM. There have been some changes in DSL versions after 1.5 so do a search for more info on those scripts.

--------------
"Help stop internet piracy...use Linux!"
Back to top
Profile PM WEB MSN 
5 replies since Dec. 30 2005,13:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: lamers question

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code