*BSD News Article 88946


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!news.uoregon.edu!xmission!news.cc.utah.edu!candy
From: match@ee.utah.edu
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Mini-Network ?'s
Date: Wed, 12 Feb 97 17:06:14 GMT
Organization: University of Utah Computer Center
Lines: 70
Message-ID: <5dst9j$e5j@news.cc.utah.edu>
References: <5dbio1$91b$1@nntp2.ba.best.com>
NNTP-Posting-Host: candy.elen.utah.edu
X-Newsreader: News Xpress 2.0
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35349

In article <5dbio1$91b$1@nntp2.ba.best.com>, burton@bsampley.vip.best.com (Burton Sampley) wrote:
>For those of you that have been following this newsgroup you might recognize 
>my name as a regular with a ton of newbie questions since Sept '96.  First I
>want to say thanks to everyone who has helped me, but I have more questions.
>
>I recently purchased 2 inexpensive ethernet cards.  I would like to hook up
>my FBSD box to a Winbloze95 box.  The PCI card I purchased for the FBSD box
>is an SMC8432BT (based on the DEC 21040 chip, recognized by the de0 drvier).
>The card for the Winbloze95 box is a generic NE2000 compliant ISA ethernet
>card (recognized by Winbloze95)
>
>I've quickly searched through the on-line handbook (both local & at FBSD.org)
>for info on how to get these 2 boxes to 'talk' to each other.  Eventually I'd
>like to access the internet from the Winbloze95 box through the FBSD box
>which is running pppd on a faster modem than installed in the '95 box.  What's
>the best, easiest way to configure these boxes?  Is Samba the least difficult
>to set up and do the job I want it to do?  If so, does anyone have some sample
>config file they could email me?
>
>Also, where can I find the info needed to correctly setup the Winbloze95 box?
>
>Here's the section of dmesg identifing the card (am I correct in assuming FBSD
>likes/can talk/use this card?):
>
>de0 <Digital 21040 Ethernet> rev 35 int a irq 11 on pci0:14
>de0: SMC 8432BT 21040 [10Mb/s] pass 2.3
>de0: address 00:00:c0:5d:65:0e
>de0: enabling BNC/AUI port
>
>Thanks again for your help.
>

Burton

You're about a third of the way there. Connect the two together (with proper 
termination if coax, or through a hub if it's twisted pair) and the hardware 
portion is finished. That's the easy part.

Makeing the two boxes talk to each other is a piece of cake. It's just plain 
old TCP/IP stuff. Give each machine a name, build a hosts file for each, 
configure and enable the interfaces and they'll talk. All this is found in the 
documentation. Ask the group about anything you don't understand (be 
specific).

Setting up PPP is not so obvious. PPP is what your FreeBSD box will use to 
connect to the internet.

For starters, read the "Pedantic PPP Primer" which can be found in the 
tutorials section of the documentation section on the FreeBSD.org website. It 
describes in cookbook fashion how to do what you describe. (although it looks 
to me to be incomplete)

Next, study the man pages for PPP and chat. Brush up on any of the other man 
pages refered to in these. 

If you happen to read Japanese, snag the Japanese documentation at the same 
site.

Talk to your ISP and find out if he supports PAP, CHAP, niether, or something 
else (heaven forbid!) If he doesn't support PAP or CHAP consider a different 
provider. If he doesn't know what you're talking about, then he's clueless and 
he'll not be of any help to you. I think you can make it work without PAP or 
CHAP, (never tried) but it'll be less secure.

Once you're armed with all this information, GO FOR IT!

Let us all know how you fair, this is a common question, and many readers on 
this group are having trouble getting this to work.

Marvin Match