PDA

View Full Version : After reboot no more WLAN



Akki
14-09-11, 22:05
I have a VU + Uno with W-LAN USB Stick Vu + wireless 150Mbps Wireless Adapter 2.4 GHz (chipset,: Ralink RT3070).

I can only manually configure WLAN, LAN is forced to connect to the box, then I do I replace the following files:


1. interfaces with the following content



# automatically generated by enigma 2
# do NOT change manually!

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.2.100
netmask 255.255.255.0
gateway 192.168.2.1
pre-up /usr/sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B -dd -Dwext
post-down wpa_cli terminate

iface eth0 inet dhcp


2. wpa_supplicant.conf



#WPA Supplicant Configuration by enigma2
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
fast_reauth=1
ap_scan=1
network={
ssid="WLAN-12345678910" is changed
scan_ssid=0
key_mgmt=WPA-PSK
proto=WPA RSN
pairwise=CCMP TKIP
group=CCMP TKIP
psk="12345678910" is changed
}


Then I give the telnet command:



ifup wlan0


Then I reboot my box, then I have wireless reception and everything is fine.

But when I restart my Uno must go down or I'm not after you receive your wireless more.

I do not advise more unfortunately, what I could do or why.


Thank you for your help

Akki

Delagroov
15-09-11, 07:19
When you add the line marked in bold/red in interfaces, then wlan will be there after reboot/deepstandby.


auto wlan0
iface wlan0 inet dhcp
pre-up /sbin/ifconfig wlan0 up
pre-up iwconfig wlan0 essid "mijnwlan"
pre-up /usr/sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B -dd -Dwext
post-down wpa_cli terminate

Or wenn using static ip adress:


auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.1.xxx
netmask 255.255.255.0
gateway 192.168.1.254
pre-up /sbin/ifconfig wlan0 up
pre-up iwconfig wlan0 essid "hiddensid"
pre-up /usr/sbin/wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B -dd -Dwext
post-down wpa_cli terminate

Akki
15-09-11, 17:04
Thank you for your help, but unfortunately I lose, despite the
Change in the interface file, the wireless connection after a reboot.

This has to be lying on my wireless stick, because he is not the VIX
is correctly identified.

By VTI or Black Hole image I have no problems with
detection of Wi-Fi stick.

Delagroov
17-09-11, 13:56
But it seems you are using lan interface also from your post.



iface eth0 inet dhcp

Normally when setting up wlan, one gets the message to disable second interface to avoid problems.

Perhaps you can try that also..

I don't know what the prob is with wlan recognition...