You are not logged in.
Pages: 1
If a wireless connection obtained by netctl/wifi-menu is failed by systemd (as discovered
by the command systemctl list-units), fixing the problem and trying to reactivate the
wireless connection doesn't seem to work until the failed status is somehow removed.
This can be done by rebooting, but that is rather brute-force. Is there some more
elegant way to tell netctl/systemd to remove failed status?
Offline
Haven't tried, but what about reseting netctl service?
# systemctl restart netctl.serviceOffline
Haven't tried, but what about reseting netctl service?
Actually, I don't have netctl.service enabled or running, as this is for a laptop
that needs to make network connections on demand. However, assuming a
profile named "barf", the service that fails after trying to start a connection
with netctl via
netctl start barfwhere "barf" has an error in it (non-existent wireless device in this case)
is "netctl@barf.service". Trying to restart or reenable this doesn't remove
the failed status. The output of systemctl list-units | grep netctl looks like
netctl@barf.service loaded failed failed Networking for netctl profile barf.
Offline
You can restart the service with netctl.
Assuming your profile is named barf, like you suggested, it'd be:
# netctl restart barfFor further infos I'd suggest consulting the manpage with:
$ man netctlOffline
Narve, thanks for the reply. It turns out that the real issue was that netctl was repeatedly
failing on a particular wireless connection due to a long wait for the dhcp server. Increasing
the dhcp timeout from 10 s to 30 s solved the problem. (This doesn't seem to be an option
when starting the connection with wifi-menu, however.)
Offline
Pages: 1