From owner-freebsd-stable Sun Jan 12 07:32:35 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id HAA01894 for stable-outgoing; Sun, 12 Jan 1997 07:32:35 -0800 (PST) Received: from ns.tp.silkera.net (ns.tp.silkera.net [203.70.2.9]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id HAA01802; Sun, 12 Jan 1997 07:28:04 -0800 (PST) Received: from dorothy.bsd.zerodist.com (ts63-ip79.tp.silkera.net [203.70.2.79]) by ns.tp.silkera.net (8.8.4/8.8.4) with SMTP id XAA08819; Sun, 12 Jan 1997 23:24:55 +0800 (CST) Message-ID: <32D90341.2419@ms2.hinet.net> Date: Sun, 12 Jan 1997 23:29:58 +0800 From: zerodist Reply-To: zerodist@ms2.hinet.net X-Mailer: Mozilla 3.0Gold (Win95; I) MIME-Version: 1.0 To: owensc@enc.edu, wangel@wgrobez1.remote.louisville.edu, dnex@access.digex.net, current@freebsd.org, stable@freebsd.org Subject: ppp setup Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-stable@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello: I have a question about ppp setup. Could someone out there help me? My ISP use PAP authentication. My ppp.conf setup is as follows. default: set device /dev/cuaa1 set speed 38400 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDT\ \T TIMEOUT 40 CONNECT" iij-pap: set phone 727-2710 set login "TIMEOUT 5 name:-\\r-name: member word: silkera" deny chap accept pap set authname zerodist #dkfjdfjo my fake password, I typed real one though set authkey dkfjdfjo set timeout 0 set openmode active set ifaddr 0 203.70.2.4/24 add 203.70.2.0 255.255.255.0 203.70.2.4 add 0 0 203.70.2.4 dial Now I issue command ppp iij-pap, it will dial and establish a connection between me and my ISP. And both me and my ISP will get an IP dynamically. Say I get 203.70.2.36 and my ISP get 203.70.2.6. I can ping 203.70.2.6. But I can not ping 203.70.2.36 and the main server(203.70.2.4) of my ISP. I ,also tried to delete those add lines in the ppp.conf file. And put them to my ppp.linkup as follows MYADDR: delete ALL add 0 0 203.70.2.4 Still it won't work. I guess there got be something wrong with my routing table. I shall greatly appreciate your help.