LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-11-2007, 04:00 PM   #1
glopv2
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Rep: Reputation: 0
what software is running my wireless card?


Hi, I know there is a command lspci that lists all of your hardware. I used it to find my wireless card (atheros). But now, I'm wondering what software is running my card? The reason I ask is, I want to switch it to "mad-wifi" (I hear it's good). How can I check what's controlling my wifi right now?

Thanks!
 
Old 10-11-2007, 05:00 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
If you are not using madwifi then you would more than likely be using ndiswrapper. How it is setup can very from distro to distro. I would first run the command ' /sbin/ifconfig -a ' and see what name the interface is using. More than likely wlan0 if so run the command ' /sbin/lsmod | grep ndis ' and see if ndiswrapper is loaded.

Brian
 
Old 10-11-2007, 05:33 PM   #3
glopv2
LQ Newbie
 
Registered: Sep 2007
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
If you are not using madwifi then you would more than likely be using ndiswrapper. How it is setup can very from distro to distro. I would first run the command ' /sbin/ifconfig -a ' and see what name the interface is using. More than likely wlan0 if so run the command ' /sbin/lsmod | grep ndis ' and see if ndiswrapper is loaded.

Brian
First, I seem to have two names for my interface because this is the output of ifconfig -a:

Code:
robert@JOHNNYCASH:~$ /sbin/ifconfig -a
ath0      Link encap:Ethernet  HWaddr 00:19:7D:07:1F:02
          inet6 addr: fe80::219:7dff:fe07:1f02/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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)

eth0      Link encap:Ethernet  HWaddr 00:16:41:AA:FA:1C
          inet addr:192.168.0.109  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::216:41ff:feaa:fa1c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:211380 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102445 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:131563942 (125.4 MiB)  TX bytes:21746346 (20.7 MiB)
          Base address:0x3000 Memory:ee000000-ee020000

irda0     Link encap:IrLAP  HWaddr 00:00:00:00
          NOARP  MTU:2048  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:8
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:96 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7985 (7.7 KiB)  TX bytes:7985 (7.7 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-19-7D-07-1F-02-30-3A-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:390574 errors:0 dropped:0 overruns:0 frame:11492
          TX packets:2880 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:36018018 (34.3 MiB)  TX bytes:132529 (129.4 KiB)
          Interrupt:21
Then, running lsmod | grep ndis doesn't seem to do anything.
But, these lines looked relevant when I just typed "lsmod":
Code:
wlan_scan_sta          12608  1
nsc_ircc               21264  0
ath_rate_sample        12928  1
yenta_socket           24844  1
e1000                 112832  0
wlan                  189552  4 ath_pci,wlan_scan_sta,ath_rate_sample
ath_hal               232800  3 ath_pci,ath_rate_sample
Thanks so much for the help!
 
Old 10-11-2007, 05:52 PM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You're already using MadWifi, as indicated by your device being called "ath0" and the modules you've got loaded with "ath" in them.
 
Old 10-11-2007, 06:25 PM   #5
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Yes it using madwifi. The wifi is referencing to ath0 madwifi interface. Compare mac address info.

Brian
 
  


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
running script to bring up wireless card dlennon Linux - Wireless Networking 20 04-10-2007 04:25 PM
Running Wireless modem card on LAN arnekasper Linux - Wireless Networking 3 09-09-2005 09:57 AM
An Ideal Wireless Card for Slackware 10.0 running 2.6.10 cddesjar Linux - Wireless Networking 7 02-22-2005 11:53 PM
running C/C++ and installing wireless card suresh_reddy Linux - Laptop and Netbook 1 02-27-2004 05:16 PM
Wireless Card AND software celticselph Linux - Hardware 1 01-22-2004 11:12 AM


All times are GMT -5. The time now is 01:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration