Problems Connecting to the internet using FreeBSD

Neil Ford neil at ourshack.com
Thu Apr 26 13:29:10 BST 2001


On Thu, Apr 26, 2001 at 08:44:03AM +0100, . wrote:
> My /etc/ppp/ppp.conf:
> default:
>  
Okay, here's a version built from /usr/share/examples/ppp/ppp.conf.sample. Try
this and see how you get on.

<--- CUT HERE --->
#
# ppp.conf - 200/04/26 - Neil Ford (neil at yacsc.com)
#
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"

#
# You *MUST* customise ``ISPphoneNo'', ``MyName'' and ``MyKey'' below.
#
btconnect:
 set phone ISPphoneNo
 set login
 set authname MyName
 set authkey MyKey
 set timeout 120
 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

<-- CUT HERE -->

Start ppp with the following command;

ppp -auto -nat btconnect

and then try pinging something and see if the modem dials. Check the logs and
hopefully you'll see a successful connection. If not, post the log output and
we'll take it from there.

Neil.
-- 
Neil Ford
Managing Director, Yet Another Computer Solutions Company Limited
neil at yacsc.com - http://www.yacsc.com




More information about the Ukfreebsd mailing list