9 Flashcards
(13 cards)
what is network manager?
Network Manager helps connect and manage internet/network settings on Linux.
Benefits of Network Manager:
Easier network setup: Automatically connects to networks and manages devices.
User-friendly: Simple to set up Wi-Fi, Ethernet, and other connections.
Flexible configuration: Supports both automatic and manual network settings.
App integration: Provides an API for apps to check and control network status.
Remembers settings: Keeps network connections active even after reboot.
To check the default route on your machine
ip route
nmcli
is a command line utility that
can be used in order to monitor your network connectivity,
to display all connection
nmcli connection show
flag in order to restrict the result to
active and inactive connections
nmcli connection show - -active
nmcli connection show - -inactive
Show the status of devices known to NetworkManager:
nmcli d
To show the current status of each of NetworkManager’s connections:
nmcli c
Show the state of radio interfaces, including WiFi and WWAN
(cellular) with the radio argument:
nmcli r
Observe NetworkManage activity
nmcli monitor
how to make the connection radio on/off
nmcli r wifi on
nmcli r wwan off
how to replace IP address
nmcli con mod eth0 ipv4.addresses 192.168.20.3/24
how to connect to the access point
nmcli d wifi connect <SSID> password <password></password></SSID>