*BSD News Article 42324


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!hpg30a.csc.cuhk.hk!night.primate.wisc.edu!news.larc.nasa.gov!xanth.cs.odu.edu!opium!sturges
From: sturges@opium.cs.odu.edu (Jonathan Sturges)
Newsgroups: comp.os.386bsd.questions
Subject: Re: 386bsd: Network card doesn't work !?
Date: 10 Feb 1995 19:03:56 GMT
Organization: Old Dominion University, Department of Computer Science
Lines: 49
Message-ID: <3hgdas$c2d@xanth.cs.odu.edu>
References: <3guou6$ddg@news.cis.nctu.edu.tw>
NNTP-Posting-Host: opium.cs.odu.edu
X-Newsreader: TIN [version 1.2 PL2]

I-Fei Tsai (gis83812@cis.nctu.edu.tw) wrote:

: Hi:

: I tried to install my NE2000 (compatible) network card, part of
: the configuration file is shown below:

: 	#Ethernet: Novell NE1000/NE2000
: 	device ne0 at isa? port 0x300 net irq 10 vector neintr
: 	# (command out ALL other network card entries)

: The kernel did detect my network card, it said:

: 	ne0 ethernet address 00:80:c8:2f:c7:2d at 0x300 irq 10 on isa

: But both ping and telnet failed :-(. So I did the following diagnostic:

: (1) When I tried "telnet <HOSTNAME>", no response ..., I found the
: arp table is incomplete, so I manually added the correct entry by
: "arp -s <REMOTE_HOST_IP_ADDRESS> <REMOTE_HOST_MAC_ADDRESS>".

: (2) I tried telnet again. This time, use "netstat" command,I could
: see the remote host does receive the packet and get into the SYN_RECV
: state. But still no response on my 386bsd box. 

: (3) I connected a logic probe to IRQ10 of my 386bsd, I could see the
: interrupt pulses, so I think the network card does receive the packets
: from remote host and inform the upper layer, is that right ? 

: What should I do from this point, I think there must be something wrong.
: Do I have to make the device entry in /dev or modify cdevsw[] or bdevsw[]
: for a network card ? Is there any patch that I have to install ?

Hmmmm.... this sounds more like just a tcpip config problem, not hardware.
It looks to me like your kernel identified the ne2000 fine.
I'd check a couple of things:  make sure you have your nameservers listed
in /etc/resolv.conf; make sure your /etc/host.conf and /etc/hosts are setup
properly (you might want to use the hosts file by itself until you know
its not a  routing problem or something else); check /etc/netstart
to make sure your card is being setup properly.  and make sure you have 
the needed route statements in /etc/netstart, too.  All I have in mine is
"route add <YOUR_MACHINES_NAME> localhost"
"route add default <YOUR_ROUTER>"
Give this stuff a try.  I'm no expert, but I just wanted to mention a few
good starting points.  Your mileage may vary... :-)

-Jonathan