Ethernet cards disconnected

Topics about the networking software (ssh, nfs, samba, ...). No questions about network drivers there.
cfgmgr
Posts: 1
Joined: 25 Nov 2012, 13:31

Ethernet cards disconnected

Postby cfgmgr » 25 Nov 2012, 13:37

I booted my server from the sysrescue CD and started the GUI. I have 2 ethernet cards that I assigned IP addresses to using command line but I'm still unable to ping other servers in my network. When I click the network icon on the desktop, both my ethernet cards appear disconnected. I however am sure that both cards are connected with cables to the network.

How do I get the ethernet interfaces to be connected?

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Ethernet cards disconnected

Postby gernot » 25 Nov 2012, 14:47

Stop the Networkmanager before you configure the network via ip or ifconfig.

/etc/init.d/Networkmanager stop.
there is also the bootoption "nonm"

Gernot

megold
Posts: 1
Joined: 16 Apr 2013, 15:52

Re: Ethernet cards disconnected

Postby megold » 16 Apr 2013, 15:56

When we boot with the 3.5.0 CD and we configure an IP address using syntax such as

ifconfig eth0 192.168.1.10

The interface maintains the IP address (pingable, etc) for just just a few seconds then clears itself. When the same steps are performed using a 2.7 CD, the interface keeps the address indefinitely.

Regards, Merrill

gernot
Posts: 1127
Joined: 07 Apr 2010, 16:19

Re: Ethernet cards disconnected

Postby gernot » 16 Apr 2013, 16:28

Networkmanager and OpenRC changed there behavior over the time.
The option nonm don't exist now.

A workaround to setup the interface with ifconfig is first stopping Networkmanager.
/etc/init.d/Networkmanager stop

To prevent that oprnrc restart it remove /etc/init.d/Networkmanager or comment the line
"provide net" in this file.

Gernot


Return to “Networking (except PXE booting)”

Who is online

Users browsing this forum: No registered users and 2 guests