how to create configfiles on the fly?

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Mon Sep 9 22:40:47 CEST 2002


On Mon, 9 Sep 2002, Michael Renner wrote:

> Does anybody have such a 'thing'? What would be the promising way? Is kudzu
> usable for such a task?

If you use FAI_ACTION 'sysinfo' instead of 'install', a few detection
tools will be run:

  lspci
  lsdev
  discover --xdriver video
  discover ethernet cdrom scsi sound video
  kudzu -q
  detect

and others. You'll find a report.txt file among the logs. It may look
like this:

,----
| CPU:GenuineIntel:Pentium II (Klamath):299:[HAS_FPU:HAS_MMX]:598.01:(none)
| MEMORY:94192:78632:0:8:7980:0:0
| BRIDGE:PCI:Intel Corporation:440LX/EX - 82443LX/EX Host bridge:ignore
| BRIDGE:PCI:Intel Corporation:440LX/EX - 82443LX/EX AGP bridge:ignore
| BRIDGE:PCI:Intel Corporation:82371AB PIIX4 ISA:unknown
| IDE:PCI:Intel Corporation:82371AB PIIX4 IDE:unknown
| USB:PCI:Intel Corporation:82371AB PIIX4 USB:usb-uhci
| DISK:ATAPI/IDE:Unknown:IBM-DTTA-351010:/dev/hda:19792080:255:63:1232
| FLOPPY:Floppy Drive Controller:Unknown:1.44MB 3.5":/dev/fd0
| CDROM:ATAPI/IDE:Unknown:MATSHITA CR-585:/dev/hdc
| CDROM:SCSI:MATSHITA:CD-ROM CR-585:/dev/scd0
| VIDEO:PCI:Matrox Graphics, Inc.:Millennium 4MB  MGA 2064W [Millennium]:[Card:Mat
| rox]:256:(null):(null)
| ETHERNET:PCI:3Com Corporation:3c905 100BaseTX [Boomerang]:3c59x
| ETHERNET:PCI:3Com Corporation:3c905B 100BaseTX [Cyclone]:3c59x
| SOUND:ISA:Yamaha:OPL3-SAx Sound System:[HAS_OPL3:HAS_MPU401:HAS_DMA16]:opl3sa2
| MOUSE:PS/2:Unknown:Unknown:/dev/psaux
| PARALLEL:/dev/lp0:LPT0
| SERIAL:/dev/ttyS0:COM0
| SERIAL:/dev/ttyS1:COM1
| GAMEPORT:Yamaha:OPL3-SAx GamePort
| OTHER:80867113:PCI:Intel Corporation:82371AB PIIX4 ACPI:ignore
| FREE_IRQS:3:4:5:7:10:11:12:13:
| FREE_DMAS:0:1:3:5:6:7:
`----

/Cristian



More information about the linux-fai mailing list