Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

network in arch linux

# Install
$ sudo pacman -S networkmanager
$ sudo systemctl enable NetworkManager.service
$ sudo systemctl start NetworkManager.service

# nmcli examples


# List nearby Wi-Fi networks:
$ nmcli device wifi list

# Connect to a Wi-Fi network:
$ nmcli device wifi connect SSID_or_BSSID password password

# Connect to a hidden Wi-Fi network:
$ nmcli device wifi connect SSID_or_BSSID password password hidden yes

# Connect to a Wi-Fi on the wlan1 interface:
$ nmcli device wifi connect SSID_or_BSSID password password ifname wlan1 profile_name

# Disconnect an interface:
$ nmcli device disconnect ifname eth0

# Get a list of connections with their names, UUIDs, types and backing devices:
$ nmcli connection show

# Activate a connection (i.e. connect to a network with an existing profile):
$ nmcli connection up name_or_uuid

# Delete a connection:
$ nmcli connection delete name_or_uuid

# See a list of network devices and their state:
$ nmcli device

# Turn off Wi-Fi:
$ nmcli radio wifi off
Comment

PREVIOUS NEXT
Code Example
Shell :: qemu boot iso 
Shell :: permission denied while installing npm 
Shell :: vs code always says rebasing git 
Shell :: linux print hostname 
Shell :: how to find process running on port in ubuntu 
Shell :: git copy branch to another branch 
Shell :: Linux command line search and replace string 
Shell :: how to start a web server linux 
Shell :: kubectl install ubuntu 20.04 
Shell :: linux volume max or muted 
Shell :: how to install haxeflixel 
Shell :: linux shell script print environment variables 
Shell :: install react-native cmd linux 
Shell :: install avro for linux 
Shell :: github markdown image 
Shell :: see all ADS in a file 
Shell :: mac of hide "upgrade now" 
Shell :: vncviewer display 0 
Shell :: flake8 only 
Shell :: prisma migrate 
Shell :: rustup 
Shell :: night light ubuntu 20.04 
Shell :: install shutter ubuntu 
Shell :: checking for existing ssh keys 
Shell :: snapd unavailable solved 
Shell :: disabling asking for password on linux 
Shell :: bash change to script directory 
Shell :: mount nvme disk on aws ec2 
Shell :: install httpie linux 
Shell :: shell count number of lines 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =