Доброго времени суток, дорогие форумчане!
Система Ubuntu 13.10 (установлена из Minimal CD Ubuntu 13.04 без Network Managerа , XFCE, потом обновлена до 13.10).Static IP.
При смене провайдера перестал работать интернет. На другом ноутбуке с Linux Mint 14 с Network Managerом всё работает без проблем.
2-й день не могу исправить.Помогите,пожалуйста.
/etc/resolv.confcat /etc/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
nameserver 95.158.0.1
nameserver 95.158.0.253
/etc/network/interfaces:cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address 10.18.37.34
netmask 255.255.255.0
gateway 10.18.37.1
dns-nameservers 95.158.0.1 95.158.0.253
Пробовал и без строчки
dns-nameservers 95.158.0.1 95.158.0.253
Вывод команд:
ping ya.ru
ping: unknown host ya.ru
--------------------------------------
ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 0 received, 100% packet loss, time 9070ms
--------------------------------------
ifconfig
eth0 Link encap:Ethernet HWaddr 00:1e:33:d8:c1:99
inet addr:10.18.37.34 Bcast:10.18.37.255 Mask:255.255.255.0
inet6 addr: fe80::21e:33ff:fed8:c199/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:150 errors:0 dropped:0 overruns:0 frame:0
TX packets:845 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9366 (9.3 KB) TX bytes:77554 (77.5 KB)
lo Link encap:Локальная петля (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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
----------------------------------------------------------
ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:1e:33:d8:c1:99
inet addr:10.18.37.34 Bcast:10.18.37.255 Mask:255.255.255.0
inet6 addr: fe80::21e:33ff:fed8:c199/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:156 errors:0 dropped:0 overruns:0 frame:0
TX packets:847 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9726 (9.7 KB) TX bytes:77684 (77.6 KB)
lo Link encap:Локальная петля (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:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:22:5f:dc:91:0f
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)
--------------------------------------------------------------
route -n
Таблица маршутизации ядра протокола IP
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.18.37.1 0.0.0.0 UG 0 0 0 eth0
10.18.37.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
----------------------------------------------------------------------------------
ip route show table all
default via 10.18.37.1 dev eth0
10.18.37.0/24 dev eth0 proto kernel scope link src 10.18.37.34
broadcast 10.18.37.0 dev eth0 table local proto kernel scope link src 10.18.37.34
local 10.18.37.34 dev eth0 table local proto kernel scope host src 10.18.37.34
broadcast 10.18.37.255 dev eth0 table local proto kernel scope link src 10.18.37.34
broadcast 127.0.0.0 dev lo table local proto kernel scope link src 127.0.0.1
local 127.0.0.0/8 dev lo table local proto kernel scope host src 127.0.0.1
local 127.0.0.1 dev lo table local proto kernel scope host src 127.0.0.1
broadcast 127.255.255.255 dev lo table local proto kernel scope link src 127.0.0.1
fe80::/64 dev eth0 proto kernel metric 256
unreachable default dev lo table unspec proto kernel metric 4294967295 error -101
local ::1 dev lo table local proto none metric 0
local fe80::21e:33ff:fed8:c199 dev lo table local proto none metric 0
ff00::/8 dev eth0 table local metric 256
unreachable default dev lo table unspec proto kernel metric 4294967295 error -101
------------------------------------------------------------------------------------------
nslookup ya.ru
;; connection timed out; no servers could be reached
-------------------------------------------------------------------------------------------
nslookup ya.ru 8.8.8.8
;; connection timed out; no servers could be reached
-------------------------------------------------------------------------------------------
sudo iptables-save
# пусто (ничего нет)
-------------------------------------------------------------------------------------------
tracepath -n 8.8.8.8
1: 10.18.37.34 0.097ms pmtu 1500
1: no reply
2: no reply
3: no reply
4: no reply
5: no reply
6: no reply
7: no reply