Sun StorEdge T300

From FnordWiki
Jump to navigation Jump to search

Serial cable

RJ11-6 Pin Function
1 Ground
2 Reserved
3 Reserved
4 Ground
5 RXD
6 TXD

This is on an RJ11-6 connector. The conductors are numbers 1 to 6 left to right on the female jack on the back of the T300 controller board. (Cribbed from http://www.sunhelp.org/unix-serial-port-resources/serial-pinouts/#storedge.link)

Build a 9-pin serial cable to drive this unit as follows:

DE-9 pin DE-9 signal connect to RJ11-6 signal RJ11-6 pin
1 DCD serial port pins 4 (DTR) and 6 (DSR)
2 RXD T300 controller RJ11 TXD 6
3 TXD T300 controller RJ11 RXD 5
4 DTR serial port pins 1 (DCD) and 6 (DSR). Asserting DTR brings the DCD and DSR signals up.
5 GND no connection
6 DSR serial port pins 1 (DCD) and 4 (DTR). DTR drives this input.
7 RTS serial port 8 (CTS)
8 CTS serial port 7 (RTS) drives this input.
9 RI no connection

IP address setup

The T300 can get its IP address using RARP. There is a small pull-out tag inside the T300 chassis with the unit's MAC address. This tag is located in the front (the side with the drives) on the inside left wall of the unit.

A RARP server is needed on the same Ethernet broadcast domain to send a reply to the T300 with its IP address. http://packages.debian.org/search?keywords=rarpd lists such a package.

The RARP queries do not seem to be retried for very long (4 attempts at 2 second intervals), so the T300 needs to be on a port without a 30 spanning tree delay.

Management

telnet to the device. Log in as root. If the password is not known you'll have to dig it out using the serial interface.

Password recovery using serial interface

  • Attach serial cable to RJ11-6 port on back of controller.
  • Power on device.
  • Interrupt boot process -- send a ^M when the controller says
hit the RETURN key within 3 seconds to cancel
  • Use the set passwd command to see what the T300's password is set to.
  • reboot device using reboot
  • after it boots, log in as root with the password just gleaned above
  • after logging in, the password may be changed by using the passwd command (changing it from the boot loader doesn't work)