Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 1999 12:04:57 +0930
From:      Greg Lehey <grog@lemis.com>
To:        J McKitrick <jcm@dogma.freebsd-uk.eu.org>
Cc:        Hector Colmenares <zips@zips.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: $20 to anyone who can fix my problem....
Message-ID:  <19991001120457.L496@freebie.lemis.com>
In-Reply-To: <Pine.BSF.4.02A.9910010313310.49903-100000@dogma.freebsd-uk.eu.org>; from J McKitrick on Fri, Oct 01, 1999 at 03:15:35AM %2B0100
References:  <Pine.BSF.4.10.9909302119160.3315-100000@justice.zips.net> <Pine.BSF.4.02A.9910010313310.49903-100000@dogma.freebsd-uk.eu.org>

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

On Friday,  1 October 1999 at  3:15:35 +0100, J McKitrick wrote:
> On Thu, 30 Sep 1999, Hector Colmenares wrote:
>> 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.

Why don't you spend $40 and buy "The Complete FreeBSD"?  It's all in
there, and a lot of other stuff too.

>>> 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.
>>
>>	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"

Hector, if this is your password, I suggest you change it.

>> 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
>
> Well, it did the same thing.  All the commands worked as expected, but
> when i tried pinging or telnetting, i got:
> unable to route (something like that)
> or
> sendto : permission denied

What did you get in /var/log/messages?  What about your netstat -rn
and ifconfig -a output?

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


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?19991001120457.L496>