Skip to contentSkip to conversation

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

DISCUSSION Jack Liu 3 participants 3 messages Apr 1, 2004

lore
Share & tools
lore

Jack Liu

author
#0 lore raw

Ricardo
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.

Best regards

======= 2004-03-31 15:45:00 Origianl message=======

Quoted 13 lines · Jack Liu
Quoted 11 lines

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?

Quoted 4 lines

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.

= = = = = = = = = = = = = = = = = = = =

Best regards
Jack Liu
R&D Dept. USI(Shanghai) Inc.
Tel: +86-21-58966996x115
Fax: +86-21-58967931
Email: [email protected]
http://www.usi.com.tw

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

#1 lore raw

Jack

Quoted 8 lines · Jack Liu

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,

Quoted 19 lines

======= 2004-03-31 15:45:00 Origianl message=======

Quoted 17 lines · Jack Liu
Quoted 11 lines

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.
[email protected]
+55 51 999-36-777
Porto Alegre, RS - BRazil

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

#2 lore raw

Startup sequence for PPC based Linux kernels

Hello Comrades,
Could you point me to a document that describes a PPC Linux start up sequence. I am using U-boot ( Successfully :) and want to have an overview of how Linux starts from 0x0000_00000 to the login prompt.

Cheers // Matias

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