After flashing back to original firmware from dd-wrt/open-wrt firmware. Users will notice that their wireless security (such as WPA2) don’t work as intended. This is due to the missing information found in the board config partition. This board config partition holds information such as:
- MAC ID of WAN interface
- MAC ID of LAN and WLAN interface
- PIN CODE for WPS
- Number of allowable wireless channels (11 or 13)
This guide aims to assist users in creating the board config file needed by their D-Link DIR-300. You would only need to do this if wireless security (e.g. WPA2) is not working after restoring from dd-wrt for the DIR-300.
Locating the MAC ID and PIN
The MAC ID and PIN can be located on the sticker underneath the DIR-300. These 2 piece of information is important in the generating of the shadowandy_board_config.bin. Do ensure that you key in the information correctly later.
MAC ID consist of 12 characters.
PIN contains 8 digits.
Determining the number of allowable wireless channels
Most, if not all, countries have regulations on the use of the wireless spectrum. Therefore, it is important to determine the number of allowable wireless channels in your region. The wikipedia page on “List of WLAN channels” will give you a general idea of whether should you use choose 11 or 13 wireless channels. If you are not sure, it is safer to choose the 11 wireless channels option later on.
Generating the board config file
I have created a tool called DIR-300 board config generator which helps to generate the board config (shadowandy_board_config.bin) partition information using the 3 pieces of information (MAC ID, PIN, Number of allowable wireless channels). To generate your copy of board config, follow the instructions below
- Go to DIR-300 board config generator
- In the MAC ID textbox, fill in the 12 character MAC ID underneath the DIR-300
- In the PIN textbox, fill in the 8 digits PIN underneath the DIR-300
- Select the number of wireless channel allowed in your region
- Click on “Generate” button
- Save the file “shadowandy_board_config.bin” to Desktop. Ensure that the file is saved as .bin instead of .bin.html
For 13 wireless channel, I defaulted the country to UK. For 11 wireless channels, I defaulted to my country, Singapore!
With regards to the flashing of board config, it will be continued in Flashing DIR-300 back to original firmware.