Modify

Opened 12 years ago

Closed 11 years ago

Last modified 4 years ago

#603 closed defect (fixed)

aireplay not working with madwifi-ng (aircrack - aircrack-ng)

Reported by: nou Owned by: florian
Priority: high Milestone: Barrier Breaker 14.07
Component: packages Version:
Keywords: Cc:

Description

default shell with openwrt is ash/busybox which doesn't like &>/dev/null at all.
And aireplay is using a system call to check if ath0raw exists. something like this: "sysctl -w dev.%s.rawdev_type=1 &>/dev/null"

A possible fix would be to replace all the "sysctl -w dev.%s.rawdev_type=1 &>/dev/null" by "sysctl -nw dev.%s.rawdev_type=1 2>/dev/null" (two occurences in aireplay-ng.c)

hope that helps.

Attachments (1)

100-stderr-redir.patch (925 bytes) - added by nou 12 years ago.
&>/dev/null correction for ash

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by nou

no -nw is not a good idea since sysctl seems to always return 0 in that case
-n -w neither since it prints something
can't be arsed to make a cleaner change :)

Changed 12 years ago by nou

&>/dev/null correction for ash

comment:2 Changed 12 years ago by Mister_X

I just fixed that bug. Aircrack-ng 0.6 will be released in a couple of days.

comment:3 Changed 12 years ago by florian

  • Owner changed from developers to florian
  • Status changed from new to assigned

comment:4 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in aircrack-ng-0.6, now included in buildroot-ng since [4331]

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.