There is no need for using airmon-ng unless you want monitor mode automatically at startup. I would add the script to /etc/rc.d/rc.inet1 which is loaded by rc.M at startup:
I guess that would do the trick. Let me know if it worked.Code:#! /bin/sh # /etc/rc.d/rc.inet1 # This script is used to bring up the various network interfaces. # # Modified for SLAX by Tomas M. <http://slax.linux-live.org> # if [ "$1" = "start" -o "$1" = "" ]; then ifconfig lo down 2>/dev/null /sbin/ifconfig lo 127.0.0.1 2>/dev/null /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo 2>/dev/null ifconfig wifi0 down macchanger --mac=00:11:22:33:44:55 wifi0 for eth in `ls /sys/class/net | grep -v sit`; do # check if dhcpcd is not already running for $eth interface, # in that case it was started by hotplug? so don't start it again if [ "$eth" != "lo" -a ! -e /etc/dhcpc/dhcpcd-$eth.pid ]; then echo "Auto Configure IP address for $eth: /sbin/dhcpcd -t 60 $eth &" /sbin/dhcpcd -t 60 $eth & fi done fi


