Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Sep 1996 00:18:45 -0700
From:      Dat Mai Ha <>
Subject:   freebsd dip
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help
Hi Shadows,

Here is my output when type netstat -rn:

Routing tables

Destination        Gateway            Flags     Refs     Use     Netif Expire
default        UGSc        0        0       sl0          UH          0       80       lo0    UH          1        0       sl0

And here is the output when type ps -gax :

    0  ??  DLs    0:00.00  (swapper)
    1  ??  Is     0:00.02 /sbin/init --
    2  ??  DL     0:00.00  (pagedaemon)
    3  ??  DL     0:00.00  (vmdaemon)
    4  ??  DL     0:00.13  (update)
   49  ??  Ss     0:00.01 routed -q
   69  ??  Ss     0:00.13 syslogd
   75  ??  Is     0:00.01 portmap
   80  ??  Is     0:00.01 rwhod
   86  ??  I      0:00.00 nfsiod -n 4
   87  ??  I      0:00.00 nfsiod -n 4
   88  ??  I      0:00.00 nfsiod -n 4
   89  ??  I      0:00.00 nfsiod -n 4
   93  ??  Is     0:00.20 inetd
  100  ??  Is     0:00.06 cron
  103  ??  Is     0:00.06 lpd
  111  ??  Is     0:00.02 sendmail: accepting connections (sendmail)
  156  v0  Ss     0:00.57 -csh (csh)
  273  v0  R+     0:00.02 ps -gax
  157  v1  Is+    0:00.02 /usr/libexec/getty Pc ttyv1
  158  v2  Is+    0:00.02 /usr/libexec/getty Pc ttyv2
  266  a1  Is+    0:00.02 dip -d uc

I dont' know what is FreeBSD box?
Do I have to recompile my kernel w/ a slip device and how I do the
setting routing for freeBSD? (as you mentioned -> make sure you have 
your own ip routed back to your loopback driver.)

Also, in my hosts file I put as follow: localhost valentine

other IPs	names here ...

Actually, I dont' know what wrong w/ my dip.  I've just install FreeBSD
yesterday and do nothing much w/ it.  Please help me out. Thanks a lot.


>On Sat, 7 Sep 1996, Dat Mai Ha wrote:

> But in FreeBSD, after I dialed to my remote gateway by using 'dip', I
> obtained the dynamic IP for my local pc.  The problem is after I got 
> the IP for my local pc, I can't use 'telnet' or 'rlogin' or 'ftp' to 
> connect to my account!  When I use netstat -rn to check, it show

You mean your FreeBSD box?

> s the local IP and the gateway IP, the ethernet IP and the loopback IP
> (  When I use ps -gax to list all the processes, I don't see

Did it show them or not? I mean can you mail me a sample output. I might
know whats wrong.

> the IP but the "dip filename".  On the other hand, for Linux, after I 
> connected to remote site, when I type ps -gax it shows the 
> "dip filename ==>"! I don't have any problem w/ Linux dip
> but I don't know wy I can't use bsddip to connect to my remote site?

Linux dip does that it puts the ip up. I dont recall using bsdip and
seeing it so its normal

> Do I need to fix any file in /etc or some other files? If anybody can 
> know how to use and setup dip please email for me. Thank you so much.

All I needed to do was compile my kernel with a slip device and made sure
I did the routing right. 

Ok if its connecting to your own box after you connected your dailup link
make sure you have your own ip routed back to your loopback driver. I
found BSDdip failing to do this. Here's what I mean.          UGHS        0        0       lo0

Want to link to this message? Use this URL: <>