*BSD News Article 92724


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!news-xfer.mccc.edu!news-xfer.netaxs.com!netaxs.com!grr
From: grr@shandakor.tharsis.com (George Robbins)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: Help! "no route to host" message
Date: 4 Apr 1997 01:53:53 GMT
Organization: George's Pet Unix System
Lines: 24
Message-ID: <slrn5k8nnf.66r.grr@shandakor.tharsis.com>
References: <godfreja-0304971509170001@137.28.251.242>
NNTP-Posting-Host: robbins.jvnc.net
X-Newsreader: slrn (0.9.1.1 BETA UNIX)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.netbsd.misc:5736

In article <godfreja-0304971509170001@137.28.251.242>, Jason Godfrey wrote:
>Hello everyone.
>
>   I'm trying to configure my NetBSD/i386 box to use a static slip line. I
>issue the following commands:
>
>      slattach -h -s 38400 /dev/tty00
>      ifconfig sl0 137.28.225.242 137.28.2.1 netmask 0xffff0000 up
>      route add default 137.28.2.1
>
>  which works fine on my Mac running a post 1.2 netbsd kernel. However, on
>the PC running a custom 1.2 kernel I get a "no route to host" error when I
>try to ping / telnet / etc.
>
>   I've been playing with this for quite awhile and I'm running out of
>ideas here. Can anyone help me?

It looks pretty reasonable.  Check that you have options INET and GATEWAY
and pseudo-device sl N  (n>0) defined in your config file.

-- 
George Robbins - not working for,     work:   to be avoided at all costs...
but still emotionally attached to:    web:    http://www.netaxs.com/people/grr
Commodore, Engineering Department     domain: grr@tharsis.com