Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-17-2007, 03:45 PM   #1
Registered: Feb 2005
Distribution: Mint, Raspbian
Posts: 34

Rep: Reputation: 15
madwifi - how to verify that it is working

Is there a way to verify whether my wireless configuration is working? I think I installed madwifi correctly but I am not sure if it is working. At this time I only have a WPA connection in range, and do not have wpa_supplicant installed correctly yet (another thread).

I am able to see my home connection when I run wlanconfig ath0 list scan. Does this mean the the wireless is working, or is there a better way to verify that it can send and receive?

I am a little confused by madwifi because it does not seem to be an application, you cannot start it with "madwifi", instead you have to start it with modprobe ath_pci. I have not worked with modules before and don't really understand them. Can anyone give a simple explanation of what a module is?
Old 04-17-2007, 03:59 PM   #2
LQ Guru
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284Reputation: 1284
It's a set of drivers that gets loaded when you insert the module, and unloaded when you remove the module. A module is basically just a set of drivers that can be loaded into the kernel.

If you see stuff when you run 'wlanconfig ath0 list scan' then the drivers are working. Now, that doesn't mean you are connected, which you're probably not.

If you haven't already, read the how-to:

If you're connected try pinging google:

ping -c 5

Last edited by H_TeXMeX_H; 04-17-2007 at 04:01 PM.
Old 04-17-2007, 04:10 PM   #3
Registered: Aug 2004
Distribution: Slackware current
Posts: 250

Rep: Reputation: 30
texmex was all right except that you arent connected yet so you cant ping anything

as root do this
modeprobe ath_pci
ifconfig ath0 up
iwlist ath0 scan
and if the interface turns on in the ifconfig it works, i just felt like adding a scan for aps
Old 04-17-2007, 04:24 PM   #4
Registered: Feb 2005
Distribution: Mint, Raspbian
Posts: 34

Original Poster
Rep: Reputation: 15
As part of the configuration for wpa_supplicant, I am supposed to add the path to madwifi. But when I do a which or whereis, it does not find madwifi at all. I downloaded the tarball into /downloads , should I use that directory in the wpa_supplicant .config file?
Old 04-18-2007, 11:03 AM   #5
Senior Member
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,150
Blog Entries: 29

Rep: Reputation: 125Reputation: 125

I'm following your thread with interest as I'm trying to get madwifi working on my laptop.

As for finding it, have you tried the "locate" command? If not, as root, type "updatedb" and let it run for a while. This creates a database of all the files on your hard drive.

When that's done, you should just be able to type "locate madwifi" and it will give you a list of files and paths.

Please just ignore me if you knew this already and had tried it.


Old 04-18-2007, 11:15 AM   #6
Registered: May 2005
Location: uk - Reading
Distribution: slack 10.2 kde 3.4.2 kernel 2.6.15
Posts: 452

Rep: Reputation: 30
iwconfig should give you
ath0      IEEE 802.11b  ESSID:""
          Mode:Managed  Channel:0  Access Point: 00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power:0 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
the access point field should NOT be populated with all zero's but the mac address of your access pint. has an excellent newbie guide.


madwifi, wpasupplicant

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
hostapd and madwifi not working freelancer42 Linux - Wireless Networking 0 09-08-2006 10:09 AM
how to verify mod_perl working?:scratch: kartheekpn Linux - Software 0 11-12-2005 02:20 AM
Verify Serial Port is Working spelltoronto Linux - Newbie 2 05-25-2005 04:58 PM
Madwifi is it working??? Atrocity Linux - Wireless Networking 5 05-03-2005 02:00 PM
dhcp not working with madwifi cincyman12 Linux - Wireless Networking 9 05-02-2004 08:44 PM

All times are GMT -5. The time now is 02:10 PM.

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