Reply by Jim Thomas January 14, 20052005-01-14
Jaime Andr�s Aranguren Cardona wrote:
> Hi, > > I'm trying to test some basic networking with my STAMP board. I connect it > to Win2k via Hyperterminal, 57600 8N1. Everything goes fine. I fun > />ifconfig eth0 192.198.1.1 mask 255.255.255.0 > > My PC is configured with and IP address 192.168.1.95 mask 255.255.255.0, I > can check that with > ipconfig > > But pinging each other device does not pass!!! > > Not even in u-boot, as was mentioned somewhere at blackfin.uclinux.org > > What can be wrong?
Firewall on Win2K box? I ran into that one last week on the kid's machine in the family room (except that it was XP). Another possibility is that the stamp is not configured to answer pings. I'm unfamiliar with the card though, so this is just a guess. I did some embedded linux work a couple of years ago on an x86 using Blue Cat. Their approach was that you added what you wanted to the build (as opposed to subtracting what you don't want). You can get a pretty small disk image that way, but then you find out that you left out some handy things like ping, or df, or vi, or strace. If your stamp's uclinux is like that, maybe you left ping out of the mix. Do you have a linux system handy (other than the uclinux one)? If so, try "nmap 192.168.1.1" which will probe for open ports. If you don't have a linux box, download Knoppix which is a bootable linux CD. It won't alter your harddrive (unless you want it to), and it's chock-full-o' good tools. tcpdump is another VERY handy tool for this sort of thing. It sniffs all the traffic it sees on the network. You can run it in one terminal and ping in another, or you can run it on a third machine, but if your traffic is going through a switch instead of a hub, the switch will not emit the traffic on the third-party network segment. Assuming it's a good switch. Hmmm... I just noticed that you had written 192.198.1.1 as your ip address - is that a typo in the post or a typo in your ifconfig? -- Jim Thomas Principal Applications Engineer Bittware, Inc jthomas@bittware.com http://www.bittware.com (603) 226-0404 x536 Quidquid latine dictum sit, altum sonatur. Whatever is said in Latin sounds profound.
Reply by January 13, 20052005-01-13
Hi,

I'm trying to test some basic networking with my STAMP board. I connect it
to Win2k via Hyperterminal, 57600 8N1. Everything goes fine. I fun
/>ifconfig eth0 192.198.1.1 mask 255.255.255.0

My PC is configured with and IP address 192.168.1.95 mask 255.255.255.0, I
can check that with > ipconfig

But pinging each other device does not pass!!!

Not even in u-boot, as was mentioned somewhere at blackfin.uclinux.org

What can be wrong?

JaaC

--
Jaime Andr�s Aranguren Cardona
jaac@nospam.sanjaac.com
SanJaaC Electronics
Soluciones en DSP
www.sanjaac.com

(Remove "nospam" from e-mail address)