Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jul 1999 23:21:17 +0800 (SGT)
From:      Tan Juay Kwang <tanjk@firefox.pacific.net.sg>
To:        freebsd-questions@freebsd.org
Subject:   ppp problems
Message-ID:  <Pine.GSO.4.10.9907012311380.29202-100000@firefox.pacific.net.sg>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.9907012311380.29202-100000>