I am having trouble setting up my wifi configuration persistently.
I have tried both netctl and NetworkManager and both only work after manual setup.
What I find especially weird is that
ip link show prints
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000 link/ether 9c:5c:8e:d4:d6:fe brd ff:ff:ff:ff:ff:ff 3: enp0s20f0u13: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000 link/ether 38:2c:4a:47:93:11 brd ff:ff:ff:ff:ff:ff
enp0s20f0u13 is UP and used for my current connection, which is going through a Wifi dongle. It is recognized as an Ethernet connection but it shouldn't be.
How I get a connection right now is:
after boot I can start
systemctl start netctl@<profile> and I have a connection. If I start
systemctl start NetworkManager instead then the service starts not complaining about anything but there is no connection and the Gnome applet doesn't show. Settings -> Network shows no info about any Wifi stuff. If I first start netctl, then stop it, then start NetworkManager then Wifi works through NetworkManager, the applet shows and the settings screen shows a Wifi menu.
After having tried lots of stuff I can only hope that the problems arise from this wrong recognition. Any ideas on what to do now?