tente
sudo ifconfig eth0 mtu 1450
sudo ifconfig wlan0 mtu 1450
Eu tenho uma máquina de inicialização dupla. A internet está perfeitamente bem quando uso o Windows; Eu posso acessar todos os sites normalmente.
No entanto, quando mudo para o Ubuntu, não consigo mais acessar o Facebook, Twitter, YouTube, etc.
O que está acontecendo? O que devo fazer para corrigir isso?
Editar:
Meu DNS: 8.8.8.8, 8.8.4.4
De ifconfig
eth0 Link encap:Ethernet HWaddr 50:46:5d:3f:f5:09
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:2515 errors:0 dropped:0 overruns:0 frame:0
TX packets:2515 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:202999 (202.9 KB) TX bytes:202999 (202.9 KB)
wlan0 Link encap:Ethernet HWaddr dc:85:de:a4:e4:7d
inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::de85:deff:fea4:e47d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11092 errors:0 dropped:0 overruns:0 frame:0
TX packets:9984 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7149295 (7.1 MB) TX bytes:1679041 (1.6 MB)
De ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 50:46:5d:3f:f5:09 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether dc:85:de:a4:e4:7d brd ff:ff:ff:ff:ff:ff
inet 192.168.0.102/24 brd 192.168.0.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::de85:deff:fea4:e47d/64 scope link
valid_lft forever preferred_lft forever
Eu posso pingar www.google.com
(0% perdido), mas quando eu tentei pingar www.youtube.com
, apenas o carregamento para sempre aconteceu aqui:
PING www.youtube.com (46.82.174.68) 56(84) bytes of data.
Quando eu corro nm-tool | tail -n 8
:
IPv4 Settings:
Address: 192.168.0.102
Prefix: 24 (255.255.255.0)
Gateway: 192.168.0.1
DNS: 192.168.0.1
Por favor me ajude.
tente
sudo ifconfig eth0 mtu 1450
sudo ifconfig wlan0 mtu 1450