I have ipw2200 firmware installed from the dotpub and run wpa-connect, according to the wpa_supplicant dotpub readme
Code: Select all
#!/bin/sh
echo "Configuring Wireless LAN with WPA"
echo
## load your driver
modprobe ipw2200
## bring up the wireless interface, unconfigured
ifconfig eth1 up
## now start wpa_supplicant
## first remove stale wpa_supplicant file if it exists
if [ -e /var/run/wpa_supplicant/ ]; then rm /var/run/wpa_supplicant/*; fi
wpa_supplicant -i eth1 -D ipw -c /etc/wpa_supplicant.conf -dd
sleep 20
## for automatic IP
## first remove stale dhcpcd file if it exists
if [ -e /etc/dhcpc/*.pid ]; then rm /etc/dhcpc/*.pid; fi
dhcpcd -t 30 -h puppypc -d eth1
## or for static IP
## modify /etc/resolv.conf to include your nameservers
#ifconfig ath0 192.168.0.xx broadcast 192.168.0.255 netmask 255.255.255.0
#route add default gw 192.168.0.1 ath0 # or whatever your router's IP is
Code: Select all
# wpa_supplicant configuration file for
# WPA-PSK/TKIP
ctrl_interface=/var/run/wpa_supplicant
## To use a hidden SSID, uncomment the following line
#ap_scan=1
network={
ssid="SF81gpYJI9cqesDELMdHPBI9pSGgODqf"
#psk="k1CdGYxeVAQt5IFsCvkq7nxiZSaO6w3VRDuLAyESdiOTcGCjxlvQMJVYgha2uZb"
psk=470d9339ddb452cc827f710ffd7a8c6a46f7342a602e76c1273238bddc074d2d
}
Code: Select all
sh-3.00#
sh-3.00# wpa-connect
Configuring Wireless LAN with WPA
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'ipw' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
Line: 9 - start of a new network block
ssid - hexdump_ascii(len=32):
53 46 38 31 67 70 59 4a 49 39 63 71 65 73 44 45 SF81gpYJI9cqesDE
4c 4d 64 48 50 42 49 39 70 53 47 67 4f 44 71 66 LMdHPBI9pSGgODqf
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='SF81gpYJI9cqesDELMdHPBI9pSGgODqf'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=19 WE(source)=16 enc_capa=0x0
capabilities: key_mgmt 0x0 enc 0x3
Own MAC address: 00:16:6f:60:63:ac
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 1319 bytes of scan results (5 BSSes)
Scan results: 5
Selecting BSS from priority group 0
0: 00:03:2f:1d:57:7d ssid='SF81gpYJI9cqesDELMdHPBI9pSGgODqf' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:03:2f:1d:57:7d (SSID='SF81gpYJI9cqesDELMdHPBI9pSGgODqf' freq=0 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
State: SCANNING -> ASSOCIATING
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting authentication timeout: 10 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=41
cheers