Hi there,
I’ve been using a manual network config (without any manager) for eth0 and wlan0 (usb dongle) since Opensuse 12.3. However, now I’m trying to configure it using wicked in my new systems (tumbleweed or Leap 42.2, both of them) but I can’t do it for wlan0 (eth0 works fine without config any thing else).
This is my ifcfg-wlan0 config file:
BOOTPROTO='dhcp4'
STARTMODE='ifplugd'
USE_DHCP='yes'
This is my wpa_suppplicant.conf file:
ctrl_interface=/var/run/wpa_supplicant
update_config=1
network={
ssid="My_wlan"
scan_ssid=1
psk=fa91fa7288be9750d0843000cb435a2f7d64da999c057cec4249e7fa801287fd
key_mgmt=WPA-PSK
group=CCMP TKIP
priority=10
}
the passphrase has been generated using wpa_passphrase command, this passphrase is not included directly in ifcfg-wlan0 file because if I do that wicked shows a passphase lenght error like: Invalid passphrase length 64 (expected: 8…63) ‘fa91fa7288be9750d0843000cb435a2f7d64da999c057cec4249e7fa801287fd"’. Which I think could be a system bug because as you can see passphrase is generated directly by wpa_passphase command.
This is wpa_supplicant.service:
[Unit]
Description=WPA Supplicant daemon
Before=network.target
After=dbus.service
[Service]
Type=dbus
BusName=fi.w1.wpa_supplicant1
ExecStart=/usr/sbin/wpa_supplicant **-i wlan0** -c /etc/wpa_supplicant/wpa_supplicant.conf -u -f /var/log/wpa_supplicant.log
[Install]
WantedBy=multi-user.target
(I’ve added “-i wlan0” because without it anything works)
and obviously wpa_supplicant (enabled by me), wicked, wickedd, wicked-nanny, … services are enabled and running.
Using the above configuration and after a system reboot wlan0 is not working, I must type:
systemctl restart wpa_supplicant.service
to be able to connect my wifi.
What’s wrong in my configuration files?
I’m really stuck. Any body could help me, please?
Thanks a lot!