You are not logged in.

#1 2012-03-14 17:56:47

MasterNate
Member
Registered: 2012-03-14
Posts: 9

[SOLVED]Wireless can't connect with netcfg

Just installed arch but having trouble setting up my wireless.
I'm using a linksys AE2500 usb adapter for the wireless, and installed the drivers using ndiswrapper

I've done the following (after installing the drivers with ndiswrapper)

 modprobe ndiswrapper 

 ifconfig wlan0 up 

 ip link set wlan0 up

iwconfig wlan0 essid RVI64 key (mykey)

Then I get the following output from iwconfig wlan0

wlan0     IEEE 802.11g  ESSID:"RVI64" 
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:21:29:D8:5E:DD   
          Bit Rate=54 Mb/s   Tx-Power:32 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:(my key is here)   Security mode:restricted
          Power Management:off
          Link Quality:50/100  Signal level:-64 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and here is the output from dmesg | grep wlan0

[  122.723060] wlan0: ethernet device c0:c1:c0:60:48:5f using NDIS driver: bcmwlhigh5, version: 0x564442e, NDIS version: 0x501, vendor: 'NDIS Network Adapter', 13B1:003A.F.conf
[  122.729393] wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2-PSK; AES/CCMP with WPA, WPA2, WPA2-PSK
[  127.745307] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  243.323910] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  253.763327] wlan0: no IPv6 routers present
[ 2160.250516] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2379.234513] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2521.723096] wlan0: no IPv6 routers present
[ 3277.291926] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 5381.025549] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 5391.602810] wlan0: no IPv6 routers present
[54999.923251] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55186.877833] wlan0: no IPv6 routers present
[55785.075083] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[55849.585611] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[55859.891104] wlan0: no IPv6 routers present

I also tried using netcfg and set up my profile under /etc/network.d/RVI64
it looks like this

CONNECTION="wireless"
ESSID="RVI64"
INTERFACE="wlan0"
DESCRIPTION="Automatically generated profile"
SCAN="yes"
IP="dhcp"
TIMEOUT="10"
SECURITY="wep"
KEY="stuff"

but when I run netcfg RVI64 I get this output

:: RVI64 up                                                                                                                                                                  [BUSY]
nl80211: 'nl80211' generic netlink not found
> Wireless network "RVI64" not present.
                                                                                                                                                                             [FAIL]

I also tried using wpa_supplicant with this command wpa_supplicant -Dwext -iwlan0 -c/etc/network.d/RVI64.conf
my RVI64.conf file looks like this

network {
        ssid=RVI64
        key_mgmt=NONE
        wep_key0=(...)
}

which gives me this output

Line 1: unknown global field 'network {'.
Line 1: Invalid configuration line 'network {'.
Line 2: unknown global field 'ssid=RVI64'.
Line 2: Invalid configuration line 'ssid=RVI64'.
Line 3: unknown global field 'key_mgmt=NONE'.
Line 3: Invalid configuration line 'key_mgmt=NONE'.
Line 4: unknown global field 'wep_key0='.
Line 4: Invalid configuration line 'wep_key0='.
Line 5: unknown global field '}'.
Line 5: Invalid configuration line '}'.
Failed to read or parse configuration '/etc/network.d/RVI64.conf'.

I know the drivers are functioning because the "wifi-select" package would find my network, it would just give the same output as netcfg RVI64 when I tried to connect. Any and all help is appreciated, thanks in advance!

Last edited by MasterNate (2012-03-16 00:28:26)

Offline

#2 2012-03-14 18:40:58

Mordillo98
Member
Registered: 2012-03-09
Posts: 12

Re: [SOLVED]Wireless can't connect with netcfg

... As a workaround install wicd and use it to connect wireless to see if that works.  Make sure you go into Preferences of the software and setup wlan0 as the Wireless Interface or nothing will happen.

Offline

#3 2012-03-14 19:18:15

MasterNate
Member
Registered: 2012-03-14
Posts: 9

Re: [SOLVED]Wireless can't connect with netcfg

Wicd-curses gets hung up on validating authentication, while trying to connect...

Whoops hadn't gone through the config options, after selecting WEP hex and putting my passwd in it hangs at "Obtaining IP address"

Update number two, after unplugging and replugging my usb device it worked, oh the magic of technology...

Last edited by MasterNate (2012-03-14 20:01:15)

Offline

Board footer

Powered by FluxBB