OpenWRT and SGI/IRIX: Difference between pages

From Smithnet Wiki
(Difference between pages)
Jump to navigation Jump to search
 
m (5 revisions imported)
 
Line 1: Line 1:
== Regulatory Domains ==
== Hardware ==


iw reg set GB
Octane:
iw reg get
* IP30, Single 400 MHz R12000 CPU
* 1 GB RAM (fully populated)
* Odyssey Graphics (V8)
* 173 GB Fujitsu Disk (SCSI ID 1)
* Monitor: [https://dl.dell.com/manuals/all-products/esuprt_electronics/esuprt_display/dell-2007fp_user's%20guide_en-us.pdf Dell 2007FP] using 13W3-VGA converter
** Vertical: 56 Hz - 76 Hz (except 1600 x 1200: 60 Hz only)
** Horizontal: 30 kHz - 81 kHz
** SGI can drive 1024 x 768 / 75 Hz


Regulatory domains defined in:
Can use last IRIX version (6.5.30, released 2006-08).
/lib/firmware/regulatory.db


* [https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git Regulatory Database Github]
See [http://web.ncf.ca/aa571/datfaq.htm here] for information on DAT drives that can play audio.


See [https://openwrt.org/docs/guide-user/network/wifi/wifi_countrycode here] for explanation of format.
=== Disk Partitions ===


To build:
* 0: root filesystem
* Install: python-m2crypro
* 1: swap
* Edit db.txt as required
* ...
* python db2bin.py regulatory.db db.txt
* 6: usr filesystem
* 7: entire usable portion, excluding volume header
* 8: volume header
* 9: non-SCSI bad block list
* 10: entire disk, including volume header
* ...
* 15: XFS log


== Channels ==
From PROM:
* SystemPartition=xio(0)pci(15)scsi(0)disck(1)rdisk(0)partition(8)


Taken from output of:
== Command Monitor ARCS (PROM) ==
iw list


=== 2.4 GHz ===
Some commands (See full list [https://techpubs.jurassic.nl/manuals/0650/admin/IA_ConfigOps/sgi_html/ch09.html here]):
* help
* init
* hinv
* printenv
* setenv
* unsetenv
* passwd
* boot -f bootp()...
** or just bootp()...


CA
Note:
* '''2412 MHz [1] (30.0 dBm)'''
* Set keyboard variable: keybd, eg "US" or "GB".
* 2417 MHz [2] (30.0 dBm)
* Previous line: CTRL-P
* 2422 MHz [3] (30.0 dBm)
* Disk specification: dksc(0,1,0)/file (for SCSI controller 0, unit 1, partition 0)
* 2427 MHz [4] (30.0 dBm)
* 2432 MHz [5] (30.0 dBm)
* 2437 MHz [6] (30.0 dBm)
* 2442 MHz [7] (30.0 dBm)
* 2447 MHz [8] (30.0 dBm)
* 2452 MHz [9] (30.0 dBm)
* 2457 MHz [10] (30.0 dBm)
* 2462 MHz [11] (30.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)


IN, SA
The "ping" command does not use ICMP echo, rather obsolete echo (7/udp), eg:
* 2412 MHz [1] (20.0 dBm)
09:37:49.278482 IP 0.0.0.0.3152 > 10.0.0.1.echo: UDP, length 64
* 2417 MHz [2] (20.0 dBm)
09:37:49.278674 IP 10.0.0.1.echo > 10.0.0.2.3152: UDP, length 64
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)


TW
The IP "0.0.0.0" is used if the netaddr PROM variable is not set.
* 2412 MHz [1] (24.0 dBm)
* 2417 MHz [2] (24.0 dBm)
* 2422 MHz [3] (24.0 dBm)
* 2427 MHz [4] (24.0 dBm)
* 2432 MHz [5] (24.0 dBm)
* 2437 MHz [6] (24.0 dBm)
* 2442 MHz [7] (24.0 dBm)
* 2447 MHz [8] (24.0 dBm)
* 2452 MHz [9] (24.0 dBm)
* 2457 MHz [10] (24.0 dBm)
* 2462 MHz [11] (24.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)


UK
== Network installation ==
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* '''2462 MHz [11] (20.0 dBm)'''
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (disabled)


=== 5 GHz ===
In this procedure, we will use a BOOTP server to tell the SGI's PROM where to find in the Installation tools via TFTP. The installation tool itself obtains the full installation via RSH. These services are provided by a docker instance; this was running on Fedora 35.


CA
* Ensure no other BOOTP or DHCP servers are running on the network
* 5180 MHz [36] (23.0 dBm)
* Services are highly insecure, so recommend running for short time on isolated network
* 5200 MHz [40] (23.0 dBm)
* For this example:
* 5220 MHz [44] (23.0 dBm)
** sgi : 10.0.0.2
* 5240 MHz [48] (23.0 dBm)
** lin-docker : 10.0.0.1
* 5260 MHz [52] (24.0 dBm) (radar detection)
* 5280 MHz [56] (24.0 dBm) (radar detection)
* 5300 MHz [60] (24.0 dBm) (radar detection)
* 5320 MHz [64] (24.0 dBm) (radar detection)
* 5500 MHz [100] (24.0 dBm) (radar detection)
* 5520 MHz [104] (24.0 dBm) (radar detection)
* 5540 MHz [108] (24.0 dBm) (radar detection)
* 5560 MHz [112] (24.0 dBm) (radar detection)
* 5580 MHz [116] (24.0 dBm) (radar detection)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (24.0 dBm) (radar detection)
* 5680 MHz [136] (24.0 dBm) (radar detection)
* 5700 MHz [140] (24.0 dBm) (radar detection)
* 5720 MHz [144] (24.0 dBm) (radar detection)
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)


IN
To monitor traffic, this tcpdump command is useful:
* 5180 MHz [36] (30.0 dBm)
tcpdump -i any -v -nn "portrange 67-69 or port 514 or port 7"
* 5200 MHz [40] (30.0 dBm)
* 5220 MHz [44] (30.0 dBm)
* 5240 MHz [48] (30.0 dBm)
* 5260 MHz [52] (24.0 dBm)
* 5280 MHz [56] (24.0 dBm)
* 5300 MHz [60] (24.0 dBm)
* 5320 MHz [64] (24.0 dBm)
* 5500 MHz [100] (24.0 dBm)
* 5520 MHz [104] (24.0 dBm)
* 5540 MHz [108] (24.0 dBm)
* 5560 MHz [112] (24.0 dBm)
* 5580 MHz [116] (24.0 dBm)
* 5600 MHz [120] (24.0 dBm)
* 5620 MHz [124] (24.0 dBm)
* 5640 MHz [128] (24.0 dBm)
* 5660 MHz [132] (24.0 dBm)
* 5680 MHz [136] (24.0 dBm)
* 5700 MHz [140] (24.0 dBm)
* 5720 MHz [144] (24.0 dBm)
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
* 5845 MHz [169] (30.0 dBm)
* 5865 MHz [173] (30.0 dBm)


SA
=== CD Images ===
* 5180 MHz [36] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
* 5300 MHz [60] (20.0 dBm) (radar detection)
* 5320 MHz [64] (20.0 dBm) (radar detection)
* 5500 MHz [100] (27.0 dBm) (radar detection)
* 5520 MHz [104] (27.0 dBm) (radar detection)
* 5540 MHz [108] (27.0 dBm) (radar detection)
* 5560 MHz [112] (27.0 dBm) (radar detection)
* 5580 MHz [116] (27.0 dBm) (radar detection)
* 5600 MHz [120] (27.0 dBm) (radar detection)
* 5620 MHz [124] (27.0 dBm) (radar detection)
* 5640 MHz [128] (27.0 dBm) (radar detection)
* 5660 MHz [132] (27.0 dBm) (radar detection)
* 5680 MHz [136] (27.0 dBm) (radar detection)
* 5700 MHz [140] (27.0 dBm) (radar detection)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)


TW
See [https://wiki.preterhuman.net/index.php?title=SGI_Media_Product_Numbers&mobileaction=toggle_view_desktop here] for list of SGI CD numbers. EFS CD images can be converted with [http://wiki.irixnet.org/EFS efs2tar] or download the tar archives.
* 5180 MHz [36] (23.0 dBm)
* 5200 MHz [40] (23.0 dBm)
* 5220 MHz [44] (23.0 dBm)
* 5240 MHz [48] (23.0 dBm)
* 5260 MHz [52] (23.0 dBm) (radar detection)
* 5280 MHz [56] (23.0 dBm) (radar detection)
* 5300 MHz [60] (23.0 dBm) (radar detection)
* 5320 MHz [64] (23.0 dBm) (radar detection)
* 5500 MHz [100] (23.0 dBm) (radar detection)
* 5520 MHz [104] (23.0 dBm) (radar detection)
* 5540 MHz [108] (23.0 dBm) (radar detection)
* 5560 MHz [112] (23.0 dBm) (radar detection)
* 5580 MHz [116] (23.0 dBm) (radar detection)
* 5600 MHz [120] (23.0 dBm) (radar detection)
* 5620 MHz [124] (23.0 dBm) (radar detection)
* 5640 MHz [128] (23.0 dBm) (radar detection)
* 5660 MHz [132] (23.0 dBm) (radar detection)
* 5680 MHz [136] (23.0 dBm) (radar detection)
* 5700 MHz [140] (23.0 dBm) (radar detection)
* 5720 MHz [144] (23.0 dBm) (radar detection)
* 5745 MHz [149] (30.0 dBm)
* 5765 MHz [153] (30.0 dBm)
* 5785 MHz [157] (30.0 dBm)
* 5805 MHz [161] (30.0 dBm)
* 5825 MHz [165] (30.0 dBm)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)


UK
* [http://www.bitsavers.org/bits/SGI/mips/cd/irix_set1/ Bitasvers 1]
* 5180 MHz [36] (23.0 dBm)
* [http://www.bitsavers.org/bits/SGI/mips/cd/irix_set2/ Bitasvers 2]
* 5200 MHz [40] (23.0 dBm)
* 5220 MHz [44] (23.0 dBm)
* 5240 MHz [48] (23.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
* 5300 MHz [60] (20.0 dBm) (radar detection)
* 5320 MHz [64] (20.0 dBm) (radar detection)
* 5500 MHz [100] (26.0 dBm) (radar detection)
* 5520 MHz [104] (26.0 dBm) (radar detection)
* 5540 MHz [108] (26.0 dBm) (radar detection)
* 5560 MHz [112] (26.0 dBm) (radar detection)
* 5580 MHz [116] (26.0 dBm) (radar detection)
* 5600 MHz [120] (26.0 dBm) (radar detection)
* 5620 MHz [124] (26.0 dBm) (radar detection)
* 5640 MHz [128] (26.0 dBm) (radar detection)
* 5660 MHz [132] (26.0 dBm) (radar detection)
* 5680 MHz [136] (26.0 dBm) (radar detection)
* 5700 MHz [140] (26.0 dBm) (radar detection)
* 5720 MHz [144] (26.0 dBm) (radar detection)
* 5745 MHz [149] (20.0 dBm) (radar detection)
* 5765 MHz [153] (20.0 dBm) (radar detection)
* 5785 MHz [157] (20.0 dBm) (radar detection)
* 5805 MHz [161] (20.0 dBm) (radar detection)
* 5825 MHz [165] (20.0 dBm) (radar detection)
* 5845 MHz [169] (20.0 dBm) (radar detection)
* 5865 MHz [173] (20.0 dBm) (radar detection)


ZA
Create structure installation, eg:
* 5180 MHz [36] (20.0 dBm)
mkdir /home/user/irix
* 5200 MHz [40] (20.0 dBm)
cd /home/user/irix
* 5220 MHz [44] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
* 5300 MHz [60] (20.0 dBm) (radar detection)
* 5320 MHz [64] (20.0 dBm) (radar detection)
* 5500 MHz [100] (30.0 dBm)
* 5520 MHz [104] (30.0 dBm)
* 5540 MHz [108] (30.0 dBm)
* 5560 MHz [112] (30.0 dBm)
* '''5580 MHz [116] (30.0 dBm)'''
* 5600 MHz [120] (30.0 dBm)
* 5620 MHz [124] (30.0 dBm)
* 5640 MHz [128] (30.0 dBm)
* 5660 MHz [132] (30.0 dBm)
* 5680 MHz [136] (30.0 dBm)
* 5700 MHz [140] (30.0 dBm)
* 5720 MHz [144] (disabled)
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled)
* 5785 MHz [157] (disabled)
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled)
* 5845 MHz [169] (disabled)
* 5865 MHz [173] (disabled)


== Devices ==
Download and extract tar archives to suitable subdirectories:


=== TP-Link Archer C2600 ===
* 812-0818-030 [https://jrra.zone/sgi/cds/IRIX%206.5.30%20Installation%20Tools%20and%20Overlays%20%281%20of%203%29.iso IRIX 6.5.30 Installation Tools and Overlays (1 of 3)] : inst
* 812-0819-030 [https://jrra.zone/sgi/tar/IRIX%206.5.30%20Overlays%20%282%20of%203%29.tar IRIX 6.5.30 Overlays (2 of 3)] : overlays2
* 812-0817-030 [https://jrra.zone/sgi/tar/IRIX%206.5.30%20Overlays%20%283%20of%203%29.tar IRIX 6.5.30 Overlays] : overlays3
* 812-0759-002 [https://jrra.zone/sgi/tar/IRIX%206.5%20Foundation%201.tar IRIX 6.5 Foundation 1] : found1
* 812-0760-002 [https://jrra.zone/sgi/tar/IRIX%206.5%20Foundation%202.tar IRIX 6.5 Foundation 2] : found2
Common prerequisites for other packages:
* 812-0766-003 [https://jrra.zone/sgi/tar/IRIX%206.5%20Development%20Libraries%20February%202002.tar IRIX 6.5 Development Libraries] : dev_libs
* 812-0757-004 [https://jrra.zone/sgi/tar/IRIX%20Development%20Foundation%201.3.tar IRIX Development Foundation 1.3] : dev_found


* [https://openwrt.org/toh/tp-link/archer_c2600_v1 Device page]
Optional, but recommended:
* 1.4 GHz CPU, 32 MiB flash, 512 MiB RAM
* 812-0774-002 [https://jrra.zone/sgi/tar/ONC3%20NFS%20Version%203.tar ONC3/NFS Version 3 for IRIX 6.2, 6.2, 6.4 and 6.5] : nfs
* Currently Installed: 23.05.3
* 812-0877-030 [https://jrra.zone/sgi/tar/IRIX%206.5%20Applications%20August%202006.tar IRIX 6.5 Applications August 2006] : apps
* 812-1180-030 [https://jrra.zone/sgi/tar/IRIX%206.5%20Complementary%20Applications%20August%202006.tar IRIX 6.5 Complementary Applications August 2006] : capps


=== TP-Link Archer C7 v4 ===
[https://terminals-wiki.org/wiki/index.php/User:Legalize/CD_Part_Numbers See here for Aug 2006 Freeware]


* [https://openwrt.org/toh/tp-link/archer_c7 Device page]
Freeware (Feb 2003):
* 775 MHz CPU, 16 MiB flash, 128 MiB RAM
* 812-0773-019 [https://jrra.zone/sgi/tar/Freeware%20%28part%201%20of%204%29.tar Freeware 1] : fware1
* Currently Installed: 23.05.3
** autoconf
** apache2
** bash
** curl
* 812-0964-019 [https://jrra.zone/sgi/tar/Freeware%20%28part%202%20of%204%29.tar Freeware 2] : fware2
** gcc
* 812-1085-019 [https://jrra.zone/sgi/tar/Freeware%20%28part%203%20of%204%29.tar Freeware 3] : fware3
** make
** md5
** openssh
** postgresql
* 812-1137-019 [https://jrra.zone/sgi/tar/Freeware%20%28part%204%20of%204%29.tar Freeware 4] : fware4
** samba
** teTeX
** zfig
** zip


=== HooToo TripMate Nano (HT-TM02) ===
=== SGI ===


* [https://openwrt.org/toh/hootoo/tripmate-nano Device page]
Esc to enter SGI Command Monitor ([https://nixdoc.net/man-pages/IRIX/man1/prom.1.html PROM]) and note the MAC address:
* 360 MHz CPU, 8 MiB flash, 32 MiB RAM
printenv eaddr
* Currently Installed: 19.07.10
* Initial installation [https://forum.archive.openwrt.org/viewtopic.php?id=53014 here]
* Can remove kernel PPP packages


==== Mode on Startup ====
The BOOTP server does not to respond unless an IP is set to match what it has for the client:
setenv netaddr 10.0.0.2


Read status of buttons:
=== Docker Setup ===


root@wifi-ht:~# cat /sys/kernel/debug/gpio
This docker image provides the services:
  gpiochip0: GPIOs 0-21, parent: platform/10000600.gpio, 10000600.gpio:
* echo (7/udp)
  gpio-7  (                   |ht-tm02:blue:wlan  ) out lo   
** For response to PROM's "ping"; not used during installation
  gpio-10  (                   |reset              ) in  hi   
* bootps (67/udp)
  gpio-12  (                    |ht-tm02:green:lan  ) out lo   
** Privides BOOTP response, gives out an IP and points to TFTP sever
  gpio-14  (                   |modeswitch          ) in  lo   
* tftp (69/udp)
root@wifi-ht:~#
** Allows the transfer of initial installer tools
* shell (514/tcp)
** Used by Inst to transfer the majority of data


For modeswitch, "lo" is Wired, "hi" is WiFi position.
Download [https://hub.docker.com/r/nickpgsmith/irix-install/ this] docker image and check:
docker pull nickpgsmith/irix-install
docker images


Could also use [https://github.com/jefferyto/openwrt-slide-switch slide-switch] package. Biggest advantage of this is that it triggers at boot time, not just a switch change.
Create a [https://www.net.princeton.edu/software/dhcpd/bootptab.5.html bootptab] file in /home/user/irix:
  opkg install slide-switch
  sgi:ha=0800690b9e1f:sa=10.0.0.1:ds=10.0.0.1:rp=/data


On startup On mode (button) change, copy files from /etc/config/config-wired or config-wireless to /etc/config with:
where ha is the Ethernet address of the SGI, sa is the IP of the TFTP server, ds is the IP of the DNS server.
* etc/rc.d/S15config-mode -> /etc/config/config-mode


#!/bin/sh
Start Docker image (as root):
  #
  docker run --name irix --network host --add-host sgi:10.0.0.2 --volume /home/user/irix:/data:ro,Z -it nickpgsmith/irix-install
# Set mode according to slide switch
#
CONFIG=/etc/config
state=$(grep modeswitch /sys/kernel/debug/gpio | sed 's/.*\(lo\|hi\).*/\1/')
case "$state" in
        lo)
                mode="wired"
                ;;
        hi)
                mode="wireless"
                ;;
        *)
                echo "unknown"
                return 1
                ;;
esac
message="Using config mode: $mode"
echo $message
logger $message
config="$CONFIG/config-$mode"
for file in $(ls $config)
do
        echo $file
        cp "$config/$file" $CONFIG
done


== Package Management ==
Ensure firewall is not blocking:
firewall-cmd --add-port="7/udp"
firewall-cmd --add-port="67/udp"
firewall-cmd --add-port="69/udp"
firewall-cmd --add-port="514/tcp"


opkg update
or:
opkg list
  systemctl stop firewalld
opkg list-installed
opkg install blah
  opkg remove blah


=== Useful Additional Packages ===
Can boot standalone shell with any of:
boot -f bootp()lin-docker:/inst/dist/sa(sash64)
boot -f bootp()lin-docker:inst/dist/sa(sash64)
bootp():/inst/dist/sa(sash64)
bootp():inst/dist/sa(sash64)


* ?
NOTE: It seems like replacing the hostname ("lin-docker") with the IP does not work.


== Reset ==
=== Disk Labelling ===


* Controlled by /etc/rc.button/reset
The disk needs to have an SGI label and partition structure. Invoke disk partitioner with either:
* Quick press of reset button reboots
boot -f bootp():inst/stand/fx.64 --x
* Failsafe (long press) forces network to:
bootp():inst/stand/fx.64 -x
** 192.168.1.1 / 255.255.255.0
** SSH open with root / no password
** "firstboot" command to revert to factory defaults
** Hard factory reset (to 192.168.1.1.): umount /overlay && jffs2reset && reboot now
** "mount_root" to mount root partition


== Configuration and Commands ==
Accept defaults for disk: dksc(0,1,0)
fx: "device-name" = (dksc)
fx: ctlr# = (0)
fx: drive# = (1)
...opening dksc(0,1,0)


=== Misc ===
To show current partitions:
* /label/show/partitions


* [https://busybox.net/downloads/BusyBox.html Busybox]
Partition root drive (for OS installation) with defaults:
* [https://openwrt.org/docs/guide-user/base-system/uci UCI Configuration System]
* /label/create/all
* Show logging: logread -f
* wifi up


In /etc/config:
By default, 128 MB of swap is allocated as partition 1. To change, use:
* wireless
* /repartition/resize
* dhcp
* system
* network
* firewall


Custom startup scripts:
A non-root disk can be partitioned:
* /etc/rc.local
* /repartition/optiondrive


In /etc:
Erase disk and check surface for bad blocks (slow):
* sysupgrade.conf
* /exercise/sequential
* modifier = “wr-c”, enter start and number of blocks


=== DHCP ===
Exit:
* /exit


Custom options may be given per network, eg: for NTP:
See also [https://nixdoc.net/man-pages/IRIX/man1/fx.1.html here]
* 42, 192.168.1.1


=== DNS ===
=== Installation ===


* resolv.conf symlinked to /tmp/resolv.conf which points to local dnsmasq service which delivers from its cache or via DNS servers pointed to by proxies resolv.conf.auto (DHCP client updated)
(Graphical):
* See also [https://openwrt.org/docs/guide-user/base-system/dns_configuration here]
* Select "Install System Software"
* Select "Remote Directory"
** For "remote host" enter the hostname of the install server (lin-docker)
** For "remote directory" enter the sub-directory from the /home/user/irix base where the stand-alone shell (sa) is located (inst/dist)


=== Wifi commands ===
This is equivalent to the command:
xio(0)pci(15)multi(0)network(0)bootp()lin-docker:inst/dist/sa(sash64)


iw phy0 info
(From PROM Command Prompt):
iw reg get
  bootp():inst/dist/miniroot/unix.IP30
  iw reg set GB


See other [http://wireless.kernel.org/en/users/Documentation/iw#Scanning iw] commands and [http://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD Reg Database].
Installer will present:
* If there is a newly partitioned disk, a report of no realroot will be seen:
** Confirm create new file system on /dev/dsk/realroot
* Choose 4096 bytes blocksize for disks ~> 4 GB
* Enter hostname, IP, Netmask
* Inst 4.1 Main Menu (Inst> prompt)
** For nonclean disks: 13/11/y/yes
** Change hostname and IP: 13/12 and 13/13


=== USB and File sharing ===
NOTE: >Inst uses rsh (not TFTP) so subsequent paths are relative to / not /data
* Open Source: 2
* Choose location (/data is the mount point within docker)
** lin-docker:/data/inst/dist
*** Confirm network address
*** Choose feature stream (2)
* Continue to add additional disks from RSH root:
** lin-docker:/data/overlays2/dist
** lin-docker:/data/overlays3/dist
** lin-docker:/data/found1/dist
** lin-docker:/data/found2/dist
** lin-docker:/data/nfs/dist
** lin-docker:/data/apps/dist
** lin-docker:/data/capps/dist
** lin-docker:/data/apps/dev_libs
** lin-docker:/data/capps/dev_found
* Return to >Inst (11)


Add packages:
keep *
  opkg install kmod-usb-core kmod-usb-storage usbutils block-mount luci-app-minidlna
install standard
install eoe.sw.ipv6
install eoe.man.ipv6
  install eoe.man.ipv6_rn


Show device:
Check for conflicts; will report: java2_plugin.sw.mozilla_freeware and inventor_dev.sq.base
  ls /dev/sd*
  (because Development Foundation is not installed here) and remove:
  lsusb -t
conflicts
  conflicts 1a 2a


Driver USB 1, 2, 3: uhci/ohci, ehci, xhci
Start installation:
go


Show device:
After transfer over the network, Requickstart ELF files:
  # block info /dev/sda1
  quit
/dev/sda1: UUID="9814-E49A" LABEL="2" VERSION="FAT16" TYPE="vfat"


Mount FAT32 USB stick:
and confirm restart into the new OS installation
/sbin/block mount
cd /mnt/sda1


See also [https://openwrt.org/docs/guide-user/storage/usb-drives here]
=== EZsetup Post-installation ===


=== LEDs ===
Login with EZsetup account
Step 1:
* Improve Security: disable or set passwords for accounts: root, lp, nuucp, EZsetup, demos, OutOfBox, guest
* Enable/disable Java/JavaScript
* Turn off NIS
* Use shadow password file
* Require passwords
* Disable Visual Login
* Disable privilege users (leaving only root)
* Protect new users' files
* Disable remote X
* Disable IP forwarding
* Disable OOTB WebServer


* Panel LEDS: [https://openwrt.org/start?id=docs/guide-user/base-system/led_configuration LED Config]
Step 2:
* [https://openwrt.org/docs/techref/hardware/port.gpio GPIO]
* Setup networking (DHCP/static)


=== Buttons ===
Step 3:
* Add new user(s) (home directory in /usr/people)


* Panel buttons: [https://openwrt.org/docs/guide-user/hardware/hardware.button Button Config].
Step 4:
* Web Config
* Desktop setup


procd interface:
=== License Server ===


root@hootoo:/etc/rc.button# ls
Install Flexlm from Overlays 3 disk:
BTN_0    failsafe  power    reset    rfkill
* license_eoe.sw.flexlm_server
root@hootoo:/etc/rc.button#
* license_eoe.sw.flexlm_utils
* license_eoe.sw.license_eoe
* license_eoe.man.flexlm_server


scripts need to be named according to the button name, like "BTN_0" or "wps" (see [https://openwrt.org/docs/guide-user/hardware/hardware.button here]). They receive values:
Edit /var/flexlm/license.dat (see [https://www-local.pdc.kth.se/doc/pgi/3.3/flexuser/chap2.htm here] for format)
* $BUTTON: Name of button
* $ACTION: "pressed", "timeout" or "released". For released, script returns timeout seconds (for hold down).
* $SEEN: number of seconds


  root@wifi-ht:/etc/rc.button# cat BTN_0
  SERVER robin ANY
  #!/bin/sh
FEATURE cc sgifd 7.000 1-jan-0 0 ACE61A24A73E99462ECC HOSTID=ANY vendor_info="C <=128 CPU" ISSUER="Hax Force, Inc."
   
  FEATURE cpp sgifd 7.000 1-jan-0 0 8CE65AB48DDCD394E6E1 HOSTID=ANY vendor_info="C++ <=128 CPU" ISSUER="Hax Force, Inc."
  logger "Button $BUTTON: $ACTION (Seen $SEEN)"
  FEATURE f77 sgifd 7.000 1-jan-0 0 ACC63A346C444B7C99A7 HOSTID=ANY vendor_info="F77 <=128 CPU" ISSUER="Hax Force, Inc." ck=0
   
  FEATURE f90 sgifd 7.000 1-jan-0 0 4C66BA143C7230ED9230 HOSTID=ANY vendor_info="F90 <=128 CPU" ISSUER="Hax Force, Inc." ck=42
return 0
  FEATURE auto_pp sgifd 7.000 1-jan-0 0 8C862A14661D81BA12EB HOSTID=ANY vendor_info="APO <=128 CPU" ISSUER="Hax Force, Inc."
  root@wifi-ht:/etc/rc.button#
  FEATURE WorkShop sgifd 2.000 1-jan-0 0 6C16DAD49AC3AF2388D3 HOSTID=ANY vendor_info="PRODEV WORKSHOP" ISSUER="Hax Force, Inc." ck=73


==== C2600 ====
chkconfig flexlm start


Has an additional "lights_toggle":
=== Further Post-installation ===


[ "${ACTION}" = "released" ] || exit 0
Static IP address:
* hostname in: /etc/sys_id
led="c2600:white:general"
* add IP/hostname in: /etc/hosts
device="wifinet3"
* /etc/resolv.conf
* /etc/nsswitch.conf
logger "Button $ACTION, will toggle Guest Wifi"
  chkconfig autoconfig_ipaddress off
echo 1 > /sys/class/leds/$led/brightness
  chkconfig routed off
case $(uci get wireless.$device.disabled) in
  chkconfig esp off; rm -rf /0esp
    0)
        uci set wireless.$device.disabled=1
        logger "Wifi disabled"
    ;;
    1)
        uci set wireless.$device.disabled=0
        logger "Wifi enabled"
    ;;
  esac
   
  wifi reload
service network reload
sleep 1
echo 0 > /sys/class/leds/$led/brightness
return 0


=== 6in4 ===
Default route (or static routes in general) in: /etc/config/static-route.options
$ROUTE $QUIET add net default 192.168.1.1


Requires packages: 6in4 luci-proto-ipv6 and used tunnel from [https://tunnelbroker.net/ Hurricane Electric].
Turn on IPv6:
* Restart network
systune ip6_enable 1
* In LUCI, edit wan6 and change protocol from DHCPv6 to RFC4213
(need to install eoe.sw.ipv6 / eoe.man.ipv6 / eoe.man.ipv6_rn)
* Set Remote IPv4 address (eg 74.82.46.6)
* Set Local IPv6 address
* Set IPv6 routed prefix (Routed /48)
* Dynamic tunnel
** Tunnel ID
** HE username/password


  ping ipv6.google.com
Improve TCP sequence number obscurity:
  systune tcpiss_md5 1


Manual Config:
IP Aliases (multiple IPs): /etc/config/ipaliases.options
ef0 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
chkconfig ipaliases on


  opkg install 6in4
Time:
* Add server to /etc/ntp.conf
  chkconfig ntp on
echo "TZ=Europe/London" >> /etc/TIMEZONE
* Turn off legacy services:
chkconfig timed off
chkconfig timeslave off


  uci set network.henet=interface
* Move /usr/people to /home
  uci set network.henet.proto=6in4
** Change UID/GID to match Linux (1000/1000)
uci set network.henet.peeraddr=[get IPv4 of HE gateway]  
 
uci set network.henet.ip6addr='[IPv6 from HE]'
 
uci set network.henet.tunnelid=[HE tunnel ID]
 
uci set network.henet.username=[HE username]
XServer configuration:
uci set network.henet.password='[HE password]'
* /var/X11/xdm/Xservers
  uci commit network
 
   
Syslog Messages:
  uci set firewall.@zone[1].network='wan henet'
* /var/adm/SYSLOG
  uci commit firewall
 
   
CDE:
  ifup henet
chkconfig xdm off
  /etc/init.d/firewall restart
chkconfig dtlogin on
 
More Software
 
Check software installed:
  versions
 
Graphical tool:
swmgr
 
Command line tool:
inst -f somepath/dist
 
>Inst install standard
>Inst remove
> ...
  >Inst conflicts 1a 1b
 
Install the default subsystems:
>inst go
 
Install everything:
>inst all
 
Install bash (/usr/gnu/bin/bash) from Foundation 2 disk:
* gnu.sw.bash
* gnu.man.bash
* gnu.base.gnu_base
* gnu.sw.lib_readline
 
 
 
install SSH Server from Foundation 3 disk:
 
install sysadm_xvm
install sysadm_base
install sysadm_cluster.sw.client
install eoe.sw.xvm
install sysadm_xvm.sw.client
install eoe.sw.xfsrt
install eoe.books
install eoe.sw.xlv
install eoe.sw.xlvplex
install license_eoe
install license_dev
install eoe.sw.uucpeoe.sw.ipv6
install eoe.sw.quotas
install eoe.sw.ipv6
install eoe.sw.imagetools
install eoe.sw.netman
install eoe.sw.pam
install eoe.sw.pam_dev
install eoe.sw.terminfo
 
== Development and Compilers ==
 
The prerequisites should have been installed:
* Foundation 1
* Foundation 2
* Overlays 1
* Overlays 2
* Overlays 3
* Development Libraries
* Development Foundation
* License entries required in license.dat, but flexlm does not need to run.
 
Plus one or all of the compilers:
* 812-0707-010 [https://jrra.zone/sgi/tar/MIPSpro%20C%20Compiler%207.4.tar MIPSpro C Compiler 7.4] : mipspro_c
** c_fe.man.relnotes (C Front-end Release Notes)
** c_fe.sw.c (C Front-end Compiler)
* 812-0400-010 [https://jrra.zone/sgi/tar/MIPSpro%20C%2b%2b%20Compiler%207.4.tar MIPSpro C++ Compiler 7.4] : mipspro_cpp
** c++_fe.man.relnotes (C++ Front-end Release Notes)
** c++_fe.sw.c++ (C++ Front-end Compiler)
* 812-0403-010 [https://jrra.zone/sgi/tar/MIPSpro%20Fortran%2077%20Compiler%207.4.tar MIPSpro Fortran 77 Compiler 7.4] : mipspro_f77
** ftn77_fe.man.ftn (Fortran 77 Front-end Compiler Man Pages)
** ftn77_fe.man.relnotes (Fortran 77 Front-end Release Notes)
** ftn77_fe.sw.ftn77 (Fortran 77 Front-end Compiler)
* 812-0402-010 MIPSpro Fortran 90 Compiler 7.4
* 812-0706-002 : [https://sgi-irix.s3.amazonaws.com/development/mipspro-74/mipsproap.tar.gz MIPSpro Auto Parallelizing Option 7.4] : mipspro_autop
** Release notes only; to use build-in option -apo requires a license
Latest patch overlay:
* 812-0980-007 [http://mirror.rqsall.com/misc/sgi/MIPSPro7.4.4.tar.gz MIPSpro 7.4.4m Maintenance Release] : mipspro_7.4.4)
 
* 812-0925-001 [https://jrra.zone/sgi/tar/MIPSpro%20All-Compiler%20CD%20May%201999.tar MIPSpro All-Compiler (C/C++/F77/F90 7.3)] : mipspro_all
 
Optionally:
* 812-0768-006 [https://jrra.zone/sgi/tar/ProDev%20WorkShop%202.9.2.tar ProDev WorkShop 2.9.2] prodev (Can't find source for 812-0768-009 V2.9.5)
* 812-0653-002 [https://archive.org/download/sgi_SCSL_Scientific_Library_1.2_for_IRIX_6.4_and_6.5/SCSL%20Scientific%20Library%201.2%20for%20IRIX%206.4%20and%206.5.img SCSL Scientific Library 1.2] : scsl (Can't find source for 812-0653-004 V1.4
** Included in overlay CDs?
 
* 812-0924-002 [https://jrra.zone/sgi/tar/Compiler%20Execution%20Environment%207.4.tar Compiler Execution Environment 7.4] : comp_exe
 
== NFS ==
 
NFS Server: define exports in /etc/exports, eg:
  /home -access=bonnie:clyde
  /data -ro,access=foo,rw=bar,root=baz
  /spare @192.168.1.0/24
 
NFS Client:
By default, /etc/auto_master has a /hosts map
 
== SGI/IRIX Documentation ==
 
See [http://irix7.com/techpubs.html here] for a large library, specifically:
 
* 007-0850-170 [http://irix7.com/techpubs/007-0850-170.pdf ONC3/NFS Administrator’s Guide]
* 007-1342-180 [http://irix7.com/techpubs/007-1342-180.pdf Desktop User’s Guide]
* 007-1366-190 [http://irix7.com/techpubs/007-1366-190.pdf Personal System Administration Guide]
* 007-2825-013 [http://irix7.com/techpubs/007-2825-013.pdf IRIX Admin: Disks and Filesystems]
* 007-2859-021 [http://irix7.com/techpubs/007-2859-021.pdf IRIX Admin: System Configuration and Operation]
* 007-2860-012 [http://irix7.com/techpubs/007-2860-012.pdf IRIX Admin: Networking and Mail]
* 007-2861-005 [http://irix7.com/techpubs/007-2861-005.pdf IRIX Admin: Peripheral Devices]
* 007-2862-008 [http://irix7.com/techpubs/007-2862-008.pdf IRIX Admin: Backup, Security, and Accounting]
* 007-3435-004 [http://irix7.com/techpubs/007-3435-004.pdf OCTANE Workstation Owner’s Guide]
 
 
* 007-0704-140 [http://irix7.com/techpubs/007-0704-140.pdf C++ Programmer's Guide]
* 007-0704-150 [http://irix7.com/techpubs/007-0704-150.pdf MIPSpro C++ Programmer's Guide]
* 007-3687-010 [https://irix7.com/techpubs/007-3687-010.pdf Message Passing Toolkit: MPI Programmer’s Manual]
 
== Sys Admin Notes ==
 
Set keyboard layout:
ipanel
 
3 Button mouse
systune pc_mouse 2
 
* 0 : Default 3-button mode
* 1 : 3-button Wheel Mouse (type 3), Wheel scrolling generates button events 4 & 5
* 2 : 5-button Wheel Mouse (type 4), Wheel & buttons 4 & 5 generate button events 4 & 5
 
Hardware info:
hinv -t memory
sysconf
 
Packages:
showprods -M -1
versions -b patch\*
 
Network:
netstat -ian
  netstat -an -f inet4
  netstat -anW -f inet6
 
Add swap:
  mkfile -v 4096m /usr/swap
  swap -a /usr/swap
 
Install local file:
inst -r /usr -f neko_zlib_1211.tardist

Latest revision as of 04:53, 8 May 2024

Hardware

Octane:

  • IP30, Single 400 MHz R12000 CPU
  • 1 GB RAM (fully populated)
  • Odyssey Graphics (V8)
  • 173 GB Fujitsu Disk (SCSI ID 1)
  • Monitor: Dell 2007FP using 13W3-VGA converter
    • Vertical: 56 Hz - 76 Hz (except 1600 x 1200: 60 Hz only)
    • Horizontal: 30 kHz - 81 kHz
    • SGI can drive 1024 x 768 / 75 Hz

Can use last IRIX version (6.5.30, released 2006-08).

See here for information on DAT drives that can play audio.

Disk Partitions

  • 0: root filesystem
  • 1: swap
  • ...
  • 6: usr filesystem
  • 7: entire usable portion, excluding volume header
  • 8: volume header
  • 9: non-SCSI bad block list
  • 10: entire disk, including volume header
  • ...
  • 15: XFS log

From PROM:

  • SystemPartition=xio(0)pci(15)scsi(0)disck(1)rdisk(0)partition(8)

Command Monitor ARCS (PROM)

Some commands (See full list here):

  • help
  • init
  • hinv
  • printenv
  • setenv
  • unsetenv
  • passwd
  • boot -f bootp()...
    • or just bootp()...

Note:

  • Set keyboard variable: keybd, eg "US" or "GB".
  • Previous line: CTRL-P
  • Disk specification: dksc(0,1,0)/file (for SCSI controller 0, unit 1, partition 0)

The "ping" command does not use ICMP echo, rather obsolete echo (7/udp), eg:

09:37:49.278482 IP 0.0.0.0.3152 > 10.0.0.1.echo: UDP, length 64
09:37:49.278674 IP 10.0.0.1.echo > 10.0.0.2.3152: UDP, length 64

The IP "0.0.0.0" is used if the netaddr PROM variable is not set.

Network installation

In this procedure, we will use a BOOTP server to tell the SGI's PROM where to find in the Installation tools via TFTP. The installation tool itself obtains the full installation via RSH. These services are provided by a docker instance; this was running on Fedora 35.

  • Ensure no other BOOTP or DHCP servers are running on the network
  • Services are highly insecure, so recommend running for short time on isolated network
  • For this example:
    • sgi : 10.0.0.2
    • lin-docker : 10.0.0.1

To monitor traffic, this tcpdump command is useful:

tcpdump -i any -v -nn "portrange 67-69 or port 514 or port 7"

CD Images

See here for list of SGI CD numbers. EFS CD images can be converted with efs2tar or download the tar archives.

Create structure installation, eg:

mkdir /home/user/irix
cd /home/user/irix

Download and extract tar archives to suitable subdirectories:

Common prerequisites for other packages:

Optional, but recommended:

See here for Aug 2006 Freeware

Freeware (Feb 2003):

  • 812-0773-019 Freeware 1 : fware1
    • autoconf
    • apache2
    • bash
    • curl
  • 812-0964-019 Freeware 2 : fware2
    • gcc
  • 812-1085-019 Freeware 3 : fware3
    • make
    • md5
    • openssh
    • postgresql
  • 812-1137-019 Freeware 4 : fware4
    • samba
    • teTeX
    • zfig
    • zip

SGI

Esc to enter SGI Command Monitor (PROM) and note the MAC address:

printenv eaddr

The BOOTP server does not to respond unless an IP is set to match what it has for the client:

setenv netaddr 10.0.0.2

Docker Setup

This docker image provides the services:

  • echo (7/udp)
    • For response to PROM's "ping"; not used during installation
  • bootps (67/udp)
    • Privides BOOTP response, gives out an IP and points to TFTP sever
  • tftp (69/udp)
    • Allows the transfer of initial installer tools
  • shell (514/tcp)
    • Used by Inst to transfer the majority of data

Download this docker image and check:

docker pull nickpgsmith/irix-install
docker images

Create a bootptab file in /home/user/irix:

sgi:ha=0800690b9e1f:sa=10.0.0.1:ds=10.0.0.1:rp=/data

where ha is the Ethernet address of the SGI, sa is the IP of the TFTP server, ds is the IP of the DNS server.

Start Docker image (as root):

docker run --name irix --network host --add-host sgi:10.0.0.2 --volume /home/user/irix:/data:ro,Z -it nickpgsmith/irix-install

Ensure firewall is not blocking:

firewall-cmd --add-port="7/udp"
firewall-cmd --add-port="67/udp"
firewall-cmd --add-port="69/udp"
firewall-cmd --add-port="514/tcp"

or:

systemctl stop firewalld

Can boot standalone shell with any of:

boot -f bootp()lin-docker:/inst/dist/sa(sash64)
boot -f bootp()lin-docker:inst/dist/sa(sash64)
bootp():/inst/dist/sa(sash64)
bootp():inst/dist/sa(sash64)

NOTE: It seems like replacing the hostname ("lin-docker") with the IP does not work.

Disk Labelling

The disk needs to have an SGI label and partition structure. Invoke disk partitioner with either:

boot -f bootp():inst/stand/fx.64 --x
bootp():inst/stand/fx.64 -x

Accept defaults for disk: dksc(0,1,0)

fx: "device-name" = (dksc)
fx: ctlr# = (0)
fx: drive# = (1)
...opening dksc(0,1,0)

To show current partitions:

  • /label/show/partitions

Partition root drive (for OS installation) with defaults:

  • /label/create/all

By default, 128 MB of swap is allocated as partition 1. To change, use:

  • /repartition/resize

A non-root disk can be partitioned:

  • /repartition/optiondrive

Erase disk and check surface for bad blocks (slow):

  • /exercise/sequential
  • modifier = “wr-c”, enter start and number of blocks

Exit:

  • /exit

See also here

Installation

(Graphical):

  • Select "Install System Software"
  • Select "Remote Directory"
    • For "remote host" enter the hostname of the install server (lin-docker)
    • For "remote directory" enter the sub-directory from the /home/user/irix base where the stand-alone shell (sa) is located (inst/dist)

This is equivalent to the command:

xio(0)pci(15)multi(0)network(0)bootp()lin-docker:inst/dist/sa(sash64)

(From PROM Command Prompt):

bootp():inst/dist/miniroot/unix.IP30

Installer will present:

  • If there is a newly partitioned disk, a report of no realroot will be seen:
    • Confirm create new file system on /dev/dsk/realroot
  • Choose 4096 bytes blocksize for disks ~> 4 GB
  • Enter hostname, IP, Netmask
  • Inst 4.1 Main Menu (Inst> prompt)
    • For nonclean disks: 13/11/y/yes
    • Change hostname and IP: 13/12 and 13/13

NOTE: >Inst uses rsh (not TFTP) so subsequent paths are relative to / not /data

  • Open Source: 2
  • Choose location (/data is the mount point within docker)
    • lin-docker:/data/inst/dist
      • Confirm network address
      • Choose feature stream (2)
  • Continue to add additional disks from RSH root:
    • lin-docker:/data/overlays2/dist
    • lin-docker:/data/overlays3/dist
    • lin-docker:/data/found1/dist
    • lin-docker:/data/found2/dist
    • lin-docker:/data/nfs/dist
    • lin-docker:/data/apps/dist
    • lin-docker:/data/capps/dist
    • lin-docker:/data/apps/dev_libs
    • lin-docker:/data/capps/dev_found
  • Return to >Inst (11)
keep *
install standard
install eoe.sw.ipv6
install eoe.man.ipv6
install eoe.man.ipv6_rn

Check for conflicts; will report: java2_plugin.sw.mozilla_freeware and inventor_dev.sq.base

(because Development Foundation is not installed here) and remove:
conflicts
conflicts 1a 2a

Start installation:

go

After transfer over the network, Requickstart ELF files:

quit

and confirm restart into the new OS installation

EZsetup Post-installation

Login with EZsetup account Step 1:

  • Improve Security: disable or set passwords for accounts: root, lp, nuucp, EZsetup, demos, OutOfBox, guest
  • Enable/disable Java/JavaScript
  • Turn off NIS
  • Use shadow password file
  • Require passwords
  • Disable Visual Login
  • Disable privilege users (leaving only root)
  • Protect new users' files
  • Disable remote X
  • Disable IP forwarding
  • Disable OOTB WebServer

Step 2:

  • Setup networking (DHCP/static)

Step 3:

  • Add new user(s) (home directory in /usr/people)

Step 4:

  • Web Config
  • Desktop setup

License Server

Install Flexlm from Overlays 3 disk:

  • license_eoe.sw.flexlm_server
  • license_eoe.sw.flexlm_utils
  • license_eoe.sw.license_eoe
  • license_eoe.man.flexlm_server

Edit /var/flexlm/license.dat (see here for format)

SERVER robin ANY
FEATURE cc sgifd 7.000 1-jan-0 0 ACE61A24A73E99462ECC HOSTID=ANY vendor_info="C <=128 CPU" ISSUER="Hax Force, Inc."
FEATURE cpp sgifd 7.000 1-jan-0 0 8CE65AB48DDCD394E6E1 HOSTID=ANY vendor_info="C++ <=128 CPU" ISSUER="Hax Force, Inc."
FEATURE f77 sgifd 7.000 1-jan-0 0 ACC63A346C444B7C99A7 HOSTID=ANY vendor_info="F77 <=128 CPU" ISSUER="Hax Force, Inc." ck=0
FEATURE f90 sgifd 7.000 1-jan-0 0 4C66BA143C7230ED9230 HOSTID=ANY vendor_info="F90 <=128 CPU" ISSUER="Hax Force, Inc." ck=42
FEATURE auto_pp sgifd 7.000 1-jan-0 0 8C862A14661D81BA12EB HOSTID=ANY vendor_info="APO <=128 CPU" ISSUER="Hax Force, Inc."
FEATURE WorkShop sgifd 2.000 1-jan-0 0 6C16DAD49AC3AF2388D3 HOSTID=ANY vendor_info="PRODEV WORKSHOP" ISSUER="Hax Force, Inc." ck=73
chkconfig flexlm start

Further Post-installation

Static IP address:

  • hostname in: /etc/sys_id
  • add IP/hostname in: /etc/hosts
  • /etc/resolv.conf
  • /etc/nsswitch.conf
chkconfig autoconfig_ipaddress off
chkconfig routed off
chkconfig esp off; rm -rf /0esp

Default route (or static routes in general) in: /etc/config/static-route.options

$ROUTE $QUIET add net default 192.168.1.1

Turn on IPv6:

systune ip6_enable 1

(need to install eoe.sw.ipv6 / eoe.man.ipv6 / eoe.man.ipv6_rn)

Improve TCP sequence number obscurity:

systune tcpiss_md5 1

IP Aliases (multiple IPs): /etc/config/ipaliases.options

ef0 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255
chkconfig ipaliases on

Time:

  • Add server to /etc/ntp.conf
chkconfig ntp on
echo "TZ=Europe/London" >> /etc/TIMEZONE
  • Turn off legacy services:
chkconfig timed off
chkconfig timeslave off
  • Move /usr/people to /home
    • Change UID/GID to match Linux (1000/1000)


XServer configuration:

  • /var/X11/xdm/Xservers

Syslog Messages:

  • /var/adm/SYSLOG

CDE:

chkconfig xdm off
chkconfig dtlogin on

More Software

Check software installed:

versions

Graphical tool:

swmgr

Command line tool:

inst -f somepath/dist
>Inst install standard
>Inst remove
> ...
>Inst conflicts 1a 1b

Install the default subsystems:

>inst go

Install everything:

>inst all

Install bash (/usr/gnu/bin/bash) from Foundation 2 disk:

  • gnu.sw.bash
  • gnu.man.bash
  • gnu.base.gnu_base
  • gnu.sw.lib_readline


install SSH Server from Foundation 3 disk:

install sysadm_xvm install sysadm_base install sysadm_cluster.sw.client install eoe.sw.xvm install sysadm_xvm.sw.client install eoe.sw.xfsrt install eoe.books install eoe.sw.xlv install eoe.sw.xlvplex install license_eoe install license_dev install eoe.sw.uucpeoe.sw.ipv6 install eoe.sw.quotas install eoe.sw.ipv6 install eoe.sw.imagetools install eoe.sw.netman install eoe.sw.pam install eoe.sw.pam_dev install eoe.sw.terminfo

Development and Compilers

The prerequisites should have been installed:

  • Foundation 1
  • Foundation 2
  • Overlays 1
  • Overlays 2
  • Overlays 3
  • Development Libraries
  • Development Foundation
  • License entries required in license.dat, but flexlm does not need to run.

Plus one or all of the compilers:

  • 812-0707-010 MIPSpro C Compiler 7.4 : mipspro_c
    • c_fe.man.relnotes (C Front-end Release Notes)
    • c_fe.sw.c (C Front-end Compiler)
  • 812-0400-010 MIPSpro C++ Compiler 7.4 : mipspro_cpp
    • c++_fe.man.relnotes (C++ Front-end Release Notes)
    • c++_fe.sw.c++ (C++ Front-end Compiler)
  • 812-0403-010 MIPSpro Fortran 77 Compiler 7.4 : mipspro_f77
    • ftn77_fe.man.ftn (Fortran 77 Front-end Compiler Man Pages)
    • ftn77_fe.man.relnotes (Fortran 77 Front-end Release Notes)
    • ftn77_fe.sw.ftn77 (Fortran 77 Front-end Compiler)
  • 812-0402-010 MIPSpro Fortran 90 Compiler 7.4
  • 812-0706-002 : MIPSpro Auto Parallelizing Option 7.4 : mipspro_autop
    • Release notes only; to use build-in option -apo requires a license

Latest patch overlay:

Optionally:

NFS

NFS Server: define exports in /etc/exports, eg:

/home -access=bonnie:clyde
/data -ro,access=foo,rw=bar,root=baz
/spare @192.168.1.0/24

NFS Client: By default, /etc/auto_master has a /hosts map

SGI/IRIX Documentation

See here for a large library, specifically:


Sys Admin Notes

Set keyboard layout:

ipanel

3 Button mouse

systune pc_mouse 2
  • 0 : Default 3-button mode
  • 1 : 3-button Wheel Mouse (type 3), Wheel scrolling generates button events 4 & 5
  • 2 : 5-button Wheel Mouse (type 4), Wheel & buttons 4 & 5 generate button events 4 & 5

Hardware info:

hinv -t memory
sysconf

Packages:

showprods -M -1
versions -b patch\*

Network:

netstat -ian
netstat -an -f inet4
netstat -anW -f inet6

Add swap:

mkfile -v 4096m /usr/swap
swap -a /usr/swap

Install local file:

inst -r /usr -f neko_zlib_1211.tardist