Ubuntu: Ethernet port doesn't get connectivity from gateway, but does work from ad-hoc connection



Question:

I'm currently running Ubuntu 16.04 on an old, 2009 Macbook Pro. The issue is that when I run an ethernet cable to the port on my router I get absolutely nothing. The lights on the router don't do anything, Ubuntu doesn't do anything, ping doesn't return, tried all the ports on the router, nothing. However if I take that same cable and run it from the same port on the router to my windows machine, works perfectly fine; lights, connection, no issue.

Additionally, I can take that same cable and run it from my windows laptop to my Ubuntu machine and pass a connection from the windows wireless card to Ubuntu via ad-hoc mode, again, no problem. I can connect to the internet, ping, run apt-get, everything.

I've tried running apt-get and updating all my drivers, still no dice. The only thing I can think of are the ethernet drivers on the Macbook pro, mostly because the network card is Nvidia. I have also tried figuring out how to update the nividia drivers, but I haven't been able to find a solid guide to that yet. Any help or advice would be fantastic, I've been googling my brains out for the better part of a week trying to find the solution.

EDIT: after running dmesg | grep -e force -e enp this is what it returned:

[    2.600233] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.    [    2.665194] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:25:4b:d2:a0:b4    [    2.665198] forcedeth 0000:00:0a.0: highdma csum pwrctl gbit lnktim msi desc-v3    [    2.744225] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0    [   42.576256] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready    [   42.576803] forcedeth 0000:00:0a.0 enp0s10: MSI enabled    [   42.577026] forcedeth 0000:00:0a.0 enp0s10: no link during initialization    [   42.577322] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready  

sorry about formatting, I'm new to this and the info seemed more important than how it was presented.


Solution:1

Let's try the well-known driver parameter for your driver; from the terminal:

echo "options forcedeth msi=0 msix=0" | sudo tee /etc/modprobe.d/forcedeth.conf  

Reboot and let us know if you connected.


Solution:2

It wasn't the most elegant solution, but I did find a work around to my problem. I figured an adapter would use different drivers, basically nullifying the issues I'm having with forcedeth. Borrowed a USB to Ethernet adapter (which I can link if anyone is that interested) from work, plugged it in, booted up my Linux system, connected immediately, ran like a charm, no issues.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »