I want an interface to run only in monitoring mode and configure it through
How do I configure my interface through
/etc/network/interfaces to start in monitoring mode?
To make things clear, I am looking for the equivalent of
airmon-ng start wlan1
but setup automatically in
An solution would be to put the previous command in a
/etc/network/if-up.d but I am looking for a more formal way of doing it.
man wireless, the mode is set with the field `wireless-mode '. This solution is not valid
$ cat /etc/network/interfaces [...] auto wlan1 wireless-mode Monitor [...] $ /etc/network/interfaces:41: misplaced option ifup: couldn't read interfaces file "/etc/network/interfaces"
PS: running on Debian 8.0