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: hd-install and network?, static ip config lost on reboot?< Next Oldest | Next Newest >
dslrat Offline





Group: Members
Posts: 4
Joined: April 2005
Posted: April 15 2005,16:43 QUOTE

I installed dsl-1.0 from dsl-1.0.iso on hard disk. After install
I changed the hostname (hostname newname) and configured static -ipaddressetc. (via stsyem-net setup->netcardconfig).

After a boot both the new hostname and static-ipaddress
info disapprears( changes to hostname box and ip address
obtained from DHCP server). Is there a way to keep the information acroos a reboot of system?

-dslrat
Back to top
Profile PM 
tronik Offline





Group: Members
Posts: 182
Joined: Dec. 2004
Posted: April 15 2005,17:04 QUOTE

add it to /opt/bootlocal.sh

ifconfig eth0 ip netmask ip
route add default, etc.
echo "ip.of.nameserver.here" > /etc/resolv.conf
hostname hostname.you.want.com

the hostname is being changed by the knoppix/dsl bootup scripts.

bootlocal is called from the rc init scripts, afterwards.

enjoy dsl.


--------------
-william
atlanta, GA, USA

DSL 1.0+2.4.27/sata : P4 2.4norwood : 512ddr2 : nvgf4ti4200-64 : 128mbLexar Jumpdrive Elite
Back to top
Profile PM WEB 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 25 2005,20:12 QUOTE

I want to configure static ip and your answer helps me a lot  but one thing I still don't understand is the following line:
route add default, etc.

I really don't know wat to put there can you be more specific with an example ?

Thanx in advantage !!


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
Billsrock61 Offline





Group: Members
Posts: 34
Joined: April 2005
Posted: April 25 2005,23:28 QUOTE

hey your route add is your default gateway of network if that helps any..
Back to top
Profile PM 
ReTeP Offline





Group: Members
Posts: 38
Joined: April 2005
Posted: April 28 2005,14:35 QUOTE

This is what I've configured in the bootlocal.sh
ifconfig eth0 10.0.0.202 netmask 255.255.255.0
route add default gw 10.0.0.138
echo 10.0.0.202 > /etc/resolv.conf
hostname linuxpdm
but it don't work. I still got an flexible ip instead of the static 10.0.0.202
Can somebody help me with this problem?


--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I'm using a native installed xDSL V0.5 on a modified xbox
   => xDSL is an DSL-clone and it's tweaked for a modified xbox.              
         xDSL is based on Damn Small Linux 2.1RC2
Back to top
Profile PM 
9 replies since April 15 2005,16:43 < 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: hd-install and network?

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