我将粘贴我试图运行的命令序列,以便根据答案NetworkManager配置桌面Ubuntu18.04 在这个问题上。当我执行步骤在答案中时,我的结果是“错误:连接验证失败”。
nmcli connection show --active
NAME UUID TYPE DEVICE
LINKSYS99999 ... wifi wlp4s0
nmcli connection edit
Valid connection types: adsl, bluetooth, bond, bridge, cdma, dummy, generic, gsm, infiniband, ip-tunnel, macsec, macvlan, 802-11-olpc-mesh (olpc-mesh), ovs-bridge, ovs-interface, ovs-port, pppoe, team, tun, vlan, vpn, vxlan, wimax, 802-3-ethernet (ethernet), 802-11-wireless (wifi), bond-slave, bridge-slave, team-slave
nmcli> remove ipv4.dns
nmcli> set ipv4.ignore-auto-dns yes
nmcli> set ipv4.dns 8.8.8.8 8.8.4.4
nmcli> save
错误:连接验证失败: 802-11-wireless.ssid:属性丢失您可以尝试运行“验证修复”来修复错误。
nmcli> verify fix
验证连接: 802-11-wireless.ssid:属性丢失,错误不能自动修复。
怎么回事,我该怎么解决呢?我需要根据这个指南发布我所有的无线细节吗?
发布于 2018-12-07 15:05:23
您必须指定一个连接ID或名称来更改现有的连接脚本,或者在创建一个新的连接脚本时添加SSID信息.
edit {[id | uuid | path] ID | [type type] [con-name name] }
Edit an existing connection or add a new one, using an interactive
editor.
The existing connection is identified by its name, UUID or D-Bus
path. If ID is ambiguous, a keyword id, uuid, or path can be used.
See connection show above for the description of the ID-specifying
keywords. Not providing an ID means that a new connection will be
added.
The interactive editor will guide you through the connection
editing and allow you to change connection parameters according to
your needs by means of a simple menu-driven interface. The editor
indicates what settings and properties can be modified and provides
in-line help.
Available options:
type
type of the new connection; valid types are the same as for
connection add command.
con-name
name for the new connection. It can be changed later in the
editor.
注意:如果这是Ubuntu安装,那么使用网络管理器图形用户界面设置这些设置就更容易了。
https://askubuntu.com/questions/1099174
复制相似问题