Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 1994 22:21:58 +1100 (EST)
From:      John Herks <john@pyromania.apana.org.au>
To:        hackers@freebsd.org
Subject:   Setting up Sliplogin..
Message-ID:  <199412251121.WAA08834@pyromania.apana.org.au>

next in thread | raw e-mail | index | archive | help
I am trying to get my sliplogin to work..I am using trumpet winsock on the
dialup side.

I can ping and telnet into my local system (202.12.87.123) but I can't get
out onto the gateway (202.12.87.121) and the net.

When I do a traceroute on the PC running trumpet it stops at 202.12.87.123
and goes no further - what am I doing wrong ?

Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.00.01.04.80.53        59766     1    56667     0     3
ed0   1500  202.12.87.1 pyromania          59766     1    56667     0     3
lp0*  1500  <Link>                             0     0        0     0     0
lo0   65532 <Link>                           222     0      222     0     0
lo0   65532 your-net    localhost            222     0      222     0     0
sl0   552   <Link>                          4820     1     4676     0     0
sl0   552   202.12.87.1 pyromania           4820     1     4676     0     0
sl1*  552   <Link>                             0     0        0     0     0

Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use  Interface
default          202.12.87.121      UGS         3    52217  ed0
127.0.0.1        127.0.0.1          UH          0       67  lo0
202.12.87.120    link#1             UC          0        0  ed0
202.12.87.121    0:0:c0:77:83:1b    UHL         2       58  ed0
202.12.87.123    0:0:1:4:80:53      UHL         1      155  lo0
202.12.87.125    202.12.87.123      UH          1      190  sl0
224              link#1             UCS         0        0  ed0

-- 

These are my /etc/sliphome files under FreeBSD 2.0 -:


slip.hosts:

jslip	202.12.87.123	202.12.87.125	0xfffffff8	normal


slip.login:

#!/bin/sh -
#
#       @(#)slip.login  5.1 (Berkeley) 7/1/90
#
# generic login file for a slip line.  sliplogin invokes this with
# the parameters:
#      1        2         3        4          5         6     7-n
#   slipunit ttyspeed loginname local-addr remote-addr mask opt-args
#
/sbin/ifconfig sl$1 inet $4 $5 netmask $6 
                               
slip.logout:

#!/bin/sh
/sbin/ifconfig sl$1 down 0.0.0.0




John Herks                                       Communications Engineer
Pyromania Unix Melbourne                         john@pyromania.apana.org.au
Phone:+613-220-4757



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