*BSD News Article 84975


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news-peer.gsl.net!news.gsl.net!news-lond.gsl.net!news.gsl.net!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Tips : Dynamic PPP On-Demand Setup
Date: 15 Dec 1996 02:41:59 -0000
Organization: Coverform Ltd.
Lines: 52
Sender: brian@awfulhak.demon.co.uk
Message-ID: <58vohn$ihc@anorak.coverform.lan>
References: <58jrqe$vks@lantana.singnet.com.sg>
    <87k9qnaglm.fsf@luddite.org> <58t4j9$qnm@lantana.singnet.com.sg>
    <58ujoe$9to@uuneo.neosoft.com>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32620

In article <58ujoe$9to@uuneo.neosoft.com>,
	conrads@neosoft.com (Conrad Sabatier) writes:
: In article <58t4j9$qnm@lantana.singnet.com.sg>,
: 	light@singnet.com.sg (Jason Tseng) writes:
>> Jay Sachs <sachs@interactive.net> wrote:
>>>> 
>>>> 1) Initialize the tun0 device to some dummy addresses by typing:
>>>> "ifconfig tun0 inet x.x.x.x y.y.y.y" at the shell prompt, where
>>>> x.x.x.x is your localhost address and y.y.y.y is some other dummy
>>>> address. eg.
>>>> 
>>>> $ ifconfig tun0 inet 192.168.0.0 192.168.0.1
>>>> 
>>>> * where 192.168.0.0 is my local host address. This address IS
>>>> IMPORTANT and must be the same as the one found in the hosts file.
>>>> * 192.168.0.1 is just a dummy address
>> 
>>>This should be unnecessary. Also, an separate IP address for your own
>>>machine in /etc/hosts is unecessary. You can stick the hostname you
>>>chose (in /etc/sysconfig) as another alias for 127.0.0.1.
>> 
>> i dont know if this has any implications. but i always get
>> "SIOCAIFADDR:Device not configured" when i start ppp in auto mode.
>> 
>> so what is happening now, is that i need to ifconfig (not in
>> sysconfig) tun0 before calling ppp -auto. otherwise, nothing happens
>> at all even after a few minutes from my first ping. setting "route=NO"
>> will had the same effect even after ifconfig-uring tun0, so i have to
>> leave it as "route=routed". 
: 
: I've noticed the same behavior.   It seems that without an external
: ifconfig, nothing ever reaches the interface.  I've also seen the
: "SIOCAIFADDR:Device not configured" message intermittently.
: 
: This is so crazy!  Some people here are saying it should work without
: ifconfig/routed, but I'll be damned if I can get it to do so!
: 

Can anyone who's experiencing this problem mail me their config files
(not forgetting to xxxx out passwords) please ?  I don't know why this
is happening - as you say, it's crazy !

A copy of ppp.conf, ppp.linkup and ppp.secret would be nice along with
any other revelent bits about tun0 or invoking ppp.

TIA.

-- 
Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.