Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 22:48:59 -0600
From:      "Jonathan E. Lyons" <parrothd@midwest.net>
To:        "George Vagner" <kf7nn@pentium166.kf7nn.net>, "George Vagner" <vagner@spdc.ti.com>, <questions@FreeBSD.ORG>
Subject:   Re: ppp -alias
Message-ID:  <3.0.3.32.19971119224859.006acba0@midwest.net>
In-Reply-To: <m0xYLkt-000LgUF@mail.airmail.net>

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



At 07:46 PM 11/19/97 -0600, George Vagner wrote:
> you mean this?
>add this under the demand section?

Yes, but fill in your IP information. Unless your IP address is dynamicly
asigned. Here are two examples from /etc/ppp/ppp.conf.sample file..


ondemand:
 set phone 1234567
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 120
 set ifaddr 192.244.185.226 192.244.176.44 255.255.255.0
 add 0 0 192.244.176.44

# Another on demand example
#  If the peer assigns us an arbitrary IP and we can't predict what their
#  IP will be either, take a wild guess at an some IPs that you can't
#  currently route to.  Ensure that the "delete" and "add" lines are also
#  present in ppp.linkup so that when we connect, things will be put straight.
#  Note that it is illegal to use HISADDR here - HISADDR is only available
#  in ppp.linkup (after the value has been established).
#
#  The /0 bit says that we insist on 0 bits of the specified IP actually
#  being correct, therefore, the other side can assign any IP numbers.
#
#  We also set openmode active - this makes us initiate ppp negotiation.
#  The default is to wait for the server to start talking.
#
pmdemand:
 set phone 1234567
 set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp"
 set timeout 120
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
 delete ALL
 add 0 0 10.0.0.2
 set openmode active



>
>set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
>add 0 0 127.2.2.2
>
>-----Original Message-----
>From: Jonathan E. Lyons <parrothd@midwest.net>
>To: George Vagner <vagner@spdc.ti.com>; questions@FreeBSD.ORG
><questions@FreeBSD.ORG>
>Date: Wednesday, November 19, 1997 2:01 PM
>Subject: Re: ppp -alias
>
>
>
>>
>>add & change ( \/  gateway  &  \/ this to your IP address) to ppp.conf...
>>
>> set ifaddr 29.60.64.1/0 29.60.64.59/0 255.255.255.0
>> add 0 0 29.60.64.59
>>
>>        /\ set this to your IP address...
>>
>>There are a bunch of examples in /etc/ppp/ppp.conf.sample
>>
>>
>>Hope this helps..
>>
>>
>>
>>At 04:03 AM 11/19/97 -0600, George Vagner wrote:
>>>yesturday i have had problems making some connections thru my freebsd box
>>>from my NT machine.
>>>
>>>I have freebsd 2.2.5-r and invoke ppp -alias interactive and then proceed
>to
>>>connect to my provider all ok, i can browse internet from the freebsd box
>>>just fine but when trying from my other machine which runs NT 4.0 only
>>>about 50 % of the sites i can access, i get an error saying the server
>>>is not available.
>>>
>>>I used to be able to do it just fine but i changed some of my settings in
>>>the default dns server and now it dont work half the time.
>>>
>>>for the default server i put in the ip addresses of the nt machine the
>>freebsd
>>>machine and the ip for the dns server on my providers side. is this
>correct?
>>>
>>>i tried just putting in the dns for just my provider and i get nothing at
>>all.
>>>
>>>I dont know too much about networking and need some suggestions on how to
>>about
>>>setting up NT to use the freebsd box to get to my provider.
>>>
>>>mail doesnt work eithier but it used to?
>>>
>>>
>>>--
>>>
>>>
>>>Laszlo G. Vagner
>>>Texas Instruments
>>>13570 N. Central expressway M/S 3703
>>>Dallas, Texas 75243
>>>(972)995-4297
>>>(972)598-5217 Pager
>>>Email vagner@tee eye dot com  <SPAM purposes
>>>http://web2.airmail.net/kf7nn
>>>
>>>
>>>
>>
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19971119224859.006acba0>