Stephen Harris wrote:
Create a simple S09 script (eg S09PROMISC) which basically just does "/sbin/ifconfig wlan0 promisc up"
eg create this as /etc/init.d/PROMISC and then do "chkconfig PROMISC on"
#!/bin/sh
# PROMISC puts wlan0 in promisc mode # # chkconfig: 2345 09 91 # description: puts wlan0 in promisc mode
case "$1" in start) touch /var/lock/subsys/PROMISC
/sbin/ifconfig wlan0 0.0.0.0 promisc up ;;
stop) # Do nothing rm -f /var/lock/subsys/PROMISC ;; status|restart|reload) # Do nothing ;; *) echo $"Usage: $0 {start|stop|restart|reload|status}" exit 1 esac
exit 0
It might work... who knows :-)
Great suggestion Stephen! Thanks very much! Just tried it out and it works fine. Just have one question... any reason not to leave the interface in promiscuous mode?
Thanks,
Phil