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.bbnplanet.com!cpk-news-hub1.bbnplanet.com!portc02.blue.aol.com!newsjunkie.ans.net!newsfeeds.ans.net!interaccess!no.such.domain!jaykuri From: jaykuri@no.such.domain (Charlie Root) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Tips : Dynamic PPP On-Demand Setup Date: 20 Dec 1996 16:16:12 GMT Organization: Sirius Cybernetics, Sirius City branch Lines: 25 Message-ID: <59ee4c$jch@nntp.interaccess.com> References: <58jrqe$vks@lantana.singnet.com.sg> <58ujoe$9to@uuneo.neosoft.com> <59d0a5$7b7@nntp.interaccess.com> <32BA3897.500F9F30@FreeBSD.org> NNTP-Posting-Host: oneway.com X-Newsreader: TIN [version 1.2 PL2] Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32867 : > In /etc/sysconfig add tun0 to your network_interfaces line. Add an : > ifconfig_tun0 line stating the IP that you used in ppp.conf, and the : Actually, so is this.. :-) : The configuration of tun0 will be done automatically by ppp when you : start it; no preconfiguration of tun0 is necessary. I noticed this. However, It does not give the interface an address, as such, the packet that should cause ppp to dial never makes it to the tun0 interface. In order for anything to reach the tun0 interface, it needs an address assigned to it. PPP won't configure the tun0 interface with an IP until it negotiates an IP with the PPP server. In auto mode, it won't dial up until a packet is sent via the tun0 interface. If the tun0 interface has no IP, no packet will ever make it to the tun0 interface, hence ppp will never dial. Hence, it seems, in auto-mode at least, that you must ifconfig the tun0 interface with an IP, even if that IP will change once PPP has connected. If I am wrong, and there's something I'm missing, please fill me in. Jay --- Everyone can be taught to sculpt: Michelangelo would have had to be taught how not to. So it is with the great programmers.