Quote:
Originally Posted by AloneInTheDark
I really don't know where to look!
This is the log:
Code:
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) starting connection 'Auto honeypot'
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): device state change: 3 -> 4 (reason 0)
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): bringing up device.
Dec 31 14:56:42 localhost kernel: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0/wireless): access point 'Auto honeypot' has security, but secrets are required.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): device state change: 5 -> 6 (reason 0)
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): device state change: 6 -> 4 (reason 0)
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0/wireless): connection 'Auto honeypot' has security, and secrets exist. No new secrets needed.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Config: added 'ssid' value 'honeypot'
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Config: added 'scan_ssid' value '1'
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Config: added 'psk' value '<omitted>'
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> Config: set interface ap_scan to 1
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: scanning -> disconnected
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 31 14:56:42 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: scanning -> associating
Dec 31 14:56:43 localhost kernel: ath5k phy0: unsupported jumbo
Dec 31 14:56:54 localhost kernel: ath5k phy0: unsupported jumbo
Dec 31 14:56:57 localhost NetworkManager[3444]: <warn> (wlan0): link timed out.
Dec 31 14:57:02 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: associating -> disconnected
Dec 31 14:57:02 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: disconnected -> scanning
Dec 31 14:57:03 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: scanning -> associating
Dec 31 14:57:07 localhost NetworkManager[3444]: <warn> Activation (wlan0/wireless): association took too long.
Dec 31 14:57:07 localhost NetworkManager[3444]: <info> (wlan0): device state change: 5 -> 6 (reason 0)
Dec 31 14:57:07 localhost NetworkManager[3444]: <warn> Activation (wlan0/wireless): asking for new secrets
Dec 31 14:57:07 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: associating -> disconnected
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> (wlan0): device state change: 6 -> 4 (reason 0)
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> (wlan0): device state change: 4 -> 5 (reason 0)
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0/wireless): connection 'Auto honeypot' has security, and secrets exist. No new secrets needed.
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Config: added 'ssid' value 'honeypot'
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Config: added 'scan_ssid' value '1'
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Config: added 'key_mgmt' value 'WPA-PSK'
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Config: added 'psk' value '<omitted>'
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
Dec 31 14:57:09 localhost NetworkManager[3444]: <info> Config: set interface ap_scan to 1
Dec 31 14:57:10 localhost NetworkManager[3444]: <info> (wlan0): supplicant connection state: disconnected -> associating
If I try by hand:
wpa.conf
Code:
network={
ssid="honeypot"
psk=f13c6506950c68fff3bff98753347a7a1cd387b11bc30b56c3051fbd04b06748
}
root@localhost ~]# wpa_supplicant -Dwext -iwlan0 -cwpa.conf
Code:
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
Trying to associate with e0:92:f7:61:37:2c (SSID='honeypot' freq=2437 MHz)
Associated with 00:00:00:00:00:00
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
Trying to associate with e0:92:f7:61:37:2c (SSID='honeypot' freq=2437 MHz)
Authentication with e0:91:f5:61:37:2c timed out.
Trying to associate with a2:05:43:5b:35:31 (SSID='honeypot' freq=2437 MHz)
Authentication with e0:91:f5:61:37:2c timed out.
|
Ok, if the service is turned off, that's good as it causes problems with the athk5 driver since it is not a supported driver.
Yes you are correct in that network manager uses the wpa service but it does NOT need to be enabled in the services applet for the reason I mentioned above.
Here's a copy of my wpa_supplicant.conf file. Now keep in mind that I use WEP and not WPA but it will give you an idea of what the conf file should look like.
You will find the file in /etc/wpa_supplicant.
HTML Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="linksys"
key_mgmt=NONE
# Keys in quotes are ASCII keys
wep_key0="XXXXXXXXXX"
# Keys specified without quotes are hex keys
# wep_key1=0102030405
# wep_key2="1234567890123"
wep_tx_keyidx=0
priority=5
}
Now this is what one looks like that I found on the net using wpa
HTML Code:
# allow frontend (e.g., wpa_cli) to be used by all users in 'wheel' group
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
#
# home network; allow all valid ciphers
network={
ssid="home"
scan_ssid=1
key_mgmt=WPA-PSK
psk="very secret passphrase"
}
Now of course you will need to fill in your own info for ssid and psk.
Here's a link where the above example comes from for WPA use instead of WEP as I use.
http://linux.die.net/man/5/wpa_supplicant.conf
You can try this and see if it helps.
If I remember correctly if you do a locate wpa_supplicant in a terminal it will show you where all the current examples for wpa supplicant reside on your system which may be a better example since they are for the current version that is on your machine.
Also here is a copy of my wpa_supllicant file and it is located at /etc/sysconfig:
# Use the flag "-i" before each of your interfaces, like so:
# INTERFACES="-ieth1 -iwlan0"
INTERFACES="-iwlan0"
# Use the flag "-D" before each driver, like so:
# DRIVERS="-Dwext"
DRIVERS=""
# Other arguments
# -u Enable the D-Bus interface (required for use with NetworkManager)
# -f Log to /var/log/wpa_supplicant.log
# -P Write pid file to /var/run/wpa_supplicant.pid
# required to return proper codes by init scripts (e.g. double "start" action)
# -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d
OTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid"
As you can see I do not specify a driver at all and only specify the interface of wlan0.
Hope this info helps. Oh and by the way this problem is not specific to just the atheros card.