ArchLinux下的wifi(无线)问题解决
接着:之前两篇:http://www.linuxidc.com/Linux/2014-04/99749.htm 与 http://www.linuxidc.com/Linux/2014-04/99750.htm
# 如果之前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
)
# 如果之前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
)
相关推荐
Schvian 2020-11-04
hpujsj 2020-07-26
夜雨倚琴 2020-04-19
sweetgirl0 2019-12-07
Caleb0 2019-11-26
分享助人自助 2020-10-09
GeorgeTH 2020-07-26
haocaicai 2020-07-18
ljlxyf 2020-06-14
85407718 2020-06-10
shenzhenzsw 2020-06-03
qiaosym 2020-05-28
houjinkai 2020-05-19
colin00 2020-05-17
heniancheng 2020-05-17
xh0xs 2020-03-16