how to fix manually assigned eth0 address?


Forum: Networking
Topic: how to fix manually assigned eth0 address?
started by: =SERGE=

Posted by =SERGE= on May 10 2008,13:43
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?

Posted by curaga on May 10 2008,14:28
http://damnsmalllinux.org/wiki/index.php/Frequently_Asked_Questions
Posted by =SERGE= on May 10 2008,15:48
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

Posted by Juanito on May 10 2008,16:22
You also have to use the "nodhcp" boot code
Posted by =SERGE= on May 11 2008,04:11
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?

Posted by Juanito on May 11 2008,04:37
So did it work? :)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.