Altera_Forum
Honored Contributor
13 years agohelp: ping is ok, but telnetd and ftpd doesn't work
hi,
based on the nios2-linux-20100621.tar, I refer to the step by step in www,alterawiki,com / wiki /UClinuxDist then I get a zImage booting successfully on the altera's 3c120 development board. then I <ifconfig eth0 192.168.0.200 up> , then I can ping from my PC to the 3c120 board. [zhengj@localhost uclinux-dist]$ ping 192.168.0.200ping 192.168.0.200 (192.168.0.200) 56(84) bytes of data.
64 bytes from 192.168.0.200: icmp_seq=1 ttl=64 time=2.04 ms
64 bytes from 192.168.0.200: icmp_seq=2 ttl=64 time=0.637 ms
64 bytes from 192.168.0.200: icmp_seq=3 ttl=64 time=0.656 ms
64 bytes from 192.168.0.200: icmp_seq=4 ttl=64 time=0.676 ms
64 bytes from 192.168.0.200: icmp_seq=5 ttl=64 time=0.647 ms So I think the driver for the altera TSE is working . but I fail to telnet from PC to 3c120 board: <
[zhengj@localhost uclinux-dist]$ telnet 192.168.0.200
trying 192.168.0.200...
telnet: connect to address 192.168.0.200: connection timed out
> I fail to ftp : <
[zhengj@localhost uclinux-dist]$ ftp 192.168.0.200
ftp: connect: connection timed out
ftp>
> the output infomation for < netstat -a> is : <
root:/>netstat -a # show network services
active internet connections (servers and established)
proto recv-q send-q local address foreign address state
tcp 0 0 <null>:ftp <null>:* listen
tcp 0 0 <null>:telnet <null>:* listen
active unix domain sockets (servers and established)
proto refcnt flags type state i-node path
> the output infomation for <ifconfig> is : <
root:/> ifconfig
eth0 link encap:ethernet hwaddr 00:07:ed:11:12:12
inet addr:192.168.0.200 bcast:192.168.0.255 mask:255.255.255.0
up broadcast running multicast mtu:1500 metric:1
rx packets:985 errors:0 dropped:452 overruns:0 frame:0
tx packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:124971 (122.0 kib) tx bytes:710 (710 b)
base address: 0x4000
lo link encap:local loopback
inet addr:127.0.0.1 mask:255.0.0.0
up loopback running mtu:16436 metric:1
rx packets:16 errors:0 dropped:0 overruns:0 frame:0
tx packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
rx bytes:1280 (1.2 kib) tx bytes:1280 (1.2 kib)
> anyone please tell me how to do with the problem?