Forum
Wifi dont reconnect - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Hardware (/forum-7.html)
+--- Forum: Network (/forum-25.html)
+--- Thread: Wifi dont reconnect (/thread-455.html)

Pages: 1 2


Wifi dont reconnect - kraleksandr - 14th Feb, 2013 01:57 PM

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?


Wifi dont reconnect - Koenkk - 14th Feb, 2013 06:45 PM

did you already try another reboot? and what wifi stick do you have (model)?


RE: Wifi dont reconnect - kraleksandr - 14th Feb, 2013 07:25 PM

ANother router reboot? Yes. It didnt help.
Wifi stick is "rolsen mu3-wn823n".


RE: Wifi dont reconnect - Koenkk - 14th Feb, 2013 08:51 PM

Did you already try connecting the wifi stick to an powered USB hub?


RE: Wifi dont reconnect - kraleksandr - 14th Feb, 2013 09:00 PM

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.


RE: Wifi dont reconnect - Koenkk - 14th Feb, 2013 09:04 PM

The software does not automatically reconnect yet


RE: Wifi dont reconnect - kraleksandr - 14th Feb, 2013 09:38 PM

Okay. What about next version?


RE: Wifi dont reconnect - Koenkk - 14th Feb, 2013 09:44 PM

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).?


RE: Wifi dont reconnect - kraleksandr - 14th Feb, 2013 10:05 PM

WPA2 '


RE: Wifi dont reconnect - Koenkk - 14th Feb, 2013 10:24 PM

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


RE: Wifi dont reconnect - kraleksandr - 14th Feb, 2013 10:41 PM

I think it was bad idea to try this through wifi Big Grin Even with down && up in one row.
Anyway, Next router reboot will be between 02-09 AM (GMT+4).

deleted
I cant understand this Big Grin
Looks like it works (at 3rd attempt), autoreconnects I'll test later.


RE: Wifi dont reconnect - kraleksandr - 15th Feb, 2013 01:50 PM

Ye[,it works. Thanks.


Wifi dont reconnect - Koenkk - 15th Feb, 2013 02:23 PM

How fast does it reconnects and did you noticed any side effects?


RE: Wifi dont reconnect - kraleksandr - 15th Feb, 2013 02:29 PM

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


Wifi dont reconnect - Koenkk - 15th Feb, 2013 06:40 PM

ok nice, thanks!