You are not logged in.

#1 2007-11-11 05:39:42

infinitycircuit
Member
Registered: 2007-07-25
Posts: 9

ipw2200: no connection [SOLVED: wired network must be brought down]

SOLVED: it turns out I have to sudo ifconfig eth0 down first, then it works.

I am having a weird problem with ipw2200 on my laptop.  If I try to connect to a WPA access point with wpa_supplicant, it seems to work fine and dhcpcd works.  However, I have no internet.  I can scan for networks and use my ethernet, but connecting with only the wireless fails.  I am not using using rc.conf to bring up wireless but am doing it manually, including turning on the radio just in csae.

The problem:

[dmoerner@arch-x40 ~]$ sudo modprobe ipw2200
[dmoerner@arch-x40 ~]$ sudo su - -c "echo 0 > /sys/bus/pci/devices/*/rf_kill"
[dmoerner@arch-x40 ~]$ sudo ifconfig eth1 up
[dmoerner@arch-x40 ~]$ sudo iwconfig eth1 essid linksys_SES_6178
[dmoerner@arch-x40 ~]$ sudo wpa_supplicant -Bdd -D wext -i eth1 -c /etc/wpa_supplicant.conf
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=16):
     6c 69 6e 6b 73 79 73 5f 53 45 53 5f 36 31 37 38   linksys_SES_6178
PSK (ASCII passphrase) - hexdump_ascii(len=16): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='linksys_SES_6178'
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
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:0e:35:2d:6a:c3
wpa_driver_wext_set_wpa
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
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth1
Daemonize..
[dmoerner@arch-x40 ~]$ sudo dhcpcd eth1
[dmoerner@arch-x40 ~]$ sudo ping www.google.com
ping: unknown host www.google.com

My iptables rules:

Chain INPUT (policy DROP 8 packets, 1996 bytes)
 pkts bytes target     prot opt in     out     source               destination         
 1353 1166K ACCEPT     all  --  any    any     anywhere             anywhere            state RELATED,ESTABLISHED 
    0     0 ACCEPT     all  --  lo     any     anywhere             anywhere            
    0     0 DROP       icmp --  any    any     anywhere             anywhere            

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 1288 packets, 262K bytes)
 pkts bytes target     prot opt in     out     source               destination

/etc/wpa_supplicant.conf:

[dmoerner@arch-x40 ~]$ cat /etc/wpa_supplicant.conf
network={
    ssid="myap"
    psk="16-bit-passkey"
}

/lib/firmware:

[dmoerner@arch-x40 ~]$ ls /lib/firmware
LICENSE.ipw2200-fw  ipw2200-bss.fw  ipw2200-ibss.fw  ipw2200-sniffer.fw

Any suggestions are welcome.

Last edited by infinitycircuit (2007-11-11 05:55:45)

Offline

Board footer

Powered by FluxBB