*BSD News Article 59242


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!news.physics.uiowa.edu!math.ohio-state.edu!news.cyberstore.ca!van-bc!unixg.ubc.ca!nntp.cs.ubc.ca!cs.ubc.ca!ubc-cs!binhdo
From: binhdo@cs.ubc.ca (Binh Do)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Problems w/ User PPP
Date: 16 Jan 1996 22:48:43 GMT
Organization: University of British Columbia, Vancouver, B.C., Canada
Lines: 60
Distribution: world
Message-ID: <4dha0b$684@nnrp.cs.ubc.ca>
References: <4da13l$ha9@swen.emba.uvm.edu> <4db0cq$3t2@maureen.teleport.com>
NNTP-Posting-Host: rimaux.cs.ubc.ca

Maybe it should help if you turn on the debug option in ppp (inside ppp type set
debug Chat). After dialing you can view /var/log/ppp.log (or something similar)).
In my case the output is :

ppp>dial ubc
dial OK!
login OK!
ppp>switch... (small ppp)
PPP>...        (capital)

and now you can telnet and so on.

In article <4db0cq$3t2@maureen.teleport.com>, nailers@teleport.com (Blake R. Swensen) writes:
|> This was exactly the same problem that I had with my system. I had to 
|> ignore the part of the handbook that described setting up an 
|> ifconfig_tun0 line in /etc/sysconfig and add my internet service 
|> provider's (ISP) name server in /etc/resolv.conf.  These two steps will 
|> allow ppp to configure the tun0 device the way it needs to and tell ppp 
|> where to look to resolve names/ip addresses.
|> 
|> This is assuming that you also have the set ifaddr 0 0 in your 
|> /etc/ppp/ppp.conf file.
|> 
|> 
|> Todd Huss (huss@emba-news.uvm.edu) wrote:
|> : I'm trying to use User Space PPP with FreeBSD 2.1.0. I've recompiled the 
|> : kernel to include support for tun0, and have my chat script working and 
|> : everything. When I start up ppp and dial it connects, log's in, and then 
|> : switches to packet mode. However, when I switch to another window to try 
|> : and telnet out nothing happens. My modem lights don't so much as blink 
|> : which tells me that it's not even connecting to my DNS. When I try and 
|> : telnet to an IP address it just sits there and the modem lights don't do 
|> : a thing either. The routing tables when I type "show route" in ppp look 
|> : fine also. 
|> 
|> : I noticed in the PPP man page, it says when it starts talking PPP, that 
|> : the prompt ppp on hostname switches to capital letters which it does not 
|> : to on my machine. If it's switching to packet mode though isn't the ppp 
|> : connection pretty much established? Thanks for any help or suggestions.
|> 
|> : 						-Todd
|> 
|> : --
|> : ------------------------------------------------------------------------------
|> : 			       thuss@moose.uvm.edu
|> : 				huss@emba.uvm.edu
|> : 				  Todd C. Huss
|> : ------------------------------------------------------------------------------
|> 
|> --
|> +-------------------------------------------------------------------------+
|> |                        The Nailers. Rock and Blues.                     |
|> | http://www.teleport.com/~nailers                   nailers@teleport.com |
|> +-------------------------------------------------------------------------+

-- 

Binh Do
Department Of Computer Science
University Of BC, Canada