Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!cs.utexas.edu!howland.reston.ans.net!nctuccca.edu.tw!news.cc.nctu.edu.tw!news.cis.nctu.edu.tw!gis83812 From: gis83812@cis.nctu.edu.tw (I-Fei Tsai) Newsgroups: comp.os.386bsd.questions Subject: 386bsd: Network card doesn't work !? Date: 4 Feb 1995 02:31:33 GMT Organization: Dept. of Computer & Information Science, NCTU, Taiwan Lines: 47 Message-ID: <3guou6$ddg@news.cis.nctu.edu.tw> NNTP-Posting-Host: gis83812@cissun1.cis.nctu.edu.tw X-Newsreader: TIN [version 1.2 PL2] 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) I did the following to rebuild the kernel: # config <IDNET> # cd ../../compile/<IDNET> # make depend # make # mv /386bsd /386bsd.old # mv ./386bsd /386bsd # shutdown -r now 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 ? Any help will be appreciated, thank you in advance ! -- Ming