Strona 2 z 3

: 08 lipca 2010, 08:35
autor: Pacek
A jakie masz te karty sieciowe w takim razie? Poza tym dlaczego nie wkleiłeś routingu:

Kod: Zaznacz cały

route -n
Poza tym gdybyś miał problem z sieciówką, to GG i Skype raczej też by Ci nie chodziły lub przerywały.
Czy Twój Lenny ma włączoną obsługę IPv6? Bardzo możliwe, że to jest przyczyną. A tu masz artykuł na ten temat: http://www.davidhurst.co.uk/2008/05/06/ ... or-lookup/
Jak pomoże, to napisz dla przyszłych pokoleń ;)

: 08 lipca 2010, 19:00
autor: coolturka
Więc po kolei:
- karty sieciowe to dual gigabit Intel 82576.

Kod: Zaznacz cały

 route -n

192.168.20.0      0.0.0.0                 255.255.255.240  U     0      0        0 eth1
XX.YY.12.0                0.0.0.0                 255.255.254.0         U     0      0        0 eth0
0.0.0.0               XX.YY. 12.1       0.0.0.0                                UG    0      0        0 eth0
Postąpiłem według powyższego artykułu i dalej nic.

Jedyne co mi przychodzi do głowy to to, że wersja Squeeze posiada nowsze jądro.

: 08 lipca 2010, 19:30
autor: Pacek
Możliwe, że coś w tym jest co mówisz. Wszedłem na stronę Intela i pobrałem sterownik Linuxowy do Twojej karty sieciowej: http://downloadcenter.intel.com/Detail_ ... 3&lang=eng
Po rozpakowaniu w pliku README zalecają używanie nowszego jądra od 2.6.21. Jakie masz jajko? Poczytaj w tym pliku, bo tam są wymienione znane problemy z tą kartą. Dla testu możesz zrobić jeszcze tak: włożyć dwie (lub jedną) kartę np. realteka (bo najbardziej chyba znana) i sprawdzić jak się zachowują Twoje reguły i routingi. Jeżeli na realteku chodzi wszystko OK to wtedy faktycznie trzeba myśleć nad nowym jądrem.

: 08 lipca 2010, 22:16
autor: fnmirk
coolturka, zajrzałeś do ,,Debian Reference''? To zajrzyj. Wepnij te karty sieciowe w odpowiednie gniazda na płycie głównej i zamknij komputer aby nie korciło Cię przekładanie lub wyjmowanie kart. Przedstaw wynik polecenia:

Kod: Zaznacz cały

lspci -k
I wynik polecenia (jako root):

Kod: Zaznacz cały

ifconfig -a

: 09 lipca 2010, 20:25
autor: coolturka
fnmirk, gdybym nawet chciał je wyciągnąć to i tak nie da rady, bo są to karty zintegrowane. Poniżej wklejam zawartości:

Kod: Zaznacz cały

lspci -k

00:00.0 Host bridge: Intel Corporation QuickPath Architecture I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 1 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
00:03.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 3 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
00:07.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 7 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
00:09.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 9 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
00:14.0 PIC: Intel Corporation QuickPath Architecture I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation QuickPath Architecture I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation QuickPath Architecture I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation QuickPath Architecture I/O Hub Throttle Registers (rev 13)
00:16.0 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.1 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.2 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.3 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.4 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.5 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.6 System peripheral: Intel Corporation DMA Engine (rev 13)
00:16.7 System peripheral: Intel Corporation DMA Engine (rev 13)
00:1a.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1a.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1a.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1a.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
    Kernel driver in use: HDA Intel
    Kernel modules: snd-hda-intel
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Port 1
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
00:1d.0 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1d.1 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1d.2 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
    Kernel driver in use: uhci_hcd
    Kernel modules: uhci-hcd
00:1d.7 USB Controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
    Kernel driver in use: ehci_hcd
    Kernel modules: ehci-hcd
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 IDE interface: Intel Corporation 82801JI (ICH10 Family) 4 port SATA IDE Controller
    Kernel driver in use: ata_piix
    Kernel modules: ata_generic, ata_piix, ide-pci-generic
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
    Kernel driver in use: i801_smbus
    Kernel modules: i2c-i801
00:1f.5 IDE interface: Intel Corporation 82801JI (ICH10 Family) 2 port SATA IDE Controller
    Kernel driver in use: ata_piix
    Kernel modules: ata_generic, ata_piix, ide-pci-generic
01:00.0 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
    Kernel driver in use: igb
    Kernel modules: igb
01:00.1 Ethernet controller: Intel Corporation Device 10c9 (rev 01)
    Kernel driver in use: igb
    Kernel modules: igb
04:00.0 RAID bus controller: 3ware Inc 9650SE SATA-II RAID (rev 01)
    Kernel driver in use: 3w-9xxx
    Kernel modules: 3w-9xxx
05:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller
    Kernel driver in use: JMicron IDE
    Kernel modules: ata_generic, ide-pci-generic, jmicron
06:04.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200eW WPCM450 [Hermon] - Winbond/Nuvoton (rev 0a)
06:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link)
    Kernel driver in use: ohci1394
    Kernel modules: ohci1394
80:00.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 0 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
80:01.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 1 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
80:03.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 3 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
80:05.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 5 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
80:07.0 PCI bridge: Intel Corporation QuickPath Architecture I/O Hub PCI Express Root Port 7 (rev 13)
    Kernel driver in use: pcieport-driver
    Kernel modules: shpchp
80:14.0 PIC: Intel Corporation QuickPath Architecture I/O Hub System Management Registers (rev 13)
80:14.1 PIC: Intel Corporation QuickPath Architecture I/O Hub GPIO and Scratch Pad Registers (rev 13)
80:14.2 PIC: Intel Corporation QuickPath Architecture I/O Hub Control Status and RAS Registers (rev 13)
80:14.3 PIC: Intel Corporation QuickPath Architecture I/O Hub Throttle Registers (rev 13)
80:16.0 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.1 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.2 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.3 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.4 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.5 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.6 System peripheral: Intel Corporation DMA Engine (rev 13)
80:16.7 System peripheral: Intel Corporation DMA Engine (rev 13)
85:00.0 VGA compatible controller: nVidia Corporation GeForce 8500 GT (rev a1)
    Kernel modules: nvidiafb

Kod: Zaznacz cały

ifconfig -a

eth0      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:xx.xx.xx.xx  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:91763 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2619 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:6345595 (6.0 MiB)  TX bytes:436659 (426.4 KiB)
          Memory:fade0000-fae00000 

eth1      Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:192.168.20.1  Bcast:192.168.20.15  Mask:255.255.255.240
          inet6 addr: fe80::230:48ff:feda:8a1d/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2005 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:272025 (265.6 KiB)  TX bytes:265222 (259.0 KiB)
          Memory:fad60000-fad80000 

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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:560 (560.0 B)  TX bytes:560 (560.0 B)
Jeśli chodzi o Debian Reference to zaraz właśnie zajrze.

Pacek, w tym problem, bo mam parę kart sieciowych, ale wszystkie są na pci. A moja płyta główna posiada tylko gniazda pcie, więc nie mogę przeprowadzić takiego testu, a sam już o tym myślałem. Co do jądra to posiadam obecnie Lennego 5.0.5 z:

Kod: Zaznacz cały

uname -r

2.6.26-2-amd64
A mimo to wersja Squeeze posiada jądro grubo ponad 2.6.30.
Też jakiś czas temu czytałem o problemach z tą nowością intela, ale sądziłem, że już nie ma problemu ze sterownikami. Niemniej jednak poczytam. Dziękuję za informację.

: 09 lipca 2010, 20:32
autor: Pacek
I martwi mnie to:

Kod: Zaznacz cały

eth0 Link encap:Ethernet HWaddr 00:00:00:00:00:00 
razem z tym:

Kod: Zaznacz cały

eth1 Link encap:Ethernet HWaddr 00:00:00:00:00:00
Obydwie karty sieciowe mają nieprawidłowy MAC i do tego taki sam. Tylko nie wiem, czy to jest wynikiem problemów związanych z jądrem, czy przyczyną problemów związanych z połączeniem. Możliwe też, że to nie ma żadnego wpływu. Możliwe też, że Twój dostawca internetowy wymaga poprawnego adresu MAC, aby przydzielić adres IP z DHCP, lub autoryzuje daną kartę sieciową na podstawie MAC.

: 09 lipca 2010, 20:35
autor: coolturka
A przepraszam, te mac adresy sam zamieniłem na zera wklejając tutaj. W rzeczywistości są one poprawne.
Poza tym jakieś inne jeszcze sugestie?

: 09 lipca 2010, 22:11
autor: fnmirk
Tak na marginesie, jak ukrywasz (słusznie) mac adresy kart sieciowych to używaj znaków xx. Inne mogą wprowadzać w błąd.
Karty sieciowe są widoczne w systemie. Sprawdź, czy samo polecenie:

Kod: Zaznacz cały

ifconfig
widzi obydwie karty.
Dla wszelkiej pewności zajrzyj jeszcze do pliku:

Kod: Zaznacz cały

/etc/udev/rules.d/70-persistent-net.rules
Zrób sobie kopię, następnie wyczyść całą jego zawartość (pliku) i zrestartuj komputer.
Spróbuj ponownie sprawdzić całość od początku, czy będzie działać.

: 09 lipca 2010, 23:04
autor: adasiek_j
A ja się zaczepię tego:

Kod: Zaznacz cały

eth0      
          Link encap:Ethernet  HWaddr 00:00:00:00:00:00  
          inet addr:xx.xx.xx.xx  Bcast:255.255.255.255  Mask:255.255.254.0
          UP BROADCAST RUNNING MULTICAST  MTU:576  Metric:1
          RX packets:91763 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2619 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:6345595 (6.0 MiB)  TX bytes:436659 (426.4 KiB)
Dlaczego broadcast masz taki dziwny ?

Adam

: 09 lipca 2010, 23:14
autor: coolturka
Adresu rozgłoszeniowego ([i[ang. broadcast[/i]) nie ruszałem, po prostu taki jest od dostawcy internetu. Zresztą zaraz sprawdzę na laptopie z Windowsem jaki jest. Poza tym instaluję jeszcze raz na osobnym dysku Squeeze by porównać chociażby wynik polecenia lspci.

fnmirk, zrobiłem tak jak poleciłeś, też nic nie zmieniło. A samo

Kod: Zaznacz cały

ifconfig
też widzi obie karty.