Re: TOP Network Interface Port of a Sun Ultra 30




Hi DoN!

O.K. While you don't have it connected, you might want to go
into /etc/init.d and look for what the "apcupsd" startup script is
called. Probably "apcupsd". Then cd to /etc, and try this:

find rc?.d -name \*apcupsd -print

and note any output. It should identify the startup directories which
have links which invoke the script. You should see something like this
(run on my own UPS dameon's name for a BEST Power Systems UPS):

======================================================================
Katana:csu 0:51:46 # find rc?.d -name \*checkups -print
rc0.d/K00checkups
rc2.d/S00checkups
======================================================================

Mine shows:

<<>>
rc0.d/K21apcupsd
rc1.d/S89apcupsd
rc2.d/S89apcupsd
<<>>

The one which starts with a 'K' in rc0.d turns off the chekups daemon
when shutting the system down. The one which starts with an 'S' starts
the checkups daemon when the system enters run level 2 during boot.

While you can't use it, change the 'S' to 's' (lowercase) and
the system won't try to turn it on. Remember to change it back when you
are all fixed. You can also turn it off manually by typing:

======================================================================
sh /etc/init.d/apcupsd stop
======================================================================

but it will restart next reboot.

Done. Thank you. :-)

Right now, I'm powering off the Sun except for when I'm working with
it, following your instructions. (It never rests. It never seems to need
to! :-D [One time only a couple of weeks before the lightning strike, an
"uptime" showed it had been up over 460 days.] But, it can right now,
since except when I'm trying something there is absolutely nothing it is
doing for me...)

So -- do you have a hub or enough ports on the router so you can
plug cables from both ports in? If so, the router (or hub if you have
one) should have LEDs to tell whether the ports are seeing signal from
the computer. And if the computer sees signal from the hub or router,
it should shut up about that. (Or -- if you have a crossover ethernet
cable, just plug it into both Sun ports, and each will see the other if
both are working. Of course it will complain later when it tries to
connect to other things, but this will verify that both ports still
work.

I have a D-Link router with ports for 4 computers. Right now, there
is something plugged in only for 1, which, right now, is the Linux system.
(The intention is for that to be the Sun system, when I have a second
working port on it again.)

I do not have a crossover ethernet cable.

Okay. I just plugged hme1 into the 4th port of the D-Link router.
(I say the hme1 is working.)

The light on the D-Link router comes on, solid.

On the Sun monitor, I see:

<<>>
Aug 5 18:52:19 canaan hme: SUNW,hme1 : Internal Transceiver Selected.
Aug 5 18:52:19 canaan hme: SUNW,hme1 : Auto-Negotiated 100 Mbps Full-Duplex Link Up
<<>>

Now, let me try hme0...

I unplugged the cable from hme1. I plugged it into hme0.

Now, that same LED on the D-Link router is NOT on at all. And, the
screen once again says things like:

<<>>
Aug 5 18:57:29 canaan hme: SUNW, hme1 : No response from Ethernet network : Link down -- cable problem?
<<>>

I am really tired, and getting up at 3:30 tomorrow and weekday
mornings, I need to get to sleep. But, I just had to try this much! :-)

O.K. Is fetchmail a daemon, or is it run from the ttytab? Turn
it off too -- wherever it is. If in the ttytab (root one at a guess,
unless there is a separate "mail" account for it) just use the
"crontab -e" command and add a '#' to the start of the line which turns
it on. If a daemon, shut it off like the apcupsd -- and keep notes of
what you turned off, where, and how, so you can restore them all when
everything works again.

It's a daemon. I just issued a "stop" to it like the apcupsd. :-)

Right now, I haven't done anything like "mv" anything. If I do wind
up doing that, yes, I'll certainly make notes of what I did, so I can
restore it when I get things working again. :-)

O.K. Which ethernet port did the mail come through -- and which
did the linux read it through?

The ethernet port that the email came through was hme0 -- when it was
working, before the lightning strike, on July 22. I successfully read the
mail, deleting some, moving some to other folders, leaving some, using
mutt on the Linux system, after I got home on July 22. This is stored on
the Sun hard drive, and there is an NFS mount with the Linux system.

At 13:10:54 on July 22, since then, there has been NO LIFE in the
hme0 port. But, from when I left that Tuesday morning, I had received 27
internet emails. (The syslog showed a fetchmail entry partially done at
13:10:54. The next thing in that log was the system being booted that
night. I got an email from the Sun at 13:10:54 saying it had lost contact
with the master -- the UPS.)

The Linux system, as of then, was connected -- its only network port
to hme1 of the Sun.

(I wanted to be sure I didn't mislead you! The internet emails had
been received by the Sun, the mail host, checking every five minutes for
email, BEFORE the lightning strike on that day.) :-)

Is this sufficient for testing the hme0 and 1? I can look into a
crossover cable or whatever else you suggest.

Barry
--
Barry L. Bond | http://home.cfl.rr.com/os9barry/
Software Engineer, ITT Corporation | (My personal home web page, last
bbondATcfl.rr.com | updated February 17, 2005)
.



Relevant Pages

  • Re: TEMPORARILY setting qfe2 to be a DHCP server?
    ... First of all, a crossover cable came with my D-Link router, so I had ... However, I started the Sun web browser, which is netscape. ... , 100 Mb/sec, half-duplex, and 100 Mb/sec, ... I am intending for this to be used primarily from the Linux system. ...
    (comp.sys.sun.hardware)
  • Re: TOP Network Interface Port of a Sun Ultra 30
    ... one) should have LEDs to tell whether the ports are seeing signal from ... (The intention is for that to be the Sun system, ... not using two cables to watch both at once? ... speed of 450 MHz per CPU. ...
    (comp.sys.sun.hardware)
  • Re: TOP Network Interface Port of a Sun Ultra 30
    ... WAN/Internet) that was plugged into one of the ports of my D-Link router! ... But tapes are not interchangeable between all kinds. ... It was given to me with the Sun. ... It is a 501-4837 X1049A SBus Sun Quad FastEthernet Card. ...
    (comp.sys.sun.hardware)
  • Re: Sun Fire V20z with AMD Opteron - deafening silence?
    ... Could it really be so nice that Sun finally has ... keyboard " One PS/2 port for mouse Video ports HD15 VGA video connector ... Remote System " LOM service processor " In-band and out-of-band ... Control Station ...
    (comp.sys.sun.hardware)
  • Re: unix price compare
    ... Well, biggest problem with Solaris is HW support on x86, I haven't yet ... and nowhere did I see a mention of a Sun ... IEEE 1394 Ports ...
    (comp.unix.solaris)