ArchLinux蛋疼的wifi(无线)问题

# Author: 晴天

# Essay Address: http://blog.csdn.net/sunnypotter/article/details/23201339

接着:之前两篇:

# 如果之前systemctl enable dhcpcd.service
systemctl dhcpcd.service
systemctl disable dhcpcd.service
# 然后
cd /etc/netctl
cp examples/wireless-wpa .    # A simple WPA encrypted wireless connection
vim wireless-wpa    # Modify
    + Interface=wlp8s0 # iw dev查看, 或ip link 或ifconfig
    + Connection=wireless
    + Security=wpa
    +
    + IP=dhcp
    + ESSID='wifi-name'
    + Key='wifi-passwd'
# 注意,必须先完成以上才能进行一下,否则有一系列问题
netctl enable wireless-wpa
netctl start wireless-wpa
reboot
(
    相关文件夹: /etc/netctl # 网络配置文件夹,假如配置名字叫 wireless-wpa
                /etc/systemd/system #
                /etc/systemd/system  # [email protected]
                /etc/systemd/system/multi-user.target.wants # [email protected]
    相关命令:
        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

        # dhcpcd network-adapter 动态分配IP
        dhcpcd eno1
        dhcpcd wlp8s0
)


你可能感兴趣的:(linux)