> cd /etc/NetworkManager/dispatcher.d/
> ls
> sudo systemctl unmask NetworkManager-dispatcher.service
Removed symlink /etc/systemd/system/NetworkManager-dispatcher.service.
> sudo systemctl start NetworkManager-dispatcher.service
> ls
pre-down.d/ pre-up.d/
> ls pre-up.d/
> ls pre-down.d/
>
As far as I understand, there are supposed to be some scripts in here. But I'm not getting any. Also, I followed the links around and found that NetworkManager-dispatcher.service relies on /usr/lib/networkmanager/nm-dispatcher, which is a binary file.
]]># systemctl status NetworkManager -l
...: <warn> Trying to remove a non-existant call id.
# systemctl stop NetworkManager
# ip link
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> ... state UP
# systemctl status NetworkManager -l
...: <warn> the dhcpcd backend does not support IPv6.
None of the messages from the first `systemctl status` command appeared in the second. But, more importantly, what do I do about IPv6? Surely something can support it if not dhcpcd.
Edit: I've now disabled NetworkManager via `systemctl mask NetworkManager && systemctl mask NetworkManager-dispatcher`, so I can make a wired connection again.
Edit2: That basically puts me in the same position as I was in before I started the NetworkManager stuff. The wireless connection works if I run that wpa_supplicant command.
]]># netctl enable wlp2s0_tp_link24
ln -s '/etc/systemd/system/netctl@wlp2s0_tp_link24.service' '/etc/systemd/system/multi-user.target.wants/netctl@wlp2s0_tp_link24.service'
# ip link
...
3: wlp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 94:db:c9:4a:80:99 brd ff:ff:ff:ff:ff:ff
# netctl status wlp2s0_tp_link24
• netctl@wlp2s0_tp_link24.service - Networking for netctl profile wlp2s0_tp_link24
Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static)
Active: inactive (dead)
Docs: man:netctl.profile(5)
It was causing a “fail” on boot, so I stopped and disabled it (I can't remember which is which). I tried similar above, and it never worked.
]]># cd /etc/netctl/examples/ && cp examples/wireless_wpa my-network
edit the file filling in the relevant information (this is assuming your wireless is using wpa). When that is complete:
# netctl enable my-network // enable the network connection
If it doesn't work the first time ensure you input the correct information. Make note of the Interface name with:
# ip link
Ensure it is included in the my-networks file.
]]>I have an indicator showing download and upload rates. In this “connecting” state, downloads are at about 100 B/s and uploads are at 0.
Disabling security on the router and in Gnome didn't seem to work, so I don't think it's a passkey issue.
]]>That indeed brings back the Wifi indicator (which survives restarts), but I don't seem to be able to connect that way. And worse, it blocks the wpa_supplicant method. It keeps reprompting for a password, but I'm sure that I've got the passkey right (it is asking for the passkey, right?). I'm copying it straight from the router's settings page loaded on another computer, which matches what I've been using for wpa_supplicant.
You've tried restarting the AP, I assume. If not, maybe it's just a lease issue?
]]>$ ln -s /usr/lib/systemd/system/NetworManager.service /usr/lib/systemd/system/dbus-org.freedesktop.NetworkManager.service
then:
$ systemctl start NetworkManager
If you get the wifi menu in gnome (under the arrow to the right of the power button), then you're in business, just...
$ systemctl enable NetworkManager
and it should start automatically... well, with GNOME, at least.
]]>> nm-applet
** (nm-applet:22011): WARNING **: fetch_connections_done: error fetching connections: (32) Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory..
It stays running after that message. I do have a file at /lib/systemd/system/NetworkManager.service, which looks like this:
[Unit]
Description=Network Manager
Wants=network.target
Before=network.target
[Service]
Type=dbus
BusName=org.freedesktop.NetworkManager
ExecStart=/usr/bin/NetworkManager --no-daemon
# Suppress stderr to eliminate duplicated messages in syslog. NM calls openlog()
# with LOG_PERROR when run in foreground. But systemd redirects stderr to
# syslog by default, which results in logging each message twice.
StandardError=null
# NM doesn't want systemd to kill its children for it
KillMode=process
[Install]
WantedBy=multi-user.target
Alias=dbus-org.freedesktop.NetworkManager.service
Also=NetworkManager-dispatcher.service
Also, htop shows an instance of nm-applet for the current user. I can't kill this, even if I use sudo htop (in which case I see 3 instances). What's going on here?
]]>sudo wpa_supplicant -B -i wlp2s0 -c /etc/wpa_supplicant/example.conf
after each login. How can I automate this?
By the way, I boot straight to Gnome 3.12.
]]>