mbrett73
(usa Linux Mint)
Enviado em 22/09/2020 - 11:49h
leandropscardua escreveu:
Acho q vc tem q configurar a rota padrão para o gateway c o ip da rede wifi. Assim:
route add default gw 192.168.254.1
Vc vai descobrir o ip para o gateway wifi digitando ifconfig no terminal. Espero q seja isso.
Oi Leandro....fiz o que vc falou mas não deu certo...toda vez que aciona a placa de rede (eth0) eu fico sem internet mesmo conectato no Wifi que está funcionando normalmente.... to travado :( Abaixo como as redes estão configuradas....a Wifi está com IP fixo.
root@zeus-Precision-T3610:/home/zeus# ifconfig
enp0s25: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.106 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::903e:50f9:cb8d:cf79 prefixlen 64 scopeid 0x20<link>
ether 18:a9:9b:fe:78:14 txqueuelen 1000 (Ethernet)
RX packets 36021 bytes 10850632 (10.8 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 18682 bytes 1771936 (1.7 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 20 memory 0xfb300000-fb320000
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 38265 bytes 4011349 (4.0 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 38265 bytes 4011349 (4.0 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlp6s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.107 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::d07f:b5c6:8a1f:ae5 prefixlen 64 scopeid 0x20<link>
ether 1c:bd:b9:e0:19:43 txqueuelen 1000 (Ethernet)
RX packets 2169759 bytes 2513631813 (2.5 GB)
RX errors 0 dropped 24 overruns 0 frame 0
TX packets 1248930 bytes 537460018 (537.4 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0