Networking :: hd-install and network?



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

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.

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 !!

hey your route add is your default gateway of network if that helps any..
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?

Next Page...
original here.