Date: Fri, 28 Nov 2008 23:30:44 +0700 From: Pongthep Kulkrisada <ptkrisada@gmail.com> To: freebsd-questions@freebsd.org Cc: Ian Smith <smithi@nimnet.asn.au>, Andrew <awd@awdcomp.net>, Fbsd1 <fbsd1@a1poweruser.com>, Manolis Kiagias <sonic2000gr@gmail.com> Subject: Re: Problem about ppp -nat Message-ID: <20081128163044.GA1850@gmail.com> In-Reply-To: <20081124012858.J43853@sola.nimnet.asn.au> References: <20081123120013.8EDF310657E3@hub.freebsd.org> <20081124012858.J43853@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi all, > I didn't touch /etc/ppp/ppp.conf, which has been working for 5 years > since FBSD5.0R. Even if I go back to GENERIC kernel. I could not dial out > to ISP in any ways. I didn't know what I do wrong even if > I did read many docs. I tried exactly what being described in the handbook. But all failed, I still can't dial ISP. I think that posting /etc/ppp/ppp.conf may be useful for your diagnostic. Note that this file has been used for long time and never changed. But I've just reminded that ppp is changed from version to version. My ppp.conf may not suit the current version. I don't know. # cat /etc/ppp/ppp.conf default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad0 set ctsrts off # enables software flow control set accmap 000a0000 # comments out these 2 lines for hardware flow control set speed 115200 disable pred1 deny pred1 disable lqr deny lqr set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 180 CONNECT" set redial 3 20 enable dns # request DNS info (for resolv.conf) isp: set phone 0123456789 set authname mylogin@myisp.com set authkey mypassword set timeout 0 add! default HISADDR # Add a (sticky) default route set openmode active accept pap set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add 0 0 HISADDR Thank you. Pongthep
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081128163044.GA1850>