Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 1997 07:18:52 -0700 (MST)
From:      Charles Mott <cmott@snake.srv.net>
To:        George Yegoroff <georgeye@sibtel.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp in  dedicated mode.
Message-ID:  <Pine.BSF.3.96.970828071701.12569A-100000@darkstar.home>
In-Reply-To: <199708281740.XAA13196@gy.sibtel.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Have you set up your ppp.linkup file.  This adds a default route.  Do a
netstat -nr, and you should see a default route on the tun0 interface when
everything is working properly.  Example netstat -nr :
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            204.228.203.18     UGSc        4        7      tun0
127.0.0.1          127.0.0.1          UH          0       61       lo0
192.168            link#1             UC          0        0 
192.168.0.1        0:80:29:e9:ff:68   UHLW        0        4       lo0
192.168.0.2        0:a0:24:7b:4f:c1   UHLW        0        2       ed1   1189
192.168.0.4        0:60:97:1b:8e:83   UHLW        2   123695       ed1   1193
192.168.0.255      ff:ff:ff:ff:ff:ff  UHLWb       2     3663       ed1
204.228.203.18     204.228.203.140    UH          5        0      tun0


On Thu, 28 Aug 1997, George Yegoroff wrote:

> 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?Pine.BSF.3.96.970828071701.12569A-100000>