Page 1 of 1

vicibox harddisk changed to another server

PostPosted: Tue Sep 15, 2009 9:02 pm
by ragunath154
HI
After changing my harddisk inwhich vicibox is loaded to another server ,i am not getting the ipaddress after typing the ifconfig ,below details only i am getting

lo Link encap:local loopback
inet addr:127.0.0.1 mask 255.0.0.0
inet 6 addr: ::1 /28 scope:host
uploopback running mto:16436 metric:
rx packets :253 errors: dropped: overruns: frame:0
tx packets :252 errors drop : overruns: frame:0
collision txqueller:0
rxbytes:18913 (18.4kb) txbytes:18913(18.4kb).

I think i need to config the nic card of this server ,please tell me how to do it.

PostPosted: Wed Sep 16, 2009 12:24 pm
by felfel
Hi,

In fact it's a udev problem in ubuntu. The udev probe only new net cards and keep the old ones (MAC adress) even if they are removed.

when you change your hard drive from a server to an other. you keep the eth0 link to the MAC adress of your old server. and the new net card (new mac adress) is linked to a new link (probably eth1). So the network isn't up.

All you have to do is to edit this file
/etc/udev/rules.d/70-persistent-net.rules

and remove all the old probed net cards.

*******************remove from the file all the text as follow
# PCI device 0x14z4:0x16d7 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0b:cd:9g:c2:f4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
********************************

than you restart your server. udev will link eth0 to the new mac adress and it will work.

regards,