Subject: Re: I can't connect via ftp - No route to host
To: =?iso-8859-1?B?VG9t4T8gQm9kP+Fy?= <bodzar@schrack.cz>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 04/11/2005 21:06:19
On Mon, Apr 11, 2005 at 01:27:43PM +0200, Tomá? Bod?ár wrote:
> Good afternoon,
> I'm newbie to NetBSD.I was installed NetBSD 2.0 on my laptop Asus N6858NE  
> (full instalation with X).Everything is working fine,only card  
> reader,infra and bluetooth with wi-fi not(My bluetooth was recognized,but  
> I was not try to setup it yet.Wi-fi needs iwi driver and I don't know how  
> to get it to kernel,but these things are not priority for me now).
> 
> So now what is important for me :
> 
> I was setup via ifconfig my LAN Gigacard Broadcom on bge0 wit IPv4 and  
> NETMASK,then I was setup default route in /etc/rc.conf adn bge0 is now up  
> and ping to default route is OK.Byt what about DNS?Man pages said,that I  
> must configure it in my /etc/resolv.conf,but I don't have this file on my  
> system.So I make it with Vi,it's like this :
> 
> #Configuration of DNS
> 
> nameserver IP of our DNS
> 
> But when I'm trying to connect via ftp or telnet to some server -> No  
> route to host

This is because it tries ipv6 before ipv4, and you don't have a ipv6 route.
It's harmless.

> 
> My second OS on laptop is Win XP SP2,for connect to servers with Opera or  
> another browser we have this in configuration line :
> 
> 
> For HTTP,HTTPS,FTP
> 
> proxy.cz.schrack.lan:8080
> 
> 
> Where in NetBSD 2.0 it must be configure?

In the browser's preferences, or in environnement variables:
setenv ftp_proxy http://proxy.cz.schrack.lan:8080
setenv http_proxy http://proxy.cz.schrack.lan:8080

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--