*BSD News Article 28615


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!sunic!osiris.kbfi.ee!mega.chem.ut.ee!cathy.obs.ee!cathy.obs.ee!not-for-mail
From: tanel@cathy.obs.ee (Tanel Kuusk)
Newsgroups: comp.os.386bsd.questions
Subject: Re: Network configuration
Date: 19 Mar 1994 21:53:34 +0200
Organization: The Tartu Observatory
Lines: 35
Message-ID: <2mfl8g$6rm@cathy.obs.ee>
References: <speed.763348531@kaiwan> <2lrc4f$9p2@dingo.cc.uq.oz.au> <speed.763666215@kaiwan>
NNTP-Posting-Host: cathy.obs.ee
X-Newsreader: TIN [version 1.2 PL0]

Kevin R. Bailey (speed@kaiwan.com) wrote:
: Is there any test I can do to make sure my network card is working ?
: Perhaps I can go step-by-step instead of all at once ? For instance,
: can I simply enter the initialization commands by hand instead of
: letting a start up script do it ? And then verify each of them
: afterwards ?
First, make sure that your system recognizes the ethernet card
(it must report it's physical ether address (xx:xx:xx:xx:xx:xx)
Then you can test the commands in single user mode:
 for example, if your kernel reports an ed0 then you can enter
  ifconfig ed0 inet 192.1.1.1 netmask 255.255.255.0 up
 then you should be able to ping that 192.1.1.1
 if that fails, you must check your card's and kernel's
 configuration. if that ping succeeds, you can put that
 ifconfig line to the /etc/netstart file and try to boot
 up the system.
BTW, hostname.ed0 was used in NetBSD 0.[89] for identifying
the ethernet card (it contained the parameters to ifconfig).
I'm not sure if it's needed any more (in NetBSD-current and
FreeBSD-1.1). /etc/hosts.equiv contains the host names that
are considered 'equal'. For example, rlogin doesn't ask
for a password if host is found in hosts.equiv.

  Hope this helps,
      Tanel.



: Kevin Bailey

-- 
      ********************************************************************
          Tanel Kuusk at the Tartu Observatory, EE2400, Tartu, Estonia
                    E-Mail: tanel@obs.ee / Voice: (372)34-34932
      ********************************************************************