Bug 83668

Summary: Can not download from ftp website with error "No route to host"
Product: Base System Reporter: mike <xiupeng_xie>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description mike 2005-07-18 14:50:24 UTC
I go to Internet through ADSL, and I can brower www websites successfully. But there was some problem with ftp exploring.

      1. I can log in one ftp server successfully, but i can NOT see any directories or files. Also, I can NOT download any files from any ftp server.
2. I run "make install clean" in any ports directory, for example, /usr/ports/ftp/lftp/, there was one error "No route to host". The history log was listed below:

# make install clean
===>  Vulnerability check disabled, database not found
=> lftp-3.0.13.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/.
fetch: ftp://ftp.cs.tu-berlin.de/pub/net/ftp/lftp/lftp-3.0.13.tar.bz2: No route to host
=> Attempting to fetch from ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/.
fetch: ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/lftp-3.0.13.tar.bz2: No address record
=> Attempting to fetch from ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/old/.
fetch: ftp://ftp.phear.org/pub/linux/networking/ftp/client/lftp/old/lftp-3.0.13.tar.bz2: No address record
=> Attempting to fetch from http://the.wiretapped.net/mirrors/lftp/.
fetch: http://the.wiretapped.net/mirrors/lftp/lftp-3.0.13.tar.bz2: Operation timed out
=> Attempting to fetch from http://the.wiretapped.net/mirrors/lftp/old/.
^Cfetch: transfer interrupted


////////////////////////////////////////
My ppp.conf was listed below:
//////////////////////////////////////////
default:
  set log Phase tun command # you can add more detailed logging if you wish


adsl:
  enable dns
  set device PPPoE:re0 # replace xl1 with your Ethernet device
  set mru 1492
  set mtu 1492
  set dial
  set login
  set ifaddr 10.0.0.1/0 10.0.0.2/0
  add default HISADDR
  nat enable yes
#nat port tcp 10.0.0.2:ftp ftp
#nat port tcp 10.0.0.2:http http
  set authname sdafasf
  set authkey  asdfasf

How-To-Repeat:       Go to one ftp server and try to download some files.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-07-18 21:20:41 UTC
State Changed
From-To: open->closed

This is almost certainly due to a misconfiguration on your system. 

In general, we try to reserve the PR database for reproducible problems 
which affect all installations of FreeBSD.  For situations like this, 
we prefer that you ask the for help on the mailing list freebsd-question@ 
FreeBSD.org.  Thanks.