An Easy Guide to Installing Tomato on the Asus 520gu

Oleh: admin
January 31, 2009

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.

Update: In my opin­ion, the Asus 520gu cou­pled with Tomato is the best router you can get. I’ve been run­ning mine with­out ever hav­ing to restart for a cou­ple of years now. I run media heavy stuff like Roku, VoIp via Ooma, Video stream­ing via the Pana­sonic Sur­veil­lance cam all routed through the Asus 520 and I’ve never had any issues with this fan­tas­tic router.

Enter Your Mail Address

Related Posts with Thumbnails

Incom­ing search terms:

  • asus wl-520gu tomato
  • wl-520gu tomato
  • asus 520gu tomato
  • wl520gu tomato
  • tomato asus wl-520gu
  • asus tomato
  • tomato wl-520GU
  • 520gu tomato
  • tomato asus
  • asus wl520gu tomato

Tags: , , , , , ,

Category: Headline | RSS 2.0 | Give a Comment | trackback

241 Comments

  • tbraim

    Can u explain how to set up printer in Mac OSx Leop­ard using the Asus WL-520gu and the mod tomato firmware? Please help!

  • admin

    @tbraim: What brand/model printer do you have?

  • jwhart

    I’m run­ning Win­dows XP. I’m sure that this is a dumb ques­tion but what does the fol­low­ing mean:

    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.”

    The only thing I can think of would be my exist­ing wire­less inter­net connection?

    Thanks for all of your help!

    Jack

  • jwhart

    OK,please ignore the pre­vi­ous post. I’m now thru #12 but don’t see a screen from which to enter “192.168.1.1″.

  • tbraim

    I have a Brother MFC-6800. I tried enter­ing the IP address(192.168.1.1) in IP print­ing but no suc­cess. The printer is shown as a mounted device in Tomato.

  • tbraim

    The printer works fine on my wire­less Vista and XP pc’s, so it’s gotta be some­thing I’m not con­fig­ur­ing right on the Mac. Thanks.

  • admin

    @jwhart: Open a browser and enter the ip

  • jwhart

    OK. Unfor­tu­nately, firmware upgrade is not an option. I always get the router user­name and then pass­word (twice).

  • tbraim

    Any ideas for set­ting up print­ing for Brother MFC-6800 on Apple Mac?

  • admin

    @tbraim, try this:

    Goto Sys­tem Pref­er­ences
    Enable Printer Shar­ing
    Open a browswer and goto http://127.0.0.1:631/

    Con­fig­ure your printer. Let me know if this worked. Thanks!

  • jwhart

    OK, I finally firured out the DD-WRT Con­trol panel issue and was able to upgrade firmware with Tomato. How­ever, after get­ting the “upgrade suc­cess­ful unit is reboot­ing” screen, the “Air” light on the front of the router is “off” and I’m unable to connect.

    Jack

  • tbraim

    Not sure what info to load in the configuration.

    Device? USB printer vs IPP(http) vs IPP(IPP) vs win­dows SAMBA

    Device URI? They give exam­ples ie socket://hostname/9100 or
    http://hostname/ipp/port1

    My printer(Brother) is not listed. Should I use RAW?

    Maybe my printer is not con­fig­urable on a Apple/Mac

    Thoughts?

  • davi

    I’m sorry. It’s lit­tle bit out of topic.
    But com­pared to WRT54G2/WRT54GL, Which one has a stronger trans­mit power? WL-520GU or the linksys ones?

    Thanks.…

  • admin

    @tbraim:
    Device: IPP(HTTP
    Device URI is the ip address of your router. http://192.168.1.1

  • tbraim

    I think the URI needs more detail to con­nect. I tried http://192.168.1.1:9100 I got con­fir­ma­tion of a con­nec­tion to the device, but no printing.

  • jwhart

    I’m not cer­tain that I down­loaded the cor­rect ver­sion of Tomato. Would some­one please pro­vide the link for Tomato firmware with USB sup­port for the ASUS 520?

    Thanks,

    Jack

  • jwhart

    Thanks.

    1) Do you sug­gest that I re-install the ASUS firmware from the CD before attempt­ing to install Tomato?

    2) It claims in the fol­low­ing post that Tomato may be installed directly over the ASUS with­out hav­ing to go through the inter­me­di­ate steps. Is that now the way to go?

    Log into the router with the stock Asus firmware. Go to the page where it says update firmware. Now, go to where you have the Tomato firmware with USB sup­port stored. Rename the file “WL520gu_2.0.0.9_EN.trx” (with­out quo­ta­tion marks of course) then go back to the Asus update firmware page on the router and select the file you just renamed and click to upgrade. When it fin­ishes, it will reboot and up comes the Tomato page”

    Thanks,

    Jack

  • admin

    Yes you can install tomato with­out installing dd-wrt. If you already have tomato installed, even if it is an incor­rect ver­sion, you don’t have to re-install Asus. Just use the firmware upgrade page, point to the right tomato ver­sion and re-flash.

  • jwhart

    Ever since I installed Tomato (prob­a­bly the incor­rect ver­sion :-) ), I’m unable to get any lights except for the “power” and “LAN1”. I have NO “air” and, there­fore NO online access?

    Jack

  • jwhart

    PS I’ve had this prob­lem ever since get­ting the “upgrade suc­cess­ful unit is reboot­ing” screen fol­low­ing the Tomato installation.

    Jack

  • Duffy

    Mine works per­fectly and I used the install method I noted above. I can email you the file I used for ASUS that has USB sup­port. It is already renamed, you just have to flash it from the ASUS stock/base firmware.

  • jwhart

    That would be great — jwhart@gmail.com.

    Thanks,

    Jack

  • Duffy

    It is on its way. Good Luck and let me know how you make out. BTW, my ASUS is con­nected wire­lessly to my Linksys — both use Tomato. This is great firmware. Very happy with it and run it on all three routers in the house.

  • jwhart

    Thanks! I pur­chased this router to hookup my Pio­neer Blu-Ray DVD player based on a rec­om­men­da­tion from a post to avsforum.com. I’m cur­rently using a Net­gear “G” router and adapter for my PC “con­nec­tion”, which tra­verses 2 inte­rior walls and about 25 feet; still using the stock Net­gear soft­ware and firmware, how­ever. I do have the usual drops which can get annoy­ing and are hav­ing me con­sider upgrad­ing to N-series?

    Not sure that I’m “tech-savvy” enough to change soft­ware and firmware “on my own!”

    Thanks again,

    Jack

  • tbraim

    For those of you who use Apple/Mac com­put­ers, I have found a link for set­ting up usb print­ing on the Asus WL-520gu and Tomato/wUsb support:

    http://www.dd-wrt.com/wiki/index.php/Printer_Sharing

    Scroll down to “work­sta­tion setup” and fol­low the instruc­tions for Mac OSX (Leop­ard). It works!

  • admin

    Thanks tbraim, that was a nice find! BTW, what printer do you have?

  • tbraim

    Brother MFC-6800. The dri­ver is pre­loaded in Leopard.

  • tbraim

    Is a tuto­r­ial for set­ting up FTP server for NAS forthcoming??

  • admin

    @tbraim: Yes!

  • tbraim

    Thanks! I haven’t had any luck.

  • jwhart

    A HUGE thank you to Duffy who spent a con­sid­er­able por­tion of his Sat­ur­day after­noon on the phone with me this after­noon help­ing me “unbrick” my ASUS520 and get­ting the Tomato firmware going. After speak­ing with him, it’s my under­stand­ing that I should be able to use the ASUS for my wire­less con­nec­tion with my exist­ing Net­gear router in lieu of my cur­rent Net­gear wire­less USB adapter. After re-booting with the ASUS con­nected and the Net­gear USB adapter unplugged, I’m not able to con­nect to the inter­net. Any suggestions?

    BR,

    Jack

  • frank

    Hey there
    I got tomato up and run­ning — sweet! works VERY well
    unforut­nately i can’t get my printer func­tion to work, even 192.168.1.1:9100 isn’t respond­ing.
    It doesn’t say if my printer is mounted or not, either.
    the printer is rec­og­nized — and cor­rectly at that. It is a hp psc 1200 model printer> thanks in advance for any help!

  • AC

    Great post & Thanks for the info. Will be attempt­ing within the week.

    Does the HSM (High Speed Mode @ 125Mbs) work with the Tomato Flash?

    Any luck with Vista?

    Thanks

  • AC

    Just got the router today. Will be work­ing on Tomato tonight. Once I flash to tomato, is it pos­si­ble to use the WL-520gu as a bridge to my old WRT-54g run­ning linksys firmware? Is there a com­pat­i­bil­ity issue?

    Thanks

  • Hal

    Does any­one know a purely Mac-based instal­la­tion pro­ce­dure for Tomato? Using tftp is men­tioned, but I have no idea how to go about using that method.

  • admin

    @Hal: This tftp client for the mac might come in handy!

    http://www.macupdate.com/info.php/id/12146

  • Hal

    Thanks! I was assum­ing the tftp com­mand could be per­formed from Ter­mi­nal. Is this app just a con­ve­nient GUI for using tftp, or is it not pos­si­ble from Terminal?

  • Nnyan

    Hello,

    I fol­lowed instruc­tions and every­thing goes as it should but my firmware util just times out. I even­tu­ally upgraded to the 3008 firmware (and I’m using the appro­pri­ate ver­sion of the util) and the error it gives now is that it can not find a wire­less device in recov­ery mode.

    Any­one run into this before?

  • Lmp

    I am run­ning into issue with IOMEGA 250 USB exter­nal dri­ver. For­mated the dri­ver for NTFS to FAT32 sev­eral times. Win Vista shows as being FAT32, chkdsk com­mand shows this to be FAT32. But when I plug the the drive in to router’s, WL-520GU, USB port, it is rec­og­nized as VFAT. When I map that drive in Vista the same drive shows to have NTFS instead of FAT32. Don’t know if I am miss­ing some­thing here or chipset is the issue.
    Another issue that I am run­ning into is when I con­nect a com­puter to ASUS WL-520GU in Wire­less Client or Wire­less Bridge mode, I can see the share drive and it shows up in Vista Net­work. But when I try to go through my Linksys gate­way WRLT54G v4.21, I can’t see share drive in Vista Network.

    Please advise.

    I am no wor­ried about the 2nd issue as much as the 1st one (USE VFAT issue).

  • admin

    @lmp:If WL-520GU is able to rec­og­nize it, the drive is for­mat­ted as FAT. WL-520GU can­not read or write NTFS. No idea why Vista is show­ing this as NTFS (don’t have vista, so sorry can’t help you there!).

    ON the sec­ond issue, try enter­ing the ip address man­u­ally in vista. smb:// and see if the drive shows up.

  • Lmp

    Thanks for the response. I am using Tomato lat­est rev level. I will try smb://ip_address later this evening and see if it works. I will also try to map the USB drive on XP to iso­late the issue.

    As plan B, I will try to down­load dd-wrt firmware, yes I know it has mod­ules, to see if that makes any dif­fer­ence with Vista — if all options fail.

  • Lmp

    I have not tried on the XP yet, as I will have to move the router to another room. But, smb://ip_address of the router did not work for me in IE or Firefox.

  • Lmp

    Good news. It worked. I went back and rein­stalled DD-WRT V.24 few rev lev­els on the router. Played around for few hours to add the USB sup­port and, of course, could not. Rein­stalled the Tomato tomato-ND-USB-8625-Ext.bin and this time I made sure that “Auto-share all USB Par­ti­tions” prop­erty in the “File Shar­ing” is set to “Read/Write”, pre­vi­ously set to “Dis­abled”. Right at moment time the share drive for­mat changed from NTFS to FAT32. I think there was noth­ing wrong with the install in the first place.

    The File Shar­ing instruc­tions at http://www.society9.com/setting-up-a-low-cost-nas-using-tomato/ do not show that option. So if you are using tomato-ND-USB-8625-Ext.bin then make sure that “Auto-share all USB Par­ti­tions” prop­erty in the “File Shar­ing” is set to “Read/Write”.

  • Lmp

    Run­ning into 2 issues now:
    1. Can’t mount Lex­mark Z2300 printer con­nected via WL-520GU USB port. It is show­ing up in the USB and NAS set­tings but no mount options.
    2. If I con­nect the com­puter to WL 520GU, con­fig­ured as Wir­less bridge, then I can see the share the USB drive. But if I try to come through Gate­way, Linksys WRT54G (v4.21.1) then I can’t pull the share drive in the Win­dows Net­work. “Show In My Net­work Places” is checked in Port For­ward­ing option.

  • Lmp

    For those of you who are run­ning in to the issue of los­ing share USB drive after router reboot, please fol­low instruc­tions below:

    1. Once router is up and run­ning, log into the router
    2. Go to USB and NAS>USB Sup­port and copy the fol­low­ing script in the “Hot­plug script” textbox area:

    mount –t vfat /dev/scsi/host0/bus0/target0/lun0/part1 /mnt/

    3. Save and and hard reboot the router.

    You should see the share drive in Win­dows Net­work next time.

    Please note that this was tested when ONLY EXTERNAL USB drive was con­nected to the router.

  • Lmp

    If the last post does not work for you then try copy­ing the script to:
    Administration>Scripts>Init Tab in Tomato

    I took care of the 2nd ques­tion posted ear­lier for Win Vista by doing the following”

    1. Con­fig­ured Router as Wire­less Bridge
    2. Made sure that USB share drive was mounted in the router
    3. Opened “Net­work” in Win Vista
    4. Went into “Net­work and Shar­ing” sec­tion in Vista
    5. Turned on “Net­work Folder Shar­ing” and selected radio but­ton for any­one to alter files.
    6. Refreshed Net­work and here it was.

    Now, if some­one can please answer my first ques­tion about the printer then I will be done play­ing with router.

  • kyle

    I’m hav­ing the same prob­lem as Lmp. After installing tomato on a WL-520GU and plug­ging my printer in (HP office­jet 5100) It shows up in the USB gui but with­out any mount options. The same thing hap­pens with my deskjet 4100. The printer is rec­og­nized cor­rectly but there is noth­ing in the “Mounted?” sec­tion.
    How­ever, both of my USB flash dri­ves mount cor­rectly.…
    Any ideas? I would really like to fig­ure this out because with­out print­ing it makes this tomato mod pretty use­less… :(

    I see a sec­tion for hot­plug scripts. Can I make one to mount the printer?

  • Nnyan

    OK with the help of some very nice peeps I got this installed and run­ning. I even got it daisy-chained to my DLINK.

    One issue that I am hav­ing is that it will not con­nect me to the inter­net when i con­nect it to my com­cast router. Any suggestions?

    Thank you

  • Lee

    I am hav­ing the same prob­lem as Kyle and Lmp
    My printer is Brother HL-2140, I can see it in the USB GUI with­out any mount options.

    Thus I can’t add it in my vista lap­top, yet I can print it from my mac­book via 192.168.1.1:9100. Some­how that ip set­ting doesn’t work for vista either.

    As I have tried many solu­tion found in the google. I begin to believe it’s a firmware bug that can’t be solved anyway.

    Thank you and hope some­body can give me some hints.

    I don’t want to use share print­ing. It’s exactly why I want to set up a printer server in the first place. Make sure other peo­ple can print it directly from the printer server while I am out with my macbook.

Leave a Reply

  • Widget Area

    This is widget area, add your widget here from your widget on appereance on your admin panel