Newbie: Setting up PPP in 4.0 stable
Tony Balazs
tony at rothstein.co.uk
Wed Aug 16 16:48:25 BST 2000
Thank you, Brian. I think I am getting the hang of this, slowly.
We currently use MDaemon under Win 95 as our mail server, with static IP =
and SMTP both ways. What would be the recommended mail server to use =
under FreeBSD? Our client PCs run Outlook 97 (comments please...) and =
most of the people who mail us seem to use it too.
Thanks again for any advice.
Tony.
-----Original Message-----
From: Brian Somers [SMTP:brian at Awfulhak.org]
Sent: 16 August 2000 15:26
To: Tony Balazs
Cc: 'freebsd-users at uk.freebsd.org'; brian at Awfulhak.org
Subject: Re: Newbie: Setting up PPP in 4.0 stable
> When I do:
>=20
> ppp
> * term
> * atd9,08450798888
>=20
> all seems fine (connection established, login accepted, dynamic IP =
address).
> But I can't get PPP or Kernel PPP to dial up.
>=20
> For PPP, my /etc/ppp/ppp.conf is:
>=20
> default:
>=20
> #
> # Make sure that "device" references the correct serial port
> # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2)
> #
>=20
> set device /dev/cuaa1
>=20
> # set log Phase Chat LCP IPCP CCP tun command
> set speed 115200
> set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK =
ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
> set login "TIMEOUT 5 login:-\\r-login: ppp word: netcom"
> set timeout 120
> set ifaddr 0 0
> add default HISADDR
> enable dns
>=20
> papchap:
>=20
> #
> # edit the next three lines and replace the items in caps with
> # the values which have been assigned by your ISP.
> #
> accept chap
> accept pap
> disable pap
> disable chap
> ISP:
>=20
> set phone 9,08450798888
> set authname whatever1
> set authkey whatever2
>=20
> But when I do:
>=20
> ppp
> * dial netcom OR dial whatever1
>=20
> nothing dials
You need to ``dial'' one of your config entries, or you can even=20
specify it on the command line... It looks like you want
$ ppp papchap ISP
so that you load both profiles, then
ppp ON machine> dial
to make the connection. If you use ``dial something'', that's the=20
equivalent of ``load something'' then ``dial'' (or ``open''). =20
Remember, logging is your friend. To get a feel for things, try
$ ppp
ppp ON machine> set log local phase command lcp ipcp tun
ppp ON machine> load papchap
blah blah blah
ppp ON machine> load ISP
blah blah blah
ppp ON machine> open
blah blah blah
> Thanks,
>=20
> Tony.
Cheers.
--=20
Brian <brian at Awfulhak.org> =
<brian@[uk.]FreeBSD.org>
<http://www.Awfulhak.org> =
<brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !
More information about the Ukfreebsd
mailing list