Solved Internet connection going up and down constantly

Yes you are rigth, it has a 1 x Intel® Thunderbolt™ 3. I just realize it. It's the first time I come across this kind of port. Should I use it and buy an adapter thunderbolt 3 to Ethernet? Or am I better to stick with the USB-c to Ethernet adapter?
I was referring to the port between the Thunderbolt and USB-A ones, or I misunderstood your post?
 
Problem solved, it was an adapter issue. I plugged in the thinkpad mini Ethernet port adapter and now the connection is stable, no flapping.
Thank you very much to everybody for the support given.
 
I saw Charlie's post about the issue you're having with WireGuard(wg0). I believe this problem is related to the USB Ethernet adapter and WireGuard because I'm experiencing the same behavior (the adapter repeatedly going down and up) on 14.x-RELEASE.
(Even just dummy WireGuard is running on the FreeBSD-Box(This means WireGuard does not establish the connection on USB Ether), I found the same behavior).

Interestingly, this issue doesn't happen when I'm not using WireGuard, and it also didn't occur on FreeBSD 13.5-RELEASE with the same configuration. I'm currently trying to determine the root cause of this problem.
 
Firmware on many cheap ethernet dongles doesn't play well with various offloadings or promiscuous mode (don't know if wireguard requires promiscuous mode?) and just resets.
Try disabling all offloading and if that fixes it you *may* try to re-enable it one by one (I wouldn't bother - those USB NICs won't achieve/sustain line speed reliably anyways...)
 
Hi sko.
Thank you for your comment.

  • Deleting offloading settings
    The USB Ethernet adapter I'm using only has the following options when I run ifconfig, so unfortunately there are no offloading settings to disable:
net0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=80008<VLAN_MTU,LINKSTATE>

FYI: my USB Ether dongle
axe0: <ASIX Elec. Corp. AX88772, rev 2.00/0.01, addr 2> on usbus0

  • Promiscuous mode
    Wireguard doesn't use promiscuous mode, so I don't think this is an issue.

  • Why use a USB NIC?
    I'm using a USB NIC because it's the only way to connect multiple NICs to devices like Raspberry Pi and PINE64, serving as a second Ethernet adapter. I'm hoping to find a solution to this problem.
As I mentioned initially, the issue doesn't occur in 13.5-RELEASE, so I believe it's a software problem specific to the FreeBSD 14.x and 15-current series.)
Also, I've confirmed this issue on both arm64 and amd64, so it's not dependent on the CPU type.
 
For my part I can't help you, I'm in 14.3 patch 2, and I'm using WireGuard with no internet issue. For me, it was that I had the wrong adapter for Ethernet connection.
 
Charlie Brown wrote:
>For my part I can't help you, I'm in 14.3 patch 2, and I'm using WireGuard with no internet issue. For me, it was that I had the wrong adapter for Ethernet connection.

On FreeBSD-14.3-RELEASE + Wireguard + non USB Ether box, there is no internet issue[ok]. only on "USB Ether" + "wireguard" + 14.x-RELEASE and later.

Charlie may currently use *non* USB Ether adapter(mini Ethernet port adapter), I think. That's why you don't have internet issue[OK].
 
For me, the flabbergasting part here is that I have a Thinkbook G4, with USB-C, and HDMI worked fine over a no-name USB-C - HDMI adapter... Also, if an ethernet interface is provided via USB, it will show up as ue0...
 
Back
Top