I have a problem with RPi and WiFi channel changing. As I discovered these days - RPi determines channel only during boot procces. And this is an issue. If I log in to my AP (mikrotik) and change frequency to any another - RPi always disapear and does not appear anymore untill one of bellow items becomes true:
- Restoring frequency/channel that was actual on RPi boot time
- RPi reboot.
Details:
RPi: 2 model B
OS: Raspbian Jessie
WiFi: 2.4Ghz 801.11n with SSID hidden
I want to fix this issue and make able autoreestablishing WiFi connection without rebooting RPi, because I use "Channel: auto" on my AP and don't want to disable the feature.
Please help me to fix.
---------------- Additional info ---------------------
cat /etc/network/interfaces | egrep -v "^\#"
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
cat /etc/wpa_supplicant/wpa_supplicant.conf
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="SSID"
psk="PWD"
bssid=XX:XX:XX:XX:XX:XX
scan_ssid=1
proto=WPA2 # can be RSN (for WPA2) or WPA (for WPA1)
key_mgmt=WPA-PSK # can be WPA-PSK or WPA_EAP (for enterprise networks)
pairwise=CCMP # can be CCMP( for WPA2) or TKIP (for WPA1), or both
auth_alg=OPEN # can be OPEN, LEAP and SHARED
}
/etc/network/interfacesand/etc/wpa_supplicant/wpa_supplicant.conf? – oh.dae.su Jul 11 '18 at 09:59