*BSD News Article 53794


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!classic.iinet.com.au!swing.iinet.net.au!news.uoregon.edu!usenet.eel.ufl.edu!news.mathworks.com!zombie.ncsc.mil!simtel!chi-news.cic.net!uwm.edu!cs.utexas.edu!howland.reston.ans.net!EU.net!chsun!TOWER66
From: voisard@dial.eunet.ch (Eric Voisard)
Subject: Re: local tcp/ip btween 2 machines and 2 O/S ?
Message-ID: <DH1CHw.C6F@eunet.ch>
Sender: usenet@eunet.ch
Organization: EUnet AG, Switzerland
X-Newsreader: News Xpress Version 1.0 Beta #3
References: <46dkfe$rs9@dns.enter.net>
Date: Thu, 26 Oct 1995 03:03:31 GMT
Lines: 36

In article <46dkfe$rs9@dns.enter.net>,
   dh@enter.net (Daniel Hauer) wrote:
>Hello All,
>  I have recently got freebsd 2.1.0 (one of the snaps) running, nice,
>what I would like to know is this, the freebsd machine and the machine
>upstairs (running win 95 tcp/ip) are naturally ethernetted togetther
>as I dual boot the free bsd machine occasionally for network dos work.
>MY Question is How could I set free bsd up to accept tcp/ip
>requests from the remote machine? how do I set it up so I can telnet
>in from upstairs on the other machine ? I know how to set-up the stack
>for the dos box, but how do I do it on the unix box?

I have the same configuration (win95 + BSD), the basic is really simple.
Just edit your /etc/sysconfig:
-adjust the name of your host,
-add a network interface for your ethernet card, and an IP address
(there are examples in the file)

Naturally, use same network addresses and don't try a link with internet with dummies
addresses! :-)

Add the both PC IP address -> hostname in /etc/hosts in BSD,
and in the /windows/hosts file in win95
(+ don't forget 127.0.0.1    localhost)

The inetd deamon is already running (default), then you can try to ping between computers
If all is OK, you can ftp, telnet and so, from win95 with BSD registered users...

Good luck

/*--------------------------------------------------------------------
Eric Voisard                       Impact
Rue Neuve 9                        Department of Redundancy Department
CH-2300 La Chaux-de-Fonds          Switzerland
Phone/Fax: +41 (0) 39 28 06 68     voisard@dial.eunet.ch
--------------------------------------------------------------------*/