Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When my system boots up the ethernet port which is connected to my PC pings fine.
When I remove and insert the cable on either end, the ping stops and doesnt restore.
Messages I see is below.
libphy: stmmac-1:03 - Link is Down
libphy: stmmac-1:03 - Link is Up - 100/Full
Now if I do, ifconfig eth0 down and ifconfig eth0 up, the ping starts back again. Whats different is I see the link ready message which I didnt see when I plugged the cable back in.
eth1: device MAC address 00:11:ca:99:00:b1
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
/etc/netplug.d # libphy: stmmac-1:03 - Link is Up - 100/Full
IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
"When I remove and insert the cable on either end, the ping stops and doesnt restore."
Not sure that is a fault. What exactly do you wish to prove by this test? Kind of a lot going on in this. What is this Long Range Systems Inc. 00:11:CA?
My problem is my system is pinging a host just fine, but after the cable is removed and replugged, the pinging stops. Until I do ifconfig eth1 down and ifconfig eth1 up. After doing that the pinging resumes.
"When I remove and insert the cable on either end, the ping stops and doesnt restore."
Not sure that is a fault. What exactly do you wish to prove by this test? Kind of a lot going on in this. What is this Long Range Systems Inc. 00:11:CA?
My problem is my system is pinging a host just fine, but after the cable is removed and replugged, the pinging stops. Until I do ifconfig eth1 down and ifconfig eth1 up. After doing that the pinging resumes.
Expected behaviour would be to not do the ifconfig eth1 down and ifconfig eth1 up wouldn't it ? Plug the cable and the interface gets configured and its good to go without doing any manual commands.
Expected behaviour would be to not do the ifconfig eth1 down and ifconfig eth1 up wouldn't it ? Plug the cable and the interface gets configured and its good to go without doing any manual commands.
Have you tried changing the config to: auto eth0
Edit, try this also:
set eth0 config to: ONBOOT=yes
check network level, type this at the command line: /sbin/chkconfig --level 2345 network on
Last edited by JJJCR; 02-14-2018 at 03:25 AM.
Reason: edit
Expected behaviour would be to not do the ifconfig eth1 down and ifconfig eth1 up wouldn't it ? Plug the cable and the interface gets configured and its good to go without doing any manual commands.
actually you're right.
for me it raises the questions what actually manages your network connections.
on my system it's systemd, and nothing else:(*)
Code:
systemctl|grep eth
i could imagine networkmanager interfering, if you use it.
what distro, setup?
(*) on my distro, netplug isn't even in the repos anymore, i think systemd long since provides that functionality.
which systemd version?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.