Networking :: how to fix manually assigned eth0 address?



I'm tri,g to configure dsl 3.4.1 for emule and I need
to have eth0 manually assigned (not DHCP)

Well, I use netcardconfig to assign the address etc But upon reboot again it usues dhcp  assigned address.

So what to do?

http://damnsmalllinux.org/wiki/index.php/Frequently_Asked_Questions
Quote (curaga @ May 10 2008,14:28)
http://damnsmalllinux.org/wiki/index.php/Frequently_Asked_Questions

I did as suggested
added to the /opt/bootlocal.sh
the lines

ifconfig eth0 xxx.xxx.x.xx
route add default gw xxx.xxx.x.x
echo nameserver xx.xx.xxx.xx > /etc/resolv.conf
ifup eth0

nothing changed
upon boot it uses dhcp again

You also have to use the "nodhcp" boot code
Quote (Juanito @ May 10 2008,16:22)
You also have to use the "nodhcp" boot code

FFFFFFFFFFFFFFFFFFFFFFFFF!!!!!!!!!!!!!!

It is THE MOST IMPORTANT param; is it NOT?

Next Page...
original here.