===== OpenBoot ROM =====
* QuickRef : {{:informatique:nix:solaris:sunobp_quick_ref.pdf|}}
==== Commandes de base ====
* Lister les devices
{8} ok devalias
cdrom /pci@20,600000/pci@0/pci@8/pci@0/scsi@1/disk@3,0:f
rootdisk /pci@2,600000/pci@0/scsi@8/disk@2,0
net /pci@3,700000/network@0
disk /pci@2,600000/pci@0/scsi@8,1/disk
icedisk /pci@2,600000/pci@0/scsi@8,1/disk
name aliases
* Récupérer une MAC adresse :
{8} ok cd /pci@3,700000/network@0
{8} ok .properties
status okay
.
.
.
board-model 501-7289
version Sun PCI-E 1G Ethernet UTP Adapter FCode 1.10 06/11/02
model SUNW,pcie-northstar
.
.
.
local-mac-address 00 15 17 84 f1 c2
==== Créer un alias réseau à partir d'un device ====
* Récupérer les infos des cartes réseau
{8} ok show-nets
a) /pci@20,600000/pci@0/pci@8/pci@0/network@2,1
b) /pci@20,600000/pci@0/pci@8/pci@0/network@2
c) /pci@3,700000/network@0,1
d) /pci@3,700000/network@0
q) NO SELECTION
Enter Selection, q to quit: c
/pci@3,700000/network@0,1 has been selected.
Type ^Y ( Control-Y ) to insert it in the command line.
e.g. ok nvalias mydev ^Y
for creating devalias mydev for /pci@3,700000/network@0,1
* Créer l'alias
{8} ok nvalias net1 /pci@3,700000/network@0,1
{8} ok
{8} ok
{8} ok
{8} ok devalias
net1 /pci@3,700000/network@0,1
cdrom /pci@20,600000/pci@0/pci@8/pci@0/scsi@1/disk@3,0:f
rootdisk /pci@2,600000/pci@0/scsi@8/disk@2,0
net /pci@3,700000/network@0
disk /pci@2,600000/pci@0/scsi@8,1/disk
icedisk /pci@2,600000/pci@0/scsi@8,1/disk
name aliases