ftp & ping
Chris Aitken
aitken-BwLjziHGQLusTnJN9+BGXg at public.gmane.org
Fri Jun 4 16:47:18 UTC 2004
Robert Brockway wrote:
>On Fri, 4 Jun 2004, Chris Aitken wrote:
>
>
>
>>I want to transfer files from my debian system to my redhat system. I
>>can ping the debian PC (192.168.0.2) from the redhat PC (192.168.0.1)
>>but not vice versa.
>>
>>p733:/home/chris# ping 192.168.0.1
>>PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
>>>From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
>>>From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
>>
>>
>
>Could you show us ifconfig eth0 (assuming this is the relevant interface)
>just to make sure netmasks, etc are ok?
>
>
chris-J1OC1CCqXXQ at public.gmane.org:~$ /sbin/ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:50:8B:D8:76:CD
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:64 errors:0 dropped:0 overruns:0 frame:0
TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10355 (10.1 KiB) TX bytes:2016 (1.9 KiB)
Interrupt:20 Base address:0x1400 Memory:40000000-40000038
>Also look at iptables -L on each system. Are you blocking icmp types 0 or
>8 somewhere? If you log firewall blocks somewhere you may wish to look
>there while pinging.
>
>
>
pinging the rh from deb I got,
chris-J1OC1CCqXXQ at public.gmane.org:~$ su
Password:
p733:/home/chris# /sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
pinging deb from rh I got,
[chris-RMRJWkH6aXE at public.gmane.org chris]$ su
Password:
[root-RMRJWkH6aXE at public.gmane.org chris]# /sbin/iptables -L
/lib/modules/2.4.18-14/kernel/net/ipv4/netfilter/ip_tables.o:
init_module: Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters,
including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.18-14/kernel/net/ipv4/netfilter/ip_tables.o: insmod
/lib/modules/2.4.18-14/kernel/net/ipv4/netfilter/ip_tables.o failed
/lib/modules/2.4.18-14/kernel/net/ipv4/netfilter/ip_tables.o: insmod
ip_tables failed
iptables v1.2.6a: can't initialize iptables table `filter': iptables
who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
>>Of course when I try to ftp into the deb system from the redhat one the
>>connection is refused.
>>
>>
>
>Did it actually report "connect refused" or did it just hang? The
>difference is important.
>
>
[chris-RMRJWkH6aXE at public.gmane.org chris]$ ftp 192.168.0.2
ftp: connect: Connection refused
>Rob
>
>
>
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list