RaspbmcCrystalbuntu
|
[how to] Configure Networkmanager for wifi
|
|
06-23-2012, 10:46 PM
(This post was last modified: 06-24-2012 08:46 PM by mxpwr.)
Post: #1
|
|||
|
|||
|
[how to] Configure Networkmanager for wifi
I m having troubles getting my wifi dongle working with RC3.
For the installation I followed this guide. http://omer.me/2012/04/setting-up-wirele...pberry-pi/ This works perfectly fine with RC2 and doing a manual kernel update (however XBMC py scripts don't work). When I do the same under RC3 I run into the following problem. When I restart the network, it always deauthenticates. "dmesg" gives: Code: wlan0: deauthenticating from xx:xx:xx:xx:xx:xx by local choice (reason=3)I managed to get it working by killing the networkmanager with "killall". Restarting network then brings up wifi working. However, I would have to do that after each reboot. I am most likely just too unexperienced and missing something. Some help would be appreciated. |
|||
|
06-24-2012, 08:17 PM
(This post was last modified: 06-26-2012 02:31 PM by mxpwr.)
Post: #2
|
|||
|
|||
|
RE: Configure Networkmanager for wifi
Here is how i got my wifi dongle working under RC3 (thanks to s7mx1 and http://omer.me/2012/04/setting-up-wirele...pberry-pi/). There might be errors or stupid things, I am not experienced with debian.
SSH into PI Code: sudo -sChange its content to: Code: #!/bin/bashthen find out what drivers you need for your wifi-adapter (http://wiki.debian.org/WiFi#USB_Devices). For my dongle it is "firmware-ralink". Code: apt-get updatethen create a file in Quote:/etc/NetworkManager/system-connectionswith a filename in the form of Quote:name.ini Code: cd /etc/NetworkManager/system-connections/with content of Code: [connection]restrict fileaccess of name.ini to root:root Code: chmod 0600 name.iniReboot and be happy! |
|||
|
06-24-2012, 08:43 PM
(This post was last modified: 06-26-2012 09:50 PM by s7mx1.)
Post: #3
|
|||
|
|||
|
RE: Configure Networkmanager for wifi
Great. Here is the small python script that can generate the ssid for you
Code: wget http://db.tt/tcFXKYeU -O /tmp/ssid.pyReplace Simple by what ever SSID you use. Also a quick note that the commands in mxpwr's original should be run under root or add sudo. (06-24-2012 08:17 PM)mxpwr Wrote: Here is how i got my wifi dongle working under RC3 (thanks to s7mx1 and http://omer.me/2012/04/setting-up-wirele...pberry-pi/). There might be errors or stupid things, I am not experienced with debian. |
|||
|
06-24-2012, 10:04 PM
(This post was last modified: 06-24-2012 10:06 PM by NodeDeploy.)
Post: #4
|
|||
|
|||
|
RE: [how to] Configure Networkmanager for wifi
Active Connection State: Activating
Active Connection PathL /org/freedesktop/NetworkManager/ActiveConnection/0 It just sits on that and doesn't connect, any ideas? Oh wait, after that, I get Error: Timeout 90 sec expired. |
|||
|
06-24-2012, 10:12 PM
Post: #5
|
|||
|
|||
RE: Configure Networkmanager for wifi
(06-24-2012 08:43 PM)s7mx1 Wrote: Great. Here is the small python script that can generate the ssid for you Thanks for the clear instructions, I followed them but still no wireless access. if I iwconfig I get : lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11bgn ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm Retry long limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:on which is more than I was getting. I have a RALINK RT5370 chipset dongle Any ideas? Thanks Joss |
|||
|
06-24-2012, 10:12 PM
Post: #6
|
|||
|
|||
| RE: [how to] Configure Networkmanager for wifi | |||
|
06-24-2012, 10:14 PM
Post: #7
|
|||
|
|||
RE: [how to] Configure Networkmanager for wifi
(06-24-2012 10:12 PM)s7mx1 Wrote: Reboot? Nothing. |
|||
|
06-25-2012, 04:05 PM
Post: #8
|
|||
|
|||
|
RE: Configure Networkmanager for wifi
Would this work with a WEP passkey for wifi - I would like to change to WPA, but its not my router etc...
Could I just change key-mgmt=wpa-psk to key-mgmt=wep ? (06-24-2012 08:17 PM)mxpwr Wrote: Here is how i got my wifi dongle working under RC3 (thanks to s7mx1 and http://omer.me/2012/04/setting-up-wirele...pberry-pi/). There might be errors or stupid things, I am not experienced with debian. |
|||
|
06-25-2012, 04:14 PM
Post: #9
|
|||
|
|||
|
RE: Configure Networkmanager for wifi
Try key-mgmt=none or key-mgmt=ieee8021x
Code: Key management used for the connection. One of 'none' (WEP), 'ieee8021x' (Dynamic WEP), 'wpa-none' (WPA-PSK Ad-Hoc), 'wpa-psk' (infrastructure WPA-PSK), or 'wpa-eap' (WPA-Enterprise).(06-25-2012 04:05 PM)vermontia Wrote: Would this work with a WEP passkey for wifi - I would like to change to WPA, but its not my router etc... |
|||
|
06-25-2012, 08:38 PM
Post: #10
|
|||
|
|||
|
RE: Configure Networkmanager for wifi
I have tried the above, created the name.ini file, and rebooted. Should it automatically connect to my wireless network now on reboot? This is not happening. If I search for networks, I can see my network, so its the final step I have a problem with, connecting to the wifi. Any suggestions?
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)
Sponsored Advertisement

Member List
Calendar
Help





