NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 07-27-2005   #61 (permalink)
syrou
Registered Member
 
Join Date: Apr 2003
Posts: 6
Hi,

Does anyone get a segmentation fault when trying to change mac with patched 20050525 madwifi drivers?
syrou is offline   Reply With Quote
Old 07-27-2005   #62 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by syrou
Hi,

Does anyone get a segmentation fault when trying to change mac with patched 20050525 madwifi drivers?
Works fine here..

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 07-27-2005   #63 (permalink)
syrou
Registered Member
 
Join Date: Apr 2003
Posts: 6
Thanks Dutch, forgot to tell that I have an Ubuntu Hoary 2.6.10 stock kernel. Strange...
syrou is offline   Reply With Quote
Old 07-27-2005   #64 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by syrou
Thanks Dutch, forgot to tell that I have an Ubuntu Hoary 2.6.10 stock kernel. Strange...
I also get that segmentation fault when changing the mac address (kernel 2.6.11.7). I'll look into it.
devine is offline   Reply With Quote
Old 07-27-2005   #65 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by devine
I also get that segmentation fault when changing the mac address (kernel 2.6.11.7). I'll look into it.
Works fine here, 2.6.11-4 kernel. Just for kicks, you do remember to have the if down, when changing the MAC address ?
I.E. :
ifconfig ath0 down
ifconfig ath0 hw ether 00:00E:AD:BE:EF
ifconfig ath0 up

On an another note, beta 11 can't reinject and capture as fast as beta 3.
With beta3 I could reinject with -x 800 and still capture with airodump. (Used the old madwifi patch)
With beta11 I only can reinject succesfully with -x 500 or less. (used the new madwifi patch from beta11). Any higher, and airodump doesn't pick up any packets, including beacons.

Additionally I get a shitload of dmesg entries in the form of :

Protocol 0300 is buggy, dev ath0
printk: 575 messages suppressed
ath_hardstart: discard, no xmit buf
NETDEV WATCHDOG: ath0: transmit timed out

Is this due to additional logic in the re-injection patch, or due to changes in airodump ?

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....

Last edited by Dutch : 07-27-2005 at 03:04 PM.
Dutch is offline   Reply With Quote
Old 07-27-2005   #66 (permalink)
crymsan
Registered Member
 
Join Date: May 2005
Posts: 4
Not sure if this is a problem with airodump, but often after a period of time on a single channel (usually 10 - 60 seconds) airodump stops picking up new packets. I've checked many times and power management is turned on for the card.

Other cards I have seem to work fine.

This problem does not occur if I set airodump to hop. The card is a smc eliteconnect (SMC2532W-B) prism2 I believe. I have tried two different versions (patched and unpatched) of hostap drivers, as well as two different firmwares.

Also, I notice that aircrack is starting to hang on me alot when loading the dump file. It stalls at "Reading Packet, wait". I have to use a kill -9 to stop it as a regular interrupt does nothing.

I'm currently using the 11 beta but have had similiar issues with all betas I've tried all past 5.

Anyone have any ideas?
crymsan is offline   Reply With Quote
Old 07-28-2005   #67 (permalink)
syrou
Registered Member
 
Join Date: Apr 2003
Posts: 6
Quote:
Originally Posted by devine
I also get that segmentation fault when changing the mac address (kernel 2.6.11.7). I'll look into it.
Have also tried with a 2.6.12.3 kernel and it does the same. Maybe the madwifi cvs shapshot (20050525) had some problems, will try to recompile it without patching.

Please keep us informed if you find out the reason (so do I if find it).

Quote:
Originally Posted by Ductch
Works fine here, 2.6.11-4 kernel. Just for kicks, you do remember to have the if down, when changing the MAC address ?
I.E. :
ifconfig ath0 down
ifconfig ath0 hw ether 00:00:0E:AD:BE:EF
ifconfig ath0 up
Yes I'm doing that way.

PD: Have just compiled madwifi cvs 20050525 drivers without patch, and seems nothing to do with the patch, segmentation fault. Maybe trying a later cvs release? But you say they are quite faulty.

Last edited by syrou : 07-28-2005 at 09:07 AM.
syrou is offline   Reply With Quote
Old 07-28-2005   #68 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by crymsan
This problem does not occur if I set airodump to hop. The card is a smc eliteconnect (SMC2532W-B) prism2 I believe. I have tried two different versions (patched and unpatched) of hostap drivers, as well as two different firmwares.
Could you run kismet and lock it on a specific channel - does the same behaviour occur ?

Quote:
Originally Posted by crymsan
Also, I notice that aircrack is starting to hang on me alot when loading the dump file. It stalls at "Reading Packet, wait". I have to use a kill -9 to stop it as a regular interrupt does nothing.
That's really wierd. Please run strace -f -o out aircrack ... and send me the out file.
devine is offline   Reply With Quote
Old 07-28-2005   #69 (permalink)
crymsan
Registered Member
 
Join Date: May 2005
Posts: 4
Quote:
Originally Posted by devine
Could you run kismet and lock it on a specific channel - does the same behaviour occur ?
At the moment the same behaviour occurs in kismet, however yesterday kismet worked fine even when airodump did not.
crymsan is offline   Reply With Quote
Old 07-28-2005   #70 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by crymsan
At the moment the same behaviour occurs in kismet, however yesterday kismet worked fine even when airodump did not.
Hi. Try running kismet first (not airodump) after restarting the card - this could be a problem with airodump not setting up the card properly.
devine is offline   Reply With Quote
Old 07-28-2005   #71 (permalink)
crymsan
Registered Member
 
Join Date: May 2005
Posts: 4
Played around with the firmwares some more and found out that 1.5.6 works like a charm (other than wierd problem with kismet, when I lock the channel it locks on the current channel not the one I've selected, also iwconfig wlan0 channel X does not work).

In summary, 1.7.4 and 1.8.4 caused the "stalling" problem, 1.5.6 seems to work great.

Thanks alot Devine, great programs and great help.


crymsan
crymsan is offline   Reply With Quote
Old 07-28-2005   #72 (permalink)
tafkame
Registered Member
 
Join Date: Jul 2005
Posts: 1
@devine:

upgraded from beta9 to beta11 tonight.
When trying to use the arp-replay attack with aireplay it gives me the message "Your driver (madwifi) isn't properly patched for injection in b/g mode.

I'm using the latest auditor release with an atheros card.
beta9 worked fine with patched madwifi drivers coming with auditor.
beta11 doesn't seem to work with the auditor provided driver.
Tried downloading the respective kernel sources for my auditor release to compile the madwifi drivers of 20050525 like stated in your docu for atheros (madwifi) driver patching.
The compilation gave me errors about missing declarations and stuff.,

So...am I doing anything wrong, do I really need to compile a new driver with auditor to use beta11?

Any help would be appreciated.

Thanks so far.
tafkame is offline   Reply With Quote
Old 07-28-2005   #73 (permalink)
grcore
Member at large
 
grcore's Avatar
 
Join Date: Aug 2004
Posts: 121
In beta11, aircrack has a problem reading .cap files. It reads .ivs files fine.

When aircrack goes to read a .cap file, you get:

Opening capfile.cap
Reading packets, wait...

and it just sits there....

g

Last edited by grcore : 07-28-2005 at 04:47 PM.
grcore is offline   Reply With Quote
Old 07-29-2005   #74 (permalink)
devine
Emergence
 
Join Date: Jul 2004
Location: Paris
Posts: 389
Quote:
Originally Posted by crymsan
In summary, 1.7.4 and 1.8.4 caused the "stalling" problem, 1.5.6 seems to work great.
Cool! I've mentionned this in the docs.

Quote:
Originally Posted by tafkame
it gives me the message "Your driver (madwifi) isn't properly patched for injection in b/g mode.
You should apply the patch provided with beta11 to the madwifi sources and install them. Note that you only need the kernel headers from the kernel. Anyway aireplay should work fine with the old madwifi patch (albeit in B mode only), so you can just use version beta10.

Quote:
Originally Posted by grcore
In beta11, aircrack has a problem reading .cap files. It reads .ivs files fine.
I can't seem to reproduce your problem. Which is your distribution / kernel version / glibc version ?
devine is offline   Reply With Quote
Old 07-29-2005   #75 (permalink)
grcore
Member at large
 
grcore's Avatar
 
Join Date: Aug 2004
Posts: 121
Quote:
Originally Posted by devine
I can't seem to reproduce your problem. Which is your distribution / kernel version / glibc version ?
kernel 2.6.11-12mdk-1

Name: glibc-devel
Version: 2.3.4-8mdk

BTW: I am running aircrack/airodump simultaneously

g
grcore is offline   Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:12 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.