LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-23-2006, 09:00 PM   #16
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164

Quote:
Originally Posted by Alien Bob
It is an Atheros card, you will need the madwifi driver for that: http://madwifi.org/

Eric
Forgive me lack of knowledge when it comes to wirless cards. But does Atheros refer to the chipset?

Ok, so when I ran Ubuntu on this laptop, I used ndiswrapper and it seemed to work fine. I wonder if this is the resaon DHCP got blown out?

Ok, I'll have to check out this madwifi when I get a chance.

thanks everyone!
 
Old 01-24-2006, 02:30 AM   #17
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Atheros is indeed the chipset. THe madwifi driver supports this chipset. But you are right too, that you can use ndiswrapper for your card.

I have slackware packages for madwifi and ndiswrapper that you could try out (both packages are a couple of months old).

Eric
 
Old 01-28-2006, 10:59 PM   #18
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
I've d/l sharutils and subversion to /usr/share and getting ready to install madwifi packages for Slackware.

Does it matter what version I install?

thanks
 
Old 01-29-2006, 07:59 AM   #19
shotwellj
Member
 
Registered: Jul 2005
Location: Tempe, AZ
Distribution: Slackware
Posts: 66

Rep: Reputation: 15
It was pointed out earlier in the thread that you're not properly dealing with spaces on the command line. Have you tried the following advice?

Quote:
Originally Posted by BCarey
Try
Code:

./ndiswrapper -i "/ntfs-c/Documents and Settings/CMMiller/My Documents/Orinoco/Winxp/ntpr11ag.inf"


ie. put quotes around the file name or else escape the spaces in the path with \.
 
Old 01-29-2006, 12:16 PM   #20
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by shotwellj
It was pointed out earlier in the thread that you're not properly dealing with spaces on the command line. Have you tried the following advice?
My bad...

I just tried this and then I ran

Code:
ndiswrapper -l
And this was the output...

Code:
cmmiller@probot:~/ndiswrapper/ndiswrapper-1.7/utils$ ndiswrapper -l
Installed drivers:
inffile invalid driver!
ntpr11ag                driver present, hardware present
So I'm still getting the same error as before...

When I go to modprobe ndiswrapper, no modules loads, so there is an error.

A google search didn't turn up anything...should I just try to install madwifi instead?

thanks
 
Old 02-05-2006, 12:58 PM   #21
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Am I going to need a 2.6 kernel to get this working too?
 
Old 03-01-2006, 09:45 PM   #22
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by JockVSJock
Am I going to need a 2.6 kernel to get this working too?

***BUMP***


No one really answered this question, if I need a 2.6 kernel to make madwifi work ok with Slackware?
 
Old 03-02-2006, 06:25 AM   #23
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I guess you never clicked the link I provided you with in an earlier post in this thread, did you?
You can use the madwifi driver on 2.4 kernels as well as 2.6 kernels. The same is true for the ndiswrapper by the way.

Actually, my madwifi packages were updated fairly recently, with versions for 2.4 and 2.6 kernels (Slackware 10.2 as well as slackware-current).

Eric
 
Old 03-02-2006, 09:04 PM   #24
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Ok, I used installpkg for 2.4 madwifi driver and then I did the following:

Code:
modprobe ath_pci
lsmod shows...
Code:
root@probot:/usr/share/madwifi# lsmod
Module                  Size  Used by    Tainted: P
ath_pci                69396   0  (unused)
ath_rate_sample         7564   0  [ath_pci]
wlan                  139132   0  [ath_pci ath_rate_sample]
ath_hal               182928   0  [ath_pci ath_rate_sample]
snd-pcm-oss            36736   0
snd-mixer-oss          12376   0  [snd-pcm-oss]
uhci                   24284   0  (unused)
ehci-hcd               17516   0  (unused)
usbcore                59148   1  [uhci ehci-hcd]
snd-via82xx            13376   0
gameport                1420   0  [snd-via82xx]
snd-ac97-codec         58556   0  [snd-via82xx]
snd-pcm                54344   0  [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer              13764   0  [snd-pcm]
snd-mpu401-uart         3136   0  [snd-via82xx]
snd-rawmidi            12480   0  [snd-mpu401-uart]
snd-seq-device          3812   0  [snd-rawmidi]
snd                    32772   0  [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc          4712   0  [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore               3396   4  [snd]
via-rhine              12336   1
mii                     2272   0  [via-rhine]
crc32                   2880   0  [via-rhine]
ds                      6548   1
yenta_socket           10436   1
pcmcia_core            39172   0  [ds yenta_socket]
ntfs                   51232   1  (autoclean)
ide-scsi                9392   0
What does ath_pci show unused?

The next part of the directions wants me to create the following:

Code:
wlanconfig ath0 create wlandev wifi0 wlanmode sta
um...do I have to create the wlandev under /dev?

man...somedays Linux drives me crazy...
 
Old 03-03-2006, 01:15 PM   #25
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
What directios did you read?
You should not have to run "wlanconfig ath0 create wlandev wifi0 wlanmode sta" at all...
What does
Code:
ifconfig -a
show? You should see the ath0 device listed there.

Eric
 
Old 03-06-2006, 06:46 PM   #26
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by Alien Bob
What directios did you read?
You should not have to run "wlanconfig ath0 create wlandev wifi0 wlanmode sta" at all...
What does
Code:
ifconfig -a
show? You should see the ath0 device listed there.

Eric
Code:
root@probot:~# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:40:45:12:84:1E
          inet addr:192.168.1.102  Bcast:192.168.1.255         Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1736 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1683 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1655574 (1.5 Mb)  TX bytes:358024 (349.6 Kb)
          Interrupt:11 Base address:0xd800

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

Nothing for ath0...and I have power to the card, at least one of the LCDs is flashing...

Code:
root@probot:~# cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
root@probot:~# cardctl ident
Socket 0:
  product info: "Atheros Communications, Inc.", "AR5001-0000-0000", "Wireless LAN Reference Card", "00"
  manfid: 0x0271, 0x0012
  function: 6 (network)
root@probot:~# cardctl info
PRODID_1="Atheros Communications, Inc."
PRODID_2="AR5001-0000-0000"
PRODID_3="Wireless LAN Reference Card"
PRODID_4="00"
MANFID=0271,0012
FUNCID=6
EDIT: How the hell do I load the modprobe ath_pci, there isn't a way to uncode this from /rc.d/modules

Last edited by JockVSJock; 03-06-2006 at 10:13 PM.
 
Old 03-07-2006, 02:36 AM   #27
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I would start thinking that the madwifi driver does not support your card, but yet I found your card's PCI ID (0271:0012) in a list with supported cards at http://madwifi.org/wiki/Compatibility (not a Orinoco Gold card, but then again the list at madwifi.org is user-contributed).

When the driver loads, it logs several lines in the kernel log. When I type "dmesg" I see these lines for my card:

Code:
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
wlan: 0.8.4.2 (svn 1454)
ath_rate_sample: 1.2 (svn 1454)
ath_pci: 0.9.4.5 (svn 1454)
ACPI: PCI Interrupt 0000:02:02.0[A] -> Link [LNKC] -> GSI 11 (level, low) -> IRQ 11
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
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: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
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
wifi0: Atheros 5212: mem=0xc0210000, irq=11
Can you find anything like this in your kernel log?

Quote:
EDIT: How the hell do I load the modprobe ath_pci, there isn't a way to uncode this from /rc.d/modules
Just add a line of your own to the end of the file /etc/rc.d/rc.modules if the driver does not load automatically:
Code:
/sbin/modprobe ath_pci
Eric
 
Old 03-07-2006, 08:03 PM   #28
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Eric, aka, Alien Bob...thanks for the kick-ass help so far, I don't do Linux F/T, just something for fun at night/weekends...

OK...I have ath_pci now loading at boot time and I think there is an error with the IRQs

Output from dmesg
Code:
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
PCI: No IRQ known for interrupt pin A of device 00:0a.0. Please try using pci=biosirq.
Yenta ISA IRQ mask 0x0698, PCI irq 0
Socket status: 30000821
cs: cb_alloc(bus 2): vendor 0x168c, device 0x0013
PCI: Enabling device 02:00.0 (0000 -> 0002)
PCI: No IRQ known for interrupt pin A of device 02:00.0. Please try using pci=biosirq.
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0820-0x08ff: excluding 0x820-0x87f
cs: IO port probe 0x0800-0x080f: excluding 0x800-0x80f
cs: IO port probe 0x03e0-0x04ff: excluding 0x400-0x40f 0x4d0-0x4d7
cs: IO port probe 0x0100-0x03af: clean.
cs: IO port probe 0x0a00-0x0aff: clean.
ath_hal: 0.9.16.13 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, DFS)
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_rate_sample: 1.2
ath_pci: 0.9.4.5 (Atheros/multi-bss)
PCI: No IRQ known for interrupt pin A of device 02:00.0. Please try using pci=biosirq.
wifi%d: request_irq failed

So I hit google before posting and there is a BIG thread with this same error on Linuxquestions.org..

http://www.google.com/search?hl=en&q...=Google+Search

/proc/pci does show this

Code:
root@probot:/proc# cat pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: VIA Technologies, Inc. P/KN266 Host Bridge (rev 0).
      Master Capable.  Latency=8.
      Prefetchable 32 bit memory at 0xe0000000 [0xe3ffffff].
  Bus  0, device   1, function  0:
    PCI bridge: VIA Technologies, Inc. VT8633 [Apollo Pro266 AGP] (rev 0).
      Master Capable.  No bursts.  Min Gnt=12.
  Bus  0, device  10, function  0:
    CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller (rev 0).
      Master Capable.  Latency=168.  Min Gnt=128.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
  Bus  0, device  16, function  2:
    USB Controller: VIA Technologies, Inc. USB (#3) (rev 128).
      IRQ 10.
      Master Capable.  Latency=32.
      I/O at 0xec00 [0xec1f].
  Bus  0, device  16, function  1:
    USB Controller: VIA Technologies, Inc. USB (#2) (rev 128).
      IRQ 5.
      Master Capable.  Latency=32.
      I/O at 0xe800 [0xe81f].
  Bus  0, device  16, function  0:
    USB Controller: VIA Technologies, Inc. USB (rev 128).
      IRQ 11.
      Master Capable.  Latency=32.
      I/O at 0xe400 [0xe41f].
  Bus  0, device  16, function  3:
    USB Controller: VIA Technologies, Inc. USB 2.0 (rev 130).
      IRQ 5.
      Master Capable.  Latency=32.
      Non-prefetchable 32 bit memory at 0xdfffff00 [0xdfffffff].
  Bus  0, device  17, function  0:
    ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge (rev 0).
  Bus  0, device  17, function  1:
    IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 6).
      IRQ 14.
      Master Capable.  Latency=32.
      I/O at 0xfc00 [0xfc0f].
  Bus  0, device  17, function  5:
    Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235 AC97 Audio Controller (rev 80).
      IRQ 10.
      I/O at 0xdc00 [0xdcff].
  Bus  0, device  17, function  6:
    Communication controller: VIA Technologies, Inc. Intel 537 [AC97 Modem] (rev 128).
      IRQ 10.
      I/O at 0xe000 [0xe0ff].
  Bus  0, device  18, function  0:
    Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 116).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=3.Max Lat=8.
      I/O at 0xd800 [0xd8ff].
      Non-prefetchable 32 bit memory at 0xdffffe00 [0xdffffeff].
  Bus  1, device   0, function  0:
    VGA compatible controller: S3 Inc. VT8375 [ProSavage8 KM266/KL266] (rev 0).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=255.
      Non-prefetchable 32 bit memory at 0xdfe80000 [0xdfefffff].
      Prefetchable 32 bit memory at 0xd0000000 [0xd7ffffff].
  Bus  2, device   0, function  0:
    Ethernet controller: PCI device 168c:0013 (rev 1).
      Master Capable.  Latency=168.  Min Gnt=10.Max Lat=28.
      Non-prefetchable 32 bit memory at 0x10800000 [0x1080ffff].
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NDIS wrapper hates me Iaremonkey Linux - Software 7 08-04-2005 06:54 AM
NDIS Wrapper Help Please FuGeE Linux - Wireless Networking 1 12-11-2004 11:14 AM
Ndis wrapper error after modprobe Tezgno Linux - Laptop and Netbook 2 08-16-2004 08:51 AM
Help with NDIS wrapper on SUSE 8.2 mjovy Linux - Wireless Networking 0 05-29-2004 05:12 PM
ndis wrapper citrus Linux - Hardware 3 01-08-2004 06:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration