[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Не работает сеть (forcedeth) в ядре 2.6.30. Баг драйвера?



7 августа 2009 г. 16:13 пользователь Andrey Tataranovich <tataranovich@gmail.com> написал:
13:50 Fri 07 Aug    , Oleg A. Anisimov wrote:
> Линк есть. mii-tool говорит следующее (девайс eth2)
>
> yoda:/home/yoda# mii-tool
> eth0: negotiated 100baseTx-FD, link ok
> eth1: no link
> SIOCGMIIPHY on 'eth2' failed: Operation not supported
Для тех, у кого не работает mii-tool есть более всеядный ethtool
Покажи ethtool eth2 и ifconfig eth2

> tcpdump у меня работает ненормально на всех сетевых, впрочем
> как и nmap.
В чем выражается ненормальность?


--
To UNSUBSCRIBE, email to debian-russian-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

При отключенном кабеле:

yoda:/home/yoda# ethtool eth2
Settings for eth2:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: no

При подключенном кабеле:

yoda:/home/yoda# ethtool eth2
Settings for eth2:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full
                                100baseT/Half 100baseT/Full
        Advertised auto-negotiation: Yes
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: d
        Link detected: yes

С tcpdump-ом вот такая беда:

yoda:/home/yoda# tcpdump -i eth0
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
tcpdump: pcap_loop: corrupted frame on kernel ring mac offset 94 + caplen 1514 > frame len 160
0 packets captured
15 packets received by filter
0 packets dropped by kernel

А nmap на вполне себе пингуемый комп с открытыми портами говорит:

yoda:/home/yoda# nmap 192.168.10.15

Starting Nmap 4.68 ( http://nmap.org ) at 2009-08-10 11:29 MSD
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 3.978 seconds

Хотя с другой машины:

www:~# nmap 192.168.10.15

Starting Nmap 4.68 ( http://nmap.org ) at 2009-08-10 11:30 MSD
All 1715 scanned ports on 192.168.10.15 are filtered
MAC Address: 00:14:85:3A:80:0D (Giga-Byte)

Nmap done: 1 IP address (1 host up) scanned in 37.254 seconds

С наилучшими пожеланиями,
Олег Анисимов AKA Yoda

Reply to: