Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
D-link DWA-130 wireless usb needs a driver
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 24, 2012 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
whobanil80
n00b
n00b


Joined: 04 Feb 2012
Posts: 27

PostPosted: Fri Feb 24, 2012 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
whobanil80
n00b
n00b


Joined: 04 Feb 2012
Posts: 27

PostPosted: Fri Feb 24, 2012 11:56 am    Post subject: Reply with 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*
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2665
Location: Slovenia

PostPosted: Fri Feb 24, 2012 12:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
whobanil80
n00b
n00b


Joined: 04 Feb 2012
Posts: 27

PostPosted: Fri Feb 24, 2012 12:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
whobanil80
n00b
n00b


Joined: 04 Feb 2012
Posts: 27

PostPosted: Fri Feb 24, 2012 12:15 pm    Post subject: [Resolved] Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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