This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Ping problem ? (edb7209 with ep7212)


Hi,All:
	It seems not work!

	Cirrus Logic EDB7209 with EP7212,
	Windows me + cygwin +gnupro tools,
	configurature tools version 2.08,
	gdb stub,
	ecos 2002-01-08 updated.

	I selected the board and the net template,followed with building and
	no problem found.
1.	I started a application with gdb.When It runs step to "do_dhcp" in 
fuction
	 "init_all_network_interfaces", it could not back to gdb.I do not know Why?
2.	I change the
	networking->initialization options for 'eth0'->use BOOTP/DHCP...
	to
	networking->initialization options for 'eth0'->Address setups 'for eth0'
		IP address:192.168.1.2
		Network mask:255.255.255.0
		Broadcast address:192.168.1.255
		router IP:192.168.1.1
		server IP:192.168.1.101
	then I build the test program ping_test.c and ping_lo_test.c

3.	When it pings the 192.168.1.2 the ping_test.c run fine
	When it pings the server 192.168.1.101,it gave me message:

      Message from "init_all_network_interfaces":

        Start PING test
		BOOTP[eth0] op: REPLY
			htype: Ethernet
			hlen: 6
			hops: 0
			xid: 0x0
			secs: 0
			flags: 0x0
			hw_addr: FF:FF:FF:FF:FF:FF
		Client IP: 192.168.1.2
		my IP: 192.168.1.2
		server IP: 192.168.1.101
		gateway IP: 192.168.1.1
		options:
			subnet mask: 255.255.255.0
            IP broadcast:192.168.1.255
			gateway:192.168.1.1

	Message from "ping_host(s,&host)":

		PING server 192.168.1.101
		192.168.1.2: Invalid ICMP - type: 8
		192.168.1.2: Invalid ICMP - type: 8
		sendto: Message too long
		sendto: Message too long
		...

	What should I do if I use the DHCP and How to?




            slcui@btamail.net.cn

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]