wifi is gone after reboot
|
5th Apr, 2013, 11:55 PM
Post: #1
|
|||
|
|||
wifi is gone after reboot
Hi,
Every time I reboot Rasp. PI my wi-fi settings get lost. The" wireless key" line that I enter to /etc/network/interface manually or by running ' sudo iwconfig wlan0 key s: MY_KEY', disappears after each reboot. I use xbian image, the wireless adapter is TP-link with WEP security. How do I make my wi-fi settings survive the reboot? |
|||
6th Apr, 2013, 12:01 AM
Post: #2
|
|||
|
|||
RE: wifi is gone after reboot
Quote:thank you. I posted the question here http://forum.xbian.org/thread-743.html If it doesn't ask your for a password your probably selected that it is an Open network. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Apr, 2013, 12:23 AM
Post: #3
|
|||
|
|||
RE: wifi is gone after reboot
I select WEP. Tried now again it does let me enter password if I choose "manually" and not "scan" with xbian-config. But it does not manage to connect to the network.
I manage to connect only after adding the password from the terminal and 'ifup wlan0' till I reboot. |
|||
6th Apr, 2013, 12:55 AM
Post: #4
|
|||
|
|||
RE: wifi is gone after reboot
Can you try executing
Code: sync after the wireless network is working (this saves all changed to the disk). Also make sure you shutdown your Pi properly, you can do this by executing Code: sudo halt Now wait till the RED power LED on the raspberry pi stops burning and then replug the power. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Apr, 2013, 01:31 AM
Post: #5
|
|||
|
|||
RE: wifi is gone after reboot
No, it did't help.
I also get this error messsage: "Error for wireless request "Set Encode" (8B2A) : invalid argument "My_KEY" if I run 'ifup wlan0' without running 'sudo iwconfig wlan0 key s: MY_KEY' first. After I run the key command, with the same key_name that error message complained about, 'ifup' works. Sometimes after the key command the error message still appears when running 'ifup', but the command works nevertheless. Sorry, I did not notice the last line about waiting for the red light to turn off. I am doing it now again(sync and halt). Waiting for for almost 30min now. Should it take that long? |
|||
6th Apr, 2013, 02:30 AM
Post: #6
|
|||
|
|||
Re: wifi is gone after reboot
Sorry I was mistaken, the green light should stop burning instead of the red one. Also, the passphrase has to be placed between "".
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Apr, 2013, 02:38 AM
Post: #7
|
|||
|
|||
RE: wifi is gone after reboot
the "" should be seen in the 'interfeces' file too?
|
|||
6th Apr, 2013, 03:15 AM
Post: #8
|
|||
|
|||
RE: wifi is gone after reboot
First try the sync & halt
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Apr, 2013, 03:19 AM
Post: #9
|
|||
|
|||
RE: wifi is gone after reboot
tried, it did not help.
I used "" in the sudo iwconfig wlan0 key s:"MY_KEY". It did not help, now in the complain about key_name it shows it as "key_name". Here is my interfaces now. Maybe something is wrong here? auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet dhcp wireless-essid www wireless-key KEY_NAME iface wlan0 inet dhcp |
|||
6th Apr, 2013, 03:28 AM
Post: #10
|
|||
|
|||
RE: wifi is gone after reboot
According to http://www.linuxforums.org/forum/networking/40796-wep-key-format-solved.html#6 the key needs to be hexidecimal
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
6th Apr, 2013, 05:10 AM
Post: #11
|
|||
|
|||
RE: wifi is gone after reboot
Thank you. The problem was with the key format. I changed it to hexidecimal and even the xbian-config managed to connect to the network. And it worked after reboot as well.
|
|||
« Next Oldest | Next Newest »
|