*BSD News Article 54757


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.hawaii.edu!ames!hookup!tank.news.pipex.net!pipex!news.mathworks.com!newsfeed.internetmci.com!xmission!charnel.ecst.csuchico.edu!csusac!csus.edu!orion!wleong
From: wleong@sfsu.edu (WEE-KING LEONG)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: "NETWORK UNREACHABLE" Help!
Date: 16 Nov 1995 01:59:19 GMT
Organization: San Francisco State University
Lines: 104
Message-ID: <48e5tn$kn9@news.csus.edu>
NNTP-Posting-Host: wleong@orion.sfsu.edu
X-Newsreader: TIN [version 1.2 PL2]


I am setting up my system to use pppd to dial into the school.
I tried the pppup suggested in ppp.faq and it failed at the
last line at pppd "/dev/cuaa0" the error message I get is
<bad address:127.0.0.1> which essentially is the address when
I typed pppd. So, I would guess that I need to set up the local
host properly before I try again to connect to the net. I have
freeBSD 2.0.5 on my PC, at home, with a modem, and not connected
to any network whatsoever. The problem I have is that during startup
I got message saying "Network unreachable" when it try to 
"writing to routing socket" and "add net 224.0.0.0". I really am
not familiar with the localhost issue so I guess I would attach
several of my configuration files here. Could someone please
go through them and help me diagnose the problem please ?

Here are some info regarding the school,

school host : pluto.sfsu.edu  130.212.10.163
domain name : sfsu.edu
the assigned IP for sutdent to dial in is : 192.0.2.1

Also, I have deleted the multicast route, but
during bootup, I still see the lo0 being configure to 
<UP,LOOPBACK,MULTICAST>

I am under the impression that I need to create a start_if.ppp0
and start_if.lo0 in /etc ? (as I read there is a line check for ifconfig
in netstart) if so, what needs to be in there?


Thanx again.



------ /etc/hosts -----
# hosts,v 1.5 1995/04/09 09:54:39 rgrimes Exp
#
# Imaginary network.
127.0.0.1	localhost localhost.pluto.sfsu.edu #I don't know if the
10.0.0.1        homepc homepc.sfsu.edu             #following 2 lines are
#                                                  #correct
#
#this line is added after I run the sysinstall/configure network
192.0.2.1		pluto.sfsu.edu

---- end of hosts -----

---- /etc/sysconfig -----
#!/bin/sh

keymap=NO
keyrate=NO
keychange=NO
cursor=NO
scrnmap=NO
font8x16=NO
font8x14=NO
font8x8=NO
blanktime=120
saver="star"

hostname=pluto.sfsu.edu     # ??
defaultdomainname=sfsu.edu  # ??

tcp_extensions=NO

network_interfaces="lo0"
ifconfig_lo0="inet localhost"

static_routes="loopback"            # lo0 still configure to MULTICAST ??
route_loopback="${hostname} localhost"

defaultrouter=pluto.sfsu.edu   # ??

routedflags=-q
timedflags=NO
xntpdflags="NO"
tickadjflags="-Aq"
ntpdate="NO"
rwhod=NO
sendmail_flags=NO #"-bd -q30m"
amdflags="NO"
nfs_client=YES
nfs_server=NO
nis_clientflags="NO"
nis_serverflags="NO"
yppasswddflags="NO"
namedflags="NO"
xtend=NO
savecore=NO
kerberos_server=NO
gated=NO
check_quotas=NO
accounting=NO
ibcs2=NO




====================================================================

"Grosch's law
Computing power increases as the square of the cost."
                    --Grosch