Asus RT-AC66U

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 20:01, 5 April 2014 (edit)
Peno (Talk | contribs)
m (Installation Instructions)
← Previous diff
Current revision (00:36, 17 May 2023) (edit) (undo)
Kernel-panic69 (Talk | contribs)

 
(33 intermediate revisions not shown.)
Line 1: Line 1:
-=Hardware=+<font color=darkred>Note that the two existing hardware revisions, "A1" and "B1", of this router are significantly different. This page is about revision "A1", typically referred to as RT-AC66U, without the revision. For information about the "B1" revision, see [[Asus_RT-AC66U_B1]].</font><br>
 +[[Image:Asus RT-AC66U 001.jpg|right|350px]]
 +=Hardware [https://web.archive.org/web/20191020204146/https://wikidevi.com/wiki/ASUS_RT-AC66U Specs]=
 +*AC1750 class rating: up to 450Mbps (2.4GHz N) + up to 1300Mbps (5GHz AC)
 +*802.11a : up to 54Mbps
 +*802.11b : up to 11Mbps
 +*802.11g : up to 54Mbps
 +*802.11n : up to 450Mbps
 +*802.11ac: up to 1300Mbps
 +*Detachable antenna x 3
 +*2.4GHz & 5GHz radios
 +*64-bit WEP, 128-bit WEP, WPA2-PSK, WPA-PSK, WPA-Enterprise, WPA2-Enterprise
 +*RJ45 up to 1 Gb/s BaseT, 1xWAN, 4xLAN
 +*2 x USB 2.0
 +*Hardware Buttons: WPS, Reset, & Power
 +*Flash ROM / Memory (RAM): 128 MiB / 256 MiB
 +*SoC: BCM4706 600 MHz MIPS 74Kc architecture
-* 5th generation 802.11ac chipset gives you concurrent dual-band 2.4GHz/5GHz for up to super-fast 1.75Gbps+=Build Information=
-* Gigabit Ethernet ports for the fastest, most reliable internet performance+Use the ''asus-rt-ac66u/'' folder for this router (hardware revision "A1").
-* AiRadar optimizes wireless coverage with detachable high-powered antennas+*For download locations and other info see [[Index:FAQ#Where_do_I_download_firmware.3F|Where do I download firmware]] in the FAQ
-* File sharing, printer sharing, and 3G sharing via two multi-functional built-in USB ports+*Research "New Build" and model/rev forum threads: do not blindly install a latest build without checking
-* IEEE 802.11a, IEEE 802.11b, IEEE 802.11g, IEEE 802.11n, IEEE 802.11ac, IEEE 802.3u, IPv4, IPv6+*Read the [https://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock announcement] for older recommended builds and general information.
-* 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= 
-#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/ 
-#You need a telnet client. For example PuTTY 
=Installation instructions= =Installation instructions=
 +==Prerequisites==
 +#Connect an ethernet cable between the PC and router LAN port. If wireless is required, ensure strong signal.
 +#Asus Firmware Restoration Tool may be required / is a preferred method for installation.
 +#TFTP is also a method that can be used to install firmware.
 +#Please note that CFE version must be between 1.0.1.3 and 1.0.1.9.
 +#See Links and Notes section below for further information.
 +==Procedure==
 +#Login to the standard Asus UI page of the router (usually [http://192.168.1.1 '''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.
 +#Enable Telnet by going to Advanced Settings > Administration > System > Enable Telnet and click on "Apply"
 +#Connect to the router via telnet (e.g. PuTTY) usually [http://192.168.1.1], enter username/password
 +#*By default both are admin. You should get the prompt (#) where you can enter the following commands.
 +#To clear the nvram: mtd-erase -d nvram
 +#:You should get something like:
 +#:Erasing 0x0 - 0xffff
 +#:"nvram" successfully erased.
 +#Reboot the router: reboot
 +#:You will lose telnet connection and the router reboots. Wait some time until this is done and then continue
 +#With your browser, login again to the standard Asus UI page of the router (usually [http://192.168.1.1 '''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.
 +#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 '''http://192.168.1.1''']
 +#This first dd-wrt page asks the new user name and password. Once these are provided you are in the dd-wrt pages.
 +#Enable Telnet by going to: Administration > Management > Remote Access > Telnet Management
 +#Open again a telnet connection to the router ([http://192.168.1.1 '''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.
 +#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
 +#Reboot the router.
 +#With your browser, log back into the dd-wrt admin panel, you’ll need to reset again the username and password again.
-#Login to the standard Asus UI page of the router (usually 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. 
-= =+You should now have a dd-wrt clean install.
 + 
 +=Printing=
 + 
 +[http://www.dd-wrt.com/wiki/index.php/Printer_Sharing '''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 '''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=
 +==Installation Notes And Useful Links==
 +* [http://wazem.blogspot.be/2013/10/how-to-install-dd-wrt-on-asus-rt-ac66u.html How to install DD-WRT on Asus RT-AC66U (AC1750) - Victor's Blog]
 +* [http://miketabor.com/installing-dd-wrt-asus-rt-ac66u-router/ Installing DD-WRT on an ASUS RT-AC66U router - Mike Tabor]
 +* [https://www.youtube.com/watch?v=rG3fVNT18Pc How To Install DD-WRT on the ASUS RT-AC66U - YouTube]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=159637 Asus RT-AC66U now in stock - DD-WRT compatibility?]
 +* [https://www.asus.com/us/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RTAC66U/ Product Page]
 +* [https://www.asus.com/us/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RTAC66U/HelpDesk_knowledge/ Product Support Page]
 +* [https://www.asus.com/us/Networking-IoT-Servers/WiFi-Routers/ASUS-WiFi-Routers/RTAC66U/HelpDesk_Download/ Firmware Downloads]
 +* [https://openwrt.org/toh/asus/rt-ac56u#install_via_tftp TFTP Insallation ] (RT-AC56U OpenWRT wiki)
 +* [http://philippe.jounin.pagesperso-orange.fr/download/tftpd32.452.zip TFTPD32 v4.52]
 + 
 +==More Installation Notes/Links==
 +* [https://www.asus.com/support/FAQ/1000814 ASUS FAQ: How to use Rescue Mode (Firmware Restoration)]
 +* [https://www.asus.com/support/FAQ/1039077 FAQ: Hard Factory Reset (Method 1)] (Note 5GHz caveats below)
 +* ASUS Firmware Restoration Versions (direct download links): [https://dlcdnets.asus.com/pub/ASUS/wireless/GT-AX6000/Rescue_2103.zip 2.1.0.3], [https://dlcdnets.asus.com/pub/ASUS/wireless/4G-AC53U/Rescue_2102.zip 2.1.0.2], [https://dlcdnets.asus.com/pub/ASUS/wireless/RT-AC5300/Rescue_RT_AC5300_2000.zip 2.0.0.0]
 +* [https://openwrt.org/toh/asus/rt-ac68u#install_openwrt ASUSTek CFE miniWeb Server] (Use older version of Firefox Portable)
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=334418&start=13 Unable to install successfully on RT-AC66U (how to check CFE version via telnet)]
 +* [https://www.snbforums.com/threads/cfe-bootloader-update.8259/ CFE bootloader update | SNB Forums]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=301357 ASUS RT-AC66U stuck at recovery page after flash DD-WRT]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=306249 Asus RT-AC66U stuck after CFE downgrade]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=313340 RT-AC66U]
 + 
 +==Notes on WPS button reset and loss of 5GHz==
 +'''NOTE:''' The hardware WPS button method of clearing nvram on the RT-AC66U works correctly up to version r26339. In later versions, the WPS method clears the 5GHz Wi-Fi radio to "2.4 GHz TurboQAM". This can be remedied by flashing r26339 on the unit and again clearing nvram before upgrading to a later release.
 + 
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=159637&start=1232 Asus RT-AC66U now in stock - DD-WRT compatibility? (page 83)]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=159637&start=1324 Asus RT-AC66U now in stock - DD-WRT compatibility? (page 89)]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=282759 (solved) RT-AC66U - 5GHz missing after wrong flashing]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=284297 Asus RT-AC66U 5g not working]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=285532 ASUS RT-AC66U 5GHZ radio is detected as a 2.4GHZ TurboQAM]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=286966 AC66U NVRAM issues (h̶a̶s ̶n̶o̶ ̶5̶G̶H̶z̶)]
 +* [https://forum.dd-wrt.com/forum/viewtopic.php?t=308400 Asus RT-AC66U does not have 5GHz Dual Band signal on dd-wrt]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=328349 no wifi connection wl0 Asus RT-AC66U, reconnecting continual]
 +* [https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=328429 Asus RT-AC66U 5GHz radio question]
 + 
 +==Notes Regarding HTTPS webUI Access in DD-WRT==
 +'''NOTE:'''The HTTPS access to DD-WRT's Web UI per the checkbox on the Administration page is broken in early versions. To prevent lockout, verify HTTPS access before disabling the HTTP checkbox. HTTPS is verified working in r26339 and later.
 + 
 +=Category=
[[Category:Asus guides]] [[Category:Asus guides]]

Current revision

Note that the two existing hardware revisions, "A1" and "B1", of this router are significantly different. This page is about revision "A1", typically referred to as RT-AC66U, without the revision. For information about the "B1" revision, see Asus_RT-AC66U_B1.

Contents

[edit] Hardware Specs

  • AC1750 class rating: up to 450Mbps (2.4GHz N) + up to 1300Mbps (5GHz AC)
  • 802.11a : up to 54Mbps
  • 802.11b : up to 11Mbps
  • 802.11g : up to 54Mbps
  • 802.11n : up to 450Mbps
  • 802.11ac: up to 1300Mbps
  • Detachable antenna x 3
  • 2.4GHz & 5GHz radios
  • 64-bit WEP, 128-bit WEP, WPA2-PSK, WPA-PSK, WPA-Enterprise, WPA2-Enterprise
  • RJ45 up to 1 Gb/s BaseT, 1xWAN, 4xLAN
  • 2 x USB 2.0
  • Hardware Buttons: WPS, Reset, & Power
  • Flash ROM / Memory (RAM): 128 MiB / 256 MiB
  • SoC: BCM4706 600 MHz MIPS 74Kc architecture

[edit] Build Information

Use the asus-rt-ac66u/ folder for this router (hardware revision "A1").

  • For download locations and other info see Where do I download firmware in the FAQ
  • Research "New Build" and model/rev forum threads: do not blindly install a latest build without checking
  • Read the Peacock announcement for older recommended builds and general information.


[edit] Installation instructions

[edit] Prerequisites

  1. Connect an ethernet cable between the PC and router LAN port. If wireless is required, ensure strong signal.
  2. Asus Firmware Restoration Tool may be required / is a preferred method for installation.
  3. TFTP is also a method that can be used to install firmware.
  4. Please note that CFE version must be between 1.0.1.3 and 1.0.1.9.
  5. See Links and Notes section below for further information.

[edit] Procedure

  1. 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. Connect to the router via telnet (e.g. PuTTY) usually [1], enter username/password
    • 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 lose 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.

[edit] 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

[edit] Links and Notes

[edit] Installation Notes And Useful Links

[edit] More Installation Notes/Links

[edit] Notes on WPS button reset and loss of 5GHz

NOTE: The hardware WPS button method of clearing nvram on the RT-AC66U works correctly up to version r26339. In later versions, the WPS method clears the 5GHz Wi-Fi radio to "2.4 GHz TurboQAM". This can be remedied by flashing r26339 on the unit and again clearing nvram before upgrading to a later release.

[edit] Notes Regarding HTTPS webUI Access in DD-WRT

NOTE:The HTTPS access to DD-WRT's Web UI per the checkbox on the Administration page is broken in early versions. To prevent lockout, verify HTTPS access before disabling the HTTP checkbox. HTTPS is verified working in r26339 and later.

[edit] Category