View previous topic :: View next topic |
Author |
Message |
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Feb 24, 2012 11:17 am Post subject: |
|
|
whobanil80 wrote: | I have a hidden SSID |
That's very valuable info. It means you have to add scan_ssid=1 into the network block in the config file. |
|
Back to top |
|
|
whobanil80 n00b
Joined: 04 Feb 2012 Posts: 27
|
Posted: Fri Feb 24, 2012 11:51 am Post subject: |
|
|
Okay. I added the scan_ssid thing and after reading more on wpa_supplicant I now have these:
/etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel
ctrl_interface_group=0
network={
ssid="Spencer_Family"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="***************"
}
And
/etc/conf.d/net
modules="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
config_eth0="dhcp"
config_wlan0="dhcp"
Still no luck connecting |
|
Back to top |
|
|
whobanil80 n00b
Joined: 04 Feb 2012 Posts: 27
|
Posted: Fri Feb 24, 2012 11:56 am Post subject: |
|
|
I don't know if it is worth noting, but I use AES encrytion. not TKIP. The directions didn't say anything about these so *shrugs* |
|
Back to top |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Feb 24, 2012 12:06 pm Post subject: |
|
|
whobanil80 wrote: | Code: | ctrl_interface_group=0 |
|
This shouldn't be there, you've already set the group in the line above it. The setting is either: Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0 | or Code: | ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=root |
I use the wheel group instead, so that I can mess with stuff using wpa_cli as a regular user. But this shouldn't matter really. So since you don't get a connection let's try this: connect manually, but with debug output: Code: | wpa_supplicant -d -iwlan0 -Dwext -c/etc/wpa_supplicant/wpa_supplicant.conf |
Post the output of that.
Also, you said the network is WPA2, but your config has proto=WPA, that could also be a problem. For WPA2 proto should be set to RSN. Or don't set proto at all, wpa_supplicant can figure out this stuff on it's own. Same goes for key_mgmt, pairwise and group.
Then there's also the possibility that the r8712u driver just plain doesn't like hidden networks. They're a pain, it's known they cause problems with some drivers. And the network is not really hidden, one can easily sniff it out. So I suggest to reconfigure the router, make the network not hidden. Then remove scan_ssid=1 and try again.
Quote: | I don't know if it is worth noting, but I use AES encrytion. not TKIP. The directions didn't say anything about these so *shrugs* |
AES is CCMP, you've set that, so not an issue. The WPA vs RSN thing might be, as I said above.
Last edited by Gusar on Fri Feb 24, 2012 12:08 pm; edited 2 times in total |
|
Back to top |
|
|
whobanil80 n00b
Joined: 04 Feb 2012 Posts: 27
|
Posted: Fri Feb 24, 2012 12:06 pm Post subject: |
|
|
Well, contradictory to my system clock, it is 4AM (it says 8PM lol) and I'm heading to bed. So I will check in later. Thank you for your help tonight and I would shake your hand if shoving my hand through the computer screen wouldn't result in a painful mess. |
|
Back to top |
|
|
whobanil80 n00b
Joined: 04 Feb 2012 Posts: 27
|
Posted: Fri Feb 24, 2012 12:15 pm Post subject: [Resolved] |
|
|
As a quick try before I went to bed, I removed the extra/wrong crap from the .conf and tried it out. All I can say is, I'm typing this connected via wireless. THANK YOU! I have learned quite a bit from this experience and again I'd love to shake your hand, but I can't. You are awesome! |
|
Back to top |
|
|
|