Skip to content

u/0ofnik

In this archive from Mar 2019 to Dec 2020

7
posts
36
comments
1
media
698
score

Solid. I was trying to do it with a systemd.link file but was getting a weird error from ethtool. I'll try your method.

Update: Both methods work.

This is super annoying; when changing these parameters through something other than ethtool itself, the changes are not reflected when checking with ethtool -k.

I'm using this systemd.link file with success, confirmed by checking iperf3 performance:

# /etc/systemd/network/10-intel-wifi.link
[Match]
Driver=iwlwifi

[Link]
TCPSegmentationOffload=false
NamePolicy=keep kernel database onboard slot path
6 points

Huh, I just realized this too. On 5.9.10 I get an average of 33 Mbps with a tremendous amount of retries. I installed the LTS kernel and averaged my usual 480 Mbps with zero retries. Looks like a pretty serious regression somewhere.

02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Intel Corporation Device 0084
	Flags: bus master, fast devsel, latency 0, IRQ 18, IOMMU group 11
	Memory at f1200000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

EDIT: disabling TCP segmentation offload on the wireless interface seems to solve the problem for me:

sudo ethtool -K wlp3s0 tso off

Source: https://bbs.archlinux.org/viewtopic.php?id=258042

Now, how to make it persistent...

27 points

Yes, this is how I used to do it. The method in the linked blog post of importing an existing WG profile generates a NetworkManager connection profile of type connection.type = wireguard. These connections do not show up in the GUI. Only connections that have the alternative syntax using the external plugin appear in the system menu.

2 points

I don't know. I did some traffic analysis while running a remote session and it looks like the only communication to Google's servers is at the beginning to establish a NAT traversal path, then the connection switches to peer-to-peer over TLS encryption.

1 points

I've used x2go in the past. It worked pretty well for me too. But what I really like about Chrome Remote Desktop is the webRTC stuff which doesn't require forwarding ports on your router.

1 points

It will definitely be more performant than x11vnc, but it will probably be more laggy than an actual secondary display.
Not sure how it will handle a display with a screen parameter like :0.1 but I'd be interested to find out!

2 points

Here is where things get weird.

I just discovered that adding a virtual tap interface to the bridge on Host A fixes the problem. Almost.

I arrived at this conclusion by running an iperf3 test while plugging in a physical USB NIC. Immediately after attaching the USB NIC to the bridge, iperf3 speeds shot up. So I thought, why not try it with a virtual interface?

# ip tuntap add tap5 mode tap
# ip link set tap5 master br0
# ip link set tap5 up 

And just like that, iperf3 speeds jumped from 8 Mbps to ~180 to 200 Mbps.

What in the world is going on?

2 points

It's definitely not a cable thing. I plugged Host B directly in to the wired network and the problem went away.
The issue is specific to traffic originating from Host A, flowing to any hosts downstream from the WiFi network broadcast from Host A. Does not apply to traffic flowing through Host A.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.