WPa Supplicant not working

Post Reply
tboy55
Member
Member
Posts: 5
Joined: November 19th, 2014, 8:08 pm

WPa Supplicant not working

Post by tboy55 »

Hi Hi

I though I had the WPA Supplicant working.. Im running ubunut 14 on a headless server.
I did a few upgrades and a reboot and noticed that the wifi network didnt re-connect. I ran my script but got this.


Not sure whats up




script:
------------------

russ@BMS-Serv:/home/BMS/Scripts$ cat Pontiac-Plc.sh
#!/bin/sh
iface=wlan0

#shut down interface
ifconfig $iface down

#set ad-hoc/management of wireless device
iwconfig $iface mode Managed

#enable interface
ifconfig $iface up

#stop any persistent wireless wpa2 sessions
killall wpa_supplicant

#apply WPA/WPA2 personal settings to device
wpa_supplicant -B -Dwext -i $iface -c /etc/Pontiac-Plc.conf -dd

#obtain an IP address
dhclient wlan0

------


output....


------------------

sudo ./Pontiac-Plc.sh
wpa_supplicant v2.1
random: Trying to read entropy from /dev/random
Successfully initialized wpa_supplicant
Initializing interface 'wlan0' conf '/etc/Pontiac-Plc.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/Pontiac-Plc.conf' -> '/etc/Pontiac-Plc.conf'
Reading configuration file '/etc/Pontiac-Plc.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=11):
50 6f 6e 74 69 61 63 20 50 6c 63 Pontiac Plc
PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='Pontiac Plc'
SIOCGIWRANGE: WE(compiled)=22 WE(source)=16 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0x1f flags 0x0
netlink: Operstate: ifindex=3 linkmode=1 (userspace-control), operstate=5 (IF_OPER_DORMANT)
Add interface wlan0 to a new radio N/A
wlan0: Own MAC address: 00:02:6f:c0:3c:b5
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_key: alg=0 key_idx=4 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=5 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wlan0: RSN: flushing PMKID list in the driver
wlan0: Setting scan request: 0.100000 sec
wlan0: WPS: UUID based on MAC address: 103df608-dc83-5714-834b-35f4861f6822
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
wlan0: Added interface wlan0
wlan0: State: DISCONNECTED -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: ifindex=3 linkmode=-1 (no change), operstate=5 (IF_OPER_DORMANT)
Daemonize..
Post Reply