# Author: Sunny
# Essay Address: http://blog.csdn.net/sunnypotter/article/details/23201339
Next: the previous two articles:
# If systemctl enable dhcpcd. service
Systemctl dhcpcd. service
Systemctl disable dhcpcd. service
# Then
Cd/etc/netctl
Cp examples/wireless-wpa. # A simple WPA encrypted wireless connection
Vim wireless-wpa # Modify
+ Interface = wlp8s0 # iw dev view, or ip link or ifconfig
+ Connection = wireless
+ Security = wpa
+
+ IP = dhcp
+ ESSID = 'wifi-name'
+ Key = 'wifi-passwd'
# Note: You must complete the preceding steps before proceeding. Otherwise, there will be a series of problems.
Netctl enable wireless-wpa
Netctl start wireless-wpa
Reboot
(
Related folders:/etc/netctl # network configuration folder. For example, the configuration name is wireless-wpa.
/Etc/systemd/system #
/Etc/systemd/system # netctl@wireless-wpa.service
/Etc/systemd/system/multi-user.target.wants # netctl@wireless-wpa.service
Related commands:
Journalctl-xn
Systemctl -- failed
Systemctl list-unit-files
Systemctl daemon-reload
Ip link
Ifconfig wlp8s0 up # start wireless adapter
Ifconfig eno1 up # start wire adapter
# Dynamic IP allocation by dhcpcd network-adapter
Dhcpcd eno1
Dhcpcd wlp8s0
)