diff --git a/README.md b/README.md index 50f8e5d..3a12707 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,36 @@ I'm not sure if the source code is already hosted somewhere, but I just found it in `/var/www/` and the code isn't obfuscated. - [OpenIPC Wiki - Majestic example config](https://github.com/openipc/wiki/blob/master/en/majestic-config.md) + +```bash +# Enter commands line by line! Do not copy and paste multiple lines at once! +setenv ipaddr 192.168.2.99; setenv serverip 192.168.2.227 +mw.b 0x21000000 0xff 0x1000000 +tftpboot 0x21000000 openipc-ssc338q-lite-16mb.bin +# if there is no tftpboot but tftp then run this instead +# tftp 0x21000000 openipc-ssc338q-lite-16mb.bin +sf probe 0 +sf erase 0x0 0x1000000; sf write 0x21000000 0x0 0x1000000 +reset +``` + +```bash +passwd +fw_setenv ethaddr d5:62:40:43:af:06 +``` + +## Note: MAC address + +1. It's a locally administered address (the second bit in the first byte is set to 1) +2. It's a unicast address (the first bit in the first byte is set to 0) + +Your previous MAC address `d5:62:40:43:af:06` starts with `d5`, which in binary is `11010101`. The first bit being `1` makes it a multicast address, which most network interfaces won't accept for their own hardware address. + +For a valid unicast, locally administered MAC address, the first byte should follow this pattern: +- Bit 0 (least significant): 0 for unicast (individual), 1 for multicast +- Bit 1: 0 for globally unique, 1 for locally administered + +So valid first bytes for a locally administered unicast MAC would include: +- `02` = `00000010` (locally administered, unicast) +- `06` = `00000110` +- etc.