From owner-freebsd-questions Wed Dec 16 12:53:47 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA09199 for freebsd-questions-outgoing; Wed, 16 Dec 1998 12:53:47 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from namodn.com (namodn.com [207.33.107.203]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09191 for ; Wed, 16 Dec 1998 12:53:45 -0800 (PST) (envelope-from robert@namodn.com) Received: from localhost (robert@localhost) by namodn.com (8.8.8/8.8.8) with SMTP id MAA23818; Wed, 16 Dec 1998 12:57:26 GMT (envelope-from robert@namodn.com) Date: Wed, 16 Dec 1998 12:57:26 +0000 (GMT) From: Robert To: alissa bader cc: questions@FreeBSD.ORG Subject: Re: more PPP help In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 16 Dec 1998, alissa bader wrote: > > 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 Did you put your nameserver in /etc/resolv.conf ? Also, try to ping a working IP address, like ping 207.33.107.203 then you can isolate whether it's a name server prob or not.. > > 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 I don't think you need dns in there.. Hmm, on the "set phone" line, I don't use quotes; it looks like this : set phone 555-1212 (OK, so it's not really 555-1212, you don't expect me to put the real #, do you ? :) You are starting ppp with ppp provider then typing "dial" on the prompt, right? :) > > 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. Well, just so you don't get confused, shell scripts are based on the language built into the command-line shells, usually /bin/sh A shell script will typically look like this #!/bin/sh if [ $USER = "robert" ] ; then echo Hello. fi You can use environment variables to control the flow of the program ( in much more useful ways than I just demonstrated :) ) and there's a certain amount of standardization involved. The ppp.conf is more what would call a "config file", and is setup in a way that the author of the program thinks makes sense :) -rob ( www.namodn.com ) ( robert@namodn.com ) > > 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 > > 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 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message