*BSD News Article 93731


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!goanna.cs.rmit.edu.au!news.apana.org.au!cantor.edge.net.au!news.teragen.com.au!news.access.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!news.maxwell.syr.edu!news-peer.sprintlink.net!news.sprintlink.net!sprint!uunet!in2.uu.net!208.192.224.3!news.interactive.net!news
From: Jay Sachs <sachs@interactive.net>
Subject: Re: IIJPPP Problem: SIOCAIFADDR
Content-Type: text/plain; charset=US-ASCII
X-Newsreader: Gnus v5.4.45/XEmacs 19.14
X-Nntp-Posting-User: (Unauthenticated)
Organization: IBS Interactive, Inc.
Lines: 50
Message-ID: <87ohbeesk0.fsf@luddite.org>
References: <86ohbegap5.fsf@kiste-5.ki.informatik.uni-frankfurt.de>
Mime-Version: 1.0 (generated by tm-edit 7.101)
X-Trace: 861214517/26885
X-Face: 6!-I&o^[[HP+0~O~}d2Zf@Pbof:|>j5^*W$QOR"&)JYcHT.@-"AhAXLg3vioV79Ri3JMp/a
 e3QD@Z$1Ot@'j1/A
X-Nntp-Posting-Host: host019.madison.interactive.net
Date: Wed, 16 Apr 1997 18:22:39 GMT
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:39180


Set up up a section other than default.  iijppp doesn't open the tun0
device until after the default section is processes.  You get the
error message because you have 'set ifaddr' commands in the default
section -- put the provider-specific stuff into its own section.

-Jay


Marko Schuetz <marko@kiste-5.ki.informatik.uni-frankfurt.de> writes:

> When I run 
> 
> ppp -auto default
> 
> It says 
> 
> SIOCAIFADDR: Device not configured
> 
> at startup. 
> 
> The output of of ifconfig shows ed0, lo0, sl0, ppp0 and tun0 of which only
> lo0 has an inet shown. I have followed the Pedantic PPP Primer as well
> as How to use IIJ-PPP and I cant seem to get IIJ-PPP to work. I
> understand IIJ-PPP is the "recommended" ppp for FreeBSD and I would
> like to get it to work, if only to see what I'm doing wrong. 
> I am able to run pppd!
> 
> The .ppp.conf looks like this:
> # Default setup. Always executed when PPP is invoked.
> #
> default:
>  set device /dev/cuaa0
>  set speed 38400
>  set phone 20123
>  disable pred1
>  deny pred1
>  disable lqr
>  deny lqr
>  set openmode active
>  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATS41.4=1 OK ATE1Q0 OK-AT-OK \\dATDT\\T TIMEOUT 100 CONNECT"
>  set login "TIMEOUT 10 ogin:-\\r-ogin: xxxxx assword: xxxxxx ascend ppp"
>  set ifaddr 123.4.56.78/16 123.4.90.1/16 255.255.255.0
>  add 0 0 123.4.90.1
> 
> [stuff deleted]
> 
> Any hints?
> 
> Marko