Linux Mint e problema de conexão com fio

2

Eu instalei recentemente o Linux Mint 18.1 e sou muito novo nisso. Tudo está bem com wifi, mas não consigo acessar a internet via cabo ethernet. Quando tento me conectar, o Chromium diz que não há conexão com a Internet.

Saída de sudo ifconfig -a :

enp5s0    Link encap:Ethernet  HWaddr 1c:75:08:26:90:db  
      inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
      inet6 addr: fe80::1e75:8ff:fe26:90db/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:7381 errors:0 dropped:0 overruns:0 frame:0
      TX packets:7203 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:1278143 (1.2 MB)  TX bytes:789190 (789.1 KB)
      Interrupt:18 
lo        Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:2 errors:0 dropped:0 overruns:0 frame:0
      TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1 
      RX bytes:98 (98.0 B)  TX bytes:98 (98.0 B)
wlp4s0    Link encap:Ethernet  HWaddr 00:26:c6:da:7e:30  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

saída de iwconfig :

lo        no wireless extensions.

enp5s0    no wireless extensions.

wlp4s0    IEEE 802.11abgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off

Saída relevante de lspci :

04:00.0 Network controller: Intel Corporation WiFi Link 5100
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5764M Gigabit Ethernet PCIe (rev 10)

Eu tentei adicionar as seguintes linhas a /etc/network/interfaces :

auto enp5s0
iface enp5s0 inet dhcp

mas não funciona. Ainda não consigo me conectar à internet.

Saída de dmesg | tail -n 20 depois de conectar o cabo de rede:

[   41.903417] ACPI Warning: \_SB_.PCI0.PEGP.VGA_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[   41.903485] ACPI Warning: \_SB_.PCI0.PEGP.VGA_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[   41.903552] ACPI Warning: \_SB_.PCI0.PEGP.VGA_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[   41.904761] ACPI Warning: \_SB_.PCI0.PEGP.VGA_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150930/nsarguments-95)
[   42.023873] iwlwifi 0000:04:00.0: RF_KILL bit toggled to enable radio.
[   42.025694] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[   42.033148] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[   42.033265] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0
[   43.350521] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[   43.354652] iwlwifi 0000:04:00.0: L1 Enabled - LTR Disabled
[   43.354750] iwlwifi 0000:04:00.0: Radio type=0x1-0x2-0x0
[   43.395109] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[   43.489583] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready
[ 2299.040250] CE: hpet increased min_delta_ns to 20115 nsec
[ 4705.704005] tg3 0000:05:00.0 enp5s0: Link is down
[ 4713.523072] tg3 0000:05:00.0 enp5s0: Link is up at 1000 Mbps, full duplex
[ 4713.523093] tg3 0000:05:00.0 enp5s0: Flow control is off for TX and off for RX
[ 4779.820050] tg3 0000:05:00.0 enp5s0: Link is down
[ 4786.441835] tg3 0000:05:00.0 enp5s0: Link is up at 1000 Mbps, full duplex
[ 4786.441856] tg3 0000:05:00.0 enp5s0: Flow control is off for TX and off for RX

saída de ping -c2 8.8.8.8

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 1007ms

EDITAR

saída de sudo iptables -vL

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination 

MAIS UMA EDIÇÃO

saída de ipconfig no Windows (é língua russa, desculpe)

Настройка протокола IP для Windows

Адаптер PPP Internet:

   DNS-суффикс подключения . . . . . :
   IPv4-адрес. . . . . . . . . . . . : 192.168.57.121
   Маска подсети . . . . . . . . . . : 255.255.255.255
   Основной шлюз. . . . . . . . . : 0.0.0.0

Ethernet adapter Tunngle:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :

Ethernet adapter Подключение по локальной сети 2:

   DNS-суффикс подключения . . . . . :
   Локальный IPv6-адрес канала . . . : fe80::d5fe:d1a2:2e54:eeeb%16
   Автонастройка IPv4-адреса . . . . : 169.254.238.235
   Маска подсети . . . . . . . . . . : 255.255.0.0
   Основной шлюз. . . . . . . . . :

Адаптер беспроводной локальной сети Беспроводное сетевое соединение 2:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :

Туннельный адаптер isatap.{7B8FAF91-9786-4E2C-A66F-3387471FD72B}:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :

Туннельный адаптер isatap.{FD3701FE-07FF-4726-ACD9-38B926C34CF5}:

   Состояние среды. . . . . . . . : Среда передачи недоступна.
   DNS-суффикс подключения . . . . . :
    
por Mike Herasimov 03.05.2017 / 18:34

1 resposta

4

Acontece que você precisa executar o PPPoE para se conectar à Internet. A maneira mais fácil de fazer isso é executar pppoeconf e seguir os prompts.

Se, em vez disso, você quiser configurá-lo manualmente, seria algo assim (tirado de uma configuração de trabalho que tenho):


/ etc / network / interfaces

auto enp5s0-ppp
iface enp5s0-ppp inet ppp
        pre-up ip link set enp5s0 up mtu 1508 # if your ISP supports
        provider your-isp


/ etc / ppp / pap-secrets

Obviamente, use seu nome de usuário e senha fornecidos pelo provedor em vez dos espaços reservados aqui. O * especifica para qual controle remoto isso se aplica, e é mais fácil usar * se você tiver apenas um controle remoto.

"your-username" * "your-password"


/ etc / ppp / peers / seu-isp

Observe que este é um pouco diferente do meu arquivo - minha configuração tem endereços IP estáticos, portanto, há uma local-ip: line em vez de noipdefault .

noipdefault
noauth
persist
maxfail 0

mtu 1500
mru 1500

noktune
defaultroute

ifname enp5s0-ppp

noaccomp 
default-asyncmap

plugin rp-pppoe.so enp5s0
user "your-username"
    
por 03.05.2017 / 22:57