Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2007 21:33:53 +0100
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        Benjamin Close <Benjamin.Close@clearchain.com>,  current@freebsd.org
Subject:   Re: wpi doesn't associate :(
Message-ID:  <472CDB31.9060306@gmail.com>
In-Reply-To: <472A7CE9.6060900@clearchain.com>
References:  <469536D5.3010701@gmail.com> <4699DEEC.3080806@clearchain.com>	 <4699FC0A.40207@gmail.com> <469A09D4.4050005@clearchain.com>	 <46BA2509.8090002@gmail.com> <46BADF8A.7020504@clearchain.com>	 <e890cae60708090300n47b0daa7h5817f77c7a86d07b@mail.gmail.com>	 <46BB732F.2030300@gmail.com> <46C35674.3030506@gmail.com>	 <46D6A203.7080002@clearchain.com> <e890cae60708300411s70da5e5at8a8f122e090bc730@mail.gmail.com> <46D883E6.5070607@gmail.com> <46DEA569.8050101@clearchain.com> <46DF1510.80602@gmail.com> <46DF15A4.9010508@gmail.com> <46F67C39.4050109@clearchain.com> <46F6AD16.80503@gmail.com> <472A7CE9.6060900@clearchain.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Benjamin Close schreef:
> Hi Rene,
>    There's a new version up if you want to give it a go.
> 
> http://people.freebsd.org/~benjsc/downloads/
> 
I tested the new tarball on my laptop but dhclient still refuses to associate (it keeps
stuck in the DHCPDISCOVER state).  I temporarily switched of the MAC address check of the
router so that any client which knows the WEP password can connect, but that didn't help
either.

I also got some messages about memory not being properly aligned when loading if_wpi.

Laptop : Asus A6JE.
	lspci -vv gives:
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
        Subsystem: Intel Corporation Unknown device 1001
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 19
        Region 0: Memory at fe1ff000 (32-bit, non-prefetchable)
        Capabilities: [c8] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
                DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
                        ClockPM+ Suprise- LLActRep- BwNot-
                LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-

connect script:
#!/bin/sh
ifconfig wpi0 channel 4:g bssid 00:50:18:47:e4:3c wepmode on wepkey KEY
ifconfig wpi0 up
dhclient wpi0

ifconfig shows that the driver finds the router (IIRC also without the channel and bssid parameters).

Router:  Sweex LC000070, probably Ralink based, using DHCP for both wired and wireless association.

I'll try connecting to another router without WEP/MAC control.

Regards,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6 (subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?472CDB31.9060306>