An Easy Guide to Installing Tomato on the Asus 520gu

31 Jan

Before installing Tomato, I thought DD-WRT was the best router firmware there is.  But Tomato is as good as DD-WRT and scores on usabil­ity and QOS as well, two areas where DD-WRT needs improvement.

The Asus 520gu gives you the best bang for the buck. It looks sleek in white as opposed to the ugly black and blue Linksys ‘brick’, has a USB 2.0 port which can be hooked up to a printer or an exter­nal stor­age or both via a USB hub and comes with 16MB RAM and 4MB flash.

Why Tomato and not DD-WRT?

I like DD-WRT, and before Asus, I had a Linksys run­ning DD-WRT.  I bought the 520gu for its USB port. I wanted to hook up my old Sea­gate 160GB exter­nal hard­drive to serve as a low cost NAS. I did want to go with DD-WRT, but find­ing the right ver­sion is quite daunt­ing on DD-WRT site.  And from the wiki it isn’t clear if the USB 2.0 works well with DD-WRT. Here’s an actual quote from the wiki:

The WL-520GU WRT is sup­ported as of DD-WRT v.24 RC7. USB (e.g. exter­nal stor­age or printer) sup­port cur­rently require man­ual work (as of DD-WRT v24 Final Release you may be able to use the web-GUI to enable USB support).

The words ‘may’ and ‘man­ual work’ made me give Tomato a try!  Atleast with Tomato I can be sure that USB2.0 works out of the box with­out hav­ing to much around too much on the con­sole.  Actu­ally, this is not the offi­cial Tomato build but a mod by ‘teddy_bear’ who added a bunch of enhance­ments to the offi­cial Tomato firmware specif­i­cally for the Asus 520gu. Thank you ‘teddy_bear’!

How Easy is it to Flash Tomato?

Actu­ally it took me an hour to fig­ure out what all wouldn’t work.  There are num­ber of steps that has to be done in the exact sequence as listed in this howto.  If you fol­low the steps as listed, it shouldn’t take you more than 20 min­utes. Read­ing the DD-WRT wiki, dif­fer­ent peo­ple had dif­fer­ent expe­ri­ences installing the firmware.  I think my steps should work consistently.

My Setup

Mac­Book run­ning OS X Leopard

Par­al­lels run­ning Win­dows XP

Let’s Get Started!

There are dif­fer­ent ways to flash Tomato on the 520gu.  I’m going with the eas­i­est.  Use Asus’ Firmware Restore util­ity to flash DD-WRT and then use DD-WRT’s Firmware Upgrade to upgrade to Tomato.  Asus’ Firmware Restore util­ity is a Win­dows exe­cutable. If you run a pure Mac shop, you can alter­na­tively tftp the firmware to the router.

  1. Down­load  dd-wrt.v24-11028_NEWD_mini_asus.trx and the lat­est Tomato Mod to C:\tmp. Do not down­load it to your Desk­top or any direc­tory with spaces!
  2. Install Asus’ Firmware Restora­tion Util­ity from the CD. CD: /Utility/Setup.exe in Win­dows. Do not down­load the lat­est from Asus’ web­site.  This was a mis­take I did and the upload kept fail­ing.  This util­ity must match with Asus’ stock firmware run­ning in the Router. This step will save you hours of frustration!
  3. If like me you are run­ning Win­dows via Par­al­lels on a Mac, turn Air­port off. On a PC, dis­able any other Access Point you might be con­nected to
  4. Goto Start->All Programs->Asus Utility->WL-520GU Wire­less Router->Firmware Restoration
  5. Browse to the dd-wrt firmware you down­loaded in Step 1, don’t upload yet!
  6. Using the eth­er­net cable that came with your Asus router, con­nect your Mac/PC to a Lan port on the router.  I chose Lan1. Power on the router
  7. Check if you are able to goto the router’s admin page at 192.168.1.1
  8. Dis­able win­dows firewall
  9. Unplug power from the router
  10. Using a pen, press the Reset but­ton at the back of the router (the black, recessed but­ton, not the pro­trud­ing red one), keep­ing the reset but­ton pressed, power on the router
  11. When the power led begins to flash slowly, release the but­ton, upload the DD-WRT firmware (Step 5) quickly

    DD-WRT upgrade in progress

  12. The firmware should get uploaded and the router will reboot with DD-WRT

    Firmware Upgrade Successful!

  13. Goto 192.168.1.1, user­name is admin, no pass­word. You should see DD-WRT admin page
  14. Goto Administration->Firmware Upgrade in DD-WRT
  15. Rename Tomato firmware you down­loaded in step 1 with exten­sion .bin from .trx
  16. Upgrade!

    Upgrade To Tomato From DD-WRT

  17. Once the upgrade is com­plete, the router will reboot to Tomato

    Rebooting To Tomato

  18. Go to 192.168.1.1, user­name is root, pass­word is admin
  19. You have suc­cess­fully upgraded your router to Tomato!

    Tomato Admin Screen

That’s all there is to it! Make sure you change the default pass­word and enable USB sup­port before attach­ing a printer or a stor­age device.

Related Posts with Thumbnails

220 Responses to “An Easy Guide to Installing Tomato on the Asus 520gu”

  1. Kyle 01. Jun, 2009 at 12:15 pm #

    I solved my prob­lem, but it was unre­lated to the mount­ing thing. I guess print­ers don’t need to be mounted any­way, which makes sense. So as long as the GUI rec­og­nizes your printer, you’re golden. How­ever, it wasn’t work­ing at all and it had worked through the stock firmware. That’s why I thought it was the router.
    I think lee has the same prob­lem, because he can print on his mac but not vista. My only expe­ri­ence with fix­ing this is on an xp lap­top, but vista should be pretty sim­i­lar.
    Try going into your printer (not the prop­er­ties, the place where all the queried doc­u­ments are. In there there’s a set­ting “use printer offline” that was checked for me. Uncheck­ing that solved all my prob­lems. If it says “use printer online”, then make sure it’s checked.
    If that still doesn’t work, then remove the printer and fol­low these steps:
    This is also a gen­eral win­dows instal­la­tion guide.

    1. Plug the printer directly (USB) into all of the com­put­ers you want to use it with and install your dri­vers. This elim­i­nates all of the pick­ing from the win­dows printer thing.

    2. Enable usb router set­tings as in the above guide

    3.Plug printer into router. Ver­ify it’s rec­og­nized (doesn’t have to be mounted) in the tomato GUI.

    4.Go into printer prop­er­ties in win­dows and click add new port. Choose tcp/ip, port 9100, raw, and the ip of the router as the port. Same as the guide above. Save and exit.

    5.Uncheck “use printer offline” in the printer options.

    6. Print!

  2. Kyle 01. Jun, 2009 at 12:19 pm #

    Oh as a clar­i­fi­ca­tion you are not adding a new printer, you are adding a new port to the one cre­ated in the USB install. Make sure the new tcp/ip port is checked and the old USB one is not in printer properties.

  3. Lmp 01. Jun, 2009 at 12:51 pm #

    Thanks Kyle. I will give it a try and let you know if it works.

  4. macpat 03. Jun, 2009 at 9:51 am #

    Hi

    Can someome tell me if this firmware will work with this router?

    Asus WL-500gp v2

    Thanks

  5. jong 03. Jun, 2009 at 11:53 am #

    yes it will

  6. adam 04. Jun, 2009 at 5:31 am #

    Did I break my wire­less router? I’m get­ting an Invalid IP address after I loaded tomato 1.24. Any help is appre­ci­ated. Thanks

  7. Lmp 04. Jun, 2009 at 1:44 pm #

    I don’t think so. Don’t know what con­fig you are try­ing to use your router as — bridge, AP etc. Try using DHCP set­tings in the Tomato and see if it works for you. Keep us posted.

  8. haroldminer 05. Jun, 2009 at 5:24 pm #

    Hi,

    I need some help. After much effort I finally got Tomato installed on my Asus router. How­ever, I am run­ning into a prob­lem when con­nect­ing a USB drive. First off, I installed tomato-1.25-ND-USB-8631-Std.rar ver­sion of the firmware. Took some fid­dling but I got it installed. Yeah for me as I don’t have a lot of expe­ri­ence with this type of oper­a­tion. Any­ways, I am hav­ing a prob­lem with the USB port. When I con­nec a drive (thumb or exter­nal) into the port and click on USB/NAS tab it freezes. Trans­fer­ing data…

    If I remove the drive it clicks through with­out issue.

    What am I doing incor­rectly? DO I need a dif­fer­ent firmware?

    thanks!

  9. haroldminer 05. Jun, 2009 at 11:38 pm #

    It seems the prob­lem is with the firmware. I reverted to 1.23 and it seems to work now and no longer hangs. I just need to fig­ure out how to mount it.

  10. Davi 15. Jun, 2009 at 9:00 am #

    If you are start­ing from scratch, after flash­ing with DD-WRT, tel­net to your router, and type: nvram get http_passwd
    Now, upgrade to tomato. User is root, pass­word is the result of the above step.

    I don’t know the pass­word yet. How can I tel­net my router?
    I tried to type “tel­net 192.168.1.1″ in Start –> Run.. Then it ask me for user­name and password.

  11. Lmp 15. Jun, 2009 at 11:45 pm #

    As men­tioned in instruc­tions:
    Go to 192.168.1.1, user­name is root, pass­word is admin
    If this does not work the reset the router using reset but­ton for few sec­onds and try again.

  12. Enzo 18. Jun, 2009 at 9:59 pm #

    So which ver­sion are you using? Stan­dard? Lite?
    I read stan­dard had some issues with Bit­tor­rent, and that Lite was rec­om­mended. How­ever Lite has no Samba? That’s not good…
    Or am I miss­ing something?

  13. Ken 20. Jun, 2009 at 10:38 am #

    The link http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn11028/dd-wrt.v24-11028_NEWD_mini_asus.trx seems to be bro­ken. Any other sources?
    Thanks.

  14. Allen 20. Jun, 2009 at 5:54 pm #

    Ok, so how can i revert it back to it’s orig­i­nal f/w?

  15. hardik 20. Jun, 2009 at 9:17 pm #

    Link for dd-wrt is broken…can some­one please update it .…thanks

  16. SoCal 21. Jun, 2009 at 6:44 pm #

    Will this work since the DD WRT link is broken?

    http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn12307/dd-wrt.v24-12307_NEWD_mini_asus.trx

    The cor­rected link from above fol­lows, but the DD WRT site says it is OBSOLETE. http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-TNG_OBSOLETE/svn11028/dd-wrt.v24-11028_NEWD_mini_asus.trx

  17. Ray 24. Jun, 2009 at 8:00 am #

    Hi every­one, I’m cur­rently using tomato 1.25.. Have you guys tried vary­ing the trans­mit power which is 42 mw by default? Can you tell the difference?

    What’s bet­ter, this 1.25 or the older ver­sion 1.23?

    I’ve suc­cess­fully mounted usb stor­age devices with this router using tomato but I can’t seem to use my printer with it. I have a Brother DCP-150C and after con­fig­ur­ing the ports option the way described above, (I guess so.. =P) my tomato GUI can’t detect my printer at all. Is my printer not com­pat­i­ble with tomato? may i please ask for the con­fig­u­ra­tion that i need to do in the tomato gui for it to detect my printer?

    Thank you so much..

  18. Ray 28. Jun, 2009 at 2:26 pm #

    I’ve solved my prob­lem with my printer. I just checked the USB 1.1 sup­port from the tomato GUI and it finally detected my printer. whew! Once it detected the printer, I need not reboot the router or it will dis­ap­pear unlike the way to installing NAS w/c the author rec­om­mend to reboot with the NAS inserted. I’ve learned that as soon as its detected, logout and print.

    Thank you for these great tuto­ri­als.. God Bless!

  19. Tom 06. Jul, 2009 at 5:10 am #

    Thanks for the post. The process works great to get tomoto in. Have ques­tions:
    1.does tomoto only sup­port wpa2 in ap mode?
    2.ssid can not hide?
    please can any one help?
    Thank you.

  20. Nnyan 06. Jul, 2009 at 9:40 pm #

    Hey every­one,

    Got tomato installed and like it so far but I have one issue. I can’t get it to “con­nect” to my Com­cast cable modem. Been pulling my hair out on this one. Any­one else got this work­ing on Comcast?

    Thank you

  21. Enzo 06. Jul, 2009 at 9:45 pm #

    Nnyan: Restart the Modem!

    Tom: Tomato sup­ports both WPA and WPA2, both Per­sonal and Enter­prise ver­sions. SSID can also be hidden.

    • Tom 07. Jul, 2009 at 3:09 pm #

      ??
      Can you be more spe­cific?
      When I sel­l­ect wpa2, it pop up “wpa2 can only sup­port in AP mode”, and which screen hide ssid?
      Thanks for the reply!

  22. tugas 17. Jul, 2009 at 8:56 pm #

    Hi, I’ve tested all this options but i still can’t print. i have a wl520gu and I’m try­ing to print to a lex­mark 2300series, i have installed like instruc­tions but with­out any suc­cesses. On router usb disk it’s already mounted and the printer is also rec­og­nized. is any tip that can help me?

  23. VoIP Tips 23. Jul, 2009 at 3:20 am #

    Thanks for this tuto­r­ial — I am now yet another proud Tomato user :D I noticed a few things that must have been updated since the arti­cle was written.

    1) The link to down­load DD-WRT was bro­ken; I used http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v24%20SP1/Consumer/Asus/WL520GU/dd-wrt.v24_mini_asus.trx and it worked.

    2) When using the Asus Firmware Restora­tion Util­ity the router would not always give the com­puter an IP. I set the com­puter up with a sta­tic IP address and this made the util­ity work.

    3) When log­ging into DD-WRT, my username/password was admin/admin.

    4) As Davi has men­tioned, it is nec­es­sary to tel­net to your router and type “nvram get http_passwd” to find out what the pass­word will be after you install Tomato. Note that when using Tel­net to access DD-WRT, the user­name is always root, regard­less of the user­name to access the web inter­face. The pass­word is the same as the pass­word to access the web interface.

  24. treatza 24. Jul, 2009 at 9:22 pm #

    Hi all,

    First of all, thanks to all of you for par­tic­i­pat­ing in this forum — it’s been a big help. I am fol­low­ing the above pro­ce­dure, and am suc­cess­ful through Step # 15. How­ever, when I try to use the DD-wrt firmware upgrade to install the Tomato build, I always get an “Upgrade failed” mes­sage after appx 6 sec­onds. I am using Firmware: DD-WRT v24-sp2 (06/17/09) mini installed on an ASUS WL-520GU, Win­dows XP, Inter­net Explorer wired to the Lan1 port, and have tried tomato-1.25-ND-USB-8632-Std.rar plus a cou­ple of oth­ers. Always the same error mes­sage. Are there any other steps on the tomato build besides sim­ply re-naming the exten­tion from “.rar” to “.bin”? Any other things I could be skip­ping? Thanks in advance for your help. — Aaron

    • treatza 24. Jul, 2009 at 9:32 pm #

      A cou­ple other bits of infor­ma­tion to assist in trou­bleshoot­ing:
      1. I have re-booted the router after installing DD-wrt, as some have sug­gested — this hasn’t helped me.
      2. Is it pos­si­ble that there isn’t enough free mem­ory in the router for the install? The dd-wrt web inter­face reports that my free mem­ory is only 1820 kB / 13028 kB (14%), and the tomato install appears to be appx 3.5 MB. Just a thought.

  25. VoIP Tips 24. Jul, 2009 at 9:30 pm #

    You need to use a pro­gram such as Win­RAR or 7Zip to uncom­press the .rar file. You should extract a .trx file and this is the file you should rename.

    Be sure to look at the com­ments above and make a note of the big long pass­word before you install Tomato.

    Good luck!

    • treatza 24. Jul, 2009 at 9:34 pm #

      Wow — fast reply. Thanks very much — I’ll give that a shot tonight. — Aaron

  26. ssukhan 25. Jul, 2009 at 6:24 am #

    I am stuck at step XI with the fol­low­ing mes­sage ‘Please wait for find­ing avail­able ip address’ while try­ing to upload the dd-wrt file using the ASUs Util­ity. I have looked at reboot­ing and putting a sta­tic address. I am work­ing on Win­dows Vista. Any sug­ges­tion as what i may be miss­ing?
    Thanks
    ssukhan

    • Ren 25. Jul, 2009 at 5:39 pm #

      I am on win-xp and it didn’t work the way described. As soon as I would press th eupload but­ton it would say invalid ip address. I had to assign a fixed address to my sys­tem first (I used 192.168.1.123), then the upload worked.

  27. treatza 25. Jul, 2009 at 7:36 pm #

    VoIP Tips, thanks very much! Got Tomato suc­cess­fully installed, and Mac and Win­dows com­put­ers both play­ing nicely and print­ing over the router-installed printer.

    On a side note, has any­one been able to receive scanned images over their router-connected USB printer/scanners?

    Thanks again! — Aaron

  28. Ren 25. Jul, 2009 at 7:47 pm #

    All set here. Installed the lat­est tomato and using it as ap client. All I can say is … WOW.
    amazing.

  29. Ira 26. Jul, 2009 at 4:04 am #

    Very nice! Your walk­thru is spot on! Took me about 10 min­utes to get it all com­pleted. Tomato is work­ing great on my 520gu.

  30. Dave 29. Jul, 2009 at 5:29 am #

    I was try­ing to fol­low this, but it appears a link is bro­ken, due to an appar­ent vul­ner­a­bil­ity in dd-wrtv2; they seem to have blocked all access to the old files. (See their home­page.) The new files can be found here:

    http://www.dd-wrt.com/dd-wrtv3/dd-wrt/hardware.html

  31. lag 01. Aug, 2009 at 12:11 am #

    got stuck with this as well, ‘Please wait for find­ing avail­able ip address’

    Was using win­dows 7 when I ran into that prob­lem. Switched to an XP com­puter and it worked just as described in guide. thanks!

  32. Mr Tomato 08. Aug, 2009 at 3:44 am #

    I was able to apply the flash to 1.25 on Asus WL-520GU router, but wire­less SSID does not appear.

    I can get to the web page con­sole on 192.168.1.1, but no wire­less net­work.
    Tried chang­ing the SSID and adjust­ing some set­tings, but still nothing.

    The wire­less worked with DD-WRT.
    But I really want tomato to work so that I can use the USB port.

    Couldn’t find any info on this on the internet.

    Can any­one here, help???

    • Mr Tomato 08. Aug, 2009 at 3:45 am #

      BTW, the wired port works fine.
      It’s the wire­less that fails to work.

      Tried two dif­fer­ent lap­tops and the SSID is just com­pletely undiscoverable.

  33. Jeff Melancon 24. Aug, 2009 at 1:27 am #

    win­dows 7: suc­cess with firmware restore pro­gram in win xp sp2 com­pat­i­bil­ity mode

  34. dreddly 25. Aug, 2009 at 12:35 am #

    great guide, I fol­lowed it exactly and got it run­ning in under 10 min­utes (the admin:admin was my only slowdown).

    Does any­one know how you detect the attached USB drive in win­dows? It is mounted under tomato but I don’t know how to access it in Vista…

    thanks again, great guide

  35. RIGHT4YOU 25. Aug, 2009 at 3:37 am #

    I installed Stan­dard firmware. Now, when I try to login to the router, it asks the user­name and pass­word. I tried root/admin and admin/admin com­bi­na­tion but they did not work. I can ping 192.168.1.1. But I can­not tel­net into it. What is the right user­name and pass­word com­bi­na­tion and how may I go back to stock image? Your help is highly appreciated!

  36. Ren 25. Aug, 2009 at 4:48 pm #

    Which firmware ? dd-wrt or tomato ?
    IF it is dd-wrt it should be admin with no pass­word.
    It is in the instruc­tions above.

  37. David 25. Aug, 2009 at 7:29 pm #

    Sorry for the dumb ques­tion, but will these instruc­tions work the same on Vista?

  38. nick 27. Aug, 2009 at 3:47 am #

    I got every­thing work­ing and even installed my printer under tomato but how do I print to it now?

  39. beemboy 02. Sep, 2009 at 4:55 am #

    Thanks for the arti­cle Chanakya!

    @Duffy: Thanks for the tip about flash­ing via the ASUS router firmware upgrade page. That worked except for one hitch: the newer routers are sold with Asus’ 3.x firmware which seems to ver­ify the file’s con­tents and blocks the upgrade. I ended up going to Asus’ site, pick­ing the older 2.0.8 firmware, down­grad­ing to it via the Asus router page, then upgraded to tomato using your tech­nique. Thanks!

    • Jae 14. Sep, 2009 at 8:32 pm #

      @beemboy and duffy

      Thanks for easy firmware upgrade tip, appar­ently not all 2.x firmware worked (I tried 2.0.0.5 and 2.0.0.6 and those ver­sion didn’t allow upgrade to Tomato) but was suc­cess­ful with 2.0.0.8

  40. duffy 02. Sep, 2009 at 12:18 pm #

    beemboy.…..yes, I noticed that when I bought two more of the Asus units for my daugh­ter, the Asus newer firmware did not allow me to load the firmware the way I pre­vi­ously noted here. I had to TFTP it to the unit to get it to load. How­ever, thanks for the tip about down­grad­ing to the older Asus firmware then upgrad­ing to Tomato (or whatever)…never thought of that!

  41. Andrew 04. Sep, 2009 at 4:03 am #

    Hi there, I installed DD-WRT eas­ily but when try­ing to upgrade to Tomato via DD-WRT I keep get­ting ‘incor­rect image file’ every time I try to ini­tial­ize the upload. Why is this?

    • Logan 09. Sep, 2009 at 12:14 am #

      Andrew,
      I ran into the same prob­lem on my WL-520GU. I ended up flash­ing the router using the lat­est ver­sion of Asus’ firmware util­ity. Flashed from DD-WRT to the Teddy Bear ver­sion of Tomato. Just put the ver­sion of Tomato you are using in there, renamed the exten­sion to .bin, it worked fine and the router is up and run­ning with no issues. My sys­tem is run­ning Vista 64, I was sur­prised the util­ity worked. I imag­ine you could skip the DD-WRT step if you wanted and just flash right to Tomato.

      • Drew 09. Sep, 2009 at 10:00 am #

        Any­one have suc­cess with print­ing via an Apple MAC OS X? Run­ning Snow Leop­ard now and try­ing to print to a HP Deskjet 3650 printer. Printer dri­vers are installed and I can pick the printer when asked for dri­vers, but I get a mes­sage that 192.168.1.1 is busy and will try again in 5 sec­onds. On a PC, I’m able to print to the print server just fine. Here’s my specs:

        MAC OS X Snow Leop­ard
        Asus WL-520GU w/Tomato 1.25 ND USB installed
        USB sec­tion, printer is rec­og­nized but not mounted (how do u mount?)
        USB sec­tion: First 5 radio but­tons are checked

        when installing net­work printer, I select IP print­ing -> Pro­to­col: LDP; Address: 192.168.1.1; Queue: 9100; selected printer dri­vers for HP Deskjet 3600

  42. MacNWinUser 17. Sep, 2009 at 4:37 am #

    Well I got my ASUS 520GU and I’ve been play­ing with it all day. I think I have most of it fig­ured out or at least the parts I was mainly inter­ested in. There is a lot to take in, but it is well worth look­ing through it.

    SNOW LEOPARD:
    I have Mac OSX 10.6 Snow Leop­ard and I believe most Mac users will have ques­tions how to get this to work on their sys­tem. Well if you got Tomato installed then you are half way being done and now we just need to turn on the USB Sup­port which is located under “USB and NAS”. Go ahead and check every­thing except USB Stor­age Sup­port. I have mine unchecked at the moment because I only have a printer hooked up to it. I don’t know if this ASUS 520GU is capa­ble of doing a usb hub, but I don’t have one on me so I can’t con­firm. Any­way for the moment leave the Stor­age unchecked because these are instruc­tions for the printer portion.

    Once you have that checked then make sure your usb printer is on and inserted into the device. You might have to reboot tomato to make it see the printer. If you see a Printer pop up in the “Attached Devices” sec­tion in the “USB and NAS Sup­port” area then you are golden.

    Now we have to get your Mac OSX Snow Leop­ard to see your printer. Go to Sys­tem Pref­er­ences and select Print & Fax. Click the + sign to add a printer and select the IP icon (shape of a globe). For the “Pro­to­col:” select “HP Jet­di­rect — Socket“and for the “Address:” input the router’s ip that you used to orig­i­nally con­nect to tomato (exam­ple: 192.168.1.1).

    In the “Queue:” por­tion put 9100 and “Name:” to router’s IP again while loca­tion can be “Com­puter Room” or what­ever you want it to be. Then it might auto select Generic Post­script or Generic PCL which if your printer doesn’t have the words Post­Script or PS on it then chances are it is PCL.

    Ok, now we can actu­ally select the dri­ver for your printer in the “options & sup­plies” seciton. Here you can rename the printer and/or loca­tion. You should also see “socket://192.168.1.1/9100″ in the URL por­tion or some­thing like that. In the dri­ver sec­tion you can search for your real printer and you might be lim­ited to only CUPS or Guten­print (pick whichever you prefer).

    Now you can print a test page and you should be able to get a test page printed out.

    WINDOWS XP:
    Click add printer in con­trol panel, select “Local Printer attached to com­puter” and uncheck auto­mat­i­cally detect then click next, select “Cre­ate a new port” and select “Stan­dard TCP/IP Port” then click next, in printer name or ip address put in the router’s ip address, port name put in 9100, then click next which this might look like it froze up, but it is actu­ally just look­ing for your print server. You might get a win­dow to pop up stat­ing “Add Stan­dard TCP/IP Printer Port Wiz­ard” and in the Stan­dard dot it has “Generic Net­work Card”, just leave it selected as is. Just keep click­ing next and then install your printer as you would nor­mally by either select­ing what win­dows already has avail­able or select the dri­vers from your CD or loca­tion where you down­loaded them to. Print a test page and you should be set.

    Hope­fully that helps out and I have Vista as well, but I don’t have that setup on my mac. I am con­fi­dent it is pretty much the same in Vista as long as you can add a TCP IP port and give an IP address with 9100 then you should be set. If win­dows vista has an issue and offers a generic option for the port then just go with the generic option and it should work.

    Good luck!

  43. zeejay 04. Oct, 2009 at 5:02 pm #

    i got WL520GU weekss ago. My cur­rent router is WRT54G.

    My plan is to con­nect a exter­nal USB hdd to the ASUS router so that i can have wire­less NAS system.

    My ques­tion is pretty sim­ple how can accom­plish this. I want to keep my WRT54G router as my main router and make ASUS as AP or bridge and con­nect my HDD to ASUS. Any sug­ges­tions. I appre­ci­ate the help

  44. JD Peppers 07. Oct, 2009 at 5:42 pm #

    Just installed Tomato on my WL-520gu.…The sys­tem sees FAT flash dri­ves, but doesn’t seem to see the ext2 or ext3 drives.…Anyone have the same issue?

    Was won­der­ing if any­one has plugged a USB HUB in and was able to use both a USB DRIVE and PRINTER attached to the HUB?

    Thanks

  45. VoIP Tips 07. Oct, 2009 at 5:46 pm #

    You have to enable ext2/ext3 in the con­fig. You can enable or dis­able any of the filesystems.

  46. Rytis 21. Oct, 2009 at 7:04 pm #

    Hey there,
    First of all, thanks to every­body for all of this info.
    Now I have my Asus 520gu work­ing as a print server, and it’s suc­cess­fully accept­ing print jobs from Ubuntu 9.04 and Win­dows XP machines. Exciting!

    For those who have their routers in client mode:

    When I was done set­ting it up, I was tripped up, because every­thing seemed fine, I could access my router through my main net­work, the printer was show­ing up in the gui and all seemed “golden”, but noth­ing would print. Then I fig­ured out the rea­son. Since my 520gu tomato router is set up as a wire­less client, which is con­nected (with WPA encryp­tion) to the main router, the print requests from my pc’s on my main net­work (the main router) were con­sid­ered to be com­ing in from the out­side, and the fire­wall (ipt­a­bles) was block­ing all those requests.

    This is what to do if your router is in client mode and is in the same situation:

    Ssh / tel­net to your router, and tell ipt­a­bles to allow print requests with the fol­low­ing com­mand:
    ipt­a­bles –A INPUT –p tcp –dport 9100 –j ACCEPT

    This isn’t per­ma­nent though, so to make it per­ma­nent, do this instead:
    In your tomato gui, go to Admin­is­tra­tion -> Scripts -> Fire­wall and copy and paste that same com­mand:
    ipt­a­bles –A INPUT –p tcp –dport 9100 –j ACCEPT

    Now save, restart the router, and your print jobs from your main net­work should come through.

    Hope this helps some­one with routers in client mode!

  47. Srdjan 05. Nov, 2009 at 8:39 pm #

    Hi all and thank you for this price­less infor­ma­tion.
    I am using wl520gu as a wire­less client and I am also try­ing to enable it as a print server. Every­thing is con­nected the way it should be, and printer is being rec­og­nized by the router. I also added the above com­mand (post by Rytis) to router’s fire­wall, but to no avail — printer will not print any­thing. Printer’s port is set to TCP/IP and to the IP address of the pri­mary router, and the pro­to­col is set to RAW, port 9100.

    Any ideas anyone?

    Thanks

  48. Thindelock 11. Nov, 2009 at 4:48 am #

    Thank you for an awe­some, con­cise walk­through. And thank all those who replied in the thread above with their own expe­ri­en­tial wis­dom and “war stories.”

    I just turned a $40 router into a $100 xbox 360 wire­less adapter. I’m plan­ning to have fun with the USB storage/printer func­tions another day.

    For what it’s worth, I ran into some snags. Prob­lem 1: in Vista or Win7, you HAVE to run the Asus recov­ery soft­ware in admin mode or it will not find an avail­able IP. Prob­lem 2… well, I think Prob­lem 2 was just Vista. I spent 8 hours try­ing to make this work via a vista lap­top and was about ready to take a ham­mer to the box just to relieve ten­sion. Then I tried it on my new win7 lap­top, and had it run­ning inside 30 min­utes, as a novice.

    Kudos on an awe­some site!

  49. tbraim 19. Nov, 2009 at 1:03 pm #

    Hi all,
    Has any­one suc­cess­fully set up FTP server to attached NAS? I have enabled anony­mous FTP to /mnt and set port for­ward­ing (port 21) to 192.168.1.1 but can only access server from my own net­work, not from out­side. Do I have to assign sta­tic IP to my NAS? If so, how do I do this? Any suggestions?

Trackbacks and Pingbacks

Leave a Reply