首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >nmcli连接验证失败

nmcli连接验证失败
EN

Ask Ubuntu用户
提问于 2018-12-07 13:31:21
回答 1查看 1.6K关注 0票数 1

我将粘贴我试图运行的命令序列,以便根据答案NetworkManager配置桌面Ubuntu18.04 在这个问题上。当我执行步骤在答案中时,我的结果是“错误:连接验证失败”。

nmcli connection show --active

代码语言:javascript
运行
复制
NAME          UUID                                  TYPE  DEVICE
LINKSYS99999  ...                                   wifi  wlp4s0

nmcli connection edit

代码语言:javascript
运行
复制
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

输入连接类型: wifi

代码语言:javascript
运行
复制
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:属性丢失,错误不能自动修复。

怎么回事,我该怎么解决呢?我需要根据这个指南发布我所有的无线细节吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-12-07 15:05:23

您必须指定一个连接ID或名称来更改现有的连接脚本,或者在创建一个新的连接脚本时添加SSID信息.

man nmcli

代码语言:javascript
运行
复制
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安装,那么使用网络管理器图形用户界面设置这些设置就更容易了。

票数 3
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1099174

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档