by 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..