Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 1996 09:10:28 -0600 (MDT)
From:      softweyr@xmission.com
To:        questions@freebsd.org
Cc:        Doug White <dwhite@gdi.uoregon.edu>
Subject:   Re: PPP exit...
Message-ID:  <199610101510.JAA02612@obie.softweyr.com>
In-Reply-To: <76279215@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 15 Sep 1996, Travis wrote:
 % Ok so I've figured out how to start up ppp and get connected and all
 % that goodie goodie...  But it leave it in that "PPP on #hostname>"
 % prompt...  Ya I know I can get a shell by typing shell..  But it seems to
 % stop the ppp connection if I go into that shell.  Is there a way to exit it
 % after it's connect.  It's taking up a Virtral Console and I don't like that.
 % Any help would be appricatied.

Doug White writes:
 > Try ^Z to suspend then quickly 'bg' it (assuming you're using the C
 > shell).  
 > 
 > At home I either ran it in an xterm I minimized or put it on one of the
 > other virtual consoles.

Write a dial script in your ppp.conf and use the autoconnect feature.
Several people have posted configurations; I've mailed mine to this
group a number of times.  Check out the archives for examples.

I have the following in my /etc/rc.local:

	[...]
	# put your local stuff here

	/usr/X11R6/bin/xdm && echo -n ' xdm'

	ppp -auto xmission && echo -n ' ppp'
	[...]

This starts up PPP in automatic mode; the connection will actually be
dialed as soon as a packet is sent across the interface.  Pinging
something outside your local network will dial and connect.  It works
very well once you get your modem correctly configured.  ;^)

-- 
   Wes Peters	|
    Softweyr 	|   Where am I, and what am I doing in this handbasket? 
   Consulting	| 
 softweyr@xmission.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610101510.JAA02612>