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
 

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

reply to topic new topic new poll
Topic: How does one save static IP information?, Something to put in filetool.lst ?< Next Oldest | Next Newest >
green Offline





Group: Members
Posts: 453
Joined: Oct. 2004
Posted: Feb. 26 2005,02:33 QUOTE

Using: LiveCD - toram - backup/restore

I've been searching the forums in hopes of coming across something to "save" that would allow restoration of static IP information upon the next reboot. I've seen "ifup -a" or "ifup eth0" added to bootlocal.sh.  However, where does it save the actual static IP information? I understand about booting with "nodhcp" and all that business, but am wondering where all this neat static IP info is placed before reboot and how to retain it.

Any suggestions?

Thank you sirs/madams.

The Eternal N00b.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 26 2005,04:26 QUOTE

You also put the following in your /opt/bootlocal.sh

ifconfig eth0 ip xx.xx.xx.xx
route add default gw yy.yy.yy.yy
echo nameserver aa.aa.aa.aa > /etc/resolv.conf
echo nameserver bb.bb.bb.bb >> /etc/resolv.conf
Back to top
Profile PM WEB 
green Offline





Group: Members
Posts: 453
Joined: Oct. 2004
Posted: Feb. 26 2005,05:07 QUOTE

i should have figured that out.  Doh!

Thank you kind, Sir.
Back to top
Profile PM 
dexdex
Unregistered






Posted: Feb. 28 2005,10:28 QUOTE

you only have to add nodhcp to the lilo.conf

edit the lilo.conf where the row begins with:

append .... nodhcp

thats all.

do not forgett to confirm the change with command:

lilo
Back to top
Joeri
Unregistered






Posted: Mar. 29 2005,18:05 QUOTE

Using dsl 1.0 rc1.

Just the nodchp didn't do the job for me, so i did both and now its working.
I also added lampp start and ssh start to bootlocal.sh they start before login on my multiuser install.
Now it can run without login, it is just in use as a webserver
Back to top
4 replies since Feb. 26 2005,02:33 < Next Oldest | Next Newest >

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

 
reply to topic new topic new poll
Quick Reply: How does one save static IP information?

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