HWadress incompleto

0

Não consigo me conectar à internet no meu novo desktop com o 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

O que isso significa?

Eu verifiquei o driver e a tabela de roteamento

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

Seguindo o conselho de Gilles

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

Isso significa o que? Eu consegui isso com 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

E finalmente, ping, não, não consigo me conectar ao gateway.

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

Ambos vizinho do ip arp -a não deu resposta.

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

What should I do now?
    
por MikiBelavista 17.05.2017 / 06:55

1 resposta

2

Como diz o manual :

SIOCGMIIPHY on 'eth?' failed: Operation not permitted
    Most kernels restrict access to root.

Você precisa executar mii-tool como root, por exemplo, com sudo mii-tool .

Em geral, "operação não permitida" indica um problema de permissão que não está relacionado às permissões de arquivo. Muitas vezes isso significa que você precisa ser root.

    
por 18.05.2017 / 03:23

Tags