*BSD News Article 53401


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!news.kei.com!wang!usenet
From: Terry Haebich <terry_haebich@ccmail.au.wang.com>
Newsgroups: comp.sys.mips,comp.unix.questions,comp.protocols.tcp-ip,comp.unix.sys5.r3,comp.unix.bsd
Subject: Re: Can't ping my machine
Date: 27 Oct 1995 01:16:53 GMT
Organization: Customer Support Centre, Wang Australia
Lines: 151
Message-ID: <46pbu6$bth@elf5.wang.com>
References: <46mk2f$1sh@inet-nntp-gw-1.us.oracle.com>
NNTP-Posting-Host: elf.wang.com
Mime-Version: 1.0
Content-Type: multipart/mixed;
	boundary="-------------------------------317262211128834"
X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
To: lkaplan@us.oracle.com
Xref: euryale.cc.adfa.oz.au comp.sys.mips:4413 comp.unix.questions:71435 comp.protocols.tcp-ip:39840 comp.unix.sys5.r3:2761 comp.unix.bsd:16737

This is a multi-part message in MIME format.

---------------------------------317262211128834
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii

Lewis,
      Trying again (last attempt to send hung netscape).
      I don't think that loosing NVRAM has caused your problem but am not 
sure. My reasoning for this is that I had a look at one of my RC3230's 
(whose TCP/IP works fine) and could find no PROM monitor value that 
seemed to have any relevance (the only possible one was netaddr=97.0.0.0 
but the systems IP address is 134.211.64.201).

I have attached a procedure that I use to setup TCP/IP on MIPS.

Have fun,
         Terry


lkaplan@us.oracle.com (Lewis Kaplan) wrote:
>I have an an old MIPS 3240 running RISC/OS' blend of BSD and SYS5r3.  Just
>recently my lithium battery went dead and I lost NVRAM information.  I had
>been running an NCD X terminal off of this server on my little coax ethernet.
>After losing the battery I could still boot from the server I just had to
>reset the bootserver information in the NVRAM.  I have just gotten connected to
> 
>the internet (I have my own subnet addresses).  Since applying my new 
>internet addresses I have been unable to access the MIPS box via its
>external address even from the MIPS box itself(I can ping myself using the
>localhost loopback address).  From the MIPS box I can ping the NCD and I
>can ping the dec router to which I am connected.  Neither from the MIPS
>box nor from the NCD can I ping anyone beyond the router.  However
>addresses outside the router have been able to ping the NCD and the router.
>
>When I run arp on the MIPS box it shows that the ethernet address is unknown.
>Using arp -s I reset the ethernet adress but this does not help the above
>situation.  I have also tried updating the netaddr in the NVRAM to the
>proper internet address but this also does not seem to help.  Yes I do
>intend to replace the lithium battery but I still need to reload the NVRAM
>values which have been lost.
>
>Any ideas/suggestions?
>You can email me at lkaplan@us.oracle.com.
>
>Thanks,
>Lewis	
>


---------------------------------317262211128834
Content-Transfer-Encoding: 7bit
Content-Type: text/plain

Setting up TCP/IP on a MIPS system

1. Setup /etc/local_hostname as per below manually or is done on install:
# vi /etc/local_hostname
sales
netmask 0xffffff00 broadcast 134.211.64.255
# 

2. Setup /etc/local_domainname as per below manually or is done on install:
# vi /etc/local_domainname
melb.au.wang.com
# 

3. Setup /etc/hosts as per below manually or is done on install:
# vi /etc/hosts
127.0.0.1       localhost
134.211.64.201  sales
# 

4. To check setup, run the below:
# hostname
sales
# 
# domainname
melb.au.wang.com
# 
# ifconfig la0
la0: flags=63<UP,BROADCAST,NOTRAILERS,RUNNING>
        inet 134.211.64.201 netmask ffffff00 broadcast 134.211.64.255
# 

5. If not using DNS or NIS, just add entries into /etc/hosts for the other
   systems.

6. If going through a default router, add an entry into /etc/init.d/netdaemons
   similar to "route add default 134.211.64.1 5" after the heading "Add
   routing commands here".
# vi /etc/init.d/netdaemons
#! /bin/sh
#
# Initialize/Shutdown the network daemons.
#
# $Header: netdaemons,v 1.5.1.5.1.1.1.2 90/10/05 10:00:56 beacker Exp $

PATH=/net:/bin:/etc:/usr/bin:/usr/etc:/usr/ucb:

not() {
        eval ${1+"$@"} && return 1 || return 0
}
**** I have deleted lots of entries as are not relevant ****


        #   Add routing commands here
        #   Example: "route add destination gateway 1"
        #
        route add default 134.211.64.1 5

        portmap > /dev/console 2>&1 &
                                                echo " portmap\c"
        inetd
                                                echo " inetd\c"
**** I have deleted lots of entries as are not relevant ****
# 

7. To check setup, run the below:
# netstat -r
Routing tables
Destination      Gateway            Flags     Refs     Use  Interface
Netmasks:
(root node)
(0)0 ffff ff00 0                             
(root node)

Route Tree for Protocol Family 2:
(root node)
default          134.211.64.1       UG          0        9  la0
localhost        127.0.0.1          UH          1        0  lo0
134.211.16       134.211.64.100     UG          0        0  la0
134.211.64       134.211.64.201     U           6      857  la0
134.211.112      134.211.64.100     UG          0        0  la0
(root node)

Route Tree for Protocol Family 6:
(root node)
(root node)
# 

8. If using DNS, create the following files:
# vi /etc/vis.conf
host:   files   dns
# 
# vi /etc/resolv.conf
domain          melb.au.wang.com
nameserver      134.211.64.203
# 

---------------------------------317262211128834--