Netctl
lastmod 2020-06-28created 2020-06-278 edits
Example
- [Recommended] (ArchLinux) Setting up wired/wireless LAN with netctl instead of netcfg. (based on archlinux-hf-2013-07-22.img)
(If needed) stop the wired LAN service:
Copy the example you need from the /etc/netctl/examples directory to the /etc/netctl directory.
Edit the copied example.
Change it to something like the following.
Description=Your Description
Interface=wlp6s0
Connection=wireless
IP=dhcp
Priority=10
Security=wpa
ESSID="<SSID Name>"
Key="<PASSPHRASE>"
Hidden=yes
- If the SSID is hidden, you must add
Hidden=yes. - For a static IP, copy wireless-wpa-static and fill in the
Adress,Gateway, andDNSfields appropriately.
Enable and start the service.
Check that the wireless LAN connection is complete.
See also
- Archlinux
- Wi-Fi Protected Access (WPA)
- netctl
- netctl-auto
- iw
- iwconfig
- ifconfig
- wpa_passphrase
- wifi-menu
- iwlist
Favorite site
- netctl - ArchWiki
- netctl.profile.5 - manned.org
- netctl - Setup Wifi and Static IP on Arch Linux
- How to Use Netctl in Arch Linux to Set Up a Network Connection
- [Recommended] Using wireless LAN with wpa_supplicant ( WPAPSK wireless security / AES encryption )
- Managing Wi-Fi connections in Arch Linux with netctl