Вынужден пользоваться ноутом ASUS X58C с интегрированной сетевухой Silicon Integrated Systems 191 Gigabit Ethernet Adapter. Модуль с драйвером загружен, интерфейс поднимается, но пинги не идут, кроме как на свой IP.
Пробовал под ядром 2.6.26-1-686 из Lenny и свежесобранным 2.6.29.4 - разницы нет. Под виндой же работает нормально.
Подключение - обычный NAT, только MAC приходится прописывать той сетевухи, которой раньше пользовался, т.к. проверка IP по MAC.
Пробовал, как где-то советовали, прописать размер MTU меньше 1500, конкретно 1400 - не помогает.
$ cat /etc/network/interfaces
Код:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 172.16.116.247
netmask 255.255.254.0
gateway 172.16.116.1
hwaddress ether 00:30:4f:51:89:2c
mtu 1400
$ /sbin/ifconfig
Код:
eth0 Link encap:Ethernet HWaddr 00:30:4f:51:89:2c
inet addr:172.16.116.247 Bcast:172.16.117.255 Mask:255.255.254.0
inet6 addr: fe80::230:4fff:fe51:892c/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1400 Metric:1
RX packets:7871 errors:0 dropped:0 overruns:0 frame:0
TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:503080 (491.2 KiB) TX bytes:1684 (1.6 KiB)
Interrupt:19 Base address:0xdead
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:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:280 (280.0 B) TX bytes:280 (280.0 B)
$ /sbin/route -n
Код:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.116.0 0.0.0.0 255.255.254.0 U 0 0 0 eth0
0.0.0.0 172.16.116.1 0.0.0.0 UG 0 0 0 eth0
$ dmesg | grep eth
Код:
[ 3.023713] Driver 'sd' needs updating - please use bus_type methods
[ 3.024423] sda:<4>Driver 'sr' needs updating - please use bus_type methods
[ 7.480391] eth0: GMII mode.
[ 7.480438] eth0: Enabling Auto-negotiation.
[ 31.516841] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 40.956009] eth0: mii ext = 0000.
[ 40.972009] eth0: mii lpa = 45e1 adv = 01e1.
[ 40.972059] eth0: link on 100 Mbps Full Duplex mode.
[ 40.972360] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 41.076007] eth0: mii ext = 0000.
[ 41.092008] eth0: mii lpa = 45e1 adv = 01e1.
[ 41.092054] eth0: link on 100 Mbps Full Duplex mode.
[ 51.616013] eth0: no IPv6 routers present
$ lspci
Код:
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 IDE interface: Silicon Integrated Systems [SiS] SATA Controller / IDE mode (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0d.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b4)
00:0d.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 18)
00:0d.2 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host Adapter (rev 09)
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 771/671 PCIE VGA Display Adapter (rev 10)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
$ sudo /usr/sbin/mii-diag -v
Код:
Using the default interface 'eth0'.
mii-diag.c:v2.11 3/21/2005 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
Using the new SIOCGMIIPHY value on PHY 1 (BMCR 0x3100).
The autonegotiated capability is 01e0.
The autonegotiated media type is 100baseTx-FD.
Basic mode control register 0x3100: Auto-negotiation enabled.
You have link beat, and everything is working OK.
This transceiver is capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Able to perform Auto-negotiation, negotiation complete.
Your link partner advertised 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT, w/ 802.3X flow control.
End of basic transceiver information.
libmii.c:v2.11 2/28/2005 Donald Becker (becker@scyld.com)
http://www.scyld.com/diag/index.html
MII PHY #1 transceiver registers:
3100 786d 0000 8201 01e1 45e1 0001 0000
0000 0000 0000 0000 0000 0000 0000 0000
000c 01c0 0000 0000 0000 0000 0000 0000
0000 00f9 0000 0000 0000 0000 0000 0000.
Basic mode control register 0x3100: Auto-negotiation enabled.
Basic mode status register 0x786d ... 786d.
Link status: established.
Capable of 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Able to perform Auto-negotiation, negotiation complete.
Vendor ID is 00:00:20:--:--:--, model 32 rev. 1.
No specific information is known about this transceiver type.
I'm advertising 01e1: 100baseTx-FD 100baseTx 10baseT-FD 10baseT
Advertising no additional info pages.
IEEE 802.3 CSMA/CD protocol.
Link partner capability is 45e1: Flow-control 100baseTx-FD 100baseTx 10baseT-FD 10baseT.
Negotiation completed.