From DD-WRT Wiki
Jump to: navigation, search
Contents
- 1 Introduction
- 2 Clock Timing Bug
- 3 Prerequisites
- 4 Installation
- 4.1 TFTP Method:
- 5 Upgrading Firmware
- 6 Resetting Defaults
- 7 Reset Button
- 8 Hardware Notes
- 9 Recovery
- 9.1 Asus Firmware Restoration Utility
- 9.2 Using TFTP on Windows
- 9.3 Using TFTP on Linux
- 10 Making the most out of your router (Deprecated, See Installing Entware)
- 11 VPN + USB Printer server
- 12 External Links
For initial flash use same procedure as All Asus WL-500xx series routers. also see: wl520gu.googlepages.com
WARNING: Don’t flash with any K26 builds, currently it just wont work
[edit] Introduction
The WL-520GU WRT has been supported as of DD-WRT v.24 RC7. USB (e.g. external storage or printer). As of DD-WRT v24 Final Release you are able to use the web-GUI to enable, setup and configure USB support. You MUST use builds that are tagged mini-usb or mini-usb-ftp to do this. Due to the lack of the units flash size (4MB) these builds may not offer the same Web GUI features of the standard builds. Some memory hungry features like Xbox-KAID have been removed in order to provide sufficient space for the USB drivers/modules and FTP functions.
It is also worthy to note that the USB 2.0 aspect of this router is very temperamental. If you bought this router in hopes of using USB 2.0, then you may experience problems with certain applications; albeit those mainly include resource intensive Optware programs like Bittorrent transmission.
The only remedy for this (as of now) is to use the USB 1.1 drivers instead.
[edit] Clock Timing Bug
See this thread about a clock timing bug that affects this model.
[edit] Prerequisites
- Windows Client (TFTP firmware upload techniques when booting the WL-520GU will also work for non-Windows users, but use of the ASUS Firmware Restoration Utility on a Windows client is by far the easiest way to flash the WL-520GU)
- ASUS Firmware Restoration Utility
- Installed as part of the «ASUS WL-520gU wireless router utility program» and is available under «Utilities»
- DD-WRT v.24 TNG (not VINT builds) Link: [1]
- Build suggestions (see Version Features for more information on selecting a version):
- dd-wrt.v24_mini_asus.trx (For intial flash) REQUIRED
- dd-wrt.v24_mini_generic.bin (Recommended if you want to manually add USB support, or need additional JFFS storage space)
- dd-wrt.v24_generic_nokaid.bin (if you want standard features but don’t require X-Box Kai Console Gaming)
- dd-wrt.v24_std_generic.bin
- mini_usb.bin (Built in USB support)
- mini_usb_ftp.bin (Built in USB and FTP support)
- Build suggestions (see Version Features for more information on selecting a version):
Note: The mini_asus.trx build is supposed to be designed to be uploaded as a firmware upgrade through the ASUS stock firmware’s web interface. The stock ASUS firmware rejected this build in the author’s
attempt to do this. For Windows use the Firmware Restoration utility provided with your router to do the initial mini-asus.trx flash. For Vista users, Administrative permissions are required. For Windows 7 users, changing the main executables (.exe) file to Windows XP sp2 compatibility mode is required. For 64bit versions of Windows, make sure the installation path is set to Program Files (x86).
[edit] Installation
[edit] TFTP Method:
- Read the Peacock Announcement, found here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
- Download this program to flash from Windows: http://www.dd-wrt.com/dd-wrtv2/downloads/others/tornado/Windows-TFTP/tftp.exe
- If you need to flash with Linux, you can use this file: ftp://dd-wrt.com/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2
Or [advanced users] can use the tftp utility available through most package managers.
- If you need to flash with Linux, you can use this file: ftp://dd-wrt.com/others/tornado/Linux_Linksys_Tftp/linksys-tftp.tar.bz2
- Download this file for initial flashing: dd-wrt.v24_mini_asus.trx
- Also download this file for LATER flashing: dd-wrt.v24_usb_generic.bin
- Do a proper HARD reset on the router in accordance with note 1 of the peacock. That will be a 30-30-30 reset, followed by a power cycle. Do not confuse the Red ‘EZ Setup’ button with the RECESSED reset button.
- Do a second 30-30-30 reset, but do not power cycle it at the end. This puts the router into restoration mode. Plug a cable in the LAN port of the router, and the ethernet port of your computer. Make sure antivirus and wireless are off in the computer, and nothing else is connected to the computer or the router.
- Set your computer to a static IP address of 192.168.1.7 with a subnet mask of 255.255.255.0.
- Start the tftp.exe and follow the instructions in note 11 of the peacock announcement. Set the server to 192.168.1.1, leave the password blank, set retries to 20, and choose the dd-wrt.v24_mini_asus.trx file you downloaded earlier. Hit upgrade, and the file should upgrade immediately.
- Wait. Set a timer for FIVE FULL EARTH minutes. If you screw this up you could damage your router. WAIT!
- The LAN port will remain lit after the upgrade, but no other lights will light. There is no sign that your firmware has flashed, so you HAVE TO TIME IT.
- Once the time is up, power cycle the router.
- Navigate to 192.168.1.1 and refresh until the router webUI shows up
- Type a username and password in the opening page.
- Power cycle the router
- When you can log back in to the webUI at 192.168.1.1, do ANOTHER hard reset on the router (30-30-30 followed by a power cycle)
- Login to the router and enter a username and password. The router can be used at this point.
- Download this file if you have not already: dd-wrt.v24_usb_generic.bin
- Under the Administration > Firmware Upgrade tab, choose «Reset to default configuration», and pick the dd-wrt.v24_usb_generic.bin file to upgrade the firmware.
- Hit «Upgrade» and wait five full earth minutes.
- If uploading via the web does not work for you (it did not for me), you can upload your file with tftp again. I uploaded the dd-wrt.v24_voip_generic.bin successfully. I did have to increase the timeout for the voip file for it to work.
- Type a username and password in the opening page.
- Power cycle the router
- When you can log back in to the webgui at 192.168.1.1, do ANOTHER hard reset on the router (30-30-30 followed by a power cycle)
- Login to the router and enter a username and password.
- Configure your router
- Set your computer back to auto IP and auto DNS
[edit] Upgrading Firmware
Once DD-WRT has been installed on the WL-520GU, new versions can be installed through web interface (Administration -> Firmware Upgrade). The Asus Firmware Restoration Utility can also be used, but it is no longer necessary when upgrading DD-WRT.
[edit] Resetting Defaults
There are several ways the WL-520GU’s NVRAM can be reset.
- Using the Administration -> Factory Defaults web interface.
- Selecting the option to reset to Default Settings when upgrading the firmware through the Administration -> Firmware Upgrade web interface.
- Pressing the reset button while booting (see the Reset Button section below for ASUS reset button quirks).
- Using telnet enter erase nvram command
- Download this file pack which includes the necessary tools required for the procedure and unrar it. The File pack contains both wl500g-clear-nvram.trx and the wl500g-recover.trx utilities.
If using the #5 procedure, do the following:
- Using the Firmware Restoration utility or TFTP, first put the device into recovery mode by pressing and holding the black reset button WHILE plugging the power in. The power LED should continuously flash.
- Set your network adapter to a static IP of 192.168.1.10 and subnet mask of 255.255.255.0
- Upload wl500g-clear-nvram.trx and wait for the transfer to complete. Unplug the power.
- Put the device into restore mode once again by pressing and holding the black reset button WHILE plugging the power in.
- Upload wl500g-recover.trx and wait for the transfer to complete, then unplug.
- Put the device into restore mode once again by pressing and holding the black reset button WHILE plugging the power in.
- Upload the either the stock firmware (which is found on the Asus website) or uploadmini_asus.trx file if you want to continue using DD-WRT. Wait for file transfer completion.
- Unplug the power, but this time do NOT press the blackreset button. Just plug the power back into the unit and you’re back in business
- Last resort when the unit won’t boot due to a bad setting — see this forum post.
[edit] Reset Button
The ASUS «firmware restoration» mode requires a change to the standard Linksys «hold reset button for 30 seconds» procedure for resetting the WL-520GU to its defaults. The following is how the reset button works on the WL-520GU:
When the WL-520GU is powered on
- Holding the reset button for 15-20 seconds will cause the WL-520GU to reboot.
- Upon reboot, a pressed reset button causes the WL-520GU to go into firmware restoration mode. This does NOT reset the defaults (see the section below for more information on the firmware restoration mode).
- Since there is little to no warning of the exact instant the WL-520GU will reboot when holding the reset button, chances are extremely good that the reset button will still be depressed and cause the WL-520GU to go into firmware restoration mode. Hard booting the WL-520GU will get the WL-520GU back, but settings will NOT be reset.
When the WL-520GU is booting
- Holding the reset button during the boot sequence will reset the unit to its defaults.
- Care must be taken to press the reset button right after the power light turns off immediately after powering on the WL-520GU and not before, to avoid going into firmware restoration mode.
Based on the above, it should be fairly self-evident that the following procedure is recommended for using the reset button on the WL-520GU.
- Unplug the WL-520GU
- Plug in the WL-520GU
- The power light will blink
- As soon as the power light turns off, press and hold the reset button
- Hold the reset button until the power and wireless buttons glow green.
- The WL-520GU should now be reset to its defaults
[edit] Hardware Notes
This section covers observations made about working with the ASUS WL-520GU hardware. Certain behaviors of this device are different than other WRTs (especially the Linksys).
[edit] Recovery
Many Asus WLs have a special pre-boot state that makes it extremely easy to upload new firmware images, even when the current firmware is corrupt (in fact the WL-520GU automatically drops into this mode when a corrupt firmware is detected during boot). Either applying a new firmware through the Asus Firmware Restoration Utility (see section below) or a hard reboot (removing the power) is required to exit this state (Note that entering this state does not negatively effect the current settings or firmware so it is not especially dangerous to accidentally enter firmware restoration mode — although it does get in the way of performing a «reset button» based reset of the WL-520GUs settings as noted in the section above).
[edit] Asus Firmware Restoration Utility
The Asus Firmware Restoration Utility is available from the Asus support site under «Utilities» (installed as part of the ASUS WL-520GU Utility). This is the preferred utility for uploading new firmware distributions since many firmwares reject a different distribution’s firmware if one attempts to use the web interface.
The Asus Recovery Utility can ONLY be used with Windows
- Under Vista and Win7 this utility must be run as administrator by Right-clicking on the .exe and selecting the option.
- In case you have multiple network interfaces, disable all but the one that is connected to your router (i.e your LAN connection).
- You should also turn off your Windows firewall, in order to allow the Asus Recovery Utility to be able to connect and send data from your PC to the Router.
Steps:
1. You will need to manually set the address of your PC’s Network LAN card to 192.168.1.10 and subnet mask 255.255.255.0. Also make sure all other adapters on your PC, except for the main LAN connection are disabled.
2. Remove the power connector of the WL series router.
3. While holding the BLACK reset button down, plug the power connector back in.
4. When the power LED flashes, release the reset button. The router is now in recovery mode.
5. Use the Asus recovery utility to upload the DD-WRT mini-asus.trx file.
6. After the upgrade, the Utility will ask for a router reboot. Give it about a minute to be on the safe side before removing the power. Once plugged back in, you will be able to access the web interface.
7. Return your Net adapter properties to «Automatically Obtain IP»
8. DO NOT use Firefox for upgrading builds! Use Internet Explorer!!!!
9. Type 192.168.1.1 into your browser and set your username as root and pick a password.
10. Navigate to Administration->Firmware Upgrade and upload either the recommended build provided on the main page of the site, or another of your choice.
[edit] Using TFTP on Windows
Windows TFTP client may be downloaded from here. Then all you need to do is to call following command:
tftp.exe -i -v 192.168.1.1 PUT dd-wrt.v24_mini_asus.trx
[edit] Using TFTP on Linux
Linux TFTP client may be downloaded using yum or apt-get. Then all you need to do is to call following command:
tftp -m binary 192.168.1.1 -c dd-wrt.v24_mini_asus.trx
[edit] Making the most out of your router (Deprecated, See Installing Entware)
Please see Optware, the Right Way for detailed information on how to fully utilize the USB port on the WL520gU and add invaluable flexibility to it.
Recommend Firmware link: TBD?
OTRW will recommend an EXT2 partition. The firmware version must support this: [2] The wiki instructions above installs: DD-WRT v24-sp2 (08/12/10) mini-usb-ftp
(SVN revision 14929), which does not support EXT2 despite what the USB UI says.
Potential services that are available:
- Bash instead of shell in busybox (LFS support)
- Automounting and unmounting of storage device partitions
- Network printing
- Watchprinter
- Torrent transmission with watchdog
- Hotmount
- Pre-configured samba share
- Reverse proxy featuring pound
- Service tool
- Xinetd
- Pound
- Asterisk
- Lighttpd
- Vlighttpd
- Countryblock
- AsiaBlock
- Services running as other users than root
- Vim with proper terminal support
- Twonky Media
- News Server
- Other various useful tools
[edit] VPN + USB Printer server
Fraters Optware method listed above will accomplish this and much more. You can use a USB hub to attach multiple devices!
If you would like to use the firmware v24-TNG with openvpn support and usb printing support then follow these steps:
- Download the Eko dd-wrt.v24-12548_NEWD_openvpn_jffs_small.bin
- Install this firmware using the methods used above. TFTP or ASUS Firmware Restoration Utility.
- go to http://192.168.1.1 and setup a USERNAME and a password
- go to administration and enable jffs if it is not enabled already
- go to services and enable sshd
- go to administration and enable SSH Management
- using your favorite ssh client then ssh 192.168.1.1. Log in with the username «root» and your web admin password
- after you login type
mkdir -p /jffs/tmp/ipkg ipkg update ipkg -force-depends install kmod-usb-core ipkg -force-depends install kmod-usb-printer ipkg -force-depends install kmod-usb-ohci ipkg install p910nd
- this should download all required packages/modules/software etc. now we need to edit some configuration
mkdir /jffs/etc/config vi /jffs/etc/config/usb.startup
- inside usb.startup you should have:
insmod /jffs/lib/modules/2.4.30/usbcore.o insmod /jffs/lib/modules/2.4.30/usb-ohci.o insmod /jffs/lib/modules/2.4.30/printer.o /jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0
- You will need to set the permissions of this file to allow it to execute. Type:
chmod +x /jffs/etc/config/usb.startup
- Next, we need to fix a typo. The fix is described here Printer Sharing. To fix this:
vi /jffs/etc/init.d/p910nd change ----------> DEFAULT=/etc/default/p910nd to -------------> DEFAULT=/jffs/etc/default/p910nd
- At this point, you should reboot your router. When it comes back online, to make sure everything is right, do the following:
ls /dev/usb
- If this shows the printer (lp0), you are in good shape. Otherwise, try running the command
./jffs/etc/config/usb.startup
- to manually start the printer server. You should now see the printer if you repeat the preceding ls command.
- Also, try running «dmesg | grep usb» to see if the printer is loaded. if you do not see:
printer.c: usblp0: USB Bidirectional printer dev 2 if 1 alt 0 proto 2 vid 0x04B8 pid 0x0839
then you have an interesting problem.
- Next, verify that the print server is up by running netstat -an and searching for port 9100. If you don’t see anything, try running ps | grep lp0. If you still don’t see anything, try manually starting the print server with this command:
/jffs/usr/sbin/p910nd -b -f /dev/usb/lp0 0
[edit] External Links
- Asus WL-520GU Product Website
- Asus Support Page for WL-520GU
- Factory firmware available under «firmware»
- Asus Firmware Restoration Utility available under «utilities»
- Other firmware for WL-520GU
- Oleg’s Custom Firmware
- Asus WL-520GU Stock Firmware
- OpenWRT
Роутер Asus с прошивкой DD-WRT предоставляет множество дополнительных функций и возможностей, не доступных в стандартной прошивке. DD-WRT является альтернативной прошивкой, которая позволяет расширить функциональность роутера и настроить его работу под свои конкретные потребности. В этой статье мы расскажем, как установить и настроить DD-WRT на роутере Asus.
Установка прошивки DD-WRT на роутер Asus несложна, но требует некоторых навыков и внимательности. Сначала необходимо проверить совместимость модели роутера с DD-WRT. Затем нужно скачать актуальную версию прошивки с официального сайта DD-WRT. После этого следует подключиться к панели управления роутера и выполнить процедуру установки новой прошивки.
После успешной установки DD-WRT на роутер Asus, открываются широкие возможности настройки сетевых соединений, управления мощностью сигнала Wi-Fi, настройки VPN-сервера и многое другое. В статье будет рассказано о ключевых настройках и функциях DD-WRT, которые могут пригодиться вам при использовании роутера Asus с этой прошивкой. Отметим, что некоторые функции DD-WRT могут потребовать дополнительной настройки и опыта в работе с роутерами.
Содержание
- Выбор правильной прошивки
- Подготовка роутера к прошивке
- Установка прошивки Asus DD-WRT
- Настройка роутера после прошивки
- Преимущества прошивки Asus DD-WRT
- Частые проблемы и их решение
Выбор правильной прошивки
Перед тем как начать прошивку, необходимо определиться с двумя основными вариантами прошивок: оригинальной и сторонней (custom firmware).
Оригинальная прошивка, предоставляемая производителем, обычно имеет стандартные функции и ограничения. Она проста в использовании и настройке, но может быть ограничена в функциональности и возможностях.
Сторонняя прошивка, такая как DD-WRT, является альтернативной версией прошивки, которая предоставляет дополнительные функции и возможности. Она позволяет пользователю больше контроля над роутером и расширяет его функциональность.
Выбор между оригинальной и сторонней прошивкой зависит от ваших потребностей и требований. Если вы ищете простую и надежную прошивку, оригинальная версия может быть лучшим вариантом. Если вам нужны дополнительные функции и больше контроля над роутером, сторонняя прошивка может быть отличным выбором.
Перед установкой сторонней прошивки, убедитесь, что ваш роутер совместим с выбранной версией. Некорректная установка прошивки может привести к неработоспособности роутера или потере гарантии.
Необходимо также учитывать, что установка сторонней прошивки может потребовать дополнительные шаги и навыки. Вам может понадобиться знание основных принципов сетевых настроек и некоторые технические навыки.
Имейте в виду, что установка сторонней прошивки может быть неподдерживаемой и может привести к потере гарантии производителя. Поэтому, если вы неуверены в своих навыках и опыте, лучше выбрать оригинальную прошивку, предоставляемую производителем.
Подготовка роутера к прошивке
Перед тем как приступить к прошивке роутера Asus DD-WRT, необходимо выполнить несколько шагов подготовки:
| Шаг 1: | Загрузите последнюю стабильную версию прошивки DD-WRT для вашей модели роутера с официального сайта проекта. Обратите внимание на версию прошивки и убедитесь, что она совместима с вашим устройством. |
| Шаг 2: | Подключите компьютер к роутеру с помощью сетевого кабеля. Убедитесь, что оба устройства включены. |
| Шаг 3: | Откройте веб-браузер и введите IP-адрес роутера в строке адреса. Обычно адрес состоит из комбинации цифр и точек, например, 192.168.1.1. |
| Шаг 4: | Введите имя пользователя и пароль, если они были установлены. Если вы не знаете эти данные, проверьте документацию к устройству или обратитесь к поставщику интернет-услуг. |
| Шаг 5: | Откройте раздел «Настройки» или «Управление роутером» и найдите секцию «Обновление прошивки» или «Прошивка». |
| Шаг 6: | Нажмите на кнопку «Обзор» или «Выбрать файл» и выберите загруженный ранее файл прошивки DD-WRT. |
| Шаг 7: | Нажмите на кнопку «Загрузить» или «Обновить» и дождитесь завершения процесса прошивки. Это может занять несколько минут. |
| Шаг 8: | После завершения прошивки роутер автоматически перезагрузится. Подождите, пока он не подключится к сети снова. |
После выполнения этих шагов ваш роутер Asus будет готов к дальнейшей настройке с использованием прошивки DD-WRT.
Установка прошивки Asus DD-WRT
Прошивка Asus DD-WRT представляет собой альтернативную версию прошивки для роутеров Asus, которая отличается расширенным функционалом и улучшенными возможностями настройки.
Для установки прошивки Asus DD-WRT на роутер необходимо выполнить следующие шаги:
- Скачайте последнюю версию прошивки Asus DD-WRT с официального сайта разработчиков.
- Подключите компьютер к роутеру посредством сетевого кабеля и запустите браузер.
- Введите IP-адрес роутера в адресную строку браузера и нажмите Enter. Обычно адрес роутера указан на самом устройстве или может быть найден в документации к роутеру.
- В открывшемся окне авторизации введите логин и пароль для доступа к настройкам роутера.
- В меню роутера найдите раздел «Обновление прошивки» или аналогичный раздел, который отвечает за обновление и установку новой прошивки.
- Выберите загруженный файл прошивки Asus DD-WRT на вашем компьютере и нажмите кнопку «Обновить» или аналогичную.
- Подождите, пока процесс установки прошивки завершится. Во время установки не отключайте питание роутера и не выполняйте другие действия, чтобы не повредить устройство.
- После завершения установки прошивки роутер автоматически перезагрузится.
После перезагрузки роутера прошивка Asus DD-WRT будет установлена и готова к настройке.
Важно помнить, что установка прошивки Asus DD-WRT удалит все настройки и данные, хранящиеся на роутере. Поэтому перед установкой рекомендуется создать резервную копию настроек и данных, чтобы восстановить их после установки новой прошивки.
Теперь вы готовы использовать новую прошивку Asus DD-WRT и настраивать роутер в соответствии с вашими потребностями и предпочтениями.
Настройка роутера после прошивки
После успешной прошивки роутера Asus с использованием DD-WRT, необходимо выполнить несколько настроек, которые позволят вам полностью использовать его функциональность. Вот несколько шагов, которые помогут вам осуществить настройку роутера:
1. Вход в веб-интерфейс
Подключите компьютер к роутеру с помощью Ethernet-кабеля и введите IP-адрес роутера в адресную строку браузера. Обычно по умолчанию это 192.168.1.1, но в зависимости от версии DD-WRT прошивки может быть изменен. Введите имя пользователя и пароль, если они были установлены во время прошивки.
2. Изменение пароля
Прежде чем приступить к настройке роутера, рекомендуется изменить пароль администратора для повышения безопасности устройства. Это можно сделать в разделе настроек безопасности веб-интерфейса.
3. Настройка беспроводной сети
DD-WRT предлагает большой набор функций и настроек для беспроводной сети. Вы можете настроить имя сети (SSID), тип шифрования, пароль, уровень мощности сигнала и многое другое. Установите параметры, которые соответствуют вашим потребностям и обеспечат безопасность вашей беспроводной сети.
4. Расширенные настройки
DD-WRT также предлагает множество расширенных настроек, которые могут быть полезными для опытных пользователей. Вы можете настроить VPN, доступ к FTP-серверу, управление трафиком, фильтры контента и многое другое. Исследуйте различные вкладки и настройки веб-интерфейса, чтобы максимально использовать функциональность DD-WRT.
5. Сохранение настроек
После завершения настройки роутера рекомендуется сохранить текущие настройки. Это позволит вам восстановить роутер в случае сбоя или сброса настроек. Вы можете сохранить файл конфигурации на своем компьютере или на удаленном сервере.
Следуя этим простым шагам, вы сможете успешно настроить роутер Asus с прошивкой DD-WRT и получить все преимущества, которые она предлагает.
Преимущества прошивки Asus DD-WRT
Прошивка Asus DD-WRT предлагает ряд значительных преимуществ, которые делают роутер более гибким и функциональным:
- Расширенные возможности настройки сети: DD-WRT позволяет управлять роутером на более глубоком уровне, позволяя настраивать такие параметры, как маршрутизация трафика, управление портами и VLAN.
- Улучшенная безопасность: Данная прошивка предлагает множество функций, которые повышают безопасность вашей сети, включая VPN-серверы и возможность настройки фаервола.
- Расширенные функции медиасервера: С DD-WRT вы сможете настроить ваш роутер как мультимедийный сервер, что позволит использовать его для просмотра фильмов, прослушивания музыки и прочих мультимедийных потоков на ваших устройствах.
- Управление трафиком: DD-WRT предлагает возможность контроля и управления трафиком в вашей сети. Вы можете ограничить скорость отдельных устройств, установить приоритеты для определенных приложений и многое другое.
Это только некоторые из преимуществ, которые предлагает прошивка Asus DD-WRT. Она позволяет превратить обычный роутер в мощный инструмент управления вашей сетью, добавляя новые функции и возможности. При этом стоит помнить о возможных рисках, связанных с установкой прошивки, и следовать инструкциям с официального сайта DD-WRT, чтобы успешно прошить роутер и настроить его по своим потребностям.
Частые проблемы и их решение
Установка и настройка прошивки DD-WRT на роутер Asus может иногда вызывать некоторые проблемы. В этом разделе мы рассмотрим часто встречающиеся проблемы и предложим возможные решения.
-
Роутер не загружается после установки DD-WRT. Если ваш роутер не загружается после установки прошивки DD-WRT, попробуйте сбросить настройки до заводских настроек и повторите процесс установки снова.
-
Отключение Wi-Fi после установки DD-WRT. Если Wi-Fi перестал работать после установки прошивки DD-WRT, проверьте настройки беспроводной сети и убедитесь, что они настроены правильно. Также убедитесь, что вы используете последнюю версию прошивки DD-WRT.
-
Проблемы с подключением к интернету. Если у вас возникли проблемы с подключением к интернету после установки DD-WRT, проверьте настройки сетевого подключения и убедитесь, что они корректно настроены. Также убедитесь, что вы правильно настроили параметры подключения к вашему провайдеру интернет-услуг.
-
Проблемы с портами. Если у вас возникли проблемы с работой определенных портов после установки DD-WRT, проверьте настройки файрвола и убедитесь, что порты, которые вам необходимы, открыты и настроены правильно.
-
Проблемы с VPN. Если у вас возникли проблемы с установкой и настройкой VPN после установки DD-WRT, убедитесь, что вы правильно настроили параметры VPN и используете поддерживаемый протокол.
Если вы так и не смогли решить свою проблему, рекомендуется обратиться за помощью к специалистам или обратиться к сообществу пользователей DD-WRT для получения дополнительной информации и поддержки.
Решил перепрошить свой wi-fi роутер ASUS RT-N16 альтернативной прошивкой DD-WRT.
Почему, именно DD-WRT ?
Все просто, она обладает огромным функционалом при этом достаточно проста в установке и настройке.
Я знаю, что есть и другие альтернативные прошивки, которые позволяют «выжать» больше из моего девайса, но у меня просто не стоит такой цели, т.к. скорость инета у меня пока не так и велика (до 70 Мбит/с). Да и разница не так уж и велика…
Предупреждение: Все манипуляции вы делаете на свой страх и риск. Автор статьи не несет никакой ответственности в случае возникновения проблем. Данная заметка является просто памяткой для себя.
Прежде чем приступить к перепрошивке, советую подготовиться на все случаи :):
— Ознакомиться с офф. руководством по установке.
— Прочитать инструкцию приведенную ниже, как откатиться на «родную прошивку» в случае возникновения проблем. (взято с офф. форума ASUS)
— Скачать последнюю стабильную официальную прошивку для вашего роутера с офф.сайта ASUS.
— Скачать утилиты для роутера с офф.сайта ASUS(только для Windows)
— Сохранить настройки с вашего роутера.
Процедура аварийного восстановления прошивки ASUS RT-N16:
Предупреждение: обязательно подготовить всё к восстановлению, если у Вас что-то не получится!
1. Скачайте и разархивируйте последнюю официальную прошивку от Asus.
2. Установите утилиту Firmware Restoration с диска из комплекта. Иногда возникают проблемы с установкой при использовании этой утилиты, поэтому рекомендую сразу скачать и утилиту tftpd32. С помощью её можно будет напрямую залить прошивку по tftp (рекомендую использовать именно такой способ)
3. Настройте сетевые параметры компьютера (в свойствах TCP/IP):
вручную использовать IP-адрес 192.168.1.2 маска 255.255.255.0
4. Подключите компьютер кабелем к любому из LAN портов роутера.
5. Выключите питание на роутере, нажмите кнопку Restore и удерживая ее, включите питание,
кнопку удерживайте в течении 10-15сек, пока индикатор питания Power не начнет постоянно мигать.
6. Желательно проверить, запустилась ли система восстановления или нет. Можно проверит следующим образом. Пуск -> Выполнить (или Win+R), написать cmd, нажать Enter. В появившемся окне написать ping 192.168.1.1. Понаблюдать за выводом. Адрес должен отвечать и TTL = 100. Если так, то активна система восстановления прошивки и можно продолжать дальше, если нет то снова проделать пункт 5
6. Запустите утилиту Firmware Restoration, укажите путь до прошивки и загрузите ее в роутер.
Если использовать tftpd32, то нужно выбрать вкладку tftp client, в поле Host указать 192.168.1.1, Port 69, Local File — выбираем путь к нашей прошивке и нажимаем Put.
7. На экране должны отображаться процесс загрузки прошивки в роутер.
8. После загрузки прошивки и перезагрузки роутера войти в меню http://192.168.1.1
Процедура установки прошивки dd-wrt на ASUS RT-N16:
Т.к. роутер имеет флеш больше 4МБ(32МБ), то можно установить прошивку с максимальными возможностями — Mega
1. Скачиваем последнюю прошивку dd-wrt.v24-18024_NEWD-2_K2.6_mega.bin
Устанавливаем с диска от роутера
прилагаемое ПО или скачиваем с утилиты для роутера с офф.сайта ASUS и устанавливаем.
Примечание: новую прошивку можно найти на ftp следующим образом:
ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/год/мм-дд-гг-номер_версии/broadcom_K26/прошивка
2. Сделайте сброс в Asus GUI. Перезагрузите маршрутизатор. Отключите все кабели (WAN, USB и т.д.) и подключите кабель Ethernet от компьютера в LAN1 порт на маршрутизаторе.
Примечание: не знаю зачем, но в офф. руководстве было указано выполнить сброс настроек.
3. Для того чтобы обновиться на DD-WRT, необходимо перевести роутер в режим
восстановления прошивки.
Перед этим необходимо подготовиться –
подключаем к нему единственный компьютер через LAN, вытаскиваем все USB
устройства из роутера.
Прописываем на компьютере сетевой адрес 192.168.1.2 и адрес шлюза 192.168.1.1,
хотя, если ранее компьютеру этим роутером был автоматически выдан выдан
IP адрес, этого можно не делать.
4. «Сброс 30/30/30»
Далее необходимо выключить роутер, затем ручкой или
другим тонким предметом нажать черную кнопку «Reset» и удерживайте ее. (Если питание маршрутизатора
было выключено — включите его до нажатия на кнопку.)
Через 30 секунд
выключите питание, не отпуская кнопку Reset.
Ещё через 30 секунд
включите питание, опять-таки не отпуская Reset.
Подождите еще 30 секунд и
отпустите Reset.
При этом на роутере начинает
мигать индикатор питания на передней панели.
5. После этого запускаем
программу Firmware Restoration из папки ASUS Utility, предварительно
полностью выключив все брандмауеры, в т.ч. встроенный в Windows.
Указываем в программе какой файл является прошивкой и нажимаем UPLOAD
Обновление прошивки DD-WR:
1. Скачайте последнюю версию прошивки
Mini -dd-wrt.v24-18024_NEWD-2_K2.6_mini_RT-N16.trx R18024.
Mega -dd-wrt.v24-18024_NEWD-2_K2.6_mega.bin R18024.
2. Откройте веб интерфейс DD-WRT в вашем браузере (по-умолчанию http://192.168.1.1/ )
3. Выбираем Administration tab -> кнопка «Firmware Upgrade»
4. Кликнуть по кнопке «Browse» -> выбрать новую прошивку. Кликнуть на кнопку «Upgrade»
Процесс обновления может длиться 2-5 минуты.
Примечание: рекомендуется после обновления сбрость настройки в настроки по-умолчанию
Для этого выбрать вкладку Firmware Upgrade и в ней выбрать «Reset to Default settings».
Ссылки:
Документация DD-WRT (RU)
Asus RT-N16 (Wiki eng)
Альтернативные прошивки на современных роутерах
Asus RT-N16 (hub.ru)
I recently upgraded my EnGenius ESR-750H wireless N router to an Asus RT-AC66U wireless AC router. The EnGenius router has been pretty good for me but basic and no support for other firmware. The Asus RT-AC66U not only has a number of added features and support for 802.11ac, it also doesn’t seem to be plagued with the port 32764 bug or the Linksys “TheMoon” virus that’s been going around on select Linksys models, but the Asus also has a number of firmware options that can be used with this router such as Merlin, Tomato, and DD-WRT.
I’ve used DD-WRT in the past with other routers and had great success and decided to go that route with my new AC66U router as well.
How to install DD-WRT on Asus RT-AC66U
To get started we need to download a few files first:
- The most recent .TRX file from DD-WRT: ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/ (mirror), currently dd-wrt release r25648
- You also need a Telnet client if you don’t already have one. I’ll be using the one built into Windows 7.
Now lets get started…
- I like to start with nothing attached to the router except for the machine I’ll be using to update the router so disconnect all other connections including WAN. Then log into the router Admin Panel (usually 192.168.1.1)
- Enable Telnet by going to Advanced Settings > Administration > System > Enable Telnet and click on “Apply“
- Open a command prompt, and type:
telnet 192.168.1.1Then enter your username and password for the router admin panel.
- Now clear NVRAM by typing:
mtd-erase -d nvram - Reboot the router now by typing:
reboot - Once the router has rebooted log back into the admin panel (default login is admin/admin) and navigate to: Administration > Firmware Upgrade > New Firmware File and click on Choose File and select the .TRX file you downloaded (for me dd-wrt-25648-Asus_RT-AC66U.trx) and click on “Upload“
Note: This step can take several minutes. Once completed you should see the DD-WRT page.
- Open a command prompt again and telnet into the router (192.168.1.1) but this time for the username type in root for the username for the password use the one you chose when setting up the initial DD-WRT page.
- Again clear NVRAM by typing:
erase nvram - Reboot the router now by typing:
reboot
At this point it’s just a matter of setting up the router to your liking, such as username/password, wireless networks, security settings, etc.
How to get Port Forwarding working on DD-WRT
After upgrading my Asus RT-AC66U I noticed that for some reason port forwarding was not working. Apparently this is a known “bug” and is easily remedied by logging into the DD-WRT admin panel and navigating to: Administration > Commands then typing:
iptables -t nat -A POSTROUTING -j MASQUERADE
and click on “Save Firewall“.
Immediately port forwarding started working and no other bugs have been found so far. Glad to be back on DD-WRT and the new Asus router seems to be performing just fine!
UPDATED: Updated instructions using the latest DD-WRT build as of 12/18/2014. Also removed parts detailing installing a KONG build as development for the builds have been merged into the standard DD-WRT image.
Asus RT-N12 D1
This very lengthy Step-by-Step tutorial is for flashing your Asus RT-N12 D1 with DD-WRT. The RT-N12 D1 is much different for installing DD-WRT than its predecessors, the B1 and C1. Also keep in mind that DD-WRT is NOT officially supported on the Asus RT-N12 D1 so your mileage may vary.
Originally when getting DD-WRT on this router I bricked it a few times. When I finally “thought” I had the process scaled down to a few easy steps it wouldn’t load and I bricked the router again (I actually bricked three separate RT-N12 D1s). Then I realized I had to go through all the crazy steps as I had the first time to get it right. Yes, what you are going to do below will be a real pain in the ass but I have confirmed from three separate RT-N12 D1 routers this does work. If you try and take a shortcut, good luck to you because the steps outlined below were the only way I could consistently load DD-WRT. What? You took a shortcut and bricked your router! If you did try to take a shortcut and bricked your router, head down to the Unbricking Your Asus Rt-N12 D1 towards the bottom of this post.
The process took me countless hours to figure out. Make sure you complete ALL the steps, otherwise things won’t work well.
A few things to keep in mind:
- The Asus RT-N12 D1 has a light for the Wireless status. When flashing DD-WRT on this router the light may or may not stay on. This is irrelevant as the Wireless does work, the light just does not reflect the correct status.
- You must reconfigure the WAN and LAN ports on the back of the router in the section titled How to Reconfigure the Ports on your Asus RT-N12 D1. If you choose not to perform this step….have fun as the router will not work like you think it should.
- As stated earlier, if you bricked your router, head down to Unbricking Your Asus Rt-N12 D1
How to load DD-WRT on the Asus RT-N12 D1
The tools you are going to need are listed below:
- Asus Firmware: Version 3.0.0.4.374.813
- DD-WRT version: dd-wrt.v24-14896_NEWD-2_K2.6_mini_RT-N12.trx
- DD-WRT version: dd-wrt.v24-18774_NEWD-2_K2.6_mini.bin
- The Asus “Firmware Restoration” program (called Rescue.exe)
All of these tools can be found in a ZIP file on my website. Download and then extract these files from here: Asus_RT-N12D1_DD-WRT.zip
Once you have the files downloaded you should be ready to go through these instructions for loading DD-WRT on the Asus RT-N12 D1. I can’t stress enough, this seems stupid to do it the way I have listed below BUT it’s the only way I can successfully and consistently load the firmware.
These steps below are for installing DD-WRT on a brand new Asus RT-N12 D1 with the stock Asus firmware already on there. (If you have bricked your router, you need to first head down to Unbricking Your Asus Rt-N12 D1 which is further down this post otherwise, these instructions won’t work.
- Setup your computer’s NIC to a static address. I suggest using 192.168.1.2.
- Plug your computer into the LAN port marked as “1” on the back of the router. It is VERY important you do NOT plug your computer into LAN Port 4. Make sure it’s in LAN port “1” on the back of the router.
- Using an Internet Browser go to the following address of the Asus firmware:
http://192.168.1.1/Advanced_FirmwareUpgrade_Content.asp
- When prompted enter the username and password. The default for both is “admin”.
This will bring you into the Asus stock firmware where we can upload a TRX file for DD-WRT.
- On this page Browse to the firmware you downloaded: dd-wrt.v24-14896_NEWD-2_K2.6_mini_RT-N12.trx then click on Upload.
- After clicking Upload you’ll have to wait for the firmware to upload. The router will reboot a few times. That’s fine. Just wait, you’ll see the progress bar move. The router will go into a reboot cycle where it reboots over and over. Believe it or not, that’s actually a good thing.
- Once it looks like the router starts the endless boot cycle where it powers up, all lights come on, then go off, etc, etc, turn the router off by pressing the power button OR unplugging it.
- Now we need to install the Asus Firmware Restoration program (It’s the file you downloaded earlier called Rescue.exe). It’s the standard Next, Next, I accept, Finish type of install. At the end of the installation you will be given the choice to Launch the application. Go ahead and do so.
- When the application launches, you need to browse to the location where you have your DD-WRT 18774 mini firmware (remember, that’s what you should have already downloaded). Do NOT hit the Upload button yet. We are just trying to get everything ready.
- Grab a paper clip or something sharp and push and hold the reset button on the back of the router. The router should be powered off or unplugged while doing this.
- Plug the power cord in or power the router back up and with the paper clip still in the reset button. We need to wait for the power light on the router to flash very slowly. It takes about 15-20 seconds before it starts to flash. It flashes in 5 second intervals, 5 seconds on, 5 seconds off.
- After it starts to slowly flash, take the paper clip out of the reset button
- Hit the Upload button on the Asus Firmware Restoration application that you got ready.
- Wait. You will eventually see the application connect to the router and upload the firmware. And then start waiting some more.
- The router should automatically reboot on its own. Wait 2 more minutes and then try to connect to the router via 192.168.1.1. If you are brought to the DD-WRT login to change the password, Congratulations, you got DD-WRT on there.
- You should now be able to pull an IP in the 192.168.1.X subnet and now access the DD-WRT interface. However, keep reading this post because you’re not done yet.
Now the great part is you got DD-WRT on there! Now for the not-so-great part, the WAN port is screwed up on the back. I’ll explain. Typically when looking at the back of the router (or any router for that matter) you will usually see 4 LAN ports and a WAN port (sometimes it’s marked as Internet). When DD-WRT is loaded the ports are mixed up. In actuality the WAN port is a LAN port. And more importantly, LAN 4 is the WAN port. Why is this? It’s probably because the Asus RT-N12 D1 is not officially supported by the DD-WRT development team. If it were supported I suspect the developers of DD-WRT would fix this and make a version for it. No biggie though as we’ll change it. Confused yet? Don’t worry as these instructions below will help get all the ports straightened out so that the WAN port labeled on the back of the router is REALLY the WAN port you’ll plug your modem into.
How to reconfigure the Ports on the back of the router
First and foremost you need to have some type of a telnet client on your computer. If using Windows 7 there is a good change telnet client is not installed. To do that, simply follow the instructions in this link and then head back over once you have a telnet client installed: http://technet.microsoft.com/en-us/library/cc771275%28v=ws.10%29.aspx
1. Plug your computer into LAN port marked as “1” on the back of the router.
2. Open a Command Prompt (In Windows 7, Start–>type cmd in Search box–>Hit Enter key.)
3. Type telnet 192.168.1.1 then hit the Enter key
4. When prompted enter in the username and password of DD-WRT (Remember the DD-WRT defaults are “root” for the login and “admin” as the password.)
5. You will be brought into the DD-WRT telnet interface.
type the following nvram set vlan0ports=”0 1 2 3 5*” then hit the Enter key
type the following nvram set vlan1ports=”4 5” then hit the Enter key
type the following nvram commit then hit the Enter key
type the following reboot then hit the Enter key
6. The unit will reboot and after it comes back up you can plug your Modem into the WAN port and it will work like you would expect it to.
Now, for some more not-so-good news. If you ever reset the router’s firmware to default via Administration–>Factory Defaults–>Restore Factory Defaults OR via telnet and performing an erase nvram command you will have to reconfigure the ports on the back of the router again as they will revert back to the original firmware defaults where the WAN and LAN 4 port on the back of the router are mixed up.
Unbricking Your Asus Rt-N12 D1
Alright, if you’re anything like me you’ve somehow bricked the router (probability through multiple attempts or trying to get DD-WRT on there). We need to get the Stock Asus firmware back on there so we can load up DD-WRT.
Tools you are going to need:
- Asus Firmware: Version 3.0.0.4.374.813
- The Asus “Firmware Restoration” program (called Rescue.exe)
Again, these tools can be found in a ZIP file on my website. Download and then extract these files from here: Asus_RT-N12D1_DD-WRT.zip
1. Setup your computer’s NIC to a static address. I suggest using 192.168.1.2
2. Plug your computer into the LAN port marked as “1” on the back of the router. It is VERY important you do NOT plug your computer into LAN Port 4. Make sure it’s in LAN port “1” on the back of the router.
3. Make sure you unplug the power cord on the back of the router.
4. Install the Asus Firmware Restoration program (It’s the file you downloaded earlier called Rescue.exe). It’s the standard Next, Next, I accept, Finish type of install. At the end of the installation you will be given the choice to Launch the application. Go ahead and do so.
5. When the application launches, you need to browse to the location where you have the stock Asus Firmware (FW_RT_N12_D1_3004374813) you should have already downloaded. Do NOT hit the Upload button yet. We are just trying to get everything ready.
6. Grab a paper clip or something sharp and push and hold the reset button on the back of the router. The router should be powered off or unplugged while doing this.
7. Plug the power cord in or power the router back up and with the paper clip still in the reset button we need to wait for the power light on the router to flash very slowly. It takes about 15-20 seconds before it starts to flash. It flashes in 5 second intervals, 5 seconds on, 5 seconds off)
8. After it starts to slowly flash, take the paper clip out of the reset button
9. Hit the Upload button on the Firmware Restoration application.
10. Wait. You will eventually see the application connect to the router and upload the firmware. And then start waiting some more.
11. The router should automatically reboot on its own. It actually could do this a couple of times. Wait at least 2 minutes before proceeding.
12. Once you have waited 2 minutes, manually power the unit off for 10 seconds and then turn it back on. The router may reboot a couple more times. Wait 2 more minutes
13. Now, the unit won’t work and you probably only see a LAN light and the Power Light. We need to do a 30-30-30 reset for this particular router. This is not easy and I’d suggest reading these steps and then performing them:
For everything that you will be doing the WPS button and the reset button will be pressed for the whole time.
– The router needs to be powered on.
– Press the WPS button and hold it, don’t let go of it.
– Take the paper clip and hold down the reset button, don’t let go of it
– Count to 30.
– With a free finger, hit the power button on the router to turn in off. (Keep in mind you still need to have the WPS button and the reset button still pressed down).
– Count to 30 while the router is powered off.
– Press the power button to turn it back on.
– Count to 30.
– Let go of the WPS button and the Reset button.
– Wait, you will see the router reboot again and if you have done it right you will see the Power light, Wireless light, and the Lan 1 light all lit up.
14. Using only Internet Explorer (do not use Chrome, Firefox, or any other browser) go to the following IP address of the Asus firmware
http://192.168.1.1/Advanced_FirmwareUpgrade_Content.asp
If you are prompted to enter the username and password you unbricked the router. Congratulations! Now head back to Step 3 of How to load DD-WRT on the Asus RT-N12 D1

Note: This step can take several minutes. Once completed you should see the DD-WRT page.
