Is it possible to manage wifi dongle without using connmn?

Hi, I want to manage wifi dongle by using /etc/network/interface or any other methods.
Is this possible in osmc?


You would need to edit ConnMan’s /usr/bin/start-network (I don’t think this is a conffile, so it could change across updates), to ignore wlan0 (-I wlan0).

Then you can use /etc/network/interfaces and wpa-supplicant. Old school style.


Hi sam,

I had edited /usr/bin/start-network and put ‘-I wlan0’ in two lines as bellow:
‘exec /usr/sbin/connmand -n -I wlan0 --nodnsproxy --config=/etc/connman.conf’
‘exec /usr/sbin/connmand -n -I wlan0 --config=/etc/connman.conf’
But the wifi dongle isn’t up…

Is there something wrong with my setting?
My ‘/etc/network/interfaces’ is list as bellow:
auto wlan0
allow-hotplug wlan0


I think you need to configure SSID and (if you have one, a key) in /etc/network/interfaces for it to automatically come up. These commands may give you insight:

sudo journalctl

and sudo ifup wlan0

Why are you doing this? OSMC’s ConnMan implementation should suffice for most usecases.


I want to run hostapd in osmc, but the wifi dongle doesn’t support nl80211.
Thanks for your advice.