Pawel Wieczorkiewicz - 11:19 14.03.16 wrote:
On Sat, 12 Mar 2016 09:43:10 +0100 Michal Hrusecky <Michal.Hrusecky@opensuse.org> wrote:
Hi,
Hi,
I used to have ifcfg-wlan0 configuration that turned up my WiFi interface and called wpa_supplicant on that interface with configuration file I had prepared. It was long time ago. Now I lost it and I have no idea how to recreate it. Tried various options, but I always get wpa_supplicant running like this:
/usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log
Run wpa_supplicant using system from it's default service file. Make sure the service Type=dbus etc. Wicked reads up ifcfg file and talks to wpa_supplicant over dbus. Thus there is no need to start wpa_supplicant specifically (at least unless you need some special configuration wicked does not support yet).
and not connecting to any WiFi defined in configuration file.
There is a man page with examples, see: man ifcfg-wireless.
So create you ifcfg file accordingly and then 'wicked ifup wlan0' should do the trick.
Note: only basic configuration (single network, WPA/WPA2 or EAP) is supported by wicked as of yet.
Yep, looks like documentation doesn't mention the option I used to be using (WIRELESS_WPA_CONF) and wicked doesn't support my use-case - basically just calling wpa_supplicatant and let it pick the network and configure it by itself as wpa_supplicant supports multiple networks, which is what I was after. Thanks. Looks like I will have to hack around it somehow. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org