Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:guide-developer:mac.address [2019/11/11 19:13] – Tab for indent adrianschmutzler | docs:guide-developer:mac.address [2021/01/03 21:09] (current) – [Find out about flash locations] . /lib/functions/system.sh sources /lib/functions.sh borromini | ||
|---|---|---|---|
| Line 57: | Line 57: | ||
| or by using mtd_get_mac_binary (based on partition label): | or by using mtd_get_mac_binary (based on partition label): | ||
| < | < | ||
| - | . / | ||
| mtd_get_mac_binary art 0x4</ | mtd_get_mac_binary art 0x4</ | ||
| Line 188: | Line 187: | ||
| + | ==== Using the label MAC address ==== | ||
| + | |||
| + | When everything is set up correctly, the label MAC address can be accessed with: | ||
| + | |||
| + | < | ||
| + | . / | ||
| + | . / | ||
| + | label_mac_addr=$(get_mac_label) | ||
| + | </ | ||
| ===== Common MAC address locations ===== | ===== Common MAC address locations ===== | ||