From owner-freebsd-questions Mon Apr 5 13:29: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from andyo.prime.net (P3M4.prime.net.ua [195.64.229.237]) by hub.freebsd.org (Postfix) with ESMTP id D1B4815152 for ; Mon, 5 Apr 1999 13:28:00 -0700 (PDT) (envelope-from andyo@prime.net.ua) Received: from prime.net.ua (localhost [127.0.0.1]) by andyo.prime.net (8.8.7/8.8.7) with ESMTP id XAA00530; Mon, 5 Apr 1999 23:09:31 +0300 (EET DST) (envelope-from andyo@prime.net.ua) Message-ID: <37091874.349A46A2@prime.net.ua> Date: Mon, 05 Apr 1999 23:09:26 +0300 From: =?koi8-r?Q?=E1=CE=C4=D2=C5=CA=20=F7=2E=20=EF=CC=C5=CA=CE=C9=CB?= Reply-To: andyo@prime.net.ua Organization: =?koi8-r?Q?=ED=2D=E9=CE=C6=CF?= X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) X-Accept-Language: ru, uk, en MIME-Version: 1.0 To: Rick Knebel Cc: questions@FreeBSD.ORG Subject: Re: home network References: <19990403172524.A2930@rknebel.uplink.net> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Rick Knebel wrote: > Hi, > > I am trying to hook my freebsd 3.1 box up to my MAC computer and > use the freebsd box as a gateway and workstation. > > I have installed an ethernet card in each and hooked them up with a > hub. > > I thought I followed all hte directions in the ppp man pages and tutorials > but I cannot get my mac to connect. > > I will include some of my data next > > /etc/hosts > > 127.0.0.1 localhost.uplink.net localhost > 209.173.88.243 rknebel.uplink.net rknebel > 192.168.1.1 free.uplink.net free > 192.168.1.2 mac.uplink.net mac > > /etc/rc.conf > > # This file now contains just the overrides from /etc/defaults/rc.conf > # please make all changes to this file. > > # -- sysinstall generated deltas -- # > ifconfig_vr0="inet 192.168.1.1 netmask 255.255.255.0" > ifconfig_lo0="inet 127.0.0.1" > moused_type="intellimouse" > moused_enable="YES" > gateway_enable="YES" > defaultrouter="NO" > network_interfaces="lo0 vr0" > hostname="rknebel.uplink.net" > lpd_enable="YES" # Run the line printer daemon > > ifconfig -a > > vr0: flags=8843 mtu 1500 > inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 > ether 00:80:c8:e8:e6:aa > media: 10baseT/UTP > supported media: autoselect 100baseTX 100baseTX 100baseTX 10baseT/UTP 10baseT/UTP 10baseT/UTP > lp0: flags=8810 mtu 1500 > tun0: flags=8051 mtu 1500 > inet 209.173.88.243 --> 209.173.88.252 netmask 0xffffff00 > sl0: flags=c010 mtu 552 > ppp0: flags=8010 mtu 1500 > lo0: flags=8049 mtu 16384 > inet 127.0.0.1 netmask 0xff000000 > > netstats -r > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default pm3bl1 UGSc 13 4 tun0 > localhost localhost UH 0 164 lo0 > 192.168.1 link#1 UC 0 0 vr0 > pm3bl1 rknebel UH 14 0 tun0 IMHO Looks wrong that U dont have route entry for ur NIC what the reason of it - hard to say Also it will be good to have: route add rknebel localhost as much as route add free localhost > > > vr0 is my ethernet card. > > I am using tcp/ip in mac to try and connect. > > Anything look wrong?? > > thanks > Rick > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Andy V. Oleynik (When U aim for perfection, U discover it's a moving target ö80) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message