[comp.unix.aux] Networking problems with aux..

vesper@palantir.gsfc.nasa.gov (Greg Vesper - RMS) (03/07/90)

I'm a Sun systems programmer who has had an a/ux problem dropped in my
lap.  This is the problem:

I have a IIx running aux on its internal hard drive in a networked 
environment.  This box also has an external Rodime hard drive with 
aux installed.  The desktop boots off the internal drive and comes
up with two separate aux icons, one for each hard drive.  Fine.

The problem:  
If I run aux off the external drive, I cannot get access to the network.
I spent the last day trying to reconfigure aux on this drive so that I 
might get access to my network, but alas, no go.

All the necessary files and services seem to be operational, but when I
attempt "remsh <other host>", I get the following message:

	Network is unreachable.

I have compared the configuration files between the two drives, but have
not been able to resolve the problem.  Does the external drive need a
reconfigured kernel which recognizes the ethernet card?  I swapped
kernels between the two drives and still had the same problem.

So how can I get to the network from my external drive??

Possible Workaround:

Could I simply run aux off my internal drive and then mount the partitions
of the external drive in order to gain acces to those aux files.

I succeeded in doing this for the root partition of the external drive,
but the remaining partition refused to mount.  Any clues as to why?

I have scant documentation and no aux experience.
Any suggestions would be greatly appreciated.

Gregory W. Vesper
RMS Technologies
Greenbelt, Maryland

email: vesper@palantir.gsfc.nasa.gov

chuq@Apple.COM (Chuq Von Rospach) (03/07/90)

> If I run aux off the external drive, I cannot get access to the network.
> I spent the last day trying to reconfigure aux on this drive so that I 
> might get access to my network, but alas, no go.
> 
> All the necessary files and services seem to be operational, but when I
> attempt "remsh <other host>", I get the following message:
> 
> 	Network is unreachable.

First thing to do is make sure you have networking configured into the
kernel. You also need to verify that the internet numbers and hostname are
set up properly. Easiest way to do this is to delete the /etc/HOSTNAME and
/etc/NETADDRS files, then,  run "newunix bnet" (or "newunix bnet nfs") and
answer the questions. When done, reboot and with luck you'll be on the
network.

The gotcha is that the system looks at NETADDRS instead of /etc/hosts for
configuration data on the machine. Weird, and unless you know that you can
play around with /etc/hosts and other configuration stuff forever and it'll
ignore you.

> Could I simply run aux off my internal drive and then mount the partitions
> of the external drive in order to gain acces to those aux files.

That'd be another workaround, but getting the network up for real is a
better answer. If the other drive is set up correctly, try copying
/etc/hosts, /etc/HOSTNAME and /etc/NETADDRS from the working disk and
reboot. If all it is is a mis-configured NETADDRS (my guess) that's a quick
fix.

-- 

Chuq Von Rospach   <+>   chuq@apple.com   <+>   [This is myself speaking]

All spirits are enslaved which serve things evil -- Shelley

chuq@Apple.COM (Chuq Von Rospach) (03/07/90)

In article <39249@apple.Apple.COM>, chuq@Apple.COM (Chuq Von Rospach) writes:
> set up properly. Easiest way to do this is to delete the /etc/HOSTNAME and
> /etc/NETADDRS files, then,  run "newunix bnet" (or "newunix bnet nfs") and
> answer the questions. When done, reboot and with luck you'll be on the
> network.

Damn. Silly me, you can't do it this way yet. The correct thing is to:

o delete /etc/HOSTNAME and /etc/NETADDRS
o run /etc/newunix bnet (and nfs if wanted)
o run /etc/autoconfig -v -u -I -S /etc/startup
o reboot
o then answer the questions it asks during reboot to initialize the hostname
  and network data.

sorry for the mistake.

-- 

Chuq Von Rospach   <+>   chuq@apple.com   <+>   [This is myself speaking]

All spirits are enslaved which serve things evil -- Shelley