From owner-freebsd-questions Thu Aug 28 17:27:10 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA29227 for questions-outgoing; Thu, 28 Aug 1997 17:27:10 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA29222 for ; Thu, 28 Aug 1997 17:27:04 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id BAA03637; Fri, 29 Aug 1997 01:08:40 +0100 (BST) Message-Id: <199708290008.BAA03637@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: "George Yegoroff" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Run "ppp -alias -ddial" problem. In-reply-to: Your message of "Thu, 28 Aug 1997 11:24:54 -0000." <199708281234.SAA12912@gy.sibtel.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 29 Aug 1997 01:08:39 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 , Don't _EVER_ lose your sense of humour....