Actual Device Identity

Some scripts need actual MAC, DAK or NMK strings as arguments to Toolkit programs. Program int6kid can be used for this purpose. We demonstrate one way to define symbols here and demonstrate how to use them later on.

DAK=$(int6kid -Di ${NIC1})
NMK=$(int6kid -Mi ${NIC1})

The first statement, above, uses program int6kid to echo the DAK (-D) from the device connected to Ethernet interface NIC1 and assign the output to symbol DAK. The second statement uses program int6kid to echo the NMK (-M) of the device connected to Ethernet interface NIC1 and assign the output to symbol NMK.