*BSD News Article 78103


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!bunyip.cc.uq.oz.au!minbne.mincom.oz.au!cygnus.mincom.oz.au!saturn.mincom.oz.au!shawnl
From: Shawn Lyndon <shawnl@saturn.mincom.oz.au>
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.solaris
Subject: Re: Solaris --PPP--> FreeBSD. Was someone successful?
Date: Thu, 12 Sep 1996 10:08:37 +1000
Organization: Mincom Pty. Ltd.
Lines: 85
Distribution: inet
Message-ID: <Pine.HPP.3.91.960912100733.14512E-100000@saturn.mincom.oz.au>
References: <ARNULF.96Sep11132557@mumu.inf.fu-berlin.de>
NNTP-Posting-Host: saturn.mincom.oz.au
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
In-Reply-To: <ARNULF.96Sep11132557@mumu.inf.fu-berlin.de> 
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:27105 comp.unix.solaris:82261

On 11 Sep 1996, Arnulf Guenther wrote:

> Hi,
> 
> this is my last resort!
> 
> I'm desperately trying to setup a dial-out PPP link to a FreeBSD box.
> Dialin PPP from both, FreeBSD and Solaris, works fine.  My colleague
> was able to install a dialout link to his Solaris box at home.
> 
> Asppp is a horror to setup.
> There must be someone on this world who has already tried this
> combination.  I'm very interested in any details.
> 
> Thank you,
> 
> 	Arnulf
> 

I hope people aren't getting sick of me replying to this... but here goes 
again... This is some basic info on setting up a PPP link on Solaris...

The best information for this is in the Solaris Answerbook.

Here goes:


PPP - Link (Solaris 2.4)

Make sure PPP software installed
pkginfo |grep ppp

Add all hosts to be involved in PPP link to /etc/hosts file
(Add your local ppp ports IP addres i.e. piglet-ppp	97.10.10.1)
(Add all the remote machines that you will connect to)
vi /etc/hosts

Modify /etc/uucp/Device file and add an entry to associate the physical line with a paticular modem from the Diallers file
ACU cua/b - Any hayes

Modify /etc/uucp/Diallers file to add modem specific information, if necessary

Modify /etc/uucp/Systems file and add entry for the machine you wish to dial
bha-ppp Any ACU <speed> <phone number> {[expect send] [expect send] ...}

Add the PPP pseudo drivers as the PPP installation seems to miss this step during installation
add_drv ipdptp
add_drv ipdcm

Edit the /etc/asppp.cf file.  This file is used to configure the network link and set vital setttings on the line. i.e. Timeout, debugging

ifconfig ipdptp0 plumb piglet-ppp bha-ppp up
path
	inactivity_timeout 3000	#Approx 50 Minutes
	interface ipdptp0
	peer_system_name bha-ppp	#Entry in /etc/uucp/Systems
	debug_level 8			#Verbose output to log file


Start PPP
/etc/init.d/asppp start
(Check /var/adm/log/asppp.log to see if the link has come-up OK!)

IMPORTANT NOTE:
When communicating with a non Solaris 2.x system, you may have problems with the other side trying to negotiate line quality using LQM's (Line Quality Management Packets).  The only fix to this is to stop the other side from sending LQM's.


Now, try pinging the remote ppp port and the line should come-up
If it does not, check the /var/adm/log/asppp.log file for clues!

Thanks

Shawn



> 

_______________________________________________________________________
Shawn Lyndon            | Internet: shawnl@mincom.com  | | | | | |       
UNIX Consultant - MCST  |                              | | | | | |      
Mincom Pty Ltd          | Ph: +61-7-303-3333 Ext 2075  | | | | | |     
Brisbane, QLD Australia | Fx: +61-7-364-9970           |M|I|N|C|O|M    
_______________________________________________________________________