From owner-freebsd-questions Wed Nov 19 20:53:14 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA07121 for questions-outgoing; Wed, 19 Nov 1997 20:53:14 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from cplkagan.globaleyes.net (cplkagan.GlobalEyes.net [209.60.64.59]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA07081 for ; Wed, 19 Nov 1997 20:53:05 -0800 (PST) (envelope-from parrothd@midwest.net) Received: from parrothd.houselan.net (parrothd [192.168.1.14]) by cplkagan.globaleyes.net (8.8.5/8.8.5) with SMTP id WAA03192; Wed, 19 Nov 1997 22:50:19 -0600 (CST) Message-Id: <3.0.3.32.19971119224859.006acba0@midwest.net> X-Sender: parrothd@midwest.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 19 Nov 1997 22:48:59 -0600 To: "George Vagner" , "George Vagner" , From: "Jonathan E. Lyons" Subject: Re: ppp -alias In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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 >To: George Vagner ; 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 >>http://web2.airmail.net/kf7nn >>> >>> >>> >> > > >