henk1955
Group: Members
Posts: 249
Joined: June 2004 |
|
Posted: Oct. 07 2004,07:07 |
|
i made a little file i called net.sh in it isCode Sample | #!/bin/bash
ifconfig eth0 10.0.0.9 netmask 255.255.255.0 broadcast 255.255.255.255 route add default gw 10.0.0.2 echo "nameserver 10.0.0.2" >/etc/resolv.conf
|
now at start i run this little script. to make sure it does not interfere with the dhcp client at startup i boot with parameter nodhcp. it works for me
-------------- You have a Q or just want to chat? Come to #damnsmalllinux on irc.freenode.net! Open 24/7
dell latitude c640 p4@1.6Ghz 256Mb DSL0.9.1-remaster asus p4p800-vm p4@2.8Ghz HT / celeron@2.4Ghz 512Mb DSL0.9.1-remaster (alsadebs.dsl) ABit BE6 celeron@466 256Mb DSL0.9.1-remaster (xawtv)
|