Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

1. Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

Vaneide
Van07

(usa Linux Mint)

Enviado em 28/10/2020 - 17:05h

Estou com um problema que percebi quando precisei usar internet via cabo, percebi que mesmo estando com o cabo conectado e funcionando, o sistema não reconhece.

Nas opções de rede não exibe a opção “Com fio”.
Já testei no Windows e está funcionando normal, a dificuldade é só no Linux Mint.

ifconfig
enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::d681:d7ff:fe95:658c prefixlen 64 scopeid 0x20<link>
ether d4:81:d7:95:65:8c txqueuelen 1000 (Ethernet)
RX packets 487 bytes 37377 (37.3 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 84 bytes 6973 (6.9 KB)
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 1000 (Loopback Local)
RX packets 1374 bytes 120590 (120.5 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1374 bytes 120590 (120.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.4.107 netmask 255.255.255.0 broadcast 192.168.4.255
inet6 fe80::a0fc:514d:6eeb:cfd9 prefixlen 64 scopeid 0x20<link>
ether 28:56:5a:1e:06:e9 txqueuelen 1000 (Ethernet)
RX packets 45782 bytes 54222914 (54.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28833 bytes 5597348 (5.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[email protected]:~$ lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Broadwell-U Host Bridge -OPI [8086:1604] (rev 09)
Subsystem: Dell Broadwell-U Host Bridge -OPI [1028:06ae]
Kernel driver in use: bdw_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 5500 [8086:1616] (rev 09)
Subsystem: Dell HD Graphics 5500 [1028:06ae]
Kernel driver in use: i915
Kernel modules: i915
00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
Subsystem: Dell Broadwell-U Audio Controller [1028:06ae]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:14.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB xHCI Controller [8086:9cb1] (rev 03)
Subsystem: Dell Wildcat Point-LP USB xHCI Controller [1028:06ae]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Wildcat Point-LP MEI Controller #1 [8086:9cba] (rev 03)
Subsystem: Dell Wildcat Point-LP MEI Controller [1028:06ae]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
Subsystem: Dell Wildcat Point-LP High Definition Audio Controller [1028:06ae]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1c.0 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 [8086:9c90] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #3 [8086:9c94] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 [8086:9c96] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 [8086:9c98] (rev e3)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation Wildcat Point-LP USB EHCI Controller [8086:9ca6] (rev 03)
Subsystem: Dell Wildcat Point-LP USB EHCI Controller [1028:06ae]
Kernel driver in use: ehci-pci
00:1f.0 ISA bridge [0601]: Intel Corporation Wildcat Point-LP LPC Controller [8086:9cc5] (rev 03)
Subsystem: Dell Wildcat Point-LP LPC Controller [1028:06ae]
Kernel driver in use: lpc_ich
Kernel modules: lpc_ich
00:1f.2 SATA controller [0106]: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] [8086:9c83] (rev 03)
Subsystem: Dell Wildcat Point-LP SATA Controller [AHCI Mode] [1028:06ae]
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Wildcat Point-LP SMBus Controller [8086:9ca2] (rev 03)
Subsystem: Dell Wildcat Point-LP SMBus Controller [1028:06ae]
Kernel modules: i2c_i801
06:00.0 Network controller [0280]: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter [168c:0036] (rev 01)
Subsystem: Dell QCA9565 / AR9565 Wireless Network Adapter [1028:020e]
Kernel driver in use: ath9k
Kernel modules: ath9k
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller [10ec:8136] (rev 07)
Subsystem: Dell RTL810xE PCI Express Fast Ethernet controller [1028:06ae]
Kernel driver in use: r8169
Kernel modules: r8169
[email protected]:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto dsl-provider
iface dsl-provider inet ppp
pre-up /bin/ip link set enp7s0 up # line maintained by pppoeconf
provider dsl-provider

auto enp7s0
iface enp7s0 inet manual
[email protected]:~$



  


2. Re: Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 28/10/2020 - 19:12h

Tente desconectar do wifi e conectar via cabo. Se conseguir rode ip r && ifconfig -a
Se não conseguir rode ip r && dhclient -v enp7s0
Depois faça dmesg | grep enp7s0
Copie a saída dos comandos


3. Re: Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

Vaneide
Van07

(usa Linux Mint)

Enviado em 29/10/2020 - 14:52h

~$ ip r && ifconfig -a
enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::d681:d7ff:fe95:658c prefixlen 64 scopeid 0x20<link>
ether d4:81:d7:95:65:8c txqueuelen 1000 (Ethernet)
RX packets 114 bytes 6840 (6.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19 bytes 2528 (2.5 KB)
TX errors 2 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 1000 (Loopback Local)
RX packets 5211 bytes 585037 (585.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5211 bytes 585037 (585.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp6s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 28:56:5a:1e:06:e9 txqueuelen 1000 (Ethernet)
RX packets 934221 bytes 622302529 (622.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 795095 bytes 180293097 (180.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

OBS.: Desativei o Wi-Fi, mas mesmo com cabo conectado o sistema não reconhece...

~$ ip r && dhclient -v enp7s0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp/dhclient.leases: Permission denied
RTNETLINK answers: Operation not permitted
Open a socket for LPF: Operation not permitted

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..

exiting.



4. Re: Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

leandro peçanha scardua
leandropscardua

(usa Ubuntu)

Enviado em 29/10/2020 - 20:10h

Van07 escreveu:

~$ ip r && ifconfig -a
enp7s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::d681:d7ff:fe95:658c prefixlen 64 scopeid 0x20<link>
ether d4:81:d7:95:65:8c txqueuelen 1000 (Ethernet)
RX packets 114 bytes 6840 (6.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 19 bytes 2528 (2.5 KB)
TX errors 2 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 1000 (Loopback Local)
RX packets 5211 bytes 585037 (585.0 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5211 bytes 585037 (585.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlp6s0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 28:56:5a:1e:06:e9 txqueuelen 1000 (Ethernet)
RX packets 934221 bytes 622302529 (622.3 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 795095 bytes 180293097 (180.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

OBS.: Desativei o Wi-Fi, mas mesmo com cabo conectado o sistema não reconhece...

~$ ip r && dhclient -v enp7s0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit www.isc.org/software/dhcp/">https://www.isc.org/software/dhcp/

can't create /var/lib/dhcp/dhclient.leases: Permission denied
RTNETLINK answers: Operation not permitted
Open a socket for LPF: Operation not permitted

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug. These pages explain the proper
process and the information we find helpful for debugging..

exiting.

O dhclient precisava de root p ser rodado , mas parece q nem conexao ao gateway vc tem. Tente levantar a interface
sudo ifconfig -v enp7s0 up
se der certo rode
ip r && sudo dhclient -v enp7s0
Se tiver ethtool rode ethtool enp7s0 (não lembro se precisa de root)


5. Re: Problema de rede no Linux Mint 19.1 Cinnamon (Conexão com fio)

Ricardo Groetaers
ricardogroetaers

(usa Linux Mint)

Enviado em 30/10/2020 - 04:07h

Van07 escreveu: .... estando com o cabo conectado e funcionando, o sistema não reconhece. ....

- ícone de rede no painel (Barra de Tarefas):
-> existe conexão cabeada? Se não existir, crie.
-> Editar conexões (poste figura), ex: