Eric, thank you for your reply!

By using PCI cards you shouldn't have any IRQ conflict problems. It more
looks like that the driver doesn't recognise your card properly (although
it's strange that the driver is loading fine in that case) or it has a
different name then "ath0".

How do I determne if the card is found properly? What other names should I try?

You also seem to have two other network cards
(eth0, eth1), you could try to remove one of them for testing purpose.

I have already tried this with no luck. I currently have two 3c595 PCI cards by 3com in the router. I wanted to be sure they loaded fine with no problems. (I wanted to rule out any problems with the pci bus). I also moved the wireless card to different slots on the pci bus and no luck. I also tried another setup using some ISA cards with nothing except the wireless in the pci slots and still no change. This was all done using the same Motherboard.

Are both the eth0, eth1 cards recognised?

Yes, they work just fine.


Do you see a message after
ath_pci that a PCI device is found and that it's called ath0 (or so)?

No, nothing like that.

Either it isn't named ath0 or the device isn't found at all. Please look
at the output of lsmod to see if all modules are loaded and check the
output of "ip -s addr" to see which network devices are found.

Here is the output of lsmod and  and ip -s addr

firewall# lsmod
Module                  Size  Used by    Tainted: P
ath_pci                46576   0 (unused)
ath_rate_sample         8696   0 [ath_pci]
ath_hal               133360   0 [ath_pci ath_rate_sample]
wlan_xauth               216   0 (unused)
wlan_wep                3020   0 (unused)
wlan_tkip               7452   0 (unused)
wlan_acl                1720   0 (unused)
wlan 86492 0 [ath_pci ath_rate_sample wlan_xauth wlan_wep wlan_tkip wlan_acl]
softdog                 1360   1
ipt_state                272  15
ipt_helper               400   0 (unused)
ipt_conntrack            692   0
ipt_REDIRECT             480   0 (unused)
ipt_MASQUERADE          1024   1
ip_nat_irc              1704   0 (unused)
ip_nat_ftp              2152   0 (unused)
iptable_nat 14332 3 [ipt_REDIRECT ipt_MASQUERADE ip_nat_irc ip_nat_ftp]
ip_conntrack_irc        2484   1
ip_conntrack_ftp        3132   1
ip_conntrack 16516 2 [ipt_state ipt_helper ipt_conntrack ipt_REDIRECT ipt_MASQUERADE ip_nat_irc ip_nat_ftp iptable_nat ip_conntrack_irc ip_conntrack_ftp]
3c59x                  23768   2
isofs                  15732   0 (unused)
ide-detect               132   0 (unused)
ide-cd                 26748   0
ide-disk               11308   0
ide-core               80476   0 [ide-detect ide-cd ide-disk]
cdrom                  25344   0 [ide-cd]

firewall# ip -s addr
1: lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop
   link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
3: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:a0:24:37:d4:c0 brd ff:ff:ff:ff:ff:ff
   inet 70.224.192.177/24 brd 70.224.192.255 scope global eth0
4: eth1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
   link/ether 00:a0:24:75:b2:50 brd ff:ff:ff:ff:ff:ff
   inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1

I am really beginning to think the card just isn't found. I did try the card in a Win2K machine and it works just fine there. Could it be the version of drivers aren't new enough? I am grabbing at anything trying to fix this.

Jeremy




From: "Eric Spakman" <[EMAIL PROTECTED]>
To: "Jeremy Tourville" <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [leaf-user] Madwifi Drivers for Bering uClibc 2.3 rc1- 3rd try
Date: Thu, 22 Sep 2005 11:00:54 +0200 (CEST)
MIME-Version: 1.0
Received: from hatert.nijmegen.internl.net ([217.149.192.44]) by mc4-f39.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 22 Sep 2005 02:01:56 -0700 Received: from webmail.internl.net by hatert.nijmegen.internl.netvia webmail10.nijmegen.internl.net [217.149.194.66] with ESMTPid j8M90snf020594 (8.13.2/2.04); Thu, 22 Sep 2005 11:00:54 +0200 (MET DST) Received: from 145.221.24.41 (SquirrelMail authenticated user espakman) by webmail.internl.net with HTTP; Thu, 22 Sep 2005 11:00:54 +0200 (CEST)
X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPtfpLB7P/ybN8=
References: <[EMAIL PROTECTED]>
User-Agent: SquirrelMail/1.5.1 [CVS]
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 22 Sep 2005 09:01:56.0808 (UTC) FILETIME=[48B7A480:01C5BF54]

Hello Jeremy,

> I started to do a little more checking and comparing. Several people has > suggested I should try the command lspci. My distribution won't support
>  that but I think this command should be the equivalent- cat /proc/pci
> Correct?
>
Should be more or less the same.

>
> If my assumption is correct, I have detected the card by comparing the
> output both while the wireless card was in the computer as well as out of
> it.  The difference is listed here and I believe this is my wireless
> card.
>
> Bus  0, device  11, function  0:
> Class 0200: PCI device 168c:0020 (rev 1).
> IRQ 9.
> Master Capable.  Latency=80.  Min Gnt=10.Max Lat=28.
> Non-prefetchable 32 bit memory at 0xfcfe0000 [0xfcffffff].
>
>
> Next, I did a cat /proc/interrupts
>
>
> CPU0
> 0:     355704          XT-PIC  timer
> 1:        330          XT-PIC  keyboard
> 2:          0          XT-PIC  cascade
> 4:       4190          XT-PIC  eth1
> 8:          0          XT-PIC  rtc
> 11:       4682          XT-PIC  eth0
> 14:        282          XT-PIC  ide0
> 15:         10          XT-PIC  ide1
> NMI:          0
> ERR:          0
>
>
> So, aren't IRQ 2 and 9 the same?  I think I remember this from hardware
> class many years ago.  My problem would appear to be an IRQ conflict.
>

By using PCI cards you shouldn't have any IRQ conflict problems. It more
looks like that the driver doesn't recognise your card properly (although
it's strange that the driver is loading fine in that case) or it has a
different name then "ath0". You also seem to have two other network cards
(eth0, eth1), you could try to remove one of them for testing purpose.

> part of my dmesg looks like this- wlan: 0.8.6.0 (EXPERIMENTAL)
> wlan: mac acl policy registered
> ath_hal: 0.9.14.9 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413)
> ath_rate_sample: 1.2
> ath_pci: 0.9.6.0 (EXPERIMENTAL)
>
Are both the eth0, eth1 cards recognised? Do you see a message after
ath_pci that a PCI device is found and that it's called ath0 (or so)?

>
> If I try to issue the command ifup ath0 I get-
>
>
> firewall# ifup ath0 Error for wireless request "Set Mode" (8B06) :
> SET failed on device ath0 ; No such device.
> Error for wireless request "Set Bit Rate" (8B20) :
> SET failed on device ath0 ; No such device.
> Error for wireless request "Set Encode" (8B2A) :
> invalid argument "default". Error for wireless request "Set ESSID" (8B1A) :
>  SET failed on device ath0 ; No such device.
> Cannot find device "ath0"
> SIOCGIFFLAGS: No such device
>
Either it isn't named ath0 or the device isn't found at all. Please look
at the output of lsmod to see if all modules are loaded and check the
output of "ip -s addr" to see which network devices are found.

>
> BTW, I am loading the following packages
> LRP="root config etc local modules iptables dhcpcd pump hdsupp radius
> madwifi wpasupp wireless libm shorwall ulogd dnsmasq dropbear mhttpd
> weblet "
>

As a sidenote: you shouldn't use both dhcpcd and pump, they are both dhcp
client packages. Just choose one or the other.

>
> I am open to any suggestions anyone has (quick! before I pull my hair out
>  :-D).  Many thanks for your help.
>

I can understand that you are getting frustated ;-)

>
> Jeremy
>
Eric





-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
------------------------------------------------------------------------
leaf-user mailing list: [email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to