1

The problem of working wlan0 interface, at startup the Master mode is switched on as default, when wlan0 is not working for network search, but after i manually switched it on Managed type mode by typing: iwconfig wlan0 mode Managed, it starts to work Is it possible to change default startup mode to Managed instead of Master?

1 Answers1

0

What is the wireless card's Driver and what distro you are using? How about write an startup script to make the default mode to managed? To do it you should create the script first:

iwconfig wlan0 mode managed

You should write the above code to file and save it somewhere like: /opt/wifi.sh (The name and the path of file can be whatever but you should exactly know where you are saving the file).

After that you can make a Cron Job in terminal type the following and hit enter:

crontab -e

Then write the following line at the end of the file:

@reboot /opt/wifi.sh

Again, the path and the file name can be anything.