From owner-freebsd-questions Sat Feb 24 15:59:29 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA28329 for questions-outgoing; Sat, 24 Feb 1996 15:59:29 -0800 (PST) Received: from ammi.mclink.it (ammi.mclink.it [192.106.166.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA28321 for ; Sat, 24 Feb 1996 15:59:23 -0800 (PST) Received: from dittaseria (pgw-201.mclink.it [192.106.229.201]) by ammi.mclink.it (8.6.9/8.6.9) with SMTP id AAA16680 for ; Sun, 25 Feb 1996 00:58:48 +0100 Message-Id: <1.5.4b11.32.19960225010014.002b8ae0@mclink.it> X-Sender: mc7953@mclink.it (Unverified) X-Mailer: Windows Eudora Light Version 1.5.4b11 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sun, 25 Feb 1996 01:00:14 +0000 To: questions@freebsd.org From: Marco Masotti Subject: Not able to operate with on demand PPP Sender: owner-questions@freebsd.org Precedence: bulk At 07:58 AM 2/24/96 -0700, Sean Kelly wrote: > Before using "term", try doing > set openmode active=7F the command "set openmode active" was solving my problem. Thanks, where do you get such information? I then moved on to the next stage of my job, on demand dialing. The peer IPaddr is fixed 192.106.229.1. My side changes dynamically. The peer is my defaultroute. When pinging to a given destination, instead of getting the connection up, the route fails: ping sendto: Host is down ping: wrote 192.106.166.93 64 chars, ret=3D-1 It's only possible to ping directly to the peer 192.106.229.1, activating the dialup connection.=20 But, if I connect initially by hand or by auto (anyway not on-demand), then definitely any subsequent on-demand operation succeds, as if some bit inside the routing table were set correctly in place. This is the routing table, right after issuing ppp -auto: ---------------------------------------------------------------------------- ------ Internet: Destination Gateway Flags Refs Use Netif Expire default localhost Uc 0 0 lo0 =3D> default 192.106.229.1 UGc 1 0 tun0 localhost localhost UH 1 0 lo0 192.106.229.1 default UH 3 0 tun0 199.1.1 link#1 UC 1 0 dittaseria localhost UGHS 1 10 lo0 224 link#1 UCS 0 0 This is the ppp.conf excerpt: --------------------------------------- mclink-auto: set debug phase lcp set phone NUMBER set openmode active set login "TIMEOUT 30 @-\\r-@ MYACCOUNT word: MYPASSWD now) \\r" set timeout 120 set ifaddr 0 192.106.229.1 add 0 255.255.255.0 192.106.229.1 Thanks, Marco Masotti