LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-17-2007, 02:45 PM   #1
bigwheel
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware 11.0, Slax
Posts: 28

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, 02:59 PM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269Reputation: 1269
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:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

If you're connected try pinging google:

Code:
ping -c 5 google.com

Last edited by H_TeXMeX_H; 04-17-2007 at 03:01 PM.
 
Old 04-17-2007, 03:10 PM   #3
bird603568
Member
 
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
Code:
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, 03:24 PM   #4
bigwheel
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware 11.0, Slax
Posts: 28

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, 10:03 AM   #5
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
Bigwheel,

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.

Regards,

-Drew
 
Old 04-18-2007, 10:15 AM   #6
slzckboy
Member
 
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
Code:
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.
madwifi.org has an excellent newbie guide.
 
  


Reply

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


All times are GMT -5. The time now is 07:19 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration