Problemas com as configurações de rede no Linux Mint 19.1 Tessa

1. Problemas com as configurações de rede no Linux Mint 19.1 Tessa

Clóvis Batista dos Santos
Beaves_BSB

(usa Linux Mint)

Enviado em 23/04/2019 - 15:28h

Olá Pessoal!
Estou com um problema com a configuração de rede em minha máquina. Eu uso Linux Mint 19.1, após baixar o programa da Receita Federal para imposto de renda, minha rede foi desconfigurada. Eu refiz a configuração e ela voltou a funcionar, mas quando reinicio a máquina ela conecta à rede mas não navega.
Segue abaixo os arquivos interfaces, resolv.conf e grub:

INTERFACES:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp

RESOLV.CONF:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run "systemd-resolve --status" to see details about the actual nameservers.

# DNS 1
nameserver 8.8.8.8
# DNS 2
nameserver 8.8.4.4

GRUB:
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

Depois que fiz as alterações no interfaces e no resolv.conf, usei o comando:
sudo /etc/init.d/networking restart

Usando o ifconfig -a tem o seguinte:
clovis@Clovis-HP:~$ ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether ec:9a:74:c8:87:bb txqueuelen 1000 (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

eth0:avahi: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 169.254.10.158 netmask 255.255.0.0 broadcast 169.254.255.255
ether ec:9a:74:c8:87:bb txqueuelen 1000 (Ethernet)

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 7856 bytes 659916 (659.9 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 7856 bytes 659916 (659.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.14 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::c23b:7067:d547:a8a5 prefixlen 64 scopeid 0x20<link>
ether 40:2c:f4:37:14:c8 txqueuelen 1000 (Ethernet)
RX packets 32546 bytes 25082699 (25.0 MB)
RX errors 0 dropped 0 overruns 0 frame 128725
TX packets 27181 bytes 4648552 (4.6 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 17

E usando o route eu obtenho:

clovis@Clovis-HP:~$ route
Tabela de Roteamento IP do Kernel
Destino Roteador MáscaraGen. Opções Métrica Ref Uso Iface
default _gateway 0.0.0.0 UG 0 0 0 wlan0
default _gateway 0.0.0.0 UG 600 0 0 wlan0
default 0.0.0.0 0.0.0.0 U 1002 0 0 eth0
link-local 0.0.0.0 255.255.0.0 U 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0


Se alguém poder me ajudar, serei grato!




  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts