ifconfig.eth0/ipv4 or ifcfg-eth0 why the difference

Bruce Dubbs bruce.dubbs at gmail.com
Mon Feb 8 09:32:38 PST 2010


stosss wrote:
>  Not complaining just trying to learn.
> 
> It appears from googling that LFS is the only Linux OS that uses the
> ifconfig.eth0/ipv4 and all other Linux systems uses ifcfg-eth0. I am
> asking to try to get understanding of why the difference. 

That's just the way we chose to do it.  There are many ways.

> I am also
> asking because I have been googling trying to find a solution to my
> other thread about networks in VirtualBox. I was searching because I
> was comparing my other VMs to see if I could figure out how they got
> set up right and what exactly was in the config files for those distro
> VMs.

You must not have the right driver for the VM's ethernet card.  You 
should get a response to:

dmesg | grep eth0

For my system, I get:

[    2.361362] 0000:00:19.0: eth0: (PCI Express:2.5GB/s:Width x1) 
00:25:64:38:ec:dd
[    2.361799] 0000:00:19.0: eth0: Intel(R) PRO/1000 Network Connection
[    2.362082] 0000:00:19.0: eth0: MAC: 8, PHY: 8, PBA No: 2021ff-0ff
[    7.466648] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    9.390761] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow 
Control: RX/TX
[    9.391202] 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[    9.391947] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   19.677009] eth0: no IPv6 routers present

Try an lsmod on one of your other VMs to see what driver it is using.


   -- Bruce



More information about the lfs-support mailing list