Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 16:30:48 -0000
From:      "George Yegoroff" <georgeye@sibtel.ru>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ppp in  dedicated mode.
Message-ID:  <199708281740.XAA13196@gy.sibtel.ru>

next in thread | raw e-mail | index | archive | help
Hi , I try run ppp on FreeBSD 2.2.1 machine i485 DX4 66/ 8 Mb RAM/ 406 Mb
HDD/NE-2000 ethernet card, leased line to ISP, port of cisco router in
dedicated mode, not need authentication ip address of ISP side
195.58.11.10, my side 195.58.11.18.
This is my ppp.conf file .

#################################################################
#
#  	PPP  Sample Configuration File
#
#	  Written by Toshiharu OHNO
#
# $Id: ppp.conf.sample,v 1.5.2.3 1997/03/17 00:29:48 jmg Exp $
#
#################################################################

# Default setup. Always executed when PPP is invoked.
#
default:
 set device /dev/cuaa0
 set speed 19200
 disable lqr
 deny lqr
 set dial  "~ \r"

# Example with login script
#   o From PPP prompt,
#	ppp> dial simplesite
#     automatically dials and performs the login script.
#
#       ppp> load simplesite
#     loads and executes commands, but doesn't dial.
#
#   o From shell, invoke as
#       % ppp simplesite
#     to load commands associated with the 'simplesite' label. Use,
#       ppp> dial
#     to establish the connection.
#    THIS LINES I USE FOR CONNECT TO MY ISP
sibtel:
set dial "~ \r"
set ns 195.58.11.24
set ifaddr 195.58.11.18 195.58.11.10 255.255.255.0
set openmode active
set timeout 3600
add 0 0 195.58.11.18


modems have fulltime connection on leased line in async mode

NOW I START PPP
^^^^^^^^^^^
# ppp
User Process PPP. Written by Toshiharu OHNO.
Log level is 281
can't open /etc/ppp/ppp.secret.
Warning: No password entry for this host in ppp.secret
Warning: All manipulation is allowed by anyone in the world
Using interface: tun0
Interactive mode
ppp ON mail> dial sibtel
Dial attempt 1
dial OK!
login OK!
ppp ON mail> Packet mode.
ppp ON mail>
PPP ON mail> show log
08-28 10:41:15 [205] Using interface: tun0
08-28 10:41:15 [205] PPP Started.
08-28 10:41:23 [205] Phase: Authenticate
08-28 10:41:23 [205] Phase: Network
08-28 10:41:23 [205]  myaddr = 195.58.11.18  hisaddr = 195.58.11.10
08-28 10:41:23 [205] OsLinkup: 195.58.11.10
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ALL WORKING
,AND NOW I RUN PPP AS DEDICATED

# ppp -dedicated -alias sibtel
User Process PPP. Written by Toshiharu OHNO.
Packet aliasing enabled.
Log level is 281
can't open /etc/ppp/ppp.secret.
Warning: No password entry for this host in ppp.secret
Warning: All manipulation is allowed by anyone in the world
Using interface: tun0

,AND PING INTERFACE

# ping 195.58.11.18
PING 195.58.11.18 (195.58.11.18): 56 data bytes
ping: sendto: No route to host

NOT WORK , WHY ?
What's wrong ?
And I can't find process ID that "kill -TERM PID" him .




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