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


RE: Wifi dont reconnect - Scanto - 16th Feb, 2013 06:10 AM

Can I still set a static ip with this config?


edit:
Just solved it by myself.
If anybody's interested

/etc/network/interfaces
Code:
auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual

wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf


iface home inet static
address YOURIP
netmask YOURNETMASK
network YOURNETWORK
gateway YOURGATEWAY
wireless-power off

auto wlan0

/etc/wpa_supplicant/wpa_supplicant.conf settings for WPA
Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="YOURSSID"
id_str="home"      #has to be the same id as in the interfaces file
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="YOURPSK"
}



RE: Wifi dont reconnect - adamarchibald - 19th Apr, 2013 11:15 AM

worked for me as well. thanks for the info! would be great if this was added to future xbian releases.


RE: Wifi dont reconnect - mk01 - 29th Apr, 2013 07:16 AM

this is the intended usage (everything else is
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid NETWORK
wpa-psk PASSWORD

/etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

so you can keep the wpa conf file as default and only put password and ssid to interfaces. done.


RE: Wifi dont reconnect - Maki - 5th Apr, 2015 12:35 AM

(29th Apr, 2013 07:16 AM)mk01 Wrote:  this is the intended usage (everything else is
/etc/network/interfaces:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid NETWORK
wpa-psk PASSWORD

/etc/wpa_supplicant/wpa_supplicant.conf:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

so you can keep the wpa conf file as default and only put password and ssid to interfaces. done.

I just downloaded and tried Xbian this week, but I am having major problems trying to get my USB Wi-Fi module to work with my WPA2-PSK network.
It just doesn't want to work, even when trying the helpful tips in this forum and elsewhere.

Right now it fails on "wpa_supplicant: /sbin/wpa_supplicant daemon failed to start" using the quoted setup.

I would like for XBian to adopt a better WPA2 support because the Pi's wi-fi ran fine on the normal NOOBS-installed XBMC version, although considerably slower than XBian does. So what are they doing with their network setup that is missing from XBian?

And how can I fix it myself?