[How-To] Enable Wireless

This forum is for all other ARMv5 devices

Re: [How-To] Enable Wireless

Postby WarheadsSE » Fri Sep 21, 2012 7:23 pm

Nifty...
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: [How-To] Enable Wireless

Postby erkerb » Tue Sep 25, 2012 10:57 pm

I've started from the beginning, to the end and i was unable to get this thing working. Actually, at the end of my last attempt, i have orange/green flashing. i think it was after reloading the latest driver and do depmod -a. I'm going to go through a clean installation.. But what is needed to do with the current (latest) state of the archlinux to get wifi working?

EDIT 9/26

So i was able to get interface up, and for test purposes I've created a virtual network named TestNetwork. It's open authentication (no password), and it's hidden. Here is the wireless config:

$this->bbcode_second_pass_code('', '
CONNECTION="wireless"
DESCRIPTION="Pogoplug Pro wifi connection"
INTERFACE="ra0"
SECURITY="none"

TIMEOUT=25
ESSID="NetworkTest"

IP="dhcp"
HIDDEN=yes
')

and result:

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# netcfg wireless
:: wireless up [BUSY] nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
rfkill: Cannot open RFKILL control device

> WPA Authentication/Association Failed
[FAIL]')

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# ifconfig ra0 up
[root@OXFORD ~]# iwpriv ra0 set WirelessMode=Managed
[root@OXFORD ~]# iwpriv ra0 set AuthMode=OPEN
[root@OXFORD ~]# iwpriv ra0 set SSID=NetworkTest
[root@OXFORD ~]# iwpriv ra0 set WirelessMode=9
[root@OXFORD ~]# dhcpcd ra0
dhcpcd[4201]: version 5.6.2 starting
dhcpcd[4201]: ra0: sending IPv6 Router Solicitation
dhcpcd[4201]: ra0: broadcasting for a lease
dhcpcd[4201]: ra0: sending IPv6 Router Solicitation
dhcpcd[4201]: ra0: sending IPv6 Router Solicitation
dhcpcd[4201]: ra0: sending IPv6 Router Solicitation
dhcpcd[4201]: ra0: no IPv6 Routers available
dhcpcd[4201]: timed out')

Almost there..

ANOTHER EDIT: I've disabled ipv6 from dhcpcd config, but now it's assigning a 169. ip. Not being able to connect to a network.. i don't know if this is a progress..
Last edited by erkerb on Thu Sep 27, 2012 1:22 am, edited 1 time in total.
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: [How-To] Enable Wireless

Postby erkerb » Thu Sep 27, 2012 1:55 am

Yyeah, i am going to need some input on this :|..

$this->bbcode_second_pass_quote('', '[')root@OXFORD installers]# iwpriv ra0 set AuthMode=OPEN
[root@OXFORD installers]# iwpriv ra0 set EncrypType=NONE
[root@OXFORD installers]# iwpriv ra0 set WirelessMode=9
[root@OXFORD installers]# iwpriv ra0 set SSID=NetworkTest
[root@OXFORD installers]# dhcpcd ra0
dhcpcd[1333]: version 5.6.2 starting
dhcpcd[1333]: ra0: checking for 169.254.30.223
dhcpcd[1333]: ra0: using IPv4LL address 169.254.30.223
dhcpcd[1333]: forked to background, child pid 1371


SOme extra info i thought it might be usefull:

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# lsmod
Module Size Used by
bootled_module 1472 0
gmac 40012 0
mii 6200 1 gmac
rt3390sta 893736 1')

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# lspci -nn -k
00:00.0 Network controller [0280]: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Subsystem: Ralink corp. RT3090 Wireless 802.11n 1T/1R PCIe [1814:3090]
Kernel driver in use: rt2860')
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: [How-To] Enable Wireless

Postby Geoff » Thu Sep 27, 2012 3:10 am

Here's what I did with netcfg, to get wifi working with WPA2/PSK:

1. Set up as many parameters as possible initially in /etc/Wireless/RT2860STA/RT2860STA.dat ... You can set these also using iwpriv (see below), but it might be easier to get that out of the way ahead of time by setting them in this config file.

2. Set up a netcfg config file /etc/network.d/wireless for the wifi network. Your parameters may differ, depending on your router's capabilities and settings. Note that I request a static ip address and I set up the DNS myself (GATEWAY, DNS, DOMAIN, SEARCH), rather than getting these from DHCP; you may not want to do that. Also, my network uses a hidden SSID, which yours may not. You probably don't need to set the AP/bssid; I did that because my SSID is hidden:

$this->bbcode_second_pass_code('', 'CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='ra0'
ESSID='YourNetworkSSID'
KEY='YourPassword'
AP='xx:xx:xx:xx:xx:xx'
SECURITY='wpa-configsection'
CONFIGSECTION='
ssid="YourNetworkSSID"
bssid=xx:xx:xx:xx:xx:xx
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="YourPassword"
'
IP='dhcp'
DHCP_OPTIONS='-h alarm -m 1 -q -r 192.168.0.123 -w -A -C hostname -C resolv.conf -E -K -L --noipv6rs'
GATEWAY='192.168.0.1'
DNS=('n.n.n.n' 'n.n.n.n')
DOMAIN='your.net'
SEARCH='your.net'
# Uncomment this if your ssid is hidden
HIDDEN=yes
SCAN=no
WPA_DRIVER=wext
PRE_UP="
ifconfig $INTERFACE up;
iwpriv $INTERFACE set WpaSupport=1;
"
IWCONFIG="mode Managed essid $ESSID ap $AP nickname alarm"')
3. Note that netcfg ignores /etc/conf.d/dhcpcd when it starts dhcpcd, so if you changed anything there, you need to specify DHCP_OPTIONS as above.

4. Note that netcfg ignores /etc/conf.d/wireless, so anything you added there, you need to specify as iwpriv commands in PRE_UP and iwconfig arguments in IWCONFIG as above. Just to be sure, I used iwpriv to set WpaSupport=1, although that's overkill. This must come before any other iwpriv commands. The IWCONFIG arguments that I specified above are probably redundant too.

5. Set up the /etc/conf.d/netcfg config file to specify which networks will start:

$this->bbcode_second_pass_code('', '# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(ethernet wireless)

# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"

# Specify the name of your wireless interface for net-auto-wireless
WIRELESS_INTERFACE="ra0"

# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
AUTO_PROFILES=("wireless")')
6. Note that you will get error messages about RFKILL ... I don't think there's anything to be done, but don't worry about it.
Last edited by Geoff on Fri Jan 04, 2013 5:57 pm, edited 3 times in total.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: [How-To] Enable Wireless

Postby erkerb » Thu Sep 27, 2012 2:45 pm

Geoff,

Thank you very much for taking the time to respond. Since i am trying to connect to a Hidden Open network, i had to disregard majority of the options..

So my /etc/network.d/wireless looks like this :

$this->bbcode_second_pass_code('', '
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='ra0'
HIDDEN=yes
SECURITY='none'
ESSID='NetworkTest'
IP='dhcp'
DHCP_OPTIONS='-h oxford -m 1 -q -w -E --noipv6rs'
GATEWAY='x.x.x.x'
DNS=('x.x.x.x' 'x.x.x.x')
DOMAIN='x.x.com'
SEARCH='x.x.com'
SCAN=no
WPA_DRIVER=wext
PRE_UP="ifconfig $INTERFACE up"
IWCONFIG="mode Managed essid $ESSID channel auto ap any rate auto key open commit"
')

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# netcfg wireless
:: wireless up [BUSY] rfkill: Cannot open RFKILL control device

> WPA Authentication/Association Failed
[FAIL]')

So i had to disregard quite a bit info. The reason why i am trying to do this is because, i eventually want to use it in a hidden, open network. I noticed there are 2-3 drivers stated in this topic.. Which one do you have loaded?

My guess is the WPA driver i am forcing is causing issues.. When i comment that line, i get the following:

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# netcfg wireless
:: wireless up [BUSY] nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
rfkill: Cannot open RFKILL control device

> WPA Authentication/Association Failed
[FAIL]
')
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm

Re: [How-To] Enable Wireless

Postby Geoff » Thu Sep 27, 2012 3:54 pm

$this->bbcode_second_pass_quote('erkerb', 'i') eventually want to use it in a hidden, open network. I noticed there are 2-3 drivers stated in this topic.. Which one do you have loaded?

I am using the driver that takbal compiled with support for wpa_supplicant. I notice that your configuration is missing a definition for SECURITY; that could explain why it doesn't work. Maybe you need to specify SECURITY='none'. Also, when using a hidden network, it might be a good idea to specify the AP. Otherwise, you might want to allow it to scan for APs. You probably don't need to define PRE_UP or IWCONFIG.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: [How-To] Enable Wireless

Postby erkerb » Thu Sep 27, 2012 5:25 pm

$this->bbcode_second_pass_code('', '[root@OXFORD ~]# iwpriv ra0 set WpaSupport=1
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument')

This is what i get when i set WpaSupportw ith iwpriv.

Interest thing is, i've tried installing to 2-3 different flash drives and i always get the same thing.. It doesn't connect!

Here is my modified /etc/network.d/wireless look like:

$this->bbcode_second_pass_code('', 'CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='ra0'
HIDDEN=yes
AP=x:x:x:x
SECURITY='none'
ESSID='NetworkTest'
IP='dhcp'
GATEWAY='x.x.x.x'
DNS=('x.x.x.x' 'x.x.x.x')
DOMAIN='x.x.x'
SEARCH='x.x.x.x'
SCAN=no
WPA_DRIVER=wext
PRE_UP="ifconfig $INTERFACE up"
IWCONFIG="essid on essid $ESSID mode Managed key open ap $AP"')

*drumroll* the output is :
$this->bbcode_second_pass_quote('', '[')root@OXFORD ~]# netcfg wireless
:: wireless up [BUSY] rfkill: Cannot open RFKILL control device

> WPA Authentication/Association Failed
[FAIL]


I am also monitoring /var/log/everything.log

$this->bbcode_second_pass_quote('', '
')Dec 31 19:56:52 OXFORD kernel: [ 3412.790000] RX DESC ffc15000 size = 2048
Dec 31 19:56:52 OXFORD kernel: [ 3412.800000] CfgSetCountryRegion():CountryRegion in eeprom was programmed
Dec 31 19:56:52 OXFORD kernel: [ 3412.810000] CfgSetCountryRegion():CountryRegion in eeprom was programmed
Dec 31 19:56:52 OXFORD kernel: [ 3412.820000] Key1Str is Invalid key length(0) or Type(0)
Dec 31 19:56:52 OXFORD kernel: [ 3412.820000] Key2Str is Invalid key length(0) or Type(0)
Dec 31 19:56:52 OXFORD kernel: [ 3412.830000] Key3Str is Invalid key length(0) or Type(0)
Dec 31 19:56:52 OXFORD kernel: [ 3412.830000] Key4Str is Invalid key length(0) or Type(0)
Dec 31 19:56:52 OXFORD kernel: [ 3412.840000] AntDiversity=0
Dec 31 19:56:52 OXFORD kernel: [ 3412.840000] 1. Phy Mode = 9
Dec 31 19:56:52 OXFORD kernel: [ 3412.850000] 2. Phy Mode = 9
Dec 31 19:56:52 OXFORD kernel: [ 3412.850000] NVM is Efuse and its size =2d[2d0-2fc]
Dec 31 19:56:52 OXFORD dhcpcd[2310]: ra0: carrier acquired
Dec 31 19:56:52 OXFORD kernel: [ 3412.850000] NVM is Efuse and the information is too less to bring up interface. Force to use EEPROM Buffer Mode
Dec 31 19:56:52 OXFORD kernel: [ 3412.860000] RtmpOSFileOpen(): Error 2 opening /tmp/RT30xxEEPROM.bin
Dec 31 19:56:52 OXFORD kernel: [ 3412.870000] --> Error opening /tmp/RT30xxEEPROM.bin
Dec 31 19:56:52 OXFORD kernel: [ 3412.880000] 3. Phy Mode = 9
Dec 31 19:56:52 OXFORD kernel: [ 3412.910000] MCS Set = 00 00 00 00 01
Dec 31 19:56:52 OXFORD kernel: [ 3412.910000] <==== rt28xx_init, Status=0
Dec 31 19:56:52 OXFORD kernel: [ 3412.910000] 0x1300 = 00064300
Dec 31 19:56:52 OXFORD kernel: [ 3412.920000] AUX_CTRL = 0x 5d42
Dec 31 19:56:52 OXFORD kernel: [ 3412.920000] Read AUX_CTRL = 0x5d42
Dec 31 19:56:52 OXFORD kernel: [ 3412.930000] Write AUX_CTRL = 0x5d42
Dec 31 19:56:52 OXFORD kernel: [ 3412.930000] OSC_CTRL = 0x3ff11
Dec 31 19:56:52 OXFORD kernel: [ 3412.930000] ====> rt30xx Read PowerLevelMode = 0x3.
Dec 31 19:56:52 OXFORD kernel: [ 3412.940000] ====> rt30xx F Write 0x83 Command = 0x3.
Dec 31 19:56:53 OXFORD dhcpcd[2310]: ra0: checking for 169.254.69.10
Dec 31 19:56:53 OXFORD dhcpcd[2310]: ra0: carrier lost
Dec 31 19:57:10 OXFORD dhcpcd[2310]: ra0: carrier acquired
Dec 31 19:57:10 OXFORD dhcpcd[2310]: ra0: carrier lost
Dec 31 19:57:10 OXFORD dhcpcd[2310]: ra0: waiting for carrier


I do not even think it's touching the AP..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm
Top

Re: [How-To] Enable Wireless

Postby ckiick » Thu Sep 27, 2012 6:23 pm

I don't have access to my plug at the moment, so I'm working blind here.

$this->bbcode_second_pass_quote('erkerb', '[')code][root@OXFORD ~]# iwpriv ra0 set WpaSupport=1
Interface doesn't accept private ioctl...
set (8BE2): Invalid argument[/code]

Was the interface up at the time? You have to "ifconfig ra0 up" before doing any iwpriv calls.
Also, try running "iwpriv ra0 --all" and look for a line with WpaSupplicantUP in it. If it's NOT there then you are using
the old driver which does not support wpa supplicant, and netcfg will not work. If it IS there it should be set to 1.

Another thing to try, that might give you some information, is to look for the generated wpa config file under /var/run/network (can't remember the exact name. something like wpa0.conf). Bring up the interface and run wpa_supplicant by hand using "wpa_supplicant -ira0 -dd -c <config file>" and see what it spits out. Check the config file, it might have something messed up in it. Then see what iwconfig ra0 shows.

You shouldn't need all that junk in the /etc/network.d/wireless file. Look at the wireless-open example in /etc/network.d/examples. Wpa_supplicant should bring up the interface for you, and set the ssid. With dhcp set, you don't have to specify gateway, dns, domain, or search.

I'm out the next couple of days, so you guys are on your own until next week.
--
Chris J. Kiick Robot builder and all-around geek.
ckiick
 
Posts: 12
Joined: Tue Jan 03, 2012 4:13 pm
Top

Re: [How-To] Enable Wireless

Postby erkerb » Fri Sep 28, 2012 3:10 pm

Thank you for your response ckiick..

So after checking the driver like you have suggested, i found out i had the older one [searched the system, and removed everything related to that driver]. Then i was able to install the new version.. Here is the iwpriv ra0 --all output:

$this->bbcode_second_pass_quote('', '
')[root@OXFORD home]# iwpriv ra0 --all
ra0 Available read-only private ioctl :
ra0 stat:

Tx success = 4933
Tx retry count = 0
Tx fail to Rcv ACK after retry = 0
RTS Success Rcv CTS = 0
RTS Fail Rcv CTS = 0
Rx success = 0
Rx with CRC = 12
Rx drop due to out of resource = 0
Rx duplicate frame = 0
False CCA (one second) = 0
RSSI-A = 0
RSSI-B (if available) = 0
RSSI-C (if available) = 0

SNR-A = 0
SNR-B (if available) = 0

WpaSupplicantUP = 1

RT2860 Linux STA PinCode 00000000

ra0 get_site_survey:
Ch SSID BSSID Security Siganl(%)W-Mode ExtCH NT




Since i know i have the correct driver, i have taken your recommendation to use wpa_supplicant and followed few guides i have found online ( http://hostap.epitest.fi/gitweb/gitweb. ... icant.conf )..

SO now, my new wpa.conf looks like this

$this->bbcode_second_pass_code('', '
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

network={
scan_ssid=1
ssid="NetworkTest"
key_mgmt=NONE
}
')

And this is what i constantly get :

$this->bbcode_second_pass_code('', '
[root@OXFORD home]# ifconfig ra0 up
[root@OXFORD home]# wpa_supplicant -ira0 -dd -c/home/wpa.conf
wpa_supplicant v1.0
Initializing interface 'ra0' conf '/home/wpa.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/home/wpa.conf' -> '/home/wpa.conf'
Reading configuration file '/home/wpa.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0'
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 8 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=12):
4e 65 74 77 6f 72 6b 54 65 73 74 NetworkTest
key_mgmt: 0x4
Priority group 0
id=0 ssid='NetworkTest'
rfkill: Cannot open RFKILL control device
WEXT: RFKILL status not available
SIOCGIWRANGE: WE(compiled)=22 WE(source)=14 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf flags 0x0
netlink: Operstate: linkmode=1, operstate=5
ra0: Own MAC address: 00:00:00:00:00:00
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
ra0: RSN: flushing PMKID list in the driver
ra0: Setting scan request: 0 sec 100000 usec
WPS: Set UUID for interface ra0
WPS: UUID based on MAC address - hexdump(len=16): 42 79 74 ee cf 6c 52 78 8c 94 99 5e 22 61 d1 dc
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: Supplicant port status: Unauthorized
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: Supplicant port status: Unauthorized
EAPOL: Supplicant port status: Unauthorized
ctrl_interface_group=0
ra0: Added interface ra0
RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 1
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Not rescheduling scan to ensure that specific SSID scans occur
ra0: State: DISCONNECTED -> SCANNING
Scan SSID - hexdump_ascii(len=12):
4e 65 74 77 6f 72 6b 54 65 73 74 NetworkTest
ra0: Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 30 seconds
EAPOL: disable timer tick
EAPOL: Supplicant port status: Unauthorized
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 2
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
ra0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 3
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
Scan SSID - hexdump_ascii(len=12):
4e 65 74 77 6f 72 6b 54 65 73 74 NetworkTest
ra0: Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 4
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
ra0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 5
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
Scan SSID - hexdump_ascii(len=12):
4e 65 74 77 6f 72 6b 54 65 73 74 NetworkTest
ra0: Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 6
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
ra0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 7
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
Scan SSID - hexdump_ascii(len=12):
4e 65 74 77 6f 72 6b 54 65 73 74 NetworkTest
ra0: Starting AP scan for specific SSID(s)
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 8
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
ra0: Starting AP scan for wildcard SSID
Scan requested (ret=0) - scan timeout 30 seconds
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'ra0' added
WEXT: if_removed already cleared - ignore event
Wireless event: cmd=0x8b19 len=8
ra0: Event SCAN_RESULTS (3) received
Received 0 bytes of scan results (0 BSSes)
ra0: BSS: Start scan result update 9
ra0: New scan results available
ra0: Selecting BSS from priority group 0
ra0: No suitable network found
ra0: Setting scan request: 5 sec 0 usec
^Cra0: CTRL-EVENT-TERMINATING - signal 2 received
ra0: Removing interface ra0
ra0: No keys have been configured - skip key clearing
ra0: State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
wpa_driver_wext_set_countermeasures
ra0: No keys have been configured - skip key clearing
ra0: Cancelling scan request
ra0: Cancelling authentication timeout
netlink: Operstate: linkmode=0, operstate=6
')

And i have also modified my /etc/network.d/wireless to clean it up.. This is what it looks like:

$this->bbcode_second_pass_code('', '
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='ra0'
HIDDEN=yes
SECURITY='none'
ESSID=NetworkTest
IP='dhcp'
')

And the output:
$this->bbcode_second_pass_quote('', '
')[root@OXFORD home]# ifconfig ra0 up
[root@OXFORD home]# iwpriv ra0 set WpaSupport=1
[root@OXFORD home]# netcfg wireless
:: wireless up [BUSY] nl80211: 'nl80211' generic netlink not found
Failed to initialize driver 'nl80211'
rfkill: Cannot open RFKILL control device

> WPA Authentication/Association Failed



I do not understand why i am going through such resistance with this little machine..
erkerb
 
Posts: 32
Joined: Fri Sep 14, 2012 8:12 pm
Top

Re: [How-To] Enable Wireless

Postby Roberto48 » Tue Oct 16, 2012 7:01 pm

Hi,

I try to install by pacman -S wifi-select, some tools but I get a 404 error on two of the 4 packages. It looks like that the packages are updated but not in the wifi-select package. Do I something wrong or....

Please help,
Rob
Roberto48
 
Posts: 12
Joined: Sat Oct 13, 2012 7:24 pm
Location: The Netherlands

PreviousNext

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 6 guests