Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!eru!luth!sunic!tut!kannel!kim From: kim@lut.fi (Kimmo Suominen) Newsgroups: comp.sys.hp Subject: Re: ftp and internet Message-ID: Date: 20 Jul 90 15:26:23 GMT References: Sender: kim@kannel.lut.fi Organization: Lappeenranta University of Technology, Finland Lines: 39 In-reply-to: roger@zuken.co.jp's message of 20 Jul 90 16:46:21 GMT Disclaimer: These are my opinions unless otherwise stated >>>>> On 20 Jul 90 16:46:21 GMT, roger@zuken.co.jp (Roger Meunier) said: Roger> I add an entry to /etc/hosts, then do an ftp open I get Roger> ftp: connect: Network is unreachable Seems like your routing table needs some tuning. You can see all your routes by issuing the command netstat -r It should state that the loopback is routed through localhost, your local network through your own host (only U, not UG both) and finally it should have a default route through the gateway that connects your lan to the rest of the Internet. If you don't see an entry saying "default", than that's your problem. If you don't know what the gateway is, try asking someone working with your local lan. The place where you need to add this default route is the file /etc/netlinkrc There is a place where to add all routes (search for the word route). The command to add is something like /etc/route add default gateway.domain 1 (the last character is number one, not lowercase L). Replace the string gateway.domain with the name of the machine acting as a gateway. You also need to add that into your /etc/hosts, unless you are using DNS (hopefully you are, DNS = Domain Name Service) or if you don't use DNS, but use YP, then it needs to be found in the YP map hosts (and hosts.byname, hosts.byaddr). Hopefully this will help you and all others! -- Kim ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, "That's what ( Kimmo ! Lappeenranta U of Technology ! kim@lut.fi ) *I* think." ( Suominen ! Computing Centre * Finland ! KUULA::KIM ) ''''''''''''''''''''''''''''''''''''''''''''''''''''''