Date: Fri, 12 Nov 1999 18:33:36 -0500 From: Kenneth Legg <sce04020@mail.wvnet.edu> To: freebsd-questions@FreeBSD.ORG Subject: ppp Message-ID: <382CA3D0.167EB0E7@mail.wvnet.edu>
next in thread | raw e-mail | index | archive | help
I went to the computer show this weekend and bought Freebsd 3.2. It
installed without a hich and I had no trouble hooking to my ISP. I've
using netscape 3.04, but only because I can't seem to get communitcator
to install.
I would like to think all who took time and sent me the helpfull
information, without it I would still be banging my head.
Think you all,
Kenny
P.S
KDE is great!!
> get nothing, and the modem lights do nothing.
>
> But I do thank you for answering my message.
> Kenny
Looking close in your configuration I just found one thing that
posible caused your problems:
> > > default:
> > > set device /dev/cuaa0
> > > set speed 115200
> > > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
> > > \\dATDT\\T TIMEOUT 40 CONNECT"
> > > ISP:
> > > set phone 1234567
> > > set login
^^^^^^^^^ This is what I talking about.
> > > set authname foo
> > > set authkey far
Right now most providers uses CHAP authorization for dialup service.
But this keyword, that you are use, needed to process standard unix-like
terminal authorization. You don't need this string at all. First of
all I recomend to instal new ppp version, You can get it at
http://www.freebsd.org/~brian/
Look at my config files for a working example:
--- ppp.conf ---
default:
set log phase
set speed 115200
set phone "212121"
set authname YOUR_LOGIN_MUST_BE_HERE
set authkey YOUR_PASSWORD_MUST_BE_HERE
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&F
OK-ATZ-OK \\dATDT\\T TIMEOUT 20 CONNECT"
set timeout 300
ondemand:
set device /dev/modem0
set server 3000 PPP_CONTROL_PASSWORD
set redial 40 30
set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
add 0 0 127.2.2.2
server:
set device /dev/modem1
set server 3001 PPP_CONTROL_PASSWORD
set nbns 192.168.1.2
set dns 192.168.1.1 192.168.1.2
enable chap
enable pap
enable passwdauth
enable proxy
accept dns
--- ppp.conf ---
There are 'ondemand' section for dial my provider and 'server' section
for
accepting incoming calls.
--- ppp.linkup ---
ondemand:
delete ALL
add 0 0 HISADDR
shell /usr/local/etc/firewall.conf MYADDR
shell /bin/sh -c "echo MYADDR >> /var/log/ppp.ips"
192.168.1.1:
shell /etc/ppp/ppp.diallog USER HISADDR "LINKUP "
--- ppp.linkup ---
File ppp.linkup used when line going up. You need only 'ondemand' like
section in it.
Hope this helps.
--
______________________________________________________________________________
Vladimir A. Petrov | I had slept and seen a dream, I seen a Windows
aka vap | of the future, and it was almost working.
FidoNet: 2:5075/21.21 | Nothing in the world is perfect but so ma
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?382CA3D0.167EB0E7>
