tags 486025 patch thanks Hi,
Attached patch fixes the problem. -- Robert Millan <GPLv2> I know my rights; I want my phone call! <DRM> What good is a phone call… if you are unable to speak? (as seen on /.)
diff -ur aircrack-ng-1.0~beta2/debian/patches/000-airmon-ng_drop_bashisms.diff aircrack-ng-1.0-rc1/debian/patches/000-airmon-ng_drop_bashisms.diff --- aircrack-ng-1.0~beta2/debian/patches/000-airmon-ng_drop_bashisms.diff 2008-07-06 18:01:46.000000000 +0200 +++ aircrack-ng-1.0-rc1/debian/patches/000-airmon-ng_drop_bashisms.diff 2008-07-06 18:00:46.000000000 +0200 @@ -1,57 +1,8 @@ -Index: trunk/airmon-ng -=================================================================== ---- trunk/airmon-ng (revision 980) -+++ trunk/airmon-ng (revision 1016) -@@ -372,5 +372,5 @@ - echo -n "$MONDEV" > /sys/class/ieee80211/"$PHYDEV"/add_iface - sleep 0.1 -- iwconfig $MONDEV mode Monitor &>/dev/null -+ ifconfig $MONDEV up - printf "\n\t\t\t\t(monitor mode enabled on $MONDEV)" - -@@ -416,6 +416,6 @@ - cp $KISMET~ $KISMET 2>/dev/null && - echo "source=orinoco,$iface,HermesI" >>$KISMET -- iwconfig $iface mode Monitor channel $CH &>/dev/null -- iwpriv $iface monitor 1 $CH &>/dev/null -+ iwconfig $iface mode Monitor channel $CH >/dev/null 2>&1 -+ iwpriv $iface monitor 1 $CH >/dev/null 2>&1 - ifconfig $iface up - printf " (monitor mode enabled)" -@@ -424,6 +424,6 @@ - then - ifconfig $iface down -- iwpriv $iface monitor 0 &>/dev/null -- iwconfig $iface mode Managed &>/dev/null -+ iwpriv $iface monitor 0 >/dev/null 2>&1 -+ iwconfig $iface mode Managed >/dev/null 2>&1 - printf " (monitor mode disabled)" - fi -@@ -561,5 +561,5 @@ - ifconfig $iface up - iwconfig $iface mode Monitor channel $CH -- iwpriv $iface set_prismhdr 1 &>/dev/null -+ iwpriv $iface set_prismhdr 1 >/dev/null 2>&1 - printf " (monitor mode enabled)" - fi -@@ -581,5 +581,5 @@ - echo "source=hostap,$iface,Prism2" >>$KISMET - iwconfig $iface mode Monitor channel $CH -- iwpriv $iface monitor_type 1 &>/dev/null -+ iwpriv $iface monitor_type 1 >/dev/null 2>&1 - ifconfig $iface up - printf " (monitor mode enabled)" -@@ -738,5 +738,5 @@ - if [ x"`iwpriv $iface 2>/dev/null | grep prismhdr`" != "x" ] - then -- iwpriv $iface prismhdr 1 &>/dev/null -+ iwpriv $iface prismhdr 1 >/dev/null 2>&1 - fi - ifconfig $iface up -@@ -762,5 +762,5 @@ - if [ x"`iwpriv $iface 2>/dev/null | grep rawtx`" != "x" ] - then -- iwpriv $iface rawtx 1 &>/dev/null -+ iwpriv $iface rawtx 1 >/dev/null 2>&1 - fi - ifconfig $iface up +--- trunk/airmon-ng~ 2008-06-09 21:55:09.000000000 +0200 ++++ trunk/airmon-ng 2008-07-06 17:59:56.000000000 +0200 +@@ -1,4 +1,4 @@ +-#!/bin/sh ++#!/bin/bash + + USERID="" + IFACE=""

