Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 21:25:32 -0400 (EDT)
From:      Hector Colmenares <zips@zips.net>
To:        J McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: $20 to anyone who can fix my problem....
Message-ID:  <Pine.BSF.4.10.9909302119160.3315-100000@justice.zips.net>
In-Reply-To: <Pine.BSF.4.02A.9910010208230.49511-100000@dogma.freebsd-uk.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help

	Star ppp like this
	ppp -ddial jcm 

You will need somthing like this in your ppp.conf file
 
ppp.conf
default:
 set device /dev/cuaa1   <--- Make sure about this.
 set speed 115200
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0
OK \\d"
 set redial 3 9999
 set reconnect 3 9999
 set openmode passive
jcm:
 set phone 000-0000
 set login "TIMEOUT 5 ogin:--ogin: hcolmenare  word: ASDRUBAL"
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 delete ALL
 add default HISADDR

and if you are using nat you will need to do this also.

/usr/sbin/natd -l -dynamic -interface tun0
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via tun0
/sbin/ipfw add pass all from any to any 

	That will do it for you. and about your money save it and buy
books ;-)

HAPPY SURF ;-)

Cheers !
On Fri, 1 Oct 1999, J McKitrick wrote:

> 
> If anyone can help me get connected to the net, i will mail you a check
> for $20. No kidding. You all know me by now, and i'm am really ticked at
> this program, but i want to stay with FreeBSD.  I cannot get ppp to do any
> more than connect and get a gateway address. At least, that's what i think
> it is. And then nothing is reachable. Even IP addresses say sendto:
> permission denied or host unreachable or no route available.
>       
> I will email you any config files you want to see, and you
> can email me ideas or files. I just want this problem solved so
> i can get on with being productive. 
> 
> 
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909302119160.3315-100000>