860 B
860 B
networkctl
This software replaces networkmanager.
Usage:
networkctl up
networkctl down
networkctl list
# simulate the network start: print every command
networkctl -s up
# choose software to use instead of the auto-detected ones
networkctl -n ip -d udhcpc up
# start a single interface
networkctl up eth0
tested on
- Linux: ifconfig, ip, dhclient, iw, wpa_supplicant
- Busybox: busybox (ifconfig, ip, udhcpc), iw, wpa_supplicant
- OpenBSD: ifconfig, dhclient
todo
- bugfix with ifconfig: aliasses create a new interface, they are not put down
- wifi (iw, ifconfig, wpa_supplicant...)
- better cli:
networkctl (up|down|list) interface
, and searching in /etc for network files by default - wifi reconnection on error
- launching arbitrary code with the "!command" syntax
- bridge
- vlan
- (linux only) network namespaces