Newsgroups: comp.os.minix
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!yarrina.connect.com.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!gatech!newsfeed.internetmci.com!EU.net!sun4nl!cs.vu.nl!kjb
From: kjb@cs.vu.nl (Kees J Bot)
Subject: Re: Networking with Linux
Nntp-Posting-Host: hornet.cs.vu.nl
References: <4fhllp$ifc@news.monad.net>
Sender: news@cs.vu.nl
Organization: Fac. Wiskunde & Informatica, VU, Amsterdam
Date: Tue, 13 Feb 1996 14:26:31 GMT
Message-ID: <DMpxG7.358.0.-s@cs.vu.nl>
Lines: 40

tyken@nebula.net (Matt Good) writes:

> I am trying to connect my minix box with my linux box.
>I have NE2000 ethernet cards. I was reading the /etc/rc file 
>and I noticed that it looks for a /etc/rc.net file. So I created one
>and saved it. But when I rebooted it was gone. What would cause this?

Probably the RAM disk.  You have to copy changed files to the file
system that is used to fill the RAM disk, i.e.:

	# M root
	# cp -p /etc/rc.net /root/etc/
	# U root

Although you may not need an rc.net, but an /etc/hosts and /etc/ethers
instead.

>Also I am totaly lost on how to go about getting the ethernet connetion
>to work on the minix side. I can't find any infor in the man  pages
>on where to start.

It is explained in 'man boot'.  Recompile a kernel with networking
support and make a /etc/hosts and /etc/ethers file.

>I mostly want to configure it so that I can 
>telnet to my linux box or be able to telnet out thru my ppp connection
>on my linux box (with out login in to my linux box). If anyone can 
>help me on this it would be much aprrectiated.

If you follow the instructions in boot(8) then your Minix box should be
able to talk to your Linux box.  If your Linux box acts as a proper
router then Minix will find it within 30 seconds.  (Check with
'pr_routes').  Otherwise put this in /etc/rc.net:

	add_route -g 1.2.3.4

with the IP address of your Linux box instead of 1.2.3.4.
--
	                        Kees J. Bot  (kjb@cs.vu.nl)
	              Systems Programmer, Vrije Universiteit Amsterdam
