为了在 Arch 中设置自动无线连接,我netcfg
按照拱门维基。当我尝试时:
[root@geckko ~]# netcfg adsl
它给出了一个错误:
> Profile "adsl" does not exist
据我检查,该配置文件确实存在:
[root@geckko network.d]# ls
adsl examples hooks interfaces
我用谷歌搜索发现这个线程在 Arch 论坛中,但我很确定我没有犯该帖子作者所犯的同样错误。我该如何解决这个问题?
这是个人资料:
CONNECTION='wireless'
DESCRIPTION='A simple WPA encrypted wireless connection'
INTERFACE='wlan0'
SECURITY='wpa'
ESSID='essid'
KEY='secretkey'
IP='dhcp'
以及文件的权限:
Owner: root
Access: read and write
Group: root
Access: Read-only
Others: read-only
You are not the owner, so you cannot change these permissions.
答案1
尝试:
sudo netcfg adsl
因为所有者和组是root
.