*BSD News Article 72216


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!news.mid.net!newsfeeder.gi.net!newsfeed.internetmci.com!news.mathworks.com!enews.sgi.com!news.igc.apc.org!usenet
From: "Samuel E. Romero" <sromero@ns.hondunet.net>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Help to setup FreeBSD as a local server
Date: Thu, 27 Jun 1996 15:50:58 -0600
Organization: Institute for Global Communications
Lines: 72
Sender: codehuhon@igc.apc.org
Message-ID: <31D30242.1776@ns.hondunet.net>
NNTP-Posting-Host: ns.hondunet.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 2.02 (Win95; I)

I'm trying to setup a FreeBSD box as a local server for a network using 
Windows95 over a ethernet network.
I have setup FreeBSD on one machine with an Ethernet Card (NE2000) on 
ed0.  The PC's have NE2000 ethernet cards on coax and I'm trying to
run a web server on the FreeBSD box (Apache) and have access from the 
PC's on the network.
When the machine boot's it start's the ed0 interface (ifconfig - 
something).  I selected the apache server on the installation, i'm not 
able to connect to it neither from a prompt in the unix machine or the 
PC's.

I have FreeBSD 2.1 on CDROM
The network numbers I've used are selected at random because it will be
a local network not an internet one (it's for learning about the web 
server).

The configuration I currently have is:

/etc/networks
honnet		193.5.5		# Class C network?
honmsk		255.255.255.224	# Subneting the network

subnet1		193.5.5.32	#
subnet2		193.5.5.64	#
.
.
subnet6		193.5.5.192	#

/etc/hosts
127.0.0.1	localhost
193.5.5.33	ed0lnk.hon.hn
193.5.5.34	main.hon.hn
193.5.5.35	www.hon.hn

193.5.5.66	pc1.hon.hn
193.5.5.67	pc2.hon.hn

/etc/sysconfig

.
.
.
network-interface="lo0 ed0"
ifconfig_lo0="inet localhost"
ifconfig_ed0="inet ed0link netmask honmsk"
.
.
.
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost}"
.
.
.

the routes thing is the ones that the install program placed

when I do a ping pc1:
No route to host

when I do a ping www:
the machine hangs (no response ^C must be pressed to get prompt back or 
the No route to host message appears.)

How can I setup this?

p.s. I'm located in Honduras (Central America) and may be you can send 
me answers to sromero@ns.hondunet.net (if I or you are lucky and the 
connection is working) or you can send me a response to 
codehuhon@igc.apc.org.

Thanks.