Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wlan0 Access Point: Not-Associated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Mon Jan 07, 2013 3:01 pm    Post subject: wlan0 Access Point: Not-Associated Reply with quote

Hi

I have been trying to get wlan0 working on a command line only system. I have installed NetworkManager and wpa_supplicant. The wired connection eth0 works perfectly.

Code:
# /sbin/iwconfig wlan0
wlan0     IEEE 802.11bgn  ESSID:"my_router"
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm
          Retry  long limit:7   RTS thr=2347 B   Fragment thr:off
          Encryption key:off
          Power Management:off


How do I associate the 'access point' ?

I have another system on the same laptop using an xfce desktop environment and also using NetworkManager and wpa_supplicant plus NetworkManager applet.
NetworkManager automatically created wpa_supplicant.conf on the xfce system but not on the command line only system. Should it have done so?

I carried out exactly the same configuration on both systems. On the xfce system wlan0 and eth0 work perfectly.

Any help please would be appreciated.

percy
Back to top
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 283

PostPosted: Tue Jan 08, 2013 1:13 am    Post subject: Reply with quote

Percy, I don't use NetworkManager so take this with a grain of salt but you shouldn't need it to connect. If you manually construct the wpa_supplicant file you can set the access point there and let it use dhcp. You can also use wpa_cli directly to access the wireless connection if you want to scan and associate.

Are you going to be taking this system to a lot of dynamic networks or just a few static ones? If so you might not need the NetworkManager facilities.
_________________
Linux, the OS for the obsessive-compulsive speed freak in all of us.
Back to top
View user's profile Send private message
percy_vere_uk
Apprentice
Apprentice


Joined: 13 Dec 2008
Posts: 210
Location: Dorset UK

PostPosted: Tue Jan 08, 2013 1:11 pm    Post subject: Reply with quote

CrankyPenguin

Thanks for that, but I would really like to still use NetworkManager.

I just hope that someone can explain how I can persuade NetworkManager to automaticaly connect wlan0 as it did on my xfce desktop environment system.

I find network configuration pretty hard to understand but using NetworkManager does make it much easier, if I can get it working from the command line..

percy
Back to top
View user's profile Send private message
CrankyPenguin
Apprentice
Apprentice


Joined: 19 Jun 2003
Posts: 283

PostPosted: Wed Jan 09, 2013 7:10 am    Post subject: Reply with quote

Well good luck. I fooled with NetworkManager a while ago as a GUI but moved away from it because I like config files.
_________________
Linux, the OS for the obsessive-compulsive speed freak in all of us.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum