Now come the problems. The RPi is connected to wifi (wlan0 interface). I connected laptop and RPi by cable. I'm using Raspberry Pi OS and it automagically setup an IPv4 address (169.254.72.25/16). On my laptop, I'm using Fedora and use NetworkManager for connectivity. I tapped on wired connection settings, added static IP 169.254.72.26/16 with gateway 169.254.72.25. After these manipulations, I can ping my rpi through cable (ping 169.254.72.25 works). However, if I try ping 192.168.0.13 (this is the ip addr of rpi on wlan0), I never get responses. My local wifi network is 192.168.0.0/24.
Routes on both devices:
Code: Select all
~ $ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 169.254.72.25 0.0.0.0 UG 20100 0 0 enp0s20u1
169.254.0.0 0.0.0.0 255.255.0.0 U 100 0 0 enp0s20u1
RPi:
Code: Select all
pi@raspberrypi ~> /sbin/route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 303 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 202 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 303 0 0 wlan0
Code: Select all
No Time Source Destination Protocol Length Info
26 1.561827 0.0.0.0 192.168.0.13 ICMP 98 Echo (ping) request id=0x000f, seq=2/512, ttl=64 (no response found!)