'ppp -direct' problems (Is there a FAQ?)

'ppp -direct' problems (Is there a FAQ?)

Post by Craig O » Tue, 16 Apr 1996 04:00:00



Hi,

So that I can get a free internet connection and to bring work home
:-( I have made a machine out of junk components and installed
FreeBSD. Wise choice I hear you all say!

But I have a few minor problems to come to terms with in regards to
user mode ppp.

[ij]ppp seems to be lacking in documentation and FAQ's. I was hoping
that someone could point me at a FAQ or else look at my problem and
advise.

Work run a WAN with a topology similar to this...

    internet
    FireWall
       |
  [Corporate HQ]       [Branch Office]
       |                     |
       |                     |
      WAN 1                 WAN 2
   FrameRelay               ISDN
       |                     |
     cisco                 cisco
 198.178.189.254        198.178.189.253
       |                     |
       +-----------+---------+
                   |
       ----Various Machines-----------------FreeBSD (ED1)
                                          198.178.189.6
                                                |
                                                +---Modem
                                                      \
                                                +---Modem
                                                |
                                            My Home
                                            ?.?.?.?

I have the gateway option turned on (in startnet? I can't quite
remember now! but it is on as it shows up during the boot messages)

Some background...
By "corporate law" if I want to access the WAN I must remain as
198.178.189.x and must not create any fake addresses. I have servers
(HP9000 and Novell) at .2, .3, .4, .5   My user machines are set up to
starting at .40 and go up to .98 (DHCP)   My FreeBSD box can ping
anywhere on the WAN's (if I kill the routed process, but that is
another matter, as .253 advertises but .254 doesn't :)

Now the configuration files...
I think I have the sysconfig right, but the netmasks have me a little
confused...
   network_interfaces="ed1 tun0 lo0"
   ifconfig_tun0="inet 198.178.189.7        netmask 0xffffff00"
   ifconfig_ed1="inet 198.178.189.6         netmask 0xffffff00"
   ifconfig_lo0="inet localhost"
   defaultrouter="198.178.189.254"

Is giving mentioning tun0 and giving it an address correct?

I have created the ppplogin script and it starts if I login as ppp

I have set up the ppp.conf file with
        default:
          set device /dev/cuaa0
          set speed 115200
          disable lqr
          deny lqr
        incoming:
          set ifaddr 198.178.189.7 198.178.189.6
I am really guessing here with the 'incoming' bit and the 'set ifaddr'
line! (I only need to dial in)

My ppp.linkup has in it...
        198.178.189.7:
         add 0 0 HISADDR
Once again I am lost. Any hints?

I have also created an options file...
        crtscts
        netmask 255.255.255.0
        198.178.189.7:198.178.189.6
        domain wds.xxxxxx.com
        passive
        modem
I don't know why I have created an options files, but I remember
someone once mentioning this!

Well thats about it. I really hope that I have made an obvious and
simple mistake that someone can point out.

I just can't seem to make this click despite many days of trying
things.

BTW

I am running Windows '95 on my home machine with terminal after
dialing. I dial, login as ppp, see the banner and start
communications. I am kicked out with "unable to negotiate a
connection"

Thanks in advance,
Craig Orr

 
 
 

1. I've read/am reading the faq's - but what is a Segmentation fault?

I am reading the faq's as fast as I can, but I would really appreciate a
pointer to information about Segmentation faults.  Every time I try to run
Pico (among others) the system responds with "Segmentation fault".  What
does it mean?  How can i fix it?  Is it in a FAQ?  Which one?

THANKS!!!
Dana
----------



----------
--
------------------------------------------------------------------------------
 \ The above does not represent OIT, UNC-CH, laUNChpad, or its other users. /
   ------------------------------------------------------------------------

2. Security Vulnerability in hpterm on HP-UX 10.20 only

3. ppp and 'direct connect' serial link ??

4. trouble with LILO

5. Load sharing with PPP - FAQ's, HOW-TO 's ??

6. Linux intranet: A viable alternative

7. I see it's a faq, but it's not a faq!

8. Yggdrasil: Where's lilo-install?

9. FAQ I am sure but I don't get it ...!

10. I could not find the FAQ, so I am asking (I think) FA Q's

11. 'ppp-on' Works, 'ifup ppp0' Doesn't

12. ppp -direct as server doesn't exit when line dropped

13. PPP 'Divide Error', 'Segmentation Fault'