I'm observing really annoying issues with connectivity to RasPi on WiFi network. I have device connected on both LAN cable and WiFi. If both cable and WiFi dongle are plugged - both interfaces are working fine and I'm able to connect to RasPi through IP addresses of both interfaces.
However, when I unplug the LAN cable - after restart - RasPi becomes unavailable by SSH. If I unplug - till restart - device is still fully available via WiFi interface through SSH! After restart - it cannot be accessed any more.
Here are my settings: /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="linksys"
scan_ssid=1
mode=0
proto=WPA2
auth_alg=OPEN
pairwise=CCMP
group=TKIP
key_mgmt=WPA-PSK
psk="xxx-password-here"
id_str="raspberrypi-wif"
priority=1
}
Please, help to identify the reason of the issue.
netstat -r
to see your route table. I have a similar problem.sudo raspi-config
then (re)enabling SSH inInterfacing options
I've got eth1 (USB Ethernet adapter) to accept SSH connections both from local lan and Internet