From owner-freebsd-questions Thu Jul 1 8:21:50 1999 Delivered-To: freebsd-questions@freebsd.org Received: from firefox.pacific.net.sg (firefox.pacific.net.sg [203.120.89.74]) by hub.freebsd.org (Postfix) with SMTP id 1153114D50 for ; Thu, 1 Jul 1999 08:21:44 -0700 (PDT) (envelope-from tanjk@firefox.pacific.net.sg) Received: (qmail 1887 invoked by uid 1001); 1 Jul 1999 15:21:17 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 1 Jul 1999 15:21:17 -0000 Date: Thu, 1 Jul 1999 23:21:17 +0800 (SGT) From: Tan Juay Kwang To: freebsd-questions@freebsd.org Subject: ppp problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm trying to use ppp to dial to my ISP and do NAT as well. However, I've got a problem. When I connect manually, as in issue the command 'dial myisp' at the ppp prompt, I can connect and everything works fine. If I were to get disconnected and then reconnect again manually, I can't get anywhere. Even 'netstat -r' hangs on me. However, I can still check the routes in the ppp prompt with 'show route'. The routing table is okie, everything is the same as with the first try. Tcpdump shows packets going out from the tun0 device with nothing coming back. My firewall rules are the one that came default with another one that allows everything from my side to the other side. The following are my ppp configs :- default: set log Phase Chat LCP IPCP CCP tun command set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\ dATDT\\T TIMEOUT 40 CONNECT" myisp: set phone 1234567 set login set authname user-id set authkey password set timeout 600 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns Appreciate any help and thanks in advance. Regards, Juay Kwang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message