Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 1996 09:49:09 -0500
From:      Jim Pirzyk <pirzyk@faf.disney.com>
To:        freebsd-questions@freebsd.org
Subject:   ep0 and ed0 network drivers
Message-ID:  <199611201449.JAA16588@flnews.faf.disney.com>

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

I am trying to get a 3c509 and a Ne2000 clone card to talk to each other
over thin net ethernet (BNC).  I have tried all combinations of link[012]
that I could think of.  I have even put a scope on the thin ethernet line
to see if there was data on the line (from both hosts).  Both the cards
are seen by the system on boot up and I do not get any ed0: Data Timeout
messages so I think they are configured properly. 

Here are the configurations of both machines.  Any ideas would be greatly 
appreciated.

- Jim Pirzyk


Script started on Tue Nov 19 22:16:54 199
pirzyk@amigo:~
1>uname -a
FreeBSD amigo.cpm.com 2.1.6-RELEASE FreeBSD 2.1.6-RELEASE #0: Tue Nov 19 19:25:00 EST 1996     root@amigo.cpm.com:/usr/src/sys/compile/AMIGO_KERNEL  i386
pirzyk@amigo:~
2>ifconfig -a
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.84.88.12 netmask 0xffffff00 broadcast 192.84.88.255
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8050<POINTOPOINT,RUNNING,MULTICAST> mtu 1522
pirzyk@amigo:~
3>netstat -r
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
localhost          localhost          UH          4     8868       lo0
153.6.101.248      localhost          UH          0        0       lo0
cpm-net            link#2             UC          0        0 
amigo              localhost          UGHS        0      542       lo0
pirzyk@amigo:~
4>netstat -i
Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs  Coll
lp0*  1500  <Link>                               0     0        0     0     0
ep0   1500  <Link>00.20.af.30.bd.ad              1     0        7     6     6
ep0   1500  cpm-net       amigo                  1     0        7     6     6
lo0   16384 <Link>                            9412     0     9412     0     0
lo0   16384 your-net      localhost           9412     0     9412     0     0
ppp0* 1500  <Link>                               0     0        0     0     0
tun0* 1522  <Link>                            2726     0     2726     0     0
pirzyk@amigo:~
5>cat /etc/sysconfig
#!/bin/sh
#

# This is sysconfig - a file full of useful variables that you can set 
# to change the default startup behavior of your system.
#
#	$Id: sysconfig,v 1.14.4.5 1995/09/19 12:09:03 jkh Exp $

######################### Start Of Syscons Section #######################

# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default.
keymap=NO

# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO

# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
keychange=NO

# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=blink

# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
scrnmap=NO

# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO

# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO

# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO

# Set blank time (in seconds) or "off" to turn it off (or NO for default)
blanktime=NO

# Set to screen saver desired: blank, green, snake, star (or NO for none)
saver=NO

# General russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 "
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake

######################### End Of Syscons Section #######################

######################### Start Of Netconfig Section #######################

# Set to the name of your host - this is pretty important!
hostname=amigo.cpm.com

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ed0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="ep0 lo0"
ifconfig_lo0="inet localhost"
ifconfig_ep0="inet amigo"
#ifconfig_lp0="inet amigo zephyr"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
#static_routes="multicast loopback"
static_routes="loopback"
#route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
routedflags="-q"

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags=NO

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags=NO

# Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate=NO

# Set to YES if you want to run rwhod
rwhod=NO

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q15m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to host to ypset to if you need to do that
nis_ypsetflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"

# Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for
# sharing filesystems with DOS/Windows PCs.
pcnfsd=NO

# Set to YES if you have the Apache WEB server (see /usr/ports/net/apache)
# installed and want to run it at system startup time (this is better than
# running it from inetd if you're running a dedicated WWW server).
apache_httpd=NO

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=NO

# If you want this host to be a gateway, set to YES.
gateway=YES

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this probably
# doesn't work and should be left disabled.
check_quotas=NO

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO

######################### End Of Netconfig Section #######################

######################### Start Of Misc Section #######################

# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO
pirzyk@amigo:~
6>exit

Script done on Tue Nov 19 22:17:18 199

Script started on Tue Nov 19 22:19:16 199
349: old priority -10, new priority -10
piszyk@zephyr:~
1>uname -a
FreeBSD zephyr.cpm.com 2.1.0-RELEASE FreeBSD 2.1.0-RELEASE #0: Mon Jul  8 00:25:29 EDT 1996     root@amigo.cpm.com:/usr/src/sys/compile/ZEPHYR_KERNEL  i386
piszyk@zephyr:~
2>ifconfig -a
ed0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.84.88.129 netmask 0xffffff00 broadcast 192.84.88.255
	ether 00:40:05:33:f2:5d 
lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
piszyk@zephyr:~
3>netstat -r
Routing tables

Internet:
Destination      Gateway            Flags     Refs     Use     Netif Expire
default          amigo              UGSc        0        0       ed0
localhost        localhost          UH          0        0       lo0
cpm-net          link#1             UC          0        0 
amigo            link#1             UHLW        1      171 

zephyr           0:40:5:33:f2:5d    UHLW        1       12       lo0
piszyk@zephyr:~
4>netstat -i
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
ed0   1500  <Link>00.40.05.33.f2.5d            0     0        0   157  2512
ed0   1500  cpm-net     zephyr                 0     0        0   157  2512
lp0*  1500  <Link>                             0     0        0     0     0
lo0   16384 <Link>                            12     0       12     0     0
lo0   16384 your-net    localhost             12     0       12     0     0
ppp0* 1500  <Link>                             0     0        0     0     0
tun0* 1500  <Link>                             0     0        0     0     0
piszyk@zephyr:~
5>cat /etc/sysconfig
#!/bin/sh
#

# This is sysconfig - a file full of useful variables that you can set 
# to change the default startup behavior of your system.
#
#	$Id: sysconfig,v 1.14.4.5 1995/09/19 12:09:03 jkh Exp $

######################### Start Of Syscons Section #######################

# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default.
keymap=NO

# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO

# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
keychange=NO

# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=NO

# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
scrnmap=NO

# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO

# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO

# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO

# Set blank time (in seconds) or "off" to turn it off (or NO for default)
blanktime=NO

# Set to screen saver desired: blank, green, snake, star (or NO for none)
saver=NO

# General russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 "
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake

######################### End Of Syscons Section #######################

######################### Start Of Netconfig Section #######################

# Set to the name of your host - this is pretty important!
hostname=zephyr.cpm.com

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
#
tcp_extensions=YES

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#	network_interfaces="ed0 sl0 lo0"
#	ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#	ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
#
network_interfaces="lo0 ed0"
ifconfig_lo0="inet localhost"
ifconfig_ed0="inet zephyr"
#ifconfig_lp0="inet zephyr amigo"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
#static_routes="multicast loopback"
#route_multicast="224.0.0.0 -netmask 0xf0000000 -interface ${hostname}"
#route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for none.
defaultrouter=amigo

# These are the flags you'd like to start the routing daemon with
routedflags=NO

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags="-Aq"

# Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"

# Set to YES if you want to run rwhod
rwhod=NO

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to host to ypset to if you need to do that
nis_ypsetflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"

# Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for
# sharing filesystems with DOS/Windows PCs.
pcnfsd=NO

# Set to YES if you have the Apache WEB server (see /usr/ports/net/apache)
# installed and want to run it at system startup time (this is better than
# running it from inetd if you're running a dedicated WWW server).
apache_httpd=NO

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=NO

# If you want this host to be a gateway, set to YES.
gateway=NO

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this probably
# doesn't work and should be left disabled.
check_quotas=NO

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO

######################### End Of Netconfig Section #######################

######################### Start Of Misc Section #######################

# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO
piszyk@zephyr:~
6>exit

Script done on Tue Nov 19 22:19:43 199



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