docker-engine安装使得无法检测到wifi


14

我正在重新安装16.10,并尝试在其上安装Docker。我添加了PPA,更新了apt,并启动了:

sudo apt install docker-engine

它完美地工作。

现在,当我重新启动时,未检测到我的Wifi!似乎docker interface与我现有的网络接口存在冲突。它甚至从ifconfig中将其删除。

编辑:这是之前/之后输出的一些命令:

$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

(之前和之后相同)

$ ifconfig -a

之前:

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Boucle locale)
        RX packets 62183  bytes 3862625 (3.8 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 62183  bytes 3862625 (3.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp58s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.18  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 fe80::46f0:8dad:aded:afbf  prefixlen 64  scopeid 0x20<link>
            ether 9c:b6:d0:d4:83:ab  txqueuelen 1000  (Ethernet)
            RX packets 74434  bytes 83729393 (83.7 MB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 56425  bytes 9260378 (9.2 MB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

后:

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        ether 02:42:48:c6:4c:bb  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Boucle locale)
        RX packets 3059  bytes 199733 (199.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3059  bytes 199733 (199.7 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lspci -nnk | grep -A2 Network

之前:

3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

后:

3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32)
    Subsystem: Bigfoot Networks, Inc. QCA6174 802.11ac Wireless Network Adapter [1a56:1535]
    Kernel modules: ath10k_pci
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01)

ip a

之前:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: wlp58s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 9c:b6:d0:d4:83:ab brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.18/24 brd 192.168.0.255 scope global dynamic wlp58s0
       valid_lft 863729sec preferred_lft 863729sec
    inet6 fe80::46f0:8dad:aded:afbf/64 scope link 
       valid_lft forever preferred_lft forever

后:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default 
    link/ether 02:42:48:c6:4c:bb brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever

ifconfig -a (仅在安装docker-engine之后,在重新启动之前):

docker0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.17.0.1  netmask 255.255.0.0  broadcast 0.0.0.0
        ether 02:42:bc:88:15:f6  txqueuelen 0  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Boucle locale)
        RX packets 70992  bytes 4402758 (4.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 70992  bytes 4402758 (4.4 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp58s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.18  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::46f0:8dad:aded:afbf  prefixlen 64  scopeid 0x20<link>
        ether 9c:b6:d0:d4:83:ab  txqueuelen 1000  (Ethernet)
        RX packets 93928  bytes 110058973 (110.0 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 68156  bytes 10649275 (10.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

以下命令也不执行任何操作:

sudo systemctl restart network-manager

我在没有以太网连接,只有Wifi的笔记本电脑上工作。

在sources.list中添加的PPA是:

deb https://apt.dockerproject.org/repo ubuntu-xenial main

安装前后,您的/ etc / network / interfaces文件是什么样的?完整的'ifconfig -a'之前和之后报告什么?“ ip a”的输出返回什么?您的/ proc / cmdline是什么样的?任何可能改变接口处理方式的异常(例如net.ifnames或biosdevnames)

1
您能否编辑您的问题以包括terminal命令的输出lspci -nnk | grep -A2 Network?谢谢。
David Foerster

也许有点题外话,但是,您添加了哪个ppa?官方docker repos 默认不支持16.10 ...
dgonzalez

我添加了命令的输出。我仍然不知道发生了什么... @dgonzalez:您认为这与我添加的PPA有关吗?
frinux

我不确定(我什至认为它应该可以正常运行),但是此存储库不支持16.10,仅支持16.04。我在笔记本电脑和家庭服务器上使用docker(来自主存储库)没有问题,如果有特殊要求,我建议避免使用ppa的execpt,这样您就可以从Canonical团队的工作中受益。
dgonzalez

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.