You are not logged in.

#1 2008-11-10 01:34:14

rickrollz
Member
Registered: 2008-11-10
Posts: 5

[SOLVED]ndiswrapper + wpa_supplicant, cannot access my network

Hello everyone.

I am having issues with wireless on my Arch install. Yesterday I played around and learned how to install the drivers and the firmware for my Linksys WUSB54G. Today, I reinstalled and went through the set up really quickly and followed these instructions: http://wiki.archlinux.org/index.php/Ndi … supplicant

After the initial reboot, I noticed that it was connected to a neighbors network. I tried to change the essid using iwconfig wlan0 essid myessid, but after that the essid in iwconfig shows off/any. I cannot get it to reconnect to any network and don't know what went wrong. Let me know what information you may need and I will post it.

Thanks.

Last edited by rickrollz (2008-11-10 02:48:15)

Offline

#2 2008-11-10 01:46:25

kjon
Member
From: Temuco, Chile
Registered: 2008-04-16
Posts: 398

Re: [SOLVED]ndiswrapper + wpa_supplicant, cannot access my network

some interfaces, when playin' with ndiswrapper, require to be up before setting up the essid or performing a network scan. Others, will show you 'any/off' until you get a valid IP.


They say that if you play a Win cd backward you hear satanic messages. That's nothing! 'cause if you play it forwards, it installs windows.

Offline

#3 2008-11-10 01:59:10

rickrollz
Member
Registered: 2008-11-10
Posts: 5

Re: [SOLVED]ndiswrapper + wpa_supplicant, cannot access my network

I tried setting an IP and assigning it the essid, but it didn't work.

I should probably mention that when it connected to my neighbors, I was able to do /etc/rc.d/network restart without any errors, but now it gives me the errors of

SIOCDELRT: no such process
and
SIOCADDRT: no such process

EDIT:

Fixed the errors, and found this.

# Add a new interface (wlan0, no configuration file, driver=wext, and
# enable control interface)
wpa_cli -g/var/run/wpa_supplicant-global interface_add wlan0 \
    "" wext /var/run/wpa_supplicant

# Configure a network using the newly added network interface:
wpa_cli -iwlan0 add_network
wpa_cli -iwlan0 set_network 0 ssid '"test"'
wpa_cli -iwlan0 set_network 0 key_mgmt WPA-PSK
wpa_cli -iwlan0 set_network 0 psk '"12345678"'
wpa_cli -iwlan0 set_network 0 pairwise TKIP
wpa_cli -iwlan0 set_network 0 group TKIP
wpa_cli -iwlan0 set_network 0 proto WPA
wpa_cli -iwlan0 enable_network 0

# At this point, the new network interface should start trying to associate
# with the WPA-PSK network using SSID test.

# Remove network interface
wpa_cli -g/var/run/wpa_supplicant-global interface_remove wlan0

I can ping the other hosts in my network. I should be able to figure out the rest.

Last edited by rickrollz (2008-11-10 02:48:34)

Offline

Board footer

Powered by FluxBB