Here's the relevant part of my /etc/rc.d/rc.inet1.conf file
Code:
## Example config information for wlan0. Uncomment the lines you need and fill
## in your info. (You may not need all of these for your wireless network)
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
#DHCP_HOSTNAME[4]="icculus-wireless"
#DHCP_KEEPRESOLV[4]="yes"
#DHCP_KEEPNTP[4]="yes"
#DHCP_KEEPGW[4]="yes"
#DHCP_IPADDR[4]=""
WLAN_ESSID[4]=SPECTRANET1
#WLAN_MODE[4]=Managed
##WLAN_RATE[4]="54M auto"
##WLAN_CHANNEL[4]="auto"
WLAN_KEY[4]="bf244519cce428111072bff11e4f70affa9e0fb08a8b400e1392d8b5663a71bf"
##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
WLAN_WPA[4]="wpa_supplicant"
#WLAN_WPADRIVER[4]="ndiswrapper"
Here's my /etc/wpa_supplicant.conf file
Code:
# /etc/wpa_supplicant.conf
# ========================
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
#country=US
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
ssid="myessid"
#psk="passphrase"
psk=blaskdjflskdjflsakdjf.. etc..
}
I cannot connect manually either.
I am entering the following commands.
Code:
iwconfig wlan0 essid myessid
ifconfig wlan0 192.168.1.5 netmask 255.255.255.0
route add -net default gw 192.168.1.1
wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf
On this final command I get
Code:
wlan0: SME: Trying to authenticate with 48:ee:0c:45:28:aa (SSID='SPECTRANET1' freq=2457 MHz)
wlan0: Trying to associate with 48:ee:0c:45:28:aa (SSID='SPECTRANET1' freq=2457 MHz)
wlan0: Associated with 48:ee:0c:45:28:aa
wlan0: WPA: Key negotiation completed with 48:ee:0c:45:28:aa [PTK=CCMP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to 48:ee:0c:45:28:aa completed [id=0 id_str=]
and then it just gives no further output and doesn't return to the prompt.
Can someone diagnose this.Thanks.