| 34 | = RT-N16 Initial Configuration Script = |
| 35 | |
| 36 | This script was made to automatically perform many of the necessary steps of setting up, securing and optimizing the RT-N16 for use as a router. Can be used with both installations from pre-compiled archives or building from source. It is to be run by the user on the first boot after rootfs installation. |
| 37 | |
| 38 | List of tasks performed: |
| 39 | - Package debwrt-net and dependencies are installed if missing |
| 40 | - The /etc/network/interfaces.broadcom file is patched for use with the RT-N16 and enabled |
| 41 | - DNSMASQ is enabled |
| 42 | - /etc/apt/sources.list is set to debian default (including security and updates repositories) |
| 43 | - aptitude update and upgrade are run to install all the latest security updates |
| 44 | - Both the power and wireless LED are enabled |
| 45 | - User is prompted with an option to automatically overclock their router to 532MHz from the stock 480MHz |
| 46 | - User is prompted to set their own SSID other than the default |
| 47 | - User is prompted to set a wireless password |
| 48 | - User is prompted to set their timezone |
| 49 | - User is prompted to change the root password |
| 50 | - Router reboots automatically and voila! You have an up-to-date working router |
| 51 | |
| 52 | Usage: |
| 53 | 1. Download the script from here: [http://dl.dropbox.com/u/29682150/rtn16_config.sh rtn16_config.sh] and place it on the usb stick containing the DebWrt rootfs |
| 54 | 2. Ensure that the "WAN" port on the router is connected to an active internet connection |
| 55 | 3. Connect to the router (via SSH/Serial) and execute the following command: {{{sh ./rtn16_config.sh}}} |
| 56 | 4. Follow the prompts and wait for the script to finish, should take no more than 15 mins |
| 57 | |