From nobody@FreeBSD.org  Mon Jul 18 13:42:58 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E28A116A41C
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jul 2005 13:42:58 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 962C243D48
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jul 2005 13:42:58 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j6IDgw2O081965
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 18 Jul 2005 13:42:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j6IDgwWW081964;
	Mon, 18 Jul 2005 13:42:58 GMT
	(envelope-from nobody)
Message-Id: <200507181342.j6IDgwWW081964@www.freebsd.org>
Date: Mon, 18 Jul 2005 13:42:58 GMT
From: mike <xiupeng_xie@yahoo.com.cn>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Can not download from ftp website with error "No route to host"
X-Send-Pr-Version: www-2.3

>Number:         83668
>Category:       misc
>Synopsis:       Can not download from ftp website with error "No route to host"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 18 13:50:24 GMT 2005
>Closed-Date:    Mon Jul 18 20:22:28 GMT 2005
>Last-Modified:  Mon Jul 18 20:22:28 GMT 2005
>Originator:     mike
>Release:        5.4 release
>Organization:
>Environment:
# uname -a
FreeBSD  5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
#

>Description:
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.
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jul 18 20:20:41 GMT 2005 
State-Changed-Why:  
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. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=83668 
>Unformatted:
