No SSH on Wlan0

Hi,

i use the Rock5B several weeks on Ethernet with fixed IP over RDP and SSH.

Now i bought a Wifi Card and i cant access any services (ping,RDP,SSH) over Wifi, but i can see correct IP in my Access Point Status and correct settings in ifconfig.

enP4p65s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.0.101  netmask 255.255.255.0  broadcast 192.168.0.255
    inet6 2a02:8108:1111:1111:9025:a5e5:bcd4:1111  prefixlen 128  scopeid 0x0<global>
    inet6 2a02:8108:1111:1111:7cff:32ac:7e73:1111  prefixlen 64  scopeid 0x0<global>
    inet6 fe80::6986:a934:166:dc24  prefixlen 64  scopeid 0x20<link>
    ether 00:e0:4c:68:01:36  txqueuelen 1000  (Ethernet)
    RX packets 30522  bytes 7807029 (7.4 MiB)
    RX errors 0  dropped 24  overruns 0  frame 0
    TX packets 51702  bytes 25562301 (24.3 MiB)
    TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    device interrupt 155  

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Lokale Schleife)
RX packets 31 bytes 3348 (3.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31 bytes 3348 (3.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlP2p33s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.113 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::3fbf:f59e:1cd0:b6f7 prefixlen 64 scopeid 0x20
ether 52:c2:e8:1b:b4:bf txqueuelen 1000 (Ethernet)
RX packets 50 bytes 13875 (13.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 98 bytes 13182 (12.8 KiB)
TX errors 0 dropped 7 overruns 0 carrier 0 collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 50:c2:e8:1b:b4:bf txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Hi, Schuppeste

What system do you use? What is the model of your WiFi module? wlan0 does not appear to be getting an IP. wlP2p33s0 xxx Is this the correct device? What is the output of the command ip route?

oh…

System:
Linux rock-5b 5.10.110-31-rockchip-ged1406c748b1 #rockchip SMP Sat Nov 26 04:03:23 UTC 2022 aarch64

Wifi Chipset:
rtl8852be

ip route:
192.168.0.0/24 dev enP4p65s0 proto kernel scope link src 192.168.0.101 metric 100
192.168.0.0/24 dev wlP2p33s0 proto kernel scope link src 192.168.0.113 metric 600

dmesg
[ 17.346697] rtl8852be 0002:21:00.0 wlP2p33s0: renamed from wlan1
[ 27.167687] IPv6: ADDRCONF(NETDEV_CHANGE): wlP2p33s0: link becomes ready

Yes, its the correct device. but not wlan0, its wlan1.

when i disconnect the Ethernet Cable, i cant ping or anything on 192.168.0.113, reboot no change.

The A8 wifi exposes two wlan interfaces, which seems to confuse Linux to no end. wlan0 doesn’t seem to be the default interface and this (maybe) messes up the ssh server. I have the same problem.

Ok, i wait to have to spend more time… in this moment i dont use keyboard and monitor, so i cant Debug myself.

I look next Days, normally i can solve it since 15 Years in Linux…

but nmcli is new for my side. I must read next time.

Thanks.