Keywords: Intellon, Atheros, Qualcomm, HomePlug, powerline, communications, INT6000, INT6300, INT6400, AR7400, AR7420

Actual Device Identity
Prev | Chapter 6. Scripting | Next

## 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.

Prev | Up | Next
Random Device Identity | Home | Editing a PIB