You are not logged in.

#1 2021-03-01 07:21:50

gearhead
Member
Registered: 2018-03-24
Posts: 56

[Solved] Wired Connection question mark in NetworkManager

This is a strange one. I cannot figure it out.
I have 2 computers and both of them exhibit this issue. This is the second time this has happened. The ethernet looks connected. It has an ip and a gateway and a DNS server and I can ping and drill etc, but no network browsing and no updating.

I am using Network Manager, but have also tried connman with the same results:

# nmcli general
STATE                  CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN
connected (site only)  limited       enabled  enabled  enabled  enabled

I cannot 'pacman -Syu' because it cannot connect

Failed to connect to arch.mirror.constant.com port 80: Connection refused

timesync also cannot connect

systemd-timesyncd[1686]: Timed out waiting for reply from 75.76.123.222:123 (2.arch.pool.ntp.org).

but I can ping to my heart's content:

# ping 0.arch.pool.ntp.org
PING 0.arch.pool.ntp.org (168.235.86.33) 56(84) bytes of data.
64 bytes from rn5.quickhost.hk (168.235.86.33): icmp_seq=1 ttl=53 time=52.9 ms
64 bytes from rn5.quickhost.hk (168.235.86.33): icmp_seq=2 ttl=53 time=53.1 ms
^C
--- 0.arch.pool.ntp.org ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 52.852/52.960/53.068/0.108 ms

This is the ethernet controller:

07:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
        Subsystem: ASUSTeK Computer Inc. Device 85f0
        Flags: bus master, fast devsel, latency 0, IRQ 24, IOMMU group 12
        Memory at f6500000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at e000 [size=32]
        Memory at f6520000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable+ 64bit+
        Capabilities: [70] MSI-X: Enable+ Count=5 Masked-
        Capabilities: [a0] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 4c-ed-fb-ff-ff-79-92-0f
        Capabilities: [1a0] Transaction Processing Hints
        Kernel driver in use: igb
        Kernel modules: igb

the second computer has an RTL adapter and exhibits the same symptoms:

02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
        Subsystem: ASUSTeK Computer Inc. P8 series motherboard
        Flags: bus master, fast devsel, latency 0, IRQ 47, NUMA node 0
        I/O ports at d000 [size=256]
        Memory at d2104000 (64-bit, prefetchable) [size=4K]
        Memory at d2100000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

None of the Arch Linux RPIs wired or wireless have ever exhibited this issue (qty 6). The windows computers on the LAN also have no problem (qty2) connecting. If I plug the network cable off either one of these computers into a laptop running Arch Linux with NM, the laptop gets an IP immediately and connects fully (not limited). If I plug a USB ethernet dongle or a usb wifi dongle into either computer, it connects properly and and everything works fine. It is just the onboard ethernet connection. The alst time this happened, I used a usb wifi adapter and pacman updated and rebooted and it came back, so I thought it was some bug that got resolved. But tonight it seems pretty stubborn. What can it be?

Last edited by gearhead (2021-03-02 14:08:43)

Offline

#2 2021-03-01 07:48:20

seth
Member
Registered: 2012-09-03
Posts: 60,947

Re: [Solved] Wired Connection question mark in NetworkManager

Firewall, MTU != 1500 or parallel windows installation?

Offline

#3 2021-03-01 12:57:33

gearhead
Member
Registered: 2018-03-24
Posts: 56

Re: [Solved] Wired Connection question mark in NetworkManager

I do not think so:

$ sudo iptables -L
[sudo] password for kgrider:
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

I had not messed with mtu, but need to read up on it. this is what it shows:

$ ip link show | grep mtu
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
2: enp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000

These are dual boot machines, but I have not booted into windows in ages on either one of them. This morning still no internet connectivity unless I plug in a USB dongle either wifi or ethernet then it connects and works right away. Very confounding. Keep the suggestions coming.

the thing is I can ping an alpha address and it will DNS lookup the IP, but none of the stuff that runs in the background seems to be able to look up anything. It is as if DNS is messed up somehow.

update, now no way to resolve it on either machine... I unplugged the wifi adapter on one and the USB adapter on the other and rebooted and now it comes up fine:

# nmcli general
STATE      CONNECTIVITY  WIFI-HW  WIFI     WWAN-HW  WWAN
connected  full          enabled  enabled  enabled  enabled

what was going on? I guess I will get this again. any ideas? It is only these 2 arch machines.

Last edited by gearhead (2021-03-01 13:14:45)

Offline

#4 2021-03-01 13:09:09

seth
Member
Registered: 2012-09-03
Posts: 60,947

Re: [Solved] Wired Connection question mark in NetworkManager

not booted into windows in ages

does not determine its state :-P
Please have a look at the 3rd link in my signature and ensure windows is really shut down and not hibernating.

Then there's a good chance it's because of the r8169 module while your chip is actually https://archlinux.org/packages/community/x86_64/r8168/ (though the typical pattern is more that of an unstable connection, not a limited failure AND this doesn't fit the igb chip)

Last but not least: https://wiki.archlinux.org/index.php/Wireshark

Offline

#5 2021-03-01 13:19:03

gearhead
Member
Registered: 2018-03-24
Posts: 56

Re: [Solved] Wired Connection question mark in NetworkManager

@seth These are BIOS partitioned (neither are EFI) and the Windows that is sitting dormant is XP on both machines. I do not think I suspended either one, but will see what happens.

Update: The one has XP and I have not booted it since I switched motherboards. It will not boot at all. The other has Vista and it shows disk inconsistency and is self checking. I'll make sure it is shut down and not hibernated, but do not think it is/was.

Last edited by gearhead (2021-03-01 13:27:00)

Offline

#6 2021-03-01 13:21:26

seth
Member
Registered: 2012-09-03
Posts: 60,947

Re: [Solved] Wired Connection question mark in NetworkManager

Yeah, no - Windows started that with Windows 8
Antique versions did not exhibit this behavior ;-)

Offline

#7 2021-03-01 13:44:26

gearhead
Member
Registered: 2018-03-24
Posts: 56

Re: [Solved] Wired Connection question mark in NetworkManager

So, vista boots and was not hibernated and is missing a lot of hardware definitions It does not even know what ethernet adapter is connected. I have not booted it since I switched motherboards last year on both machines. XP blue screens probably due hardware it does not recognize.

still looking for the culprit. thanks for any help!

Offline

#8 2021-03-01 13:48:19

seth
Member
Registered: 2012-09-03
Posts: 60,947

Re: [Solved] Wired Connection question mark in NetworkManager

Yes, as mentioned windows versions /that/ old don't exibit this prblematic behavior.
Did you check the r1868 driver? (We might face 2 different problem causing only similar effects)

Offline

#9 2021-03-02 14:13:48

gearhead
Member
Registered: 2018-03-24
Posts: 56

Re: [Solved] Wired Connection question mark in NetworkManager

This was a classic PEBCAK. It was after 10:30PM when I discovered this and it resolved at 7:30... @seth asked to check the firewall. I did check the firewall and there is nothing there, but I could ssh into the machines just had no internet connectivity... Well, these computers are used by my kids and I have a firewall set *on my router* to turn off the access to the internet between 10:30 and 7:30. So, there was a firewall, just not on the linux machine... D'oh.

Offline

Board footer

Powered by FluxBB