My PI connected to the other world through wifi stick. 20 minutes ago I rebooted my router and now I cant connect to my RPi through SSH, samba, etc. Why wifi isn't reconnects?
did you already try another reboot? and what wifi stick do you have (model)?
ANother router reboot? Yes. It didnt help.
Wifi stick is "rolsen mu3-wn823n".
Did you already try connecting the wifi stick to an powered USB hub?
No, you dont understand. Wifi works (60Mbit/s).Samba works over wifi. SSH works over wifi. But if I reboot my router, RPi becomes offline. Even 20 mins after RPi still offline.
The software does not automatically reconnect yet
Okay. What about next version?
It does not have that either, however I may have found a solution, what kind of network protection do you have (E.G. WPA, WPA2, WEP).?
Can you try the following:
SSH in and change the /etc/network/interfaces file to this
Code:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa-roam.conf
iface default inet dhcp
Now execute this command
Code:
sudo nano /etc/wpa_supplicant/wpa-roam.conf
Fill the file with this (of course change the ssid and pass to your situation).
Code:
update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
ssid="ssid"
psk="pass"
id_str="home"
}
Now execute
Code:
sudo ifdown wlan0
sudo ifup wlan0
from now on wlan0 should automatically reconnect
I think it was bad idea to try this through wifi
Even with down && up in one row.
Anyway, Next router reboot will be between 02-09 AM (GMT+4).
deleted
I cant understand this
Looks like it works (at 3rd attempt), autoreconnects I'll test later.
How fast does it reconnects and did you noticed any side effects?
1) Faster than router connects to the Internet (full reboot 93sec)
2) I dont know what I must look for. At first sight everything works as before