LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-14-2006, 02:37 PM   #1
anibis
Member
 
Registered: Apr 2005
Distribution: FC5 & Slack 10.2
Posts: 50

Rep: Reputation: 15
Wireless works but no monitor mode, Altheros card


I have a Toshiba laptop with an Altheros G card built in, I run FC5 fully updated, madwifi 0.9.1 drivers.

I got the card to work if I type all the commands in the terminal, however when I try to use NetworkManager it will not connect, I don't mind this much but a fix would be nice.

Also I cannot get my card to enter monitor mode, it works fine in Auditor Security Collection but not in FC5, I get the error:

[root@anibis ~]# iwconfig ath0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device ath0 ; Invalid argument.

I tried specifying an ESSID and still the same.

Here is what happens when I try to run airodump-ng

[root@anibis aircrack-ng]# airodump-ng --ivs -w cap1 -c 9 ath0
ioctl(SIOCSIWMODE) failed: Invalid argument
Error setting monitor mode on ath0

Also Kismet will not work, I'm sure I just have a setting wrong in the config file but I cannot figure it out, here is the error I get:

[root@anibis wifi]# kismet
Server options: none
Client options: none
Starting server...
Waiting for server to start before starting UI...
Will drop privs to anibis (500) gid 500
No specific sources given to be enabled, all will be enabled.
Enabling channel hopping.
Enabling channel splitting.
Source 0 (wifiX): Enabling monitor mode for madwifi_g source interface ath0 channel 6...
WARNING: ath0 appears to not accept the Madwifi-NG controls. Will attempt to configure it as a standard Madwifi-old interface. If you are using madwifi-ng, be sure to set the source interface to the wifiX control interface, NOT athX
FATAL: 'get_mode' does not return integer parameters.

Sorry for the multiple questions, thanks in advance.
 
Old 07-14-2006, 03:29 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora, Raspbian, Ubuntu via Chrome/Crouton
Posts: 371

Rep: Reputation: 50
I suspect that the MadWiFi fix (http://madwifi.org/changeset/1380) for this is not in the current MadWiFi livna package as the livna package is from January and the current MadWiFi release is from May

Are you using the linvna depot?

Phil
 
Old 07-14-2006, 05:04 PM   #3
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora, Raspbian, Ubuntu via Chrome/Crouton
Posts: 371

Rep: Reputation: 50
I found a linva bugzilla bug and it confirms that the livna MadWiFi is broken with NetworkManager.

Subcribe to this bug to find out when livna MadWiFi will work with NetworkManager.
 
Old 07-14-2006, 06:13 PM   #4
anibis
Member
 
Registered: Apr 2005
Distribution: FC5 & Slack 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
ok thats no big deal, I just created some scripts for the wireless networks I use, now what about my wireless card not going into monitor mode?

I downloaded the files you listed in your first post, I copied them to the same dirs in the madwifi-0.9.1 dir, and recompiled. It listed the files when I ran make, and make install ran fine yet I still cannot get my card to go into monitor mode. Is there a different madwifi driver I can use?

Also I went into the patches dir and ran ./install.sh and everything ran fine.

Last edited by anibis; 07-14-2006 at 06:15 PM.
 
Old 07-14-2006, 06:31 PM   #5
anibis
Member
 
Registered: Apr 2005
Distribution: FC5 & Slack 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
This is what I see when I type iwconfig:

lo no wireless extensions.

wifi0 no wireless extensions.

Warning: Driver for device ath0 has been compiled with version 20
of Wireless Extension, while this program supports up to version 19.
Some things may be broken...

ath0 IEEE 802.11g ESSID:"linksys"
Mode:Managed Frequency:2.437 GHz Access Point: 00:16:B6:A7B:26
Bit Rate:11 Mb/s Tx-Power:16 dBm Sensitivity=0/3
Retryff RTS thrff Fragment thrff
Encryption keyff
Power Managementff
Link Quality=10/94 Signal level=-85 dBm Noise level=-95 dBm
Rx invalid nwid:4026 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

eth0 no wireless extensions.

sit0 no wireless extensions.
 
Old 07-15-2006, 01:20 PM   #6
anibis
Member
 
Registered: Apr 2005
Distribution: FC5 & Slack 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
I got Kismet working, when I load Kismet it creates a wireless device called 'kis', when I run airodump-ng using that interface it works fine, I just can't use ath0.
 
Old 07-15-2006, 01:47 PM   #7
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Quote:
Originally Posted by anibis
I have a Toshiba laptop with an Altheros G card built in, I run FC5 fully updated, madwifi 0.9.1 drivers.

I got the card to work if I type all the commands in the terminal, however when I try to use NetworkManager it will not connect, I don't mind this much but a fix would be nice.

Also I cannot get my card to enter monitor mode, it works fine in Auditor Security Collection but not in FC5, I get the error:

[root@anibis ~]# iwconfig ath0 mode monitor
Error for wireless request "Set Mode" (8B06) :
SET failed on device ath0 ; Invalid argument.
You don't do this with atheros cards and the madwifi-ng driver. You need to create a new interface from wifi0 (probably want to call it ath1). This will be the same physical card with a different mode:

Code:
# wlanconfig ath1 create wlandev wifi0 wlanmode monitor
A benefit of this method is that you can use one card to do many things (i.e., access point, monitor mode, wds, all-in-one).
 
Old 07-15-2006, 08:22 PM   #8
anibis
Member
 
Registered: Apr 2005
Distribution: FC5 & Slack 10.2
Posts: 50

Original Poster
Rep: Reputation: 15
That did it, thanks alot.
 
Old 08-23-2006, 04:46 AM   #9
Josh328
Member
 
Registered: Jan 2004
Location: Louisiana
Posts: 106

Rep: Reputation: 15
ditto.....
 
Old 01-10-2007, 08:53 PM   #10
phuz
LQ Newbie
 
Registered: Jan 2007
Posts: 12

Rep: Reputation: 0
i dont have the 'wlanconfig' command in slackware, and i am having the EXACT same issue.

any help?

i was able to use the card to connect successfully to my home network, but i cant get monitor mode to work to save my life. i have read posts upon posts in several forums and im starting to pull my hair.

no monitor mode, and no airodump-ng.

Last edited by phuz; 01-10-2007 at 09:11 PM.
 
Old 01-11-2007, 06:34 PM   #11
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 77
Quote:
Originally Posted by phuz
i dont have the 'wlanconfig' command in slackware, and i am having the EXACT same issue.

any help?

i was able to use the card to connect successfully to my home network, but i cant get monitor mode to work to save my life. i have read posts upon posts in several forums and im starting to pull my hair.

no monitor mode, and no airodump-ng.
I donít know the specifics of how to get it in slackware, but wlanconfig can be found in the madwifi-ng source, which you can get from svn or in tarball form.
 
Old 01-09-2008, 06:53 PM   #12
mike_morley
Member
 
Registered: Aug 2006
Location: Nottingham
Distribution: Fedora
Posts: 86

Rep: Reputation: 15
Worked for me to

Thanks osor you have just saved me a hell of a lot of time.

It worked like a charm.
 
Old 07-31-2009, 01:00 PM   #13
otaimior
LQ Newbie
 
Registered: Jul 2009
Location: malaysia
Posts: 1

Rep: Reputation: 0
Question help me

hai i just download a auditor security and this is my problem i cannot run airodump its just cannot find my wifi card or my usb apdater dwa-140 so plz teach me how to settle my problem....and just a minute i just finish download my airodump 2.1 its same when mac filter <p =none> i put p and its failed to set the wireless chanel; you have to plug agains the card and restart airodump
help me
plzzz
 
  


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
Altheros wireless card in SUSE samplelin Linux - Wireless Networking 1 06-04-2006 11:06 PM
madwifi install question for altheros wireless PCMCIA card samplelin Linux - Wireless Networking 6 05-17-2006 07:21 AM
Need some help in monitor mode for a 3Com wireless card Asagath Linux - Wireless Networking 2 12-10-2004 05:34 PM
Setting Orinoco wireless card to monitor mode RogerM Linux - Wireless Networking 2 09-16-2003 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 08:14 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