NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/45505: iwi0 does not come up correctly

>Number:         45505
>Category:       port-i386
>Synopsis:       iwi0 does not come up correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 20 07:15:00 +0000 2011
>Originator:     Riccardo
>Release:        5.99.56
NetBSD grid 5.99.56 NetBSD 5.99.56 (nc6120) #2: Tue Oct 18 11:08:54 CEST 2011  
root@grid:/usr/obj/sys/arch/i386/compile/nc6120 i386

iwi0 does not always come up properly.

ifconfig bge0 down
route delete default
ifconfig iwi0 ssid xxxxxxxx
ifconfig iwi0 nwkey 0xYYYYYYYYY
dhclient iwi0 

Obtains a valid IP, but the network remains down.
grid$ ping
ping: Cannot resolve "" (Host name lookup failure)

grid$ ping
PING ( 52 data bytes
ping: sendto: Network is down
ping: sendto: Network is down 

After running the above script, "ifconfig iwi0" says:
        ssid xxxxxxxx nwkey 0xXXXXXXXX
        powersave off
        bssid 94:0c:6d:f7:a4:9c chan 6
        address: 00:15:00:38:b1:9e
        media: IEEE802.11 autoselect
        status: active
        inet netmask 0xffffff00 broadcast
        inet6 fe80::215:ff:fe38:b19e%iwi0 prefixlen 64 scopeid 0x1

netstat -r

Destination        Gateway            Flags    Refs      Use    Mtu Interface
default        UGS         0        0      -  iwi0
127/8              localhost          UGRS        0        0  33192  lo0
localhost          localhost          UH          2        0  33192  lo0
192.168.1/24       link#3             UC          1        0      -  bge0      localhost          UGHS        0        0  33192  lo0      00:30:0a:0b:75:7e  UHLc        1       36      -  bge0

iwi0 at pci2 dev 4 function 0: vendor 0x8086 product 0x4220 (rev. 0x05)
iwi0: interrupting at ioapic0 pin 21
iwi0: 802.11 address 00:15:00:38:b1:9e
iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps 
I have one network where this happens consistently: On another network, which 
has the same key/essid so I run the same script, but different Ip ranges, it 

Home | Main Index | Thread Index | Old Index