Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jul 1995 14:40:47 -0700 (PDT)
From:      Michael Enkelis <michaele@mxim.com>
To:        current@FreeBSD.ORG
Subject:   PPPD
Message-ID:  <Pine.SUN.3.90a.950714143952.1708B-100000@macs>

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

I am trying to setup a PPP server on my FreeBSD 2.0.5 box, and have run
into a proublem.
I can login from ttyd1 and talk to the world, then hangup.  ttyd1 is then ready
for next call.
But when i login from ttyd0, i can only see my server.  If I add a arp entry
then i can talk to the world.  When i hangup, I have to kill -9 the pppd
process as it still thinks i am logged in!


204.17.143.
------------------------*------------------
                        |
       +--------------+ |
ed0    |204.17.143.249|-+
       |- -       - - |
ttyd0  |204.17.143.250|---[modem]
       |- -       - - |
ttyd1  |204.17.143.251|---[modem]
       +--------------+

--
/etc/passwd
pppX:*:10:35:&:/home/pppX:/usr/sbin/pppd

/etc/hosts
204.17.143.249          pppserv pppserv.mxim.com
204.17.143.250          remote1 remote1.mxim.com
204.17.143.251          remote2 remote2.mxim.com

/etc/ppp/
options		options.ttyd0		options.ttyd1
---------	-------------		-------------
crtscts		:204.17.143.250		:204.17.143.251
kdebug 1
modem
mru 1006
mtu 1006
proxyarp

--- BEFORE PPP STARTUP ---
ifconfig ed0
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 204.17.143.249 netmask 0xffffff00 broadcast 204.17.143.255

ifconfig ppp0
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1006
	inet 204.17.143.249 --> 204.17.143.51 netmask 0xffffff00 

netstat -r
Routing tables
 
 Internet:
 Destination      Gateway            Flags     Refs     Use     Netif Expire
 default          R59A143C           UGSc        1        0       ed0
 localhost        localhost          UH          1        0       lo0
 204.17.143       link#1             UC          0        0 
 R59A143C         aa:0:4:0:1:d4      UHLW        2        0       ed0    985
 macs             8:0:20:13:39:9e    UHLW        2      171       ed0    643
 pppserv          localhost          UGHS        0        2       lo0
 224              link#1             UCS         0        0 

arp -a
R59A143C.mxim.com (204.17.143.129) at aa:0:4:0:1:d4
macs.mxim.com (204.17.143.130) at 8:0:20:13:39:9e


--- PPP STARTUP ttyd1 ---
ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006
	inet 204.17.143.249 --> 204.17.143.251 netmask 0xffffff00 

netstat -r
Routing tables
 
 Internet:
 Destination      Gateway            Flags     Refs     Use     Netif Expire
 default          R59A143C           UGSc        1        0       ed0
 localhost        localhost          UH          1        0       lo0
 204.17.143       link#1             UC          0        0 
 R59A143C         aa:0:4:0:1:d4      UHLW        2        0       ed0    824
 macs             8:0:20:13:39:9e    UHLW        2      615       ed0    814
 pppserv          localhost          UGHS        0        4       lo0
 remote2          pppserv            UH          0        0      ppp0
 remote2          4:0:0:10:51:91     UHLS2       0        0       ed0
 224              link#1             UCS         0        0 

arp -a
R59A143C.mxim.com (204.17.143.129) at aa:0:4:0:1:d4
macs.mxim.com (204.17.143.130) at 8:0:20:13:39:9e
remote2 (204.17.143.251) at 4:0:0:10:51:91 permanent published (proxy only)

--- PPP STARTUP ttyd0 ---
ifconfig ppp0
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1006
	inet 204.17.143.249 --> 204.17.143.250 netmask 0xffffff00 

netstat -r
Routing tables
 
 Internet:
 Destination      Gateway            Flags     Refs     Use     Netif Expire
 default          R59A143C           UGSc        1        0       ed0
 localhost        localhost          UH          1        0       lo0
 204.17.143       link#1             UC          0        0 
 R59A143C         aa:0:4:0:1:d4      UHLW        2        0       ed0    764
 macs             8:0:20:13:39:9e    UHLW        2      765       ed0    764
 pppserv          localhost          UGHS        0        6       lo0
 remote1          pppserv            UH          0        0      ppp0
 224              link#1             UCS         0        0 

arp -a
R59A143C.mxim.com (204.17.143.129) at aa:0:4:0:1:d4
macs.mxim.com (204.17.143.130) at 8:0:20:13:39:9e

----------
Michael Enkelis
503-641-3737 Ext.2245



 _ _ _                          __                     michaele@mxim.com
' ) ) )      /          /)     /  `       /      /)    Michael Enkelis
 / / / o _. /_  __. _  //     /--   __   /_  _  // o _ (503) 641 - 3737 x2245
/ ' (_(_(__/ /_(_(_(<_(/_    (___, /) )_/ <_(<_(/_(_/_)_




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.90a.950714143952.1708B-100000>