I have a pi5 set up to act as a wifi base station with the following nmcli commands:
nmcli con delete AP
nmcli con add type wifi ifname wlan0 mode ap con-name AP ssid $SSID autoconnect true
nmcli con modify AP 802-11-wireless.band a
nmcli con modify AP 802-11-wireless.cloned-mac-address 00:12:34:56:78:9a
nmcli con modify AP ipv4.method shared ipv4.address 192.168.4.1/24
nmcli con modify AP ipv6.method disabled
nmcli con modify AP wifi-sec.key-mgmt wpa-psk
nmcli con modify AP wifi-sec.psk "$pw"
$SSID and $pw are of course bash variables whose values I have omitted here.
I have a laptop connected to the pi's network. When I ping the pi from the laptop, everything seems fine, no appreciable packet loss. But then I ssh to the pi and ping the laptop from the pi and it drops packets like crazy. I'm no networking expert, but this seems odd, as a ping is a round trip, so it's hard to see how the performance could be asymmetric. I've never seen anything like this before, including when operating a Pi4 as a base station with earlier versions of Raspberry Pi OS (pre nmcli).
Any idea what could be wrong or any suggestions on how to debug this?
nmcli con delete AP
nmcli con add type wifi ifname wlan0 mode ap con-name AP ssid $SSID autoconnect true
nmcli con modify AP 802-11-wireless.band a
nmcli con modify AP 802-11-wireless.cloned-mac-address 00:12:34:56:78:9a
nmcli con modify AP ipv4.method shared ipv4.address 192.168.4.1/24
nmcli con modify AP ipv6.method disabled
nmcli con modify AP wifi-sec.key-mgmt wpa-psk
nmcli con modify AP wifi-sec.psk "$pw"
$SSID and $pw are of course bash variables whose values I have omitted here.
I have a laptop connected to the pi's network. When I ping the pi from the laptop, everything seems fine, no appreciable packet loss. But then I ssh to the pi and ping the laptop from the pi and it drops packets like crazy. I'm no networking expert, but this seems odd, as a ping is a round trip, so it's hard to see how the performance could be asymmetric. I've never seen anything like this before, including when operating a Pi4 as a base station with earlier versions of Raspberry Pi OS (pre nmcli).
Any idea what could be wrong or any suggestions on how to debug this?
Statistics: Posted by edwardpier — Sun Nov 17, 2024 2:46 am — Replies 0 — Views 30