This section is applicable to all Libreboot-supported laptops with the mobile 4 series chipset (as shown in
$ lspci) that use the e1000 ethernet controller (e.g. T400, X200). The R500 is an exception to this as it does not use the built-in e1000.
On all these laptops, the MAC address for the built-in gigabit ethernet controller is stored inside the flash chip, along with Libreboot and other configuration data. Therefore, installing Libreboot will overwrite it.
Thus, for these laptops, prebuilt Libreboot already contains a generic MAC address in the configuration section. This address is
00:f5:f0:40:71:fe in builds before 2018-01-16 and00:4c:69:62:72:65` (see the ascii character set) afterwards. Unless you change it, your computer will boot and use it. This can lead to network problems if you have more than one Libreboot computer on the same layer2 network (e.g. on the same network switch). The switch (postman) will simply not know who to deliver to as the MAC (house) addresses will be the same.
To prevent these address clashes, you can either modify prebuilt Libreboot to use an address of your own choosing or you can change the address in your operating system’s boot scripts.
In either case, it is a good idea to write down the address that your computer originally had.
The existing MAC address may be obtained by the following methods:
ip link or
ifconfig in a terminal/console/shell; find your ethernet device (e.g., enpXXX or ethXXX), and look for a set of 12 colon-delimited hexadecimal digits. For example:
`$ ip link
… link/ether ??:??:??:??:??:?? brd …
… ether ??:??:??:??:??:?? txqueuelen …
Otherwise you can read the white label that is often found on the motherboard under the memory sticks:
The MAC address is usually listed on the laptop chassis as well. This one will be incorrect if the motherboard was changed and the stickers were not updated.
There are three portable ways of doing so:
Using the new iproute2 package:
ip link set
ip link set dev
ip link set
Using the old
Using the macchanger package.
You can use use of these three methods in your operating system’s init scripts or you can use your operating system’s own networking configuration. Refer to your operating system’s documentation for how to do this.
On GM45 laptops with ICH9M southbridge and Intel PHY module, the MAC address is hardcoded in boot flash, which means it can be changed if you re-flash.
Markdown file for this page: https://libreboot.org/docs/hardware/mac_address.md
This HTML page was generated by untitled static site generator.
Libreboot 20210522 has been released! Download it here - release announcement here