[elrepo] LAN driver install w/o network?

Ljubomir Ljubojevic office at plnet.rs
Fri Aug 26 04:16:00 EDT 2011


James Bowery wrote:
> Resolved (sort of).
> 
> I had to manually create /etc/sysconfig/network-scripts/ifcfg-eth0 and 
> do an ifup eth0.
> 
> If I had to guess, this situation arose because the NetworkManager 
> service is dead and I suspect the NetManager service is dead because 
> when CentOS 6.0 was first installing, it couldn't find the device driver 
> for 1969:1083 so it went fishing.  Installing the driver for 1969:1083 
> and doing all kinds of reconfiguring/rebooting didn't revive NetworkManager.
> 
> Here's the console log that I get when bringing up eth0 now.
> 
> 
> 
> [root at localhost jabowery]# ifconfig
> lo        Link encap:Local Loopback 
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:720 (720.0 b)  TX bytes:720 (720.0 b)
> 
> [root at localhost jabowery]# ifup eth0
> 
> Determining IP information for eth0... done.
> /etc/sysconfig/network-scripts/ifup-ipv6: line 56: 
> /etc/sysconfig/network: No such file or directory
> /etc/sysconfig/network-scripts/ifup-aliases: line 125: 
> /etc/sysconfig/network: No such file or directory
> [root at localhost jabowery]# ifconfig
> eth0      Link encap:Ethernet  HWaddr 50:E5:49:2E:5E:FC 
>           inet addr:192.168.1.132  Bcast:192.168.1.255  Mask:255.255.255.0
>           inet6 addr: fe80::52e5:49ff:fe2e:5efc/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:16 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:16 errors:0 dropped:0 overruns:0 carrier:1
>           collisions:0 txqueuelen:1000
>           RX bytes:9328 (9.1 KiB)  TX bytes:1555 (1.5 KiB)
>           Interrupt:35
> 
> lo        Link encap:Local Loopback 
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:12 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:720 (720.0 b)  TX bytes:720 (720.0 b)
> 
> [root at localhost jabowery]# !cat
> cat /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=dhcp
> ONBOOT=yes
> [root at localhost jabowery]#
> 
You will also need to create /etc/sysconfig/network file. It is possible 
that is why NetworkManager service fails to start.

What actually happens whey you run /usr/sbin/system-config-network-tui?

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant



More information about the elrepo mailing list