VectorLinux
September 02, 2014, 11:14:44 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Cloned image, no ethernet  (Read 1086 times)
maxim0512
Member
*
Posts: 2


« on: July 15, 2012, 05:23:36 am »

I have two identical desktop PCs. I installed and configured Vector Linux 7 Light on one of them without difficulty. I then imaged the hard drive to the second PC. It booted up fine, but it's not finding the Intel-based Ethernet adapter. Running ifconfig just shows the loopback. If I try to start an interface through VASM, I get "Starting inetX failed."

I booted the PC using a Puppy Linux live CD, and the Ethernet adapter was detected and worked fine, so it doesn't seem to be a hardware failure. Anyone have any ideas?

Thanks!
Logged
bigpaws
Vectorian
****
Posts: 1847


« Reply #1 on: July 15, 2012, 07:43:09 am »

Have you tried ifconfig eth0 up. Then look at ifconfig.

If that works then try dhcpcd eth0

check ifconfig again and see if there is an ip address.

If that does not work start comparing lsmod to see if all the
same modules are loaded.

Bigpaws
Logged
maxim0512
Member
*
Posts: 2


« Reply #2 on: July 15, 2012, 10:22:48 am »

Thanks. That wasn't quite it, but it was one piece of helping me figure out what was going on.

It turns out that, when the machine was imaged and the duplicate PC booted, udev created a duplicate configuration line in /etc/udev/rules.d/70-persistent-net.rules. So, the same exact network interface was in there twice, once named eth0, once named eth1. For whatever reason, only eth1 worked. So, if I manually typed "ifconfig eth1 up" and "dhcpcd eth1," I was fine.

I decided to recreate the image after deleting the 70-persistent-net.rules file on the original machine. That should allow a new file to get written on first boot with the correct eth0 info.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!