Internet connectivity works only after rebooting - Manjaro/Ubuntu

crishu

I'm now a full time user on Linux. Ubuntu did the job at the beginning but after several months of dealing with unity I thought of switching to KDE. After I got bored of KDE I switched to XFCE and then the problem arrived. If I boot up the PC and log in, internet is not available. eth0 is missing from lspci/ifconfig, only l0 appears. After a reboot, everything is ok. After searching and searching, I could not find any clue and thought that Ubuntu may be the fault, so I switched to Manjaro XFCE. Same thing is happening here, but the system is faster and it does not bother me to restart it before I log in.

I don't know if it is a hardware problem or a software bug regarding the network manager in Manjaro, but if I boot from a Live USB, everything is ok.

How can I solve this problem, so that my internet would work without rebooting?

kestasx

I suspect three possibilities:

  • hardware failure (broken components or just unrealiable conections)
  • driver failure (dosn't handle some state correctly)
  • software failure (dosn't bring up interface because of some feature/bug)

Things to try (You may need to adjust/change commands used):

ifconfig -a
ifconfig eth0 up
dhclient eth0

You can also try reloading driver module using rmmod / modprobe.

EDIT:

Since previous attempts didn't help, I would suspect something hardware related (unreliable connection, fried component, etc). If reboot helps, problem may be related to power - You may try:

  • instead of reboot turn off PC completely (maybe even unplug from utility power), wait a few minutes and turn on it again;
  • try resetting machine before OS starts booting (turn on, wait until bootloader is displayed and reset);
  • try take-out and insert LAN card (if it is not integrated).

EDIT2:

From comments it is clear the problem is related to "TCS fast calibration failed" message during boot. A few things to try:

  • check cat /sys/devices/system/clocksource/clocksource0/available_clocksource - are contents different when internet is working and when it is not?
  • try adding kernel boot parameter clocksource=acpi_pm or clocksource=hpet (got idea fro this page)
  • check PSU for capacitor plague (MB already checked as per comments)
  • try removing LAN card - do You still see TSC error?
  • if it is an option - try installing some older Linux distribution to hard disk (not CD/USB boot) and see if it works better with LAN card.
  • try replacing PSU or LAN card, as these are components which most likely may be out-of-order.

From my experience, I would bet the source is PSU (had seen enough weird problems on similar hardware).

EDIT4:

Seems it is not PSU... If other options above fail, try capturing:

dmesg > boot.log

And check for differencies when LAN is working, and when it is not. You should see at least TSC error which You decsribed before, but there may be other differencies too:

diff bott_ok.log boot_fail.log

EDIT5:

From the comments it seams problem is related to PCI enumaration during cold-reset and hot-reset, identified using lspci while in GRUB loader (before Linux kernel loads). Things to try:

  • boot kernel using options like reset_devices, nobios, conf1, conf2 (just a few which got my attention, You can find many more in Documentation/kernel-parameters.txt, look for BIOS or PCI related options first);
  • sice machine loads successfully from USB, pluging in USB device while booting from HDD may trigger correct behaviour.

EDIT6:

Clear BIOS settings (reset, clear using jumper on MB, upgrade/rewrite). Try playing with "Reset configuration data", "PnP OS installed", PCI timings or similar BIOS sertings.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to schedule synchronization for Internet connectivity only

From Dev

Ubuntu 15.04 internet only works for a few minutes after boot

From Dev

Watch Connectivity works the first time but not after that

From Dev

Boolean Method for checking Internet Connectivity returning only false

From Dev

when adding contacts to sim card, they are only displayed after rebooting the device

From Dev

hi i tried to check internet connectivity on my app but i have this exception and i use internet permission only

From Dev

Check Internet connectivity with jquery

From Dev

Detecting internet connectivity continually

From Dev

Troubleshooting internet connectivity

From Dev

Check internet connectivity issue

From Dev

Utility to monitor internet connectivity?

From Dev

Intermittent internet connectivity

From Dev

Internet Connectivity Indicator on Unity

From Dev

Checking internet connectivity in Ubuntu

From Dev

Internet Connectivity To worklight apps

From Dev

checking internet connectivity with batch

From Dev

Internet works only in VM but not on my Windows 10

From Dev

TinyMCE paste button only works in Internet Explorer

From Dev

CSS works only after inspect

From Dev

Touchpad only works after hibernate

From Dev

VirtualBox: Adding a host-only interface to CentOS guests causes internet connectivity to drop

From Dev

Is it safe to only use the Public firewall on a Windows 7 computer with SQL server which has no connectivity to the Internet?

From Dev

Virtualbox CentOs guest intermittently loses internet connectivity after sleep on Mac Host

From Dev

How to handle Internet connectivity lost after onConnected in Google drive android api

From Java

Android: Internet connectivity change listener

From Dev

Checking for internet connectivity in Android app

From Dev

Want to check Internet connectivity in android?

From Dev

VMware Player loses internet connectivity

From Dev

No Internet Connectivity on Router behind a router

Related Related

  1. 1

    How to schedule synchronization for Internet connectivity only

  2. 2

    Ubuntu 15.04 internet only works for a few minutes after boot

  3. 3

    Watch Connectivity works the first time but not after that

  4. 4

    Boolean Method for checking Internet Connectivity returning only false

  5. 5

    when adding contacts to sim card, they are only displayed after rebooting the device

  6. 6

    hi i tried to check internet connectivity on my app but i have this exception and i use internet permission only

  7. 7

    Check Internet connectivity with jquery

  8. 8

    Detecting internet connectivity continually

  9. 9

    Troubleshooting internet connectivity

  10. 10

    Check internet connectivity issue

  11. 11

    Utility to monitor internet connectivity?

  12. 12

    Intermittent internet connectivity

  13. 13

    Internet Connectivity Indicator on Unity

  14. 14

    Checking internet connectivity in Ubuntu

  15. 15

    Internet Connectivity To worklight apps

  16. 16

    checking internet connectivity with batch

  17. 17

    Internet works only in VM but not on my Windows 10

  18. 18

    TinyMCE paste button only works in Internet Explorer

  19. 19

    CSS works only after inspect

  20. 20

    Touchpad only works after hibernate

  21. 21

    VirtualBox: Adding a host-only interface to CentOS guests causes internet connectivity to drop

  22. 22

    Is it safe to only use the Public firewall on a Windows 7 computer with SQL server which has no connectivity to the Internet?

  23. 23

    Virtualbox CentOs guest intermittently loses internet connectivity after sleep on Mac Host

  24. 24

    How to handle Internet connectivity lost after onConnected in Google drive android api

  25. 25

    Android: Internet connectivity change listener

  26. 26

    Checking for internet connectivity in Android app

  27. 27

    Want to check Internet connectivity in android?

  28. 28

    VMware Player loses internet connectivity

  29. 29

    No Internet Connectivity on Router behind a router

HotTag

Archive