right, got it Code: #!/bin/sh sudo ifconfig wlan0 down; sudo iwconfig wlan0 mode Monitor; sudo ifconfig wlan0 up; exit; does the trick
#!/bin/sh sudo ifconfig wlan0 down; sudo iwconfig wlan0 mode Monitor; sudo ifconfig wlan0 up; exit;