Thursday, April 15, 2010

Using ddu scripts

Have you ever looked in the "/usr/ddu" directory? Console-lovers can use some of these scripts and get the almost same output as from the "ddu" graphic utility. For example, I changed the probe.sh script a bit and now I can get ddu-like info from console:

(root@elvis)# ./ddu.sh
AUDIO
Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller : audio810
CPU
1 X Intel(R) Celeron(R) CPU 2.26GHz, 1-core : ---
CD_DVD
Intel Corporation 82801DB (ICH4) IDE Controller : pci-ide
Optiarc DVD RW AD-5200A : 0
MEMORY
1G (512M + 512M) ; 2G maximum : ---
NETWORK
Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ : rtls
STORAGE
Intel Corporation 82801DB (ICH4) IDE Controller : pci-ide
USB
Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 : uhci
Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 : uhci
Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 : uhci
Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller : ehci
VIDEO
Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device : i915
OTHERS
PC standard floppy disk controller : fdc
16550A-compatible COM port : asy
ECP printer port : ecpp
PS/2 Port for PS/2-style Mice : mouse8042
System keyboard : kb8042
(root@elvis)#

How to determine PXE mac address when booting illumos via PXELinux/iPXE

In illumos, if you need to determine the interface which was used for booting via PXE then it's possible to use "boot-mac" pro...