*BSD News Article 52205


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!newshost.marcam.com!usc!howland.reston.ans.net!swrinde!tank.news.pipex.net!pipex!dispatch.news.demon.net!demon!jraynard.demon.co.uk!jraynard.demon.co.uk!not-for-mail
From: james@jraynard.demon.co.uk (James Raynard)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: startslip help?
Date: 28 Sep 1995 01:09:14 -0000
Organization: A FreeBSD box
Lines: 22
Message-ID: <44csjq$12q@jraynard.demon.co.uk>
References: <44akpl$gtu@netnews.upenn.edu>
NNTP-Posting-Host: localhost.jraynard.demon.co.uk
X-NNTP-Posting-Host: jraynard.demon.co.uk

In article <44akpl$gtu@netnews.upenn.edu>,
Darrel Herbst <dherbst@gradient.cis.upenn.edu> wrote:
>I can get startslip to log me in, but it doesn't set the default
>routing.  Can anyone give me some pointers on how to write the scripts
>needed to do this?
>
>For example, I've gotten startslip to do the 'ifconfig sl0 up', but
>'ifconfig sl0' returns: inet 0.0.0.0 --> 0.0.0.0 netmask 0x0.  If I
>try to ping stuff I get 'no route to host'.  

ifconfig sl0 inet <your machine> <remote machine> netmask 0xffffff00 metric 1 up
route add default <remote machine>

Another useful diagnostic is 'netstat -nr' to display the routing table.

(The netmask may not be correct, but I believe SLIP ignores it anyway).

Hope this helps
James
-- 
"If English was good enough for Jesus, it's good enough for me!"