我无法连接到 WiFi 网络。我尝试了各种方法(wpa_supplicant、wicd……)。目前我正在尝试netctl
。
当我输入命令时:systemctl --type=service
我看到以下错误:
netctl 启动无线家庭
Job for netctl@wireless\x2dhome.service failed. See 'systemctl status
netctl@wireless\x2dhome.service' and 'journalctl -xn' for details.
这是我的 netctl 配置文件:
Description='A simple WPA encrypted wireless connection'
Interface=wlan0
Connection=wireless
Security=wpa
IP=dhcp
ESSID='Pruthenia 3.OG'
Key='XXXXXXXXXX'
systemctl 状态 netctl@wireless\x2dhome.service
[email protected] - Networking for netctl profile wirelessx2dhome
Loaded: loaded (/usr/lib/systemd/system/[email protected]; static)
Active: inactive (dead) Docs: man:netctl.profile(5)
journalctl -xn 输出 -->
Dec 12 08:01:01 webcampi CROND[2765]: pam_unix(crond:session): session closed for user root
Dec 12 09:01:01 webcampi crond[3490]: pam_unix(crond:session): session opened for user root by (uid=0)
Dec 12 09:01:01 webcampi CROND[3491]: (root) CMD (run-parts /etc/cron.hourly)
Dec 12 09:01:01 webcampi CROND[3490]: pam_unix(crond:session): session closed for user root
Dec 12 10:01:01 webcampi crond[4216]: pam_unix(crond:session): session opened for user root by (uid=0)
Dec 12 10:01:01 webcampi CROND[4217]: (root) CMD (run-parts /etc/cron.hourly)
Dec 12 10:01:01 webcampi CROND[4216]: pam_unix(crond:session): session closed for user root
Dec 12 11:01:01 webcampi crond[4941]: pam_unix(crond:session): session opened for user root by (uid=0)
Dec 12 11:01:01 webcampi CROND[4942]: (root) CMD (run-parts /etc/cron.hourly)
Dec 12 11:01:01 webcampi CROND[4941]: pam_unix(crond:session): session closed for user root
我怎样才能解决这个问题?
答案1
我猜你的 essid 名称有问题,请尝试避免使用空格和点等特殊字符。
创建 netctl 配置文件时发生了一些事情,导致\x2d
其名称中出现问题。