From owner-freebsd-questions Sun Sep 8 03:11:33 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id DAA00529 for questions-outgoing; Sun, 8 Sep 1996 03:11:33 -0700 (PDT) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id DAA00500 for ; Sun, 8 Sep 1996 03:11:30 -0700 (PDT) Received: from mail.crl.com (mail.crl.com [165.113.1.22]) by who.cdrom.com (8.7.5/8.6.11) with SMTP id DAA00224 for ; Sun, 8 Sep 1996 03:04:53 -0700 (PDT) Received: from taurus.oac.uci.edu by mail.crl.com with SMTP id AA04234 (5.65c/IDA-1.5 for ); Sun, 8 Sep 1996 00:29:51 -0700 Received: from localhost (hamait@localhost [127.0.0.1]) by taurus.oac.uci.edu (8.7.4/8.7.1) with SMTP id AAA17384 for ; Sun, 8 Sep 1996 00:18:51 -0700 (PDT) Message-Id: <199609080718.AAA17384@taurus.oac.uci.edu> X-Authentication-Warning: taurus.oac.uci.edu: Host hamait@localhost [127.0.0.1] didn't use HELO protocol To: questions@FreeBSD.org Subject: freebsd dip Date: Sun, 08 Sep 1996 00:18:45 -0700 From: Dat Mai Ha Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk Hi Shadows, Here is my output when type netstat -rn: Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 128.200.1.201 UGSc 0 0 sl0 127.0.0.1 127.0.0.1 UH 0 80 lo0 128.200.1.201 128.200.244.188 UH 1 0 sl0 And here is the output when type ps -gax : PID TT STAT TIME COMMAND 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: 127.0.0.1 valentine.bsd.com localhost 192.168.0.1 valentine.bsd.com 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. DH >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 > (127.0.0.1). 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 ==> 128.200.xxx.xxx"! 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. 199.173.153.182 127.0.0.1 UGHS 0 0 lo0