Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества? Помогите нам с документацией!
0 Пользователей и 1 Гость просматривают эту тему.
ping ya.ru
ping 87.250.250.3
https://forum.ubuntu.ru/index.php?topic=48583.0 (п. 2.4)
Может у прова ДНС накрылся? Попробуйте пропинговать по имениКод: [Выделить]ping ya.ruА, потом по айпи:Код: [Выделить]ping 87.250.250.3Если по имени не пингует, а по айпи пингует, тогда пропишите себе гугловский ДНС 8.8.8.8 и все этим решиться, ну это навскидку на то, что вы привели в посте.
cat /etc/resolv.conf
nslookup ya.ru
# Generated by NetworkManagernameserver 192.168.11.1
ping ya.ruping: unknown host ya.ru
ping 87.250.250.3PING 87.250.250.3 (87.250.250.3) 56(84) bytes of data.64 bytes from 87.250.250.3: icmp_req=1 ttl=57 time=41.0 ms64 bytes from 87.250.250.3: icmp_req=2 ttl=57 time=43.2 ms64 bytes from 87.250.250.3: icmp_req=3 ttl=57 time=41.9 ms64 bytes from 87.250.250.3: icmp_req=4 ttl=57 time=39.5 ms64 bytes from 87.250.250.3: icmp_req=5 ttl=57 time=40.6 ms64 bytes from 87.250.250.3: icmp_req=6 ttl=57 time=38.7 ms
nslookup ya.ru;; connection timed out; no servers could be reach
iptables -L -n
nslookup ya.ruping -c4 ya.ru
nslookup ya.ru 8.8.8.8
iptables -L -nFATAL: Error inserting ip_tables (/lib/modules/2.6.35-22-generic/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permittediptables v1.4.4: can't initialize iptables table `filter': Permission denied (you must be root)Perhaps iptables or your kernel needs to be upgraded.
sudo iptables -L -n[sudo] password for vinicom: Chain INPUT (policy ACCEPT)target prot opt source destination Chain FORWARD (policy ACCEPT)target prot opt source destination Chain OUTPUT (policy ACCEPT)target prot opt source destination
Server: 8.8.8.8Address: 8.8.8.8#53Non-authoritative answer:Name: ya.ruAddress: 87.250.250.3Name: ya.ruAddress: 87.250.251.3Name: ya.ruAddress: 93.158.134.3Name: ya.ruAddress: 213.180.204.3Name: ya.ruAddress: 77.88.21.3
ping -c4 ya.ruPING ya.ru (87.250.250.3) 56(84) bytes of data.64 bytes from www.yandex.ru (87.250.250.3): icmp_req=1 ttl=57 time=53.8 ms64 bytes from www.yandex.ru (87.250.250.3): icmp_req=2 ttl=57 time=46.0 ms64 bytes from www.yandex.ru (87.250.250.3): icmp_req=3 ttl=57 time=46.8 ms64 bytes from www.yandex.ru (87.250.250.3): icmp_req=4 ttl=57 time=43.2 ms--- ya.ru ping statistics ---4 packets transmitted, 4 received, 0% packet loss, time 3004msrtt min/avg/max/mdev = 43.201/47.500/53.877/3.926 ms
nslookup ya.ru 8.8.8.8Server: 8.8.8.8Address: 8.8.8.8#53Non-authoritative answer:Name: ya.ruAddress: 87.250.250.3Name: ya.ruAddress: 87.250.251.3Name: ya.ruAddress: 93.158.134.3Name: ya.ruAddress: 213.180.204.3Name: ya.ruAddress: 77.88.21.3
sudo echo "nameserver 8.8.8.8" > /etc/resolv.conf
Интернет работает, но команды sudo apt-get install нет. Не находятся пакеты установочные.
sudo apt-get update
Страница сгенерирована за 0.017 секунд. Запросов: 21.