eth0 - это нерабочая built-in сетевуха.
в /etc/network/interfaces eth1 был прописан как статический.. теперь
получилось вот так:
[EMAIL PROTECTED]:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
[EMAIL PROTECTED]:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0A:CD:03:F9:95
inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20a:cdff:fe03:f995/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:312 errors:0 dropped:0 overruns:0 frame:0
TX packets:31 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:60066 (58.6 KiB) TX bytes:2682 (2.6 KiB)
Interrupt:11 Base address:0x4e00
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:16436 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)
[EMAIL PROTECTED]:/home/jinn# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2008ms
[EMAIL PROTECTED]:~# cat /etc/network/interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto eth2
iface eth2 inet dhcp
auto ath0
iface ath0 inet dhcp
auto wlan0
iface wlan0 inet dhcp
On 5/6/07, Andrey Teleshov <[EMAIL PROTECTED]> wrote:
On Sat, 5 May 2007 18:18:24 +0000
jinn <[EMAIL PROTECTED]> wrote:
> создалось впечатление, что он надо мной издевается.:)
> сетка поднялась, апгрейд прошел удачно..
> а теперь она упала вновь :\
> iptables пустые, и route -n не дает ничего; когда сеть была - было так:
> Destination Gateway Genmask Flags Metric Ref Use
> Iface
> 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0
eth1
> --
> ifconfig:
>
> eth1 Link encap:Ethernet HWaddr 00:0A:CD:03:F9:95
> inet6 addr: fe80::20a:cdff:fe03:f995/64 Scope:Link
^^^^^^^^^^^^ вот здесь вот у вас отсутствует "inet addr".
Поэтому и не работает :(
Надо смотреть в /etc/network/interfaces, ошибка там.
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:56 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:7064 (6.8 KiB) TX bytes:936 (936.0 b)
> Interrupt:11 Base address:0x4e00
>
> 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:16436 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)
Кстати: а почему оно eth1? А eth0 где?
--
Андрей Телешов
--
ubuntu-ru mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru
--
sincerely yours,
jinn
--
ubuntu-ru mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-ru