Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 1997 01:08:39 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        "George Yegoroff" <georgeye@sibtel.ru>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Run "ppp -alias -ddial" problem. 
Message-ID:  <199708290008.BAA03637@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Thu, 28 Aug 1997 11:24:54 -0000." <199708281234.SAA12912@gy.sibtel.ru> 

next in thread | previous 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. And I can't connect.
> 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  
> 
> # 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 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

You're missing spaces in front of your commands, and you need to 
"add 0 0 195.58.11.10".

[.....]
> 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
> 
> What's wrong ?

Fix your "add 0 0 ..." line.  You may want to download the latest 
version of ppp from http://www.freebsd.org/~brian.  You can say 
"add 0 0 HISADDR" and not worry about what the arg should be :-)
-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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