Subject: Re: 10/100 ethernet cards - followup
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Thilo Manske <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: port-macppc
Date: 04/22/2000 23:55:20
On Sun, Apr 23, 2000 at 05:42:50AM +0900, Izumi Tsutsui wrote:
> > rtl  (RealTek 8139) does not work, it can send but doesn't receive
> >      anything
> 
> Does it send out any packet? When I'm tracking this
Yes, it does! See below..

> my 8139 on macppc does not seem to send any data
> though it can receive packets with the attached patch.
Hmm, I applied the patch, recompiled the kernel, but not much differences:

rtk0 at pci0 dev 14 function 0: RealTek 8139 Ethernet (id 0x8139)
rtk0: interrupting at irq 25
rtk0: Ethernet address: e0:00:71:7d:1b:2b

Pinging from macppc (Apus) to i386 (seti), tcpdump made on i386:
23:31:11.366722 e0:0:71:7d:1b:2b Broadcast arp 60: arp who-has Seti-100 tell Apus-100.T
23:31:11.366782 0:e0:29:47:90:ff e0:0:71:7d:1b:2b arp 42: arp reply Seti-100 is-at 0:e0:29:47:90:ff
23:31:12.370859 e0:0:71:7d:1b:2b Broadcast arp 60: arp who-has Seti-100 tell Apus-100.T
23:31:12.370910 0:e0:29:47:90:ff e0:0:71:7d:1b:2b arp 42: arp reply Seti-100 is-at 0:e0:29:47:90:ff

I.e. it sends out the ARP requests but doesn't get the replies...

Hey, wait -  *that's funny:
While pinging the other way around, i.e. i386 to apus and tcpdumping on
macppc I found out, that rtk0 seems to work if it's in promiscous mode
(tcpdump suspended):

I can even log-in, nfs-mount my /home and /usr/src partitions, and
do all the usual network stuff  :-)

It stops working immediatly when tcpdump is killed.
-- 
Dies ist Thilos Unix Signature! Viel Spass damit.