Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
wpa_supplicant and non-broadcasting ssid's
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
choogi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2007
Posts: 105

PostPosted: Sun Oct 28, 2007 7:53 pm    Post subject: wpa_supplicant and non-broadcasting ssid's Reply with quote

I just got wpa_supplicant to work with iwl4965 for both wpa and wep when networks broadcast ssid, but my university's network doesn't broadcast it for security reasons. wpa_supplicant won't connect to the network for me so I end up having to connect manually which sometimes won't work either. I've tried setting scan_ssid=1, ap_scan=1, and ap_scan=2. Is there something else I need to do? Thanks.
Back to top
View user's profile Send private message
Lemmens
n00b
n00b


Joined: 23 Aug 2007
Posts: 21
Location: European Union (BE)

PostPosted: Mon Oct 29, 2007 10:15 am    Post subject: Re: wpa_supplicant and non-broadcasting ssid's Reply with quote

choogi wrote:
...my university's network doesn't broadcast it for security reasons. wpa_supplicant won't connect to the network for me so I end up having to connect manually which sometimes won't work either.
My wireless router also does not broadcast ssid for the same security reasons. This configuration of my wireless card does the job for me:
Code:
/etc/wpa_supplicant/wpa_supplicant.conf

ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=1
fast_reauth=1
network={
psk="<my very secret password>"
scan_ssid=1
ssid="<my essid>"
}

/etc/conf.d/net

dns_domain_lo="<my essid>"
modules=( "wpa_supplicant" )
associate_order="forcepreferred"
wpa_supplicant_ath0="-Dmadwifi"
preferred_aps=( "<my essid>" )
config_ath0=( "dhcp" )

_________________
Who even knows the vastness, the strech and the reach of his ignorance?
By the mercy of God, we are lovers of the light.
Back to top
View user's profile Send private message
choogi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2007
Posts: 105

PostPosted: Mon Oct 29, 2007 1:30 pm    Post subject: Reply with quote

Does that allow you to connect to other networks as well or does it force you to connect to the preferred ssid?

EDIT: It didn't work for me =( after adding the stuff you had, wpa_supplicant just associates with the strongest network that broadcasts the ssid.
Back to top
View user's profile Send private message
choogi
Tux's lil' helper
Tux's lil' helper


Joined: 04 Oct 2007
Posts: 105

PostPosted: Mon Oct 29, 2007 6:53 pm    Post subject: Reply with quote

Okay so I think my problem has to do with the fact that my university has multiple access points broadcasting the same hidden ssid. If I use iwconfig to manually associate my card with one of the access points, then I can get a connection (but only for about 15 minutes and then it dies for some reason). This is the only way that I can connect so far.
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