Estou usando o Redmi Note 5 pro com Android Nougat e Ubuntu 16.04 no meu PC. Não consigo acessar a Internet por meio de tethering via USB com meu telefone. Quando aberto em qualquer site através de qualquer navegador da web, ele mostra Connection Times out ou Secute cnnection Failed.
O terminal ifconfig
on fornece isso:
eno1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
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)
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:2562 errors:0 dropped:0 overruns:0 frame:0
TX packets:2562 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:222368 (222.3 KB) TX bytes:222368 (222.3 KB)
usb0 Link encap:Ethernet HWaddr 2e:04:cb:57:8a:2e
inet addr:192.168.42.236 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: 2402:8100:302c:4507:ad19:c532:45a9:946b/64 Scope:Global
inet6 addr: 2402:8100:302c:4507:8d38:6abb:5ba8:9158/64 Scope:Global
inet6 addr: 2402:8100:302c:4507:c41e:e46e:ba1d:3a07/64 Scope:Global
inet6 addr: fe80::e31a:5e69:10f4:c38e/64 Scope:Link
inet6 addr: 2402:8100:302c:4507:4130:5f32:40a6:2c68/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:980 errors:0 dropped:0 overruns:0 frame:0
TX packets:2547 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:149377 (149.3 KB) TX bytes:690582 (690.5 KB)
Eu tentei ifconfig usb0 up && dhclient usb0
, mas dá erro como
SIOCSIFFLAGS: Operation not permitted
A conexão com o hotspot Wi-Fi funciona, o tethering USB de outros telefones também funciona, mas não funciona com o meu telefone.
ifconfig
com outro telefone Android com o qual o tethering USB funcionou bem deu:
eno1 Link encap:Ethernet HWaddr XX:XX:XX:XX:XX:XX
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)
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:5428 errors:0 dropped:0 overruns:0 frame:0
TX packets:5428 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:474779 (474.7 KB) TX bytes:474779 (474.7 KB)
usb0 Link encap:Ethernet HWaddr 26:b6:82:09:78:46
inet addr:192.168.42.55 Bcast:192.168.42.255 Mask:255.255.255.0
inet6 addr: fe80::bd76:7871:d872:2595/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:686 errors:0 dropped:0 overruns:0 frame:0
TX packets:749 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:383756 (383.7 KB) TX bytes:129887 (129.8 KB)
Por favor, resolva o meu problema!