Network problem: Ping is OK, Yet telnet and ftp etc is not working

Ricardo Scop scop at digitel.com.br
Thu Apr 1 11:18:55 EST 2004


Jack

On Wednesday 31 March 2004 21:49, Jack Liu wrote:
>
>  Thanks. This chip is supported in linux kernel by tulip driver. {
> 0x1317, 0x0985, PCI_ANY_ID, PCI_ANY_ID, 0, 0, COMET } And I compared
> the driver with 2.6 driver(Currently I am using 2.4.21 kernel), no
> related difference. So I thought this should not be a bug in this
> driver(maybe). When I ftp and telnet myself, it is ok. So the stack
> should be OK. So now I have no idea about the direction to find the
> problem. Please advice me.

First, my previous advice was related to your ping problem when the interface
was not in promiscuous mode.

For the telnet problem, you have to use a sniffer and see what's happening in
the ethernet... Sorry, I have no further advice unless you provide  more
useful information.

HTH,

> ======= 2004-03-31 15:45:00 Origianl message=======
>
> >On Wednesday 31 March 2004 00:02, Jack Liu wrote:
> >>
> >>      We use ADMTek AN983B chip as our network chip. And I have
> >> porting linux to this MPC8241 platform.Now I have a very strange
> >> problem: If I ping my target, no answer. When I start tcpdump on
> >> my target, the ping ... works fine. Since the hardware is put into
> >> promiscuous mode when tcpdump is running, So I use ifconfig to put
> >> NIC work in promiscuous mode. I thought it can temporarily solve
> >> the problem. Now ping is OK. However When I telnet other machine,
> >> no answer.And When I telnet my target, still no answer. I thought
> >> it may because of firewall. So I undef CONFIG_NETFILTER in .config
> >> and autoconf.h. Still the same. So what could be the problem?
> >
> >Well, check your interface's IP addressing for a wrong broadcast
> >address; your may also have a misconfiguration in your hardware's
> >drivers, related to the the MAC address and/or broadcast address
> >matching.

--
Ricardo Scop.
rscop at matrix.com.br
+55 51 999-36-777
Porto Alegre, RS - BRazil

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list