我不希望NetworkManager列出或操纵我的无线卡。我可以以某种方式向NetworkManager隐藏其界面吗?
我尝试将其添加到中/etc/network/interfaces
,
iface wlan0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1
wireless-essid Synaptotagmin
pre-up wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
而这个/etc/NetworkManager/nm-system-settings.conf
,
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[keyfile]
unmanaged-devices=/org/freedesktop/Hal/devices/net_00_19_e0_57_86_af
但是NetworkManager Applet仍然列出并允许我连接到无线网络。