View previous topic :: View next topic |
Author |
Message |
Daytona n00b
Joined: 01 Aug 2005 Posts: 55 Location: EN51vt
|
Posted: Mon Jul 30, 2007 8:53 pm Post subject: DWL-G650 on Wallstreet- where to start debugging? (Solved) |
|
|
I've just installed Gentoo on my very first Mac- a Powerbook G3 Wallstreet II. Now that world is up to date, my next order of business is to get wireless working. Since this doesn't have it built in, I am using my trusty D-link DWL-G650, which has served me well in the past. Like many that are new to Gentoo/PPC, all of my experience has been on x86- with regard to laptops, a Compaq Armada 7360DMT Pentium-MMX 200Mhz. This is the laptop I've used the D-link card with for over a year now, never with any problems.
Of course, this is all new territory.
I've emerged madwifi-ng-0.9.3.1, madwifi-ng-tools-0.9.3.1, and wireless-tools-28. (all current stable as of 7/29/2007). When I insert the card, dmesg shows all the expected messages from pccard, ath_hal, PCI, wifi0. I run iwconfig to set essid and key for my AP, then dhcpcd. The card appears to associate (one led, then the other, flash while it searches for an address, then both flash simultaneously), but dhcpcd exits with a timeout and no address is assigned. The card does not appear in the client list in the AP either.
Since this has always 'just worked', I have no idea where to begin troubleshooting this. Any help greatly appreciated.
Last edited by Daytona on Tue Jul 31, 2007 10:07 pm; edited 4 times in total |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
Daytona n00b
Joined: 01 Aug 2005 Posts: 55 Location: EN51vt
|
Posted: Tue Jul 31, 2007 12:00 am Post subject: |
|
|
Sure, here's all the messages since inserting the card:
Code: | pccard: CardBus card inserted into slot 1
PM: Adding info for pci:0000:05:00.0
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
wlan: 0.8.4.2 (0.9.3.1)
ath_pci: 0.9.4.5 (0.9.3.1)
PCI: Enabling device 0000:05:00.0 (0000 -> 0002)
ath_rate_sample: 1.2 (0.9.3.1)
PM: Adding info for No Bus:wifi0
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
PM: Adding info for No Bus:ath0
wifi0: Atheros 5212: mem=0x80c00000, irq=23
|
Also, modules:
(note: I added apm_emu after the fact, that's another issue I'm working on- power management.)
Code: | g3 ~ # lsmod
Module Size Used by
apm_emu 6668 0
wlan_wep 6336 1
wlan_scan_sta 13824 1
ath_rate_sample 12736 1
ath_pci 96960 0
wlan 221792 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 237344 3 ath_rate_sample,ath_pci
pmac_zilog 18516 0
serial_core 20320 1 pmac_zilog
pcmcia 38960 0
yenta_socket 28204 3
rsrc_nonstatic 11232 1 yenta_socket
pcmcia_core 41208 3 pcmcia,yenta_socket,rsrc_nonstatic
|
And, as long as I'm at it, lspci and lspcmcia
Code: | g3 ~ # lspci
00:00.0 Host bridge: Motorola MPC106 [Grackle] (rev 40)
00:0d.0 Class ff00: Apple Computer Inc. Paddington Mac I/O
00:10.0 Class ff00: Apple Computer Inc. Paddington Mac I/O
00:11.0 Display controller: ATI Technologies Inc 3D Rage LT Pro (rev dc)
00:13.0 CardBus bridge: Texas Instruments PCI1131 (rev 01)
00:13.1 CardBus bridge: Texas Instruments PCI1131 (rev 01)
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
g3 ~ # lspcmcia
Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:00:13.0)
Socket 1 Bridge: [yenta_cardbus] (bus ID: 0000:00:13.1)
CardBus card -- see "lspci" for more information |
|
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
Posted: Tue Jul 31, 2007 11:53 am Post subject: |
|
|
Well, that all looks fine. If DHCP times out, does a manual configuration give you a working connection? If you manually run dhcpcd with verbose debugging, what does it say? _________________ Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml |
|
Back to top |
|
|
Daytona n00b
Joined: 01 Aug 2005 Posts: 55 Location: EN51vt
|
Posted: Tue Jul 31, 2007 10:02 pm Post subject: |
|
|
I feel like a complete idiot.
Had all sorts of debug info prepared, then a light clicked on. Got out the other laptop to verify.
Had 2 numbers (17, not 71) flipped in the WEP key.
Nevermind.
Suprised, though, nothing tipped this off. Verbose output from dhcpcd -d just kept repeating "Sending DHCP_DISCOVER". No mention of scrambled packets or anything. Also, apparently the "Associated" blinking just means it's found the AP, not established a valid connection.
Hopefully someone else can learn from this. Thanks, JoseJX, for helping, though. I'll try to think things through more thoroughly next time (got some google scouring to do first) |
|
Back to top |
|
|
JoseJX Retired Dev
Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|