Using Solstice PPP (Dial-In / Dial-Out)
2007-12-24 22:11:00
I am trying to configure a Netra X1 (new Solaris 8 release) as a PPP
dial-out and dial-in server. I got the box to dial out to our provider
using the PPP coming bundled with the system using the following config
files:
/etc/ppp/options
/dev/cua/b
38400
crtscts
defaultroute
lcp-echo-interval 15
lcp-echo-failure 3
#-vj
#debug
lock
/etc/ppp/peers/Freenet
57600
name andreas.hoeschler
remotename Freenet
connect 'chat -v -f /etc/ppp/chat/Freenet'
/etc/ppp/chat/Freenet
ABORT BUSY
ABORT ERROR
ABORT "NO CARRIER"
ABORT "NO ANSWER"
ABORT "NO DIAL TONE"
"" ATZ
#
# Dialing ppp provider
#
OK ATDT00101901929
CONNECT ""
However, I was not able to get dial-in working and was adviced to
uninstall the PPP coming with the system and install Solstice PPP 3.0.1
instead, which I did. The config files look differently here and I was
not even able to get PPP dial-out to work yet.
/etc/opt/SUNWconn/ppp/ppp.conf
ifconfig ipdptp0 plumb
ifconfig ipdptp0 ppp_server ppp_client mtu 1500 netmask 255.255.255.0 up
dialup_path
ip_interface ipdptp0
expect_login_id ahoeschp
remote_host Freenet
inactivity_timeout 120
/etc/opt/SUNWconn/ppp/link.conf
dialup_device pppdev0
unix_device ttyb
line_speed 38400
modem Standard hayes
call_setup both
remote_host Freenet
phone_number 00101901929
chat_script Freenet
/etc/opt/SUNWconn/ppp/script/Freenet
send RETURN
expect "ogin:" 10 onerror send BREAK repeat 3
send "andreas.hoeschler"
expect "word: " 40
#
# Set the ppp password of the remote host here
#
send "my password>"
I was able to start ppp with "/etc/init.d/ppp start" and then trigger
dialout with " /usr/bin/pppconn Freenet". The model dialed but the
connection failed. Here is /var/opt/SUNWconn/ppp/ppp.log.
03/15/02 17:28:55 - Link manager (1189) has started 03/15/02
03/15/02 17:28:55 - Successful configuration
03/15/02 17:30:56 - Connection requested to Freenet
03/15/02 17:30:57 - Dialing number 00101901929 ...
03/15/02 17:31:26 - Got modem connection
03/15/02 17:31:30 - Timeout expired [wait = 0]
03/15/02 17:31:30 - Timeout expired [wait = 0]
03/15/02 17:31:32 - Timeout expired [wait = 0]
03/15/02 17:31:32 - Timeout expired [wait = 0]
03/15/02 17:31:32 - Connection failed: failed at line 18 in chat script
/etc/$
03/15/02 17:31:35 - Disconnecting device pppdev0
03/15/02 17:31:37 - Resetting the modem to server mode
03/15/02 17:31:38 - Timeout expired [wait = 0]
03/15/02 17:38:38 - Link manager (1195) exited 03/15/02
What's wrong here? The chat script that was created by pppinit seems to
be for asynchronous PPP which is no longer used by providers in germany.
I need to get Solstice to use synchronous PPP. Has anybody experiences
configuring PPP dial-in / dial-out on Solaris 8 (latest version)? Hints
greatly appreciated.
Thanks a lot in advance,
Andreas
Comments
Got something to say?
You must be logged in to post a comment.

