From owner-freebsd-questions Sun Jul 28 13:58:18 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA10221 for questions-outgoing; Sun, 28 Jul 1996 13:58:18 -0700 (PDT) Received: from masternet.it (root@masternet.it [194.184.65.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA10212 for ; Sun, 28 Jul 1996 13:58:11 -0700 (PDT) Received: from socrate (ts1port12d.masternet.it [194.184.65.34]) by masternet.it (8.6.12/8.6.9) with SMTP id VAA09367; Sun, 28 Jul 1996 21:54:58 +0200 Message-ID: <31FBE1E8.167EB0E7@masternet.it> Date: Sun, 28 Jul 1996 23:55:52 +0200 From: Beck Peccoz Amedeo X-Mailer: Mozilla 2.01 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Toshiharu OHNO CC: freebsd-questions@FreeBSD.ORG Subject: ppp doesn't go -auto Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I'm trying to run ppp with the -auto switch so that it dials automatically and calls my provider. The process actually runs, but if try to go outside my box (ping, telnet, popclient....) I only get lots of "Host is down" of "Unknown host" messages. Before ppp gets executed, netstat -r gives Internet: Destination Gateway Flags Refs Use Netif Expire 10/24 link#1 UC 0 0 socrate.gea.org localhost.gea.org UGHS 0 0 lo0 localhost.gea.org localhost.gea.org UH 1 0 lo0 224/4 link#1 UCS 0 0 while after it's Internet: Destination Gateway Flags Refs Use Netif Expire 10/24 link#1 UC 0 0 socrate.gea.org localhost.gea.org UGHS 0 0 lo0 localhost.gea.org localhost.gea.org UH 1 0 lo0 194.174.65.16 default UH 0 0 tun0 224/4 link#1 UCS 0 0 Which looks good (doesn't it :-) My provider should give me dynamically an IP in the range 194.184.65.24-39, so I assumed an IP 194.184.65.16 with a netmask of 255.255.255.240 wich simply covers a wider range of addresses. Here are my ppp.conf and ppp.llinkyp files: ppp.conf default: set device /dev/cuaa1 set speed 38400 disable lqr deny lqr set dial "ATDT OK" set timeout 180 master: set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDP$ set phone 1234567 set login "gin: xxxxx word: yyyyy >> ppp" set redial 1 999 set ifaddr 0 194.174.65.16/28 add 0 255.255.255.0 194.184.65.16/28 ppp.linkup MYADDR: delete ALL add 0 194.184.65.16/28 HISADDR Is someone experienced with ppp -auto willing to help me? Please reply to me directly as I'm not subscribed to this mailing list. Thank you -- Beck-Peccoz Amedeo Tel. +39-125-366302 GEA Software S.r.l. Fax. +39-125-366415 gea@masternet.it GSM +39-347-3837526