View previous topic :: View next topic |
Author |
Message |
lauscher n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 10 Mar 2009 Posts: 1
|
Posted: Tue Mar 10, 2009 1:53 pm Post subject: can't get my wlan to work by using /etc/init.d/net.wlan0 sta |
|
|
Hi everyone,
i've got some problems with my w-lan. it works, but it doesn't work properly. i've got a wg311v3 wireless card. it's installed properly using ndiswrapper. i use wpa supplicant to connect to my network.
that's my /etc/wpa_supplicant/wpa_supplicant.conf
Code: | ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=users
eapol_version=1
ap_scan=1
fast_reauth=1
network={
key_mgmt=NONE
priority=-9999999
}
network={
ssid="Vogel"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
psk="MyKey"
priority=1 |
and my /etc/conf.d/net
Code: | modules_wlan0=( "wpa_supplicant" )
wpa_supplicant_wlan0="-D wext"
wpa_timeout_wlan0=60 |
every time i use the init-skript (/etc/init.d/net.wlan0 start) to connect to my network it doesn't work
Code: | * Stopping wlan0
* Loading networking modules for wlan0
* modules: apipa arping ccwgroup macchanger macnet rename iwconfig wpa_supplicant essidnet iptunnel ifconfig system dhcpcd ip6to4
* Bringing down wlan0
* Stopping dhcpcd on wlan0 ... [ ok ]
* Shutting down wlan0 ... [ ok ]
* Starting wlan0
* Loading networking modules for wlan0
* modules: apipa arping ccwgroup macchanger macnet rename wpa_supplicant essidnet iptunnel ifconfig system dhcpcd ip6to4
* wpa_supplicant provides wireless
* ifconfig provides interface
* dhcpcd provides dhcp
* Configuring wlan0 for MAC address 00:00:00:00:00:00 ... [ ok ]
* Starting wpa_supplicant on wlan0 ... [ ok ]
* Starting wpa_cli on wlan0 ... [ ok ]
* Waiting for association [ ok ]
* Backgrounding ... |
Code: | wpa_cli status
Selected interface 'wlan0'
bssid=06:1b:2f:3e:e0:9d
ssid=Vogel
id=1
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=GROUP_HANDSHAKE |
wpa_state changes between GROUP_HANDSHAKE and SCANNING but won't go to COMPLETED
But if I start wpa_supplicant myself it works.
Code: | wpa_cli terminate
ifconfig wlan0 down
ifconfig eth0 down
ifconfig wlan0 up
wpa_supplicant -i wlan0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf -B
dhcpcd wlan0
wpa_cli status
Selected interface 'wlan0'
bssid=00:00:00:00:00:00
ssid=Vogel
id=1
pairwise_cipher=TKIP
group_cipher=TKIP
key_mgmt=WPA-PSK
wpa_state=COMPLETED
ip_address=192.168.2.39 |
Has anybody got a clue what i am doing wrong?
Thank for your help guys |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
alienjon Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/1752570115836625353387.gif)
Joined: 09 Feb 2005 Posts: 1726
|
Posted: Thu Mar 12, 2009 1:45 am Post subject: |
|
|
I used to have the same problem. Didn't figure out how to fix it correctly, but to get it to work I simply opened up the GUI once I had logged into a graphical interface (KDE, for me). Literally, all I had to do was open up the GUI (I did it from the KMenu) and it automatically was able to detect the settings after a moment or two of thinking. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|