Nowe posty

xx Dystrybucja pod HP Omen (6)
Wczoraj o 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
Wczoraj o 21:08:23
lamp Problem z Linux Lite po instalacji (0)
Wczoraj o 19:50:30
xx Ile pingwinów? (1)
Wczoraj o 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: Problem z Sieciowka Realtek na układzie 8139  (Przeczytany 28948 razy)

chmooreck

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #15 dnia: 2007-12-28, 18:34:18 »
co mówi
# route
?

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #16 dnia: 2007-12-28, 19:07:05 »
wiec tak gdy pinguje swój komputer to pingi są ok
route zwraca:

route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 eth1
169.254.0.0     *               255.255.0.0     U     0      0        0 eth1
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.0.1     0.0.0.0         UG    0      0        0 eth1

Offline

  • Users
  • Guru
  • *****
  • Wiadomości: 825
    • Zobacz profil
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #17 dnia: 2007-12-28, 19:24:43 »
Wynik polecenia
iptables -L
poproszę

M.

norbert_ramzes

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #18 dnia: 2007-12-28, 19:24:44 »
Wygląda na OK, ale zastanawia mnie ten wpis dla 169.254.0.0...

169.254.x.y to ip ustawiane domyślnie jak się nie uda pobrać ustawień przez dhcp, zależy jeszcze jakie distro i jaki klient dhcp.

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #19 dnia: 2007-12-28, 20:31:45 »
w routerze mam ustawienia by przydzielał klientów przez dhcp ale gdy dam na automatyczne mam ten sam efekt wiec nie wiem gdzie szukać przyczyny, zaraz zapodam wynik iptables -L

norbert_ramzes

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #20 dnia: 2007-12-28, 20:52:06 »
Zapodaj jeszcze cat /proc/interrupts

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #21 dnia: 2007-12-28, 21:19:53 »
jak narazie zapodaje iptables
iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
Ifw        all  --  anywhere             anywhere
eth0_in    all  --  anywhere             anywhere
eth1_in    all  --  anywhere             anywhere
Reject     all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:INPUT:REJECT:'
reject     all  --  anywhere             anywhere

Chain FORWARD (policy DROP)
target     prot opt source               destination
eth0_fwd   all  --  anywhere             anywhere
eth1_fwd   all  --  anywhere             anywhere
Reject     all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:FORWARD:REJECT:'
reject     all  --  anywhere             anywhere

Chain OUTPUT (policy DROP)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere
fw2net     all  --  anywhere             anywhere            policy match dir out pol none
fw2loc     all  --  anywhere             anywhere            policy match dir out pol none
Reject     all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:OUTPUT:REJECT:'
reject     all  --  anywhere             anywhere

Chain Drop (1 references)
target     prot opt source               destination
reject     tcp  --  anywhere             anywhere            tcp dpt:auth
dropBcast  all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
dropInvalid  all  --  anywhere             anywhere
DROP       udp  --  anywhere             anywhere            multiport dports 135,microsoft-ds
DROP       udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn
DROP       udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535
DROP       tcp  --  anywhere             anywhere            multiport dports 135,netbios-ssn,microsoft-ds
DROP       udp  --  anywhere             anywhere            udp dpt:1900
dropNotSyn  tcp  --  anywhere             anywhere
DROP       udp  --  anywhere             anywhere            udp spt:domain

Chain Ifw (1 references)
target     prot opt source               destination
RETURN     all  --  anywhere             anywhere            set ifw_wl src
DROP       all  --  anywhere             anywhere            set ifw_bl src
IFWLOG     all  --  anywhere             anywhere            state INVALID,NEW psd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'
IFWLOG     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ns IFWLOG prefix 'NEW'
IFWLOG     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-dgm IFWLOG prefix 'NEW'
IFWLOG     udp  --  anywhere             anywhere            state NEW udp dpt:netbios-ssn IFWLOG prefix 'NEW'
IFWLOG     udp  --  anywhere             anywhere            state NEW udp dpt:microsoft-ds IFWLOG prefix 'NEW'
IFWLOG     udp  --  anywhere             anywhere            state NEW multiport dports 1024:1100 IFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ns IFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-dgm IFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere            state NEW tcp dpt:netbios-ssn IFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere            state NEW tcp dpt:microsoft-ds IFWLOG prefix 'NEW'
IFWLOG     tcp  --  anywhere             anywhere            state NEW multiport dports 1024:1100 IFWLOG prefix 'NEW'

Chain Reject (4 references)
target     prot opt source               destination
reject     tcp  --  anywhere             anywhere            tcp dpt:auth
dropBcast  all  --  anywhere             anywhere
ACCEPT     icmp --  anywhere             anywhere            icmp fragmentation-needed
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
dropInvalid  all  --  anywhere             anywhere
reject     udp  --  anywhere             anywhere            multiport dports 135,microsoft-ds
reject     udp  --  anywhere             anywhere            udp dpts:netbios-ns:netbios-ssn
reject     udp  --  anywhere             anywhere            udp spt:netbios-ns dpts:1024:65535
reject     tcp  --  anywhere             anywhere            multiport dports 135,netbios-ssn,microsoft-ds
DROP       udp  --  anywhere             anywhere            udp dpt:1900
dropNotSyn  tcp  --  anywhere             anywhere
DROP       udp  --  anywhere             anywhere            udp spt:domain

Chain all2all (0 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
Reject     all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:all2all:REJECT:'
reject     all  --  anywhere             anywhere

Chain dropBcast (2 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast

Chain dropInvalid (2 references)
target     prot opt source               destination
DROP       all  --  anywhere             anywhere            state INVALID

Chain dropNotSyn (2 references)
target     prot opt source               destination
DROP       tcp  --  anywhere             anywhere            tcp flags:!FIN,SYN,RST,ACK/SYN

Chain dynamic (4 references)
target     prot opt source               destination

Chain eth0_fwd (1 references)
target     prot opt source               destination
dynamic    all  --  anywhere             anywhere            state INVALID,NEW
net2all    all  --  anywhere             anywhere            policy match dir out pol none

Chain eth0_in (1 references)
target     prot opt source               destination
dynamic    all  --  anywhere             anywhere            state INVALID,NEW
net2fw     all  --  anywhere             anywhere            policy match dir in pol none

Chain eth1_fwd (1 references)
target     prot opt source               destination
dynamic    all  --  anywhere             anywhere            state INVALID,NEW
loc2net    all  --  anywhere             anywhere            policy match dir out pol none

Chain eth1_in (1 references)
target     prot opt source               destination
dynamic    all  --  anywhere             anywhere            state INVALID,NEW
loc2fw     all  --  anywhere             anywhere            policy match dir in pol none

Chain fw2loc (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere

Chain fw2net (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere

Chain loc2fw (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere

Chain loc2net (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere

Chain logdrop (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:logdrop:DROP:'
DROP       all  --  anywhere             anywhere

Chain logreject (0 references)
target     prot opt source               destination
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:logreject:REJECT:'
reject     all  --  anywhere             anywhere

Chain net2all (2 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
Drop       all  --  anywhere             anywhere
LOG        all  --  anywhere             anywhere            LOG level info prefix `Shorewall:net2all:DROP:'
DROP       all  --  anywhere             anywhere

Chain net2fw (1 references)
target     prot opt source               destination
ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     udp  --  anywhere             anywhere            multiport dports netbios-ns,netbios-dgm,netbios-ssn,microsoft-ds,1024:1100
ACCEPT     tcp  --  anywhere             anywhere            multiport dports netbios-ns,netbios-dgm,netbios-ssn,microsoft-ds,1024:1100
net2all    all  --  anywhere             anywhere

Chain reject (11 references)
target     prot opt source               destination
DROP       all  --  255.255.255.255      anywhere
DROP       all  --  224.0.0.0/4          anywhere
DROP       all  --  anywhere             anywhere            PKTTYPE = broadcast
DROP       all  --  anywhere             anywhere            PKTTYPE = multicast
DROP       all  --  255.255.255.255      anywhere
DROP       all  --  224.0.0.0/4          anywhere
REJECT     tcp  --  anywhere             anywhere            reject-with tcp-reset
REJECT     udp  --  anywhere             anywhere            reject-with icmp-port-unreachable
REJECT     icmp --  anywhere             anywhere            reject-with icmp-host-unreachable
REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited

Chain shorewall (0 references)
target     prot opt source               destination

Chain smurfs (0 references)
target     prot opt source               destination
LOG        all  --  255.255.255.255      anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'
DROP       all  --  255.255.255.255      anywhere
LOG        all  --  224.0.0.0/4          anywhere            LOG level info prefix `Shorewall:smurfs:DROP:'
DROP       all  --  224.0.0.0/4          anywhere

Offline

  • Users
  • Guru
  • *****
  • Wiadomości: 825
    • Zobacz profil
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #22 dnia: 2007-12-28, 21:25:16 »
Taka reguła:
REJECT     icmp --  anywhere             anywhere            reject-with icmp-host-unreachable
może powodować że ping nie działa.
Proponuję wyczyścić reguły firewalla i wtedy sprawdzić.

M.

norbert_ramzes

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #23 dnia: 2007-12-28, 21:41:24 »
Wyczyszczenie reguł:

iptables -F
iptables -F -t nat
iptables -X -t nat
iptables -F -t filter
iptables -X -t filter

iptables -P FORWARD ACCEPT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT

Czym to konfigurowałeś??

Przy okazji naucz się stosować tagi [ code ][ /code ] bo ciężko się to czyta.

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #24 dnia: 2007-12-28, 22:07:04 »
programem to konfigurowałem, to jest PC Linux 2007 Os, jest tam normalnie programik gui co się tym zajmuje, odpaliłem to jako live-cd przed chwilą, podałem ip, maske, brame i dns, i karta się nie podniosła, probowałem przełaczyć na 10 mb ale nie pomogło,
cat /proc/interrupts
           CPU0
  0:      99299    IO-APIC-edge  timer
  1:        114    IO-APIC-edge  i8042
  6:          4    IO-APIC-edge  floppy
  8:          1    IO-APIC-edge  rtc
  9:          1   IO-APIC-level  acpi
 10:       3377   IO-APIC-level  VIA686A
 11:          0   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb2
 12:       7678    IO-APIC-edge  i8042
 14:       7278    IO-APIC-edge  ide0
 15:       3698    IO-APIC-edge  ide1
 16:      21936   IO-APIC-level  cx88[0], nvidia
NMI:          0
LOC:      99238
ERR:          0
MIS:          0
jesli chodzi o czyszczenie reguł zaraz sprawdzę, jak by nie to przełaczanie systemu sprawniej by to poszło
sorrki za brak code nie widziałem że tutaj to działa a pod spodem nie ma nic poza img itp. wiec nie pomyślałem ale już poprawione

norbert_ramzes

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #25 dnia: 2007-12-28, 22:17:50 »
Widzę że w /proc/interrupts brakuje przerwania dla karty...

lsmod | grep 8139

i jeszcze raz ifconfig.

Offline

  • Users
  • Guru
  • *****
  • Wiadomości: 825
    • Zobacz profil
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #26 dnia: 2007-12-28, 22:18:05 »
Przerwania dla karty sieciowej nie ma?

M.

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #27 dnia: 2007-12-28, 23:00:14 »
tzn. co z tym zrobić ??
wiec tak powywalałem wszystkie interfejsy sieciowe, i nastąpił mały problem, nie mogę załadować modułu 8139too bo wywala że brakuje jakiegoś argumentu, zrobie formata, sprawdze jeszcze jak zachowuje się na tej karcie mandrake 10.1 jeśli bedzie dobrze przewale ustawienia gdzieś i po instalacji zobacze może pomoże...

Napiszcie mi co ewentualnie moge zrobić z tym by było przerwanie dla karty, bo szczeże nawet nie wiem gdzie to znaleźć w tym systemie.

arctgx

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #28 dnia: 2007-12-29, 03:43:33 »
Korzystam teraz z tej karty.

To kawałek wyrzucany przez polecenie dmesg:
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt 0000:00:08.0[A] -> GSI 19 (level, low) -> IRQ 17
eth0: RealTek RTL8139 at 0xe0830f00, 00:30:84:88:fe:11, IRQ 17
eth0:  Identified 8139 chip type 'RTL-8139C'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E
eth0: no IPv6 routers present
a to linijka z /proc/interrupts:
 17:      95592   IO-APIC-fasteoi   eth0
Sprawdź czy masz podobne wpisy u siebie.

scorpion_1982

  • Gość
Problem z Sieciowka Realtek na układzie 8139
« Odpowiedź #29 dnia: 2007-12-29, 16:39:43 »
Ok dzięki panowie, wkońcu mam neta :)

Przłożyłem karte tamtą wcześniejszą na ten slot co mam, bo tamta była nowsza, zrobiłem formata i chodzi
z tym że próbowaliśmy wyduśić z niego ustawienia
ethtool -s eth0 autoneg off speed 10 duplex half
a on nie pracuje na tych ale za to pracuje na tych
ethtool -s eth0 autoneg on speed 100 duplex full
nie wiem czemu jeśli ustawie mu na 10 mb to za fiksa nie będą pingi chodzić.

Dzięki panowie za pomoc wkoncu mogę normalnie pracować :)

Dziękuję za waszą pomoc. bez was nie dał bym rady,