ftp/telnet connect: Connection timeout
From: Fritz Code
Date: Fri Jan 09 2009 - 04:55:16 EST
Hi,
im using an embedded arm9 system.
I boot the system through a initrd. The initrd contains the kernel
(2.4.21) and the root-filesystem.
After the boot a script executes the following to bring up the network:
hostname embedded-system
ifconfig eth0 add 192.168.0.151 netmask 255.255.255.0 up
route add -net default gw 192.168.0.1
I have problems with the network. If I use e.g. "ftp server-ip" or
"telnet server-ip" I always get:
"connect: Connection timed out" after approx one or two minutes.
The server I try to connect to is running no firewall, I can establish
a connection to the server from another client successfully.
I can ping from the embedded system to the server and vice versa.
ifconfig on the embedded system show no errors or drops. But Im using
a strange MAC (11:11:22:22:33:33) although this shouldn't matter since
I connect the embedded
system and the server directly through a cross-over cable.
However : "nmap -A ip-of-embedded-system" executed on the server:
"Note: Host seems down. If it is really up, but blocking pur ping
probes, try -P0
Nmap finished: 1 IP address (0 hosts up)"
Strange, since ping works.
output of ifconfig:
root@embedded-system:/>
ifconfig
eth0 Link encap:Ethernet HWaddr 11:11:22:22:33:33
inet addr:192.168.0.151 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:49 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:18257 (17.8 kiB) TX bytes:0 (0.0 iB)
Interrupt:3 Base address:0x300
the kernel-config:
# Networking options
CONFIG_PACKET=y
# CONFIG_PACKET_MMAP is not set
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# Network device support
#
CONFIG_NETDEVICES=y
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_ARM_CIRRUS is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
CONFIG_CS89x0=y
CONFIG_CS89x0_EEPROM=m
# CONFIG_ZNET is not set
# CONFIG_NET_POCKET is not set
thanks for any help!
--
Regards,
--Codefritz
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html