[comp.unix.aux] Ethernets and AUX

mckenzie@june.cs.washington.edu (Neil McKenzie) (01/10/89)

My group at UW (that's Washington, not Wisconsin or Waterloo!) recently
received a MacIIx + AUX, and I've been trying to make it talk on the
Ether waves here.  Unfortunately, I'm not having much luck getting
bootstrapped.

Some things appear to work OK:
/etc/etheraddr -- prints a 6 field Ethernet ID.  This means that the
Ethernet card is plugged into the NuBus and is recognized.

/etc/hostid -- I can set the hostid to a 32-bit identifier.

The next logical step is to configure the interface using /etc/ifconfig.
The local node name is 'tesla'.  E.g.,

	ifconfig ae6 tesla
	
But it seems that 'ifconfig' always produces the message

	ifconfig: socket: network is down

no matter what arguments I give it.  I'm using a thick cable connection from
the Mac to a network box (DELNI) that already has lots of nodes connected
to it and working.

Are there any readers of this group have wise words about what to do now?

--Neil McKenzie   (mckenzie@june.cs.washington.edu)

phil@Apple.COM (Phil Ronzone) (01/11/89)

In article <6904@june.cs.washington.edu> mckenzie@uw-june.UUCP (Neil McKenzie) writes:
>My group at UW (that's Washington, not Wisconsin or Waterloo!) recently
>received a MacIIx + AUX, and I've been trying to make it talk on the
>Ether waves here. ... But it seems that 'ifconfig' always produces the message
>	ifconfig: socket: network is down ...
>Are there any readers of this group have wise words about what to do now?

It sounds as if (perhaps) you have not reconfigured your kernel to bring
in the tcp/ip and (if needed) nfs code. This is described in the release
notes. If you have not done
    newunix nfs
    autoconfig -u -v -o /unix -S /etc/startup
    sync ; reboot
at all on your system then you need to. Again, see your release notes.

+------------------------+-----------------------+----------------------------+
| Philip K. Ronzone      | A/UX System Architect | APPLELINK: RONZONE1        |
| Apple Computer MS 27AJ +-----------------------+----------------------------+
| 10500 N. DeAnza Blvd.  | There's a million things we'd like to say, but we  |
| Cupertino CA 95014     | aren't supposed to piss anybody off. Oh well ...   |
+------------------------+----------------------------------------------------+
|{amdahl,decwrl,sun,voder,nsc,mtxinu,dual,unisoft}!apple!phil                 |
+-----------------------------------------------------------------------------+

hugh@hoptoad.uucp (Hugh Daniel) (01/12/89)

  Be certen that you have newunix'ed both ae6 (for apples
ethernet card) and bnet into your kernal.
  Be very sure that the /etc/hosts and the /etc/NETADDRS files
have the SAME host numbers.  Also check your /etc/inittab file
for cases where you have 'wait' where it ought to be 'respawn'
as this is a sure way to get confused.
  If your Apple ether card's little red lite is out, so is the
card.  To my knowalge there is no way to have Apple fix it if
so.
  Look to see if you have core files in /, you will see cores
for biod (strings /core | head) if you have not added NFS to
your kernal.

  Mostly its a pain to get working because the code is written
is such a way that it can not tell you what step things broke
at, sigh.


                ||ugh Daniel
hugh@toad.com                   Grasshopper Group,  415/668-5998
hugh@xanadu.com			212 Clayton St. San Francisco CA94117

antonio@Apple.COM (Antonio Ordonez) (01/12/89)

In article <6243@hoptoad.uucp> hugh@hoptoad.UUCP (Hugh Daniel) writes:
>
>  If your Apple ether card's little red lite is out, so is the
>card. 

This is not true, if you are using THIK ETHERNET and the jumper on the
card is set that way the led will not go on.

This is mentioned on page 14 of the "EtherTalk Interface Card Manual"
in the section "Passes checkinstall but won't work"

Hope this helps


----------------------------------------------------------------------------
#include <disclaimer.h> 	/*  I'll think of a better one later  */
Antonio Ordonez				 	      amdahl \
Technical Communications/Direct Response Center	  pyramid!sun - apple!antonio
Apple Computer, Inc. (408) 996-1010		      decwrl /
----------------------------------------------------------------------------

mckenzie@june.cs.washington.edu (Neil McKenzie) (01/12/89)

The story so far:

- Ethernet not working:  the drivers were not loaded.

- The kernel was rebuilt with NFS drivers and installed.

- Now, some things work, but not reliably.
I sent mail to phil@apple.com, and here are some of the high points of the
letter.  Anyone have commentary?  I don't think it's a hardware snafu, but
it's premature to rule out anything.

	Here is a symptom of the problem that occurs after the Mac has
	been running for a few hours:

		ae0 transmitter frozen -- resetting
		ae0:	init failed

	At this point I need to reboot to use the network to do anything.
	----------

	I figured out a way to ftp and telnet from the
	Mac to a remote machine.  Example:

	Step 1:	% ifconfig ae0 down
	Step 2: % ftp
		ftp>
	Step 3: Suspend ftp:
		ftp> ^Z
	Step 4: % ifconfig ae0 up
	Step 5: % fg
		ftp> open june

	Without this sequence, the first call to "ftp" will hang.  Something
	funny is happening on the startup sequence of ftp -- it makes a system
	call or something that just spins, and it seems to have something
	to do with the status of the network.

	Anyway, the network connection now is vaguely useful, but not
	convenient.
	---------

	Another problem is with NFS mounts.  I am running on June and
	I am trying to mount the MacII directory /usr/tesla onto
	june:/u1/mckenzie/tesla.  'tesla' is aliased to 'lis' in June's
	host file.

	% /etc/mount lis:/usr/tesla /u1/mckenzie/tesla
	  nfs_mount: lis:/usr/tesla server not responding: rpc program not
	  registered
	  nfs_mount: retrying /u1/mckenzie/tesla
	^C

	Perhaps it is a simple fix to "register the rpc program" -- or is this
	part of the other problem?
	----------


--Neil McKenzie (mckenzie@june.cs.washington.edu)

brooks@Apple.COM (Kevin Brooks) (01/14/89)

In article <6904@june.cs.washington.edu> mckenzie@uw-june.UUCP (Neil McKenzie) writes:
>My group at UW (that's Washington, not Wisconsin or Waterloo!) recently
>received a MacIIx + AUX, and I've been trying to make it talk on the
>Ether waves here.  Unfortunately, I'm not having much luck getting
>bootstrapped.
>
>Some things appear to work OK:
>/etc/etheraddr -- prints a 6 field Ethernet ID.  This means that the
>Ethernet card is plugged into the NuBus and is recognized.
>
>/etc/hostid -- I can set the hostid to a 32-bit identifier.
>
>The next logical step is to configure the interface using /etc/ifconfig.
>The local node name is 'tesla'.  E.g.,
>
>	ifconfig ae6 tesla
>	
>But it seems that 'ifconfig' always produces the message
>
>	ifconfig: socket: network is down
>
>no matter what arguments I give it.  I'm using a thick cable connection from
>the Mac to a network box (DELNI) that already has lots of nodes connected
>to it and working.
>

It looks like you need to reconfigure your kernel for networking.

type the command

	 "newunix BNET"
	 "autoconfig -u -v -o /unix -S /etc/startup -M /etc/master -I"

Now reboot and everything should work correctly.

Kevin Brooks
A/UX Specialist, Apple Computer		   APPLELINK: BROOKS3
UUCP: {mtxinu,sun,nsc,voder}!apple!brooks  DOMAIN: brooks@apple.apple.com
CSNET: brooks@apple.CSNET 		   ARPA: brooks%apple@csnet-relay.ARPA

mckenzie@june.cs.washington.edu (Neil McKenzie) (01/16/89)

[Discussion:  trouble with Ethernet interface]

In article <23918@apple.Apple.COM> brooks@Apple.COM (Kevin Brooks) writes:
>It looks like you need to reconfigure your kernel for networking.
>Now reboot and everything should work correctly.
>
>Kevin Brooks
>A/UX Specialist, Apple Computer		   APPLELINK: BROOKS3
>UUCP: {mtxinu,sun,nsc,voder}!apple!brooks  DOMAIN: brooks@apple.apple.com
>CSNET: brooks@apple.CSNET 		   ARPA: brooks%apple@csnet-relay.ARPA

I reconfigured the kernel.  Still, there remained problems.

I was getting the message "ae0: transmitter frozen".  I then switched
to a different Ethertalk card.  Then, this problem of freezing went away.

Now, everything seems to work, except that the machine doesn't recognize itself
as an existing node.  Commands to verify self-existence usually fail.

Here is a script run under A/UX.

	Script started on Sun Jan 15 19:39:47 1989
	% ping localhost
	ping: sendto: Network is unreachable
	Killed
	% telnet localhost
(long delay of 1 to 2 minutes)
	Stopped
	% 
	% fg
	telnet localhost
	Trying...
	telnet: connect: Network is unreachable
	telnet> quit
	% ping june
	june.cs.washington.edu is alive
	% exit
	% 
	script done on Sun Jan 15 19:42:19 1989

My guess is that it's a simple matter to fix this.  There is a line
from the /etc/hosts file for localhost:

	127.0.0.1       localhost

Is there anything else that should be in the hosts file?

X11 needs the capability of self rlogin to work, so I need to solve the
loopback bug to run X11.  Hopefully, this the last major bug to
purge in the Etherware.  But getting the new Ethertalk board was a big
breakthrough, since now most everything else works.

Thanks for your (tech) support,

--Neil McKenzie (mckenzie@june.cs.washington.edu)

mckenzie@june.cs.washington.edu (Neil McKenzie) (01/17/89)

In article <6949@june.cs.washington.edu> mckenzie@uw-june.UUCP (Neil McKenzie) writes:
>[Discussion:  trouble with Ethernet interface]

Thanks to brooks@Apple.COM and others, I've pinpointed the loopback problem;
now everything looks and works ok.  Let's hear it for UUCP and news!

--Neil McKenzie (mckenzie@june.cs.washington.edu)
"If you don't like the news, go out and make some of your own."  -- Scoop Nisker