Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 1998 00:52:03 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        alissa bader <molbloo@interport.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: more PPP help 
Message-ID:  <199812170052.AAA10099@keep.lan.Awfulhak.org>
In-Reply-To: Your message of "Wed, 16 Dec 1998 13:01:13 EST." <Pine.GSO.3.96.981216124242.21983A-100000@interport.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> hey there, I'm still having problems with setting up PPP on my FreeBSD
> 2.2.7 box.  I followed the instructions in the FreeBSD online handbook to
> the best of my abilities and still can't get it to go.  Well, I can get
> the terminal mode working, at least to the point where I can manually
> connect to my ISP, but I can't get the "dial provider" script to work at
> all.  Oh yah, even after I manually login and connect and everything,
> something clearly is not working, because I can't get netscape to get to
> home. netscape.com
> 
> here are the contents of my /etc/ppp/ppp.conf file:
> 
> default:
>   set device /dev/cuaa1
>   set speed 115200
>   set dial "ABORT BUSY NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0
> OK-AT-OK\\dATDT\\T TIMEOUT 40 CONNECT"
> provider:
>   set phone "isp phone # here"
>   set login "TIMEOUT 10 \"\" \"\" gin:--gin: mylogin  word: mypassword"
>   set timeout 0
>   set if addrr 208.231.64.144 204.215.84.1 255.255.255.0 0.0.0.0
>   add default 204.215.84.1
>   enable dns
> 
> FWIW, I took this file pretty much verbaitim from the FreeBSD handbook ppp
> setup pages.  OTOH, I've never written a unix shell script in my life, so
> no, of course I don't know what I'm doing. 

This isn't a shell script....

I'd suggest putting a space before the ``\\dATDT'' in your login 
script - enabling chat logging would have shown this (this is 
probably the most commonly made mistake - I really should stress this 
more in the FAQ).

Also, change ``set if addrr '' to ``set ifaddr '', change the ``add 
default 204.215.84.1'' to ``add default HISADDR'' and write 
/etc/ppp/ppp.linkup as per the docs.

> The IP# my isp provided me with is 208.238.64.144
> the gateway machine is 204.215.84.1
> nameservers are 204.215.84.2, 204.215.84.100, 204.215.84.101

The nameservers are specified in /etc/resolv.conf (man 5 resolv.conf).

> I made up other files too, again pretty much verbatium from the FreeBSD
> handbook (I made up an /etc/hosts file, for example).  I don't want this
> post to go on forever,though, so I'd be happy to provide this info to
> whoever could assist me further.
> 
> thanks in advance for all your help
> 
> --alissa, the unix ultra-newbie

Ah, you'll get used to it ;-)
-- 
Brian <brian@Awfulhak.org> <brian@FreeBSD.org> <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour !



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?199812170052.AAA10099>