*BSD News Article 85823


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!nntp.ksu.edu!news.mid.net!mr.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!news.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.idt.net!cdc2.cdc.net!newsfeed.concentric.net!news-master!news
From: averba@eden.rutgers.edu (Andrew Verba)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Answer to: How do you setup Plip? with freebsd v2.0 and higher.
Date: 30 Dec 1996 19:38:45 GMT
Organization: Rutgers University
Lines: 30
Message-ID: <5a95o5$9n5@herald.concentric.net>
NNTP-Posting-Host: 61053d0003la.concentric.net
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.7
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33263

Lets say you have two machines, running freebsd. 
If you do a netstat -i you should see the lp0 interface with a * next
to it. 

Give one machine the ip address: 10.0.0.1 and the other 10.0.0.2.
on 
10.0.0.1
do the following:
ifconfig lp0 10.0.0.1 10.0.0.2


On the machine
10.0.0.2
do the following:
ifconfig lp0 10.0.0.2 10.0.0.1


Make sure the ip #'s of the machines are in /etc/hosts of both machines.

That's it. Now all applications should work.

Pretty simple?

You can also modify /etc/sysconfig if you need this to always come up.
Am I forgetting something?

Sincerely

Andrew Verba