how to keep netcard settings


Forum: HD Install
Topic: how to keep netcard settings
started by: rebooter98

Posted by rebooter98 on July 19 2005,18:42
I really like v1.3 and have got it hooked to my XP machine and happlily browsing files in LinNeighborhood, but the DSL box loses its NIC settings and I have to reset them at each start up.

How can I get these settings to stick without doing the netcardconfig thing every time?

Thanks in advance

Posted by rebooter98 on July 19 2005,18:58
the file /etc/sysconfig/network-scripts/ifcfg-eth0 looks ok like:

DEVICE=eth0
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
ONBOOT=yes

Posted by cbagger01 on July 19 2005,19:33
Try this out:

< http://damnsmalllinux.org/cgi-bin....+reboot >

Posted by rebooter98 on July 19 2005,19:34
apparently the settings are stored in file /etc/network/interfaces
and when I run ifup eth0 it loads the settings.

question is can I make this happen at startup?

thanks

Posted by cbagger01 on July 19 2005,19:47
Yes, just add

ifup eth0

to your /opt/bootlocal.sh startup script.

Posted by rebooter98 on July 20 2005,01:04
had to add
  - nodhcp in lilo apend statement and also
  - complete ifconfig statement to /opt/bootlocal.sh
then it loaded my static ip automatically.

Thanks for the directions and tips.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.