View previous topic :: View next topic |
Author |
Message |
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Tue Aug 15, 2017 11:38 pm Post subject: Loss of connectivity after reboot (only within Gentoo) |
|
|
Hi team,
I have a fairly advanced understanding of networking, and this issue is a real headscratcher. I was wondering if I could get your help with troubleshooting.
I dual boot with windows, and yesterday I booted back into my Gentoo Desktop (my primary) and all my NFS mounts failed. After looking into it, my gentoo os seems to have no connectivity.
The IP is assigned, the routes are there, the interface is up. Still no connectivity for local and no internet (as I cannot get to the gateway IP). I use a static IP, but DHCLIENT also fails to get an IP from the router.
The weirdest thing is I'm sitting here on the exact same machine in windows and networking is working just fine. So I'm certain network topology and hardware are not the issue.
Usual IP: 192.168.99.50/24
Gateway IP: 192.168.99.1
I rebooted into rescue mode and took some images:
Just assigning an IP. Looks good
http://i.imgur.com/V9K940O.jpg
Ping to gateway, telnet to gateway's webui
http://i.imgur.com/JfwvOf9.jpg
http://i.imgur.com/ArhYJoE.jpg
Route table:
http://i.imgur.com/QECaTiT.jpg
Ethtool output:
http://i.imgur.com/bojDKV4.jpg
As I said, everything is working fine on the same machine, with the same cable and interface on windows and things were working just fine before my reboot. I'm at a loss. |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Wed Aug 16, 2017 1:08 am Post subject: |
|
|
I just booted into some legacy kernels I had sitting around. None of them work either. I think the issue is actually with systemd, but I have no idea how or why.
Anyone have any networking/systemd related troubleshooting advice. |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Wed Aug 16, 2017 1:12 am Post subject: |
|
|
Your ping says destination host unreachable, and your route table does not show a default route.
You know the gateway, but perhaps the machine does not.
https://wiki.gentoo.org/wiki/Static_Routing
HTH |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Wed Aug 16, 2017 1:16 am Post subject: |
|
|
You do not need a default route to reach an IP on the same subnet. Also the ip I am pinging is the router that would be the default route. |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Wed Aug 16, 2017 1:22 am Post subject: |
|
|
Good point. And it's not a cabling issue because the box works in Windows.
You're configuring the correct interface? Do you have more than one[/code]? Is there a eno0? |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Wed Aug 16, 2017 1:26 am Post subject: |
|
|
Only one. Remember too, this was working before I rebooted and has been working for 3 years! |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Wed Aug 16, 2017 1:27 am Post subject: |
|
|
No firewall (all IPTABLES set to ACCEPT) too. |
|
Back to top |
|
|
Fitzcarraldo Advocate
Joined: 30 Aug 2008 Posts: 2034 Location: United Kingdom
|
Posted: Wed Aug 16, 2017 1:43 am Post subject: |
|
|
I recall reading in the past several times about this kind of problem, viz. networking works in Windows but does not when the machine is rebooted into Linux. No doubt you've already done some searching on the Web, but the following thread has a number of different suggestions for various versions of Windows (despite the title) that might be worth a shot if you haven't already tried them all.
https://askubuntu.com/questions/596062/ubuntu-14-04-windows-7-pro-dual-boot-cant-connect-to-wired-internet-after-win _________________ Clevo W230SS: amd64, VIDEO_CARDS="intel modesetting nvidia".
Compal NBLB2: ~amd64, xf86-video-ati. Dual boot Win 7 Pro 64-bit.
OpenRC udev elogind & KDE on both.
Fitzcarraldo's blog |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Wed Aug 16, 2017 2:19 am Post subject: |
|
|
I'm not really a fan of systemd but it would be kindof funny if you could blame Windows. |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Wed Aug 16, 2017 5:07 am Post subject: |
|
|
WHOA!
100%
echo 1 >/sys/bus/pci/devices/0000:00:19.0/reset
exit 0
worked. It was windows. AMAZING. Thank you so much. I would have NEVER figured this out. |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21619
|
Posted: Thu Aug 17, 2017 1:42 am Post subject: |
|
|
OP: if you boot Windows, then halt the machine, then cold boot Linux, does the interface work without the solution you found?
Personally, I would consider this a bug in the Linux driver. It should have reset the device for you, assuming the device isn't sleeping so deeply that Linux ignores the device entirely. It might also be considered a bug in the firmware that it stays asleep across a warm boot, but since there's no way the manufacturer will fix that even if it is a bug, it's not really worth pursuing that angle. |
|
Back to top |
|
|
davidsmind n00b
Joined: 25 May 2002 Posts: 61
|
Posted: Sun Aug 27, 2017 5:12 pm Post subject: |
|
|
Hu,
I think it was a firmware issue that is resolved when I installed the newest drivers (not the ones included with windows) from Intel. |
|
Back to top |
|
|
russK l33t
Joined: 27 Jun 2006 Posts: 665
|
Posted: Sun Aug 27, 2017 6:42 pm Post subject: |
|
|
So many frustrations can come from issues like this that may come to be blamed on gremlins. I'm starting to appreciate the way my motherboard reboots, it does a complete power cycle. |
|
Back to top |
|
|
|