Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  9 Apr 95 21:52:52 -0400
From:      ejon@ll.mit.edu (Eric `two cats' Jones)
To:        questions@FreeBSD.org
Subject:   3Com E-net
Message-ID:  <9504092152.AA22043@LL.MIT.EDU>

next in thread | raw e-mail | index | archive | help

Howdy,
	I'm setting up FreeBSD for the first time and having a bit of 
trouble getting my network card configured.  It's a 3Com 3C5x9 EISA
card.  The initial generic kernel didn't find it at all, which is no 
surprise because its IOADDR is not settable and it seems to have chosen
0x4000 rather than 0x300.  So I built a new kernel with the new address
in it and now the card is seen and can be configured (i.e. ifconfig no
longer reports IOCTL errors).  However, the default route I specify
in /etc/defaultrouter never gets loaded (this line in netstart fails 
silently), nor can I set it by hand ("route add default xxx.yyy.zzz.aaa"
fails with the error messages "writing to routing socket: file exists"
and "add net default: gateway xxx.yyy.zzz.aaa: file exists")

I should note that I didn't use the automated configuration procedures,
but rather executed their contents, more or less, by hand.  Thus there
may be a simple configuration error.  I will, therefore, try to give you
an overview of the contents of the files I think are important:

/etc/hosts:
#
# comments deleted
#
127.0.0.1	localhost 	localhost.my.domain
#
#
193.3.0.27	pelvis	pelvis
193.4.0.151 	ejpc1.llan	ejpc1.llan #probably don't need/want the
					   #domain here, but it shouldn't
					   #cause this!


/etc/myname:
ejpc1.llan

/etc/hostname.ep0:
193.4.0.151 netmask 255.255.255.0

there is no start_if.ep0 (should there be?)

/etc/defaultrouter:
193.4.0.1

/etc/networks:
#
# comments deleted
#
your-net 193.4.0 
your-netmask 255.255.255.0
#
# more comments deleted

A final piece of information: netstat -r prints out the headings for
the routing info, but never prints a single route.
	Any help you can offer on this would be great.  I like to think
I'm moderately BSD competent, but I'm pretty much stymied here.

Eric




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504092152.AA22043>