Hi Voytek,

edit /etc/sysconfig/ifcfg-eth0

Get it to look something like the following...

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=none
BROADCAST=10.1.2.255
IPADDR=10.1.2.250
IPV6INIT=yes
IPV6_AUTOCONF=yes
NETMASK=255.255.255.0
NETWORK=10.1.2.0
ONBOOT=yes
GATEWAY=10.1.2.253
TYPE=Ethernet
PEERDNS=yes
USERCTL=no

if there is a line in there with HW= or HWARE= with a mac address like 2B:3C:F2:... you can remove it without any dramas.

Ben




On 30/07/2010 12:26 PM, Voytek Eymont wrote:
I have am old clunker with Centos 5.x,

it appears it developed NIC probs, couldn't reach it, when screen plugged
in, screen blank

on power up, it gave some eth0 messages;

I removed the 3COM PCI NIC, starred at it for a while whilst nodding my
head, then, put it back in

machine booted OK, BUT, is now on DHCP address, not what it was, fixed IP

I've 'ifconfig eth0 192.168.1.5....' ; 'route add -net...'

that returned it desired IP OK, but, on reboot, it reverts to DHCP

what do I need to make it stick ?

(tried editing some /etc/sysconfig files, but, it was telling something
about hardlinks, so I didn't)



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to