enricosx
Posts: 8
Joined: Sun Jan 17, 2016 5:38 pm

Wifi usb not AutoReconnect after router reboot

Thu Nov 24, 2016 8:27 am

i have raspbian jessie lite
usb wifi
Bus 001 Device 004: ID 0bda:8178 Realtek Semiconductor Corp. RTL8192CU 802.11n WLAN Adapter
when i reboot router TP-Link, wifi not autoreconnect
i use dhcp
_______________________________________________

Code: Select all

/etc/wpa_supplicant/wpa_supplicant.conf
country=IT
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
    ssid="myssid"
    psk="mypassword"
}
_______________________________________________

/etc/network/interfaces

Code: Select all

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
__________________________________________________
iwconfig

Code: Select all

wlan0     IEEE 802.11bgn  ESSID:"myssid"  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency:2.467 GHz  Access Point: 64:70:02:59:7C:AD
          Bit Rate:144.4 Mb/s   Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:****-****-****-****-****-****-****-****   Security mode:open
          Power Management:off
          Link Quality=100/100  Signal level=100/100  Noise level=0/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

lo        no wireless extensions.

eth0      no wireless extensions.
Linux 4.4.26-v7+ #915 SMP Thu Oct 20 17:08:44 BST 2016 armv7l GNU/Linux

cat manager-settings.conf

Code: Select all

[Settings]
backend = external
wireless_interface = wlan0
wired_interface = eth0
wpa_driver = wext
always_show_wired_interface = False
use_global_dns = False
global_dns_1 = None
global_dns_2 = None
global_dns_3 = None
global_dns_dom = None
global_search_dom = None
auto_reconnect = True
debug_mode = False
wired_connect_mode = 1
signal_display_type = 0
should_verify_ap = 1
dhcp_client = 0
link_detect_tool = 0
flush_tool = 0
sudo_app = 0
prefer_wired = False
show_never_connect = True

Return to “Troubleshooting”