HWアドレスが不完全です。

HWアドレスが不完全です。

Ubuntu 16.04の新しいデスクトップからインターネットに接続できません。

jh@jh-System-Product-Name:~$ mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not permitted
SIOCGMIIPHY on 'eth1' failed: Operation not permitted
SIOCGMIIPHY on 'eth2' failed: Operation not permitted
SIOCGMIIPHY on 'eth3' failed: Operation not permitted
SIOCGMIIPHY on 'eth4' failed: Operation not permitted
SIOCGMIIPHY on 'eth5' failed: Operation not permitted
SIOCGMIIPHY on 'eth6' failed: Operation not permitted
SIOCGMIIPHY on 'eth7' failed: Operation not permitted
no MII interfaces found

どういう意味ですか?

ドライバとルーティングテーブルを確認しました

route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.129.32.1     0.0.0.0         UG    0      0        0 enp3s0
10.129.32.0     0.0.0.0         255.255.224.0   U     0      0        0 enp3s0
169.254.0.0     0.0.0.0         255.255.0.0     U     1000   0        0 enp3s0

jh@jh-System-Product-Name:~$ lspci -nnk | grep -i Net
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
    Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:8677]

jh@jh-System-Product-Name:~$ lsmod | grep r8169
r8169                  81920  0
mii                    16384  1 r8169

ザイルズのアドバイスに従ってください

sudo mii-tool
[sudo] password for milenko: 
no MII interfaces found

それはどういう意味ですか? ethtoolを使ってこれを得ました。

    sudo ethtool enp3s0
Settings for enp3s0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
                                         1000baseT/Half 1000baseT/Full 
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Speed: 1000Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

最後に、pingをしてもゲートウェイに接続できません。

ping 10.129.32.1
PING 10.129.32.1 (10.129.32.1) 56(84) bytes of data.
From 10.129.45.123 icmp_seq=9 Destination Host Unreachable
From 10.129.45.123 icmp_seq=10 Destination Host Unreachable

どちらの IP ネイバーも arp -a が応答しませんでした。

arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
10.129.32.1                      (incomplete)

What should I do now?

ベストアンサー1

現状のまま手動:

SIOCGMIIPHYが 'eth?'で失敗しました。操作は許可されていません。
    ほとんどのカーネルはルートへのアクセスを制限します。

mii-toolたとえばsudo mii-tool

一般に、「操作が許可されていません」は権限の問題を表し、ファイル権限とは何の関係もありません。通常、これはroot権限が必要であることを意味します。

おすすめ記事