Asus RT-AC66U

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 17:23, 6 April 2014 (edit)
Peno (Talk | contribs)
m (Printing)
← Previous diff
Revision as of 13:31, 31 December 2016 (edit) (undo)
James2k (Talk | contribs)
(Old build folder path on FTP site)
Next diff →
Line 20: Line 20:
=Prerequisites= =Prerequisites=
-#Download the latest dd-wrt firmware from either the router database or from ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/, latest version, folder asus-rt-ac66u/+#Download the latest dd-wrt firmware from ftp://ftp.dd-wrt.com/betas/, latest version, folder asus-rt-ac66u/
#You need a telnet client. For example PuTTY #You need a telnet client. For example PuTTY
#Connect your computer to the router. The preferred way is via wired cable from the computer to one of the 4 ports on the router although via WIFI is also possible but if the wireless connection is lost while you upload the new firmware, well then you could be in trouble... #Connect your computer to the router. The preferred way is via wired cable from the computer to one of the 4 ports on the router although via WIFI is also possible but if the wireless connection is lost while you upload the new firmware, well then you could be in trouble...

Revision as of 13:31, 31 December 2016

Contents

Hardware

  • 5th generation 802.11ac chipset gives you concurrent dual-band 2.4GHz/5GHz for up to super-fast 1.75Gbps
  • Gigabit Ethernet ports for the fastest, most reliable internet performance
  • AiRadar optimizes wireless coverage with detachable high-powered antennas
  • File sharing, printer sharing, and 3G sharing via two multi-functional built-in USB ports
  • IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.3u, IPv4, IPv6
  • AC1750 ultimate AC performance; 450+1300Mbps
  • 802.11a : 6,9,12,18,24,36,48,54Mbps
  • 802.11b : 1, 2, 5.5, 11Mbps
  • 802.11g : 6,9,12,18,24,36,48,54Mbps
  • 802.11n : up to 450Mbps
  • 802.11ac: up to 1300Mbps
  • Detachable antenna x 3
  • 2.4GHz/5GHz
  • 64-bit WEP, 128-bit WEP, WPA2-PSK, WPA-PSK, WPA-Enterprise, WPA2-Enterprise
  • 1 x RJ45 for 10/100/1000 BaseT for WAN, 4 x RJ45 for 10/100/1000 BaseT for LAN, Support Ethernet and 802.3 with max. bit rate 10/100/1000 Mbps and auto cross-over function(MDI-X)
  • 2 x USB 2.0
  • WPS Button, Reset Button, Power Button

Prerequisites

  1. Download the latest dd-wrt firmware from ftp://ftp.dd-wrt.com/betas/, latest version, folder asus-rt-ac66u/
  2. You need a telnet client. For example PuTTY
  3. Connect your computer to the router. The preferred way is via wired cable from the computer to one of the 4 ports on the router although via WIFI is also possible but if the wireless connection is lost while you upload the new firmware, well then you could be in trouble...

Installation instructions

  1. With your browser, login to the standard Asus UI page of the router (usually http://192.168.1.1). If this is the first time you do this it can be that you must go through a wizard to configure the standard setup.
  2. Enable Telnet by going to Advanced Settings > Administration > System > Enable Telnet and click on "Apply"
  3. Open a telnet connection to the router (usually http://192.168.1.1). Then enter your username and password for the router admin panel. By default both are admin. You should get the prompt (#) where you can enter the following commands.
  4. To clear the nvram: mtd-erase -d nvram
    You should get something like:
    Erasing 0x0 - 0xffff
    "nvram" successfully erased.
  5. Reboot the router: reboot
    You will loose telnet connection and the router reboots. Wait some time until this is done and then continue
  6. With your browser, login again to the standard Asus UI page of the router (usually http://192.168.1.1). Since we cleared nvram, you must again go through the wizard to configure the standard setup. The user/password was also reset to the default admin/admin.
  7. Navigate to: Administration > Firmware Upgrade > New Firmware File and click on Choose File and select the dd-wrt firmware file you downloaded and click on "Upload"
    Note: This step can take several minutes. Do not interrupt it. It is better to wait a minute longer than act too soon if you don't see nothing happening anymore. Once completed you should see the DD-WRT page however it can also happen that the page stays on the upload screen or even says that it can't load the next page. Wait a bit and then navigate again to http://192.168.1.1
  8. This first dd-wrt page asks the new user name and password. Once these are provided you are in the dd-wrt pages.
  9. Enable Telnet by going to: Administration > Management > Remote Access > Telnet Management
  10. Open again a telnet connection to the router (http://192.168.1.1). Then enter as username root and the password you used when changing the password. Note that the telnet username is always root, independent of the dd-wrt web username. You should get the prompt (#) where you can enter the following commands.
  11. Again clear NVRAM by typing: mtd -r erase nvram
    Note that after using the above command connection will be lost which is the expected behavior
  12. Reboot the router.
  13. With your browser, log back into the dd-wrt admin panel, you’ll need to reset again the username and password again.


You should now have a dd-wrt clean install.

Printing

Printer Sharing gives a general description how to configure the router to connect a printer on the USB port. However it describes too much and things that are not needed or even not working for this router. Following procedure works with firmware: DD-WRT v24-sp2 (03/29/14) giga, the latest version at the moment of writing.

So here a more specific description how to enable printing.

On the web interface of the router (http://192.168.1.1):

  • Enable "Core USB Support", "USB Printer Support" on the Services, USB tab (all items under "USB Support" except for "USB Storage Support").
  • It is *not* necessary to enable JFFS2 support via Administration, Management
  • Check that telnet or Secure Shell is enabled via Services, Service. SSHd and Password Login must be enabled
  • Connect your printer to the router
  • Reboot the router via Administration, Reboot Router

Via a telnet/ssh client (for example putty under Windows) connect to the router:

  • login as: root
  • password: <your password that you use to login to the web interface>
  • check if your printer was recognized:
 root@my-ddwrt-router:~# dmesg | grep usb
 usbcore: registered new interface driver usbfs
 usbcore: registered new interface driver hub
 usbcore: registered new device driver usb
 usb usb1: configuration #1 chosen from 1 choice
 usb usb2: configuration #1 chosen from 1 choice
 usb 2-1: new full speed USB device using ohci_hcd and address 2
 usb 2-1: configuration #1 chosen from 1 choice
 usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x047E pid 0x1001
 usbcore: registered new interface driver usblp

This indicates that a printer is detected on the USB port

  • Now enter
 root@my-ddwrt-router:~# netstat -an
 Active Internet connections (servers and established)
 Proto Recv-Q Send-Q Local Address           Foreign Address         State
 tcp        0      0 0.0.0.0:9100            0.0.0.0:*               LISTEN
 tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
 tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
 tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
 tcp        0    268 192.168.1.1:22          192.168.1.118:53385     ESTABLISHED
 tcp        0      0 192.168.1.1:80          192.168.1.118:53547     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53538     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53545     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53548     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53543     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53540     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53544     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53541     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53542     TIME_WAIT
 tcp        0      0 192.168.1.1:80          192.168.1.118:53546     TIME_WAIT
 udp       0      0 127.0.0.1:34954         0.0.0.0:*
 udp       0      0 0.0.0.0:53              0.0.0.0:*
 udp       0      0 0.0.0.0:67              0.0.0.0:*
 raw       0      0 0.0.0.0:255             0.0.0.0:*               255
 Active UNIX domain sockets (servers and established)
 Proto RefCnt Flags       Type       State         I-Node Path
 unix  3      [ ]         STREAM     CONNECTED       1178
 unix  3      [ ]         STREAM     CONNECTED       1177
 unix  2      [ ]         DGRAM                      1161

We are especially interested in the line

 tcp        0      0 0.0.0.0:9100            0.0.0.0:*               LISTEN

It is saying that a service via tcp is listening on port 9100

  • And at last enter
 root@my-ddwrt-router:~# ps | grep p9100d
 927 root      1108 S    p9100d -f /dev/lp0 0 -t 5

This also indicates that a process p9100d is running looking at port /dev/lp0 which is a printer port

  • You don't have to install anything via ipkg or any other script. Everything is installed by default. So if you don't have the expertise to telnet/ssh to your router, don't despair, it is only to make sure that your router recognises your printer on the USB port.

To install the printer under Windows, use the following procedure:

Windows 7

  • Open Control Panel, Devices and Printers
  • Choose Add a printer
  • Add a local printer
  • Create a new port
  • Type of port: Standard TCP/IP Port
  • Hostname or IP address: 192.168.1.1
  • Make sure that the checkbox to query the printer and select a driver is not checked
  • Wait until the detection is done. It will say that the device is not found. Don't despair
  • Choose Custom and then click Settings
  • Make sure that Protocol Raw is selected and Port 9100 is entered. That will be proposed.
  • Leave all other settings also as they were and press OK
  • Click Next.
  • Choose the printer driver for your printer.
  • Click Next
  • Give your printer a name
  • You don't have to share the printer
  • Next
  • You can set it as default printer
  • Finish


Don't forget that your routers default address is 192.168.1.1 and its port is 9100

Links and Notes

Category