Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.idt.net!newsfeed.internetmci.com!demos!demos1!usenet
From: Mihails Nikitins <nikitins@infoservriga.lv>
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: PPP problem: Solaris 2.4. -> BSD/OS 2.0.1. (URGENT)
Date: Tue, 26 Nov 1996 21:38:28 +0200
Organization: Infoserv-Riga Ltd.
Lines: 136
Message-ID: <329B4734.5D82@infoservriga.lv>
NNTP-Posting-Host: dialin00.infoservriga.lv
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0Gold (Win95; I)
Dear bsdi users,
I got people who want to dial in my BSD/OS 2.01. box from their Sparc
running Solaris 2.4. I tried to connect them using the same PPP settings
technology that I use for PC users. Unfortunately, my frontal attack
failed. As I saw in the list archive, there are some compatibility
problems
connecting these two platforms.
Neither my users, nor I are SUN experts, but I should connect them
AS SOON AS POSSIBLE. I'm sure someone has already faced this problem.
THANK YOU IN ADVANCE FOR ANY HELP!!!
*************************** DETAILS ***********************************
1. On BSD/OS server side
Connection fails with the message:
Pigk: PPPIOCIPWBOS failed on ppp
/etc/ppp.sys
------------
Dialinigk:\
:di:\
:lu=/etc/netscripts/Dialin.up.simple:\
:li=/etc/netscripts/Dialin.login.simple.igk:\
:ld=/etc/netscripts/Dialin.down.simple:
Pigk:tc=Dialinigk:
/etc/netscripts/Dialin.up.simple
--------------------------------
# Dialin.up.simple by M.Nikitins
PATH=/sbin:/usr/sbin:/bin:/usr/bin
SYSTEM=$1 # System
INTERFACE=$2 # Interface
LOCAL=$3 # Local address
REMOTE=$4 # Remote address
#get ethernet card address
ETHER=$(/etc/netscripts/myether $LOCAL)
#remove old arp entry.
# The command may be obsolete, because Dialin.login.simple contains
# "route delete $REMOTE" that clears arp entry
arp -d $REMOTE
#Publish arp entry
arp -s $REMOTE $ETHER pub
exit 0
/etc/netscripts/Dialin.login.simple.igk
---------------------------------------
#!/bin/sh
# Dialin.login.simple script by M.Nikitins.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
SYSTEM=$1
INTERFACE=$2
LOCAL="111.112.113.1"
LOG="/var/log/my.ppplog"
# Choose IP address for the dialed in user
REMOTE="111.112.113.199"
echo "`date` $SYSTEM on $INTERFACE started" >> $LOG
# I should clear arp table, otherwise it can cause a failure
route delete $REMOTE
# For more safety, don't know if it's necessary
ifconfig $INTERFACE -alias $LOCAL down
ifconfig $INTERFACE inet $LOCAL $REMOTE netmask 255.255.255.0 up && exit
0
echo "IFCONFIG FAILED!" >> $LOG
netstat -ni >> $LOG
netstat -r >> $LOG
exit 1
********
2. On Solaris 2.4 side
Solaris connects BSD/OS, answers login name and password.
However, PPP negotiation fails.
process_ppp_msg: PPP_ERROR_IND
call cleanup(0)
Maximum number of configure requests exceeded.
Configuration files are as follows:
/etc/asppp.cf
-------------
ifconfig ipdptp0 111.112.113.199 111.112.113.1 up
path
interface ipdptp0
peer_system_name P-server
inactivity_timeout 9000
debug_level 5
/etc/uucp/Systems
-----------------
P-server Any ACU 19200 1234567 gin:Pigk word:sdjdds
****************************************************
THANK YOU AGAIN!
Please answer to my addres directly.
Best regards,
Mihails Nikitins
========================================================
Infoserv-Riga Ltd. Phone: +371-2-558439
14, Dzerbenes Str. Fax: +371-7828211
Riga, LV-1006 e-mail: nikitins@infoservriga.lv
Latvia http://www.infoservriga.lv
========================================================