1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tomato ND USB Mod

Discussion in 'Tomato Firmware' started by teddy_bear, Dec 17, 2008.

  1. shibby20

    shibby20 Network Guru Member

    teddy.... can you compile smbfs.o module for your tomato 1.25 software? please :)
     
  2. anik

    anik Addicted to LI Member

    Thank you for the explanation, but I don't really understand the above… are you saying that in order to be able to enable JFFS I would have to put something in a startup script that would include the above options? Would it be possible for you to give me some indication as to what the complete command would be?

    And also, I'm curious about your comment that "TeddyBear has (reasonably, IMHO) declined to put in the special code in the GUI to enable write-in-place." Seems to me that if there's a JFFS option in the GUI and you try to enable it, it should work. It's very confusing to someone like me to be given the option with no explanation, just an error message when it doesn't work. If there's some downside to enabling it, maybe there should be a message explaining that (and I'd like to know what that might be), or at least some explanation of what needs to be done first to make the error go away. But I don't think there's anything reasonable at all about giving people an option in a GUI and then when one tries to do what's a simple procedure in another version of Tomato, it fails and if you check the log you get an error message that means nothing to most USERS. With all due respect, please keep in mind that most users aren't programmers and what comes second nature to you is a total mystery to most of us. Even your response to me (giving me a couple apparent command options options without the complete command, and indicating it may have to go in some script) sort of indicates to me that you don't appreciate that to many of us that's simply not enough information to be useful. So while I appreciate your response, I really wish you'd expand a bit on your comments, for those of us not breathing the rarefied air where you programmers live!
     
  3. bmx888

    bmx888 Addicted to LI Member

    can someone include codepage.936 in this firmware?
    I can not see gbk character. Thanks a lot!
     
  4. teddy_bear

    teddy_bear Network Guru Member

    Did not have much time lately to go through all the posts here - so I'll try to address some of your questions from the last 4 pages now ;).

    Aquafire & Kibe,
    Regarding the SES LED behavior... Jon removed some LED control code and GUI in ver. 1.25 - I believe that's what causes the issue if it worked fine in 1.23. I know Jon is considering to put it back in the next version, but in the meantime search the forum - I think I saw posts here with some scripts for the SES LED on the Linksys.

    Jeebus,
    If you find me XFS sources that can be compiled with kernel 2.4.20, or a set of kernel patches for 2.4.20 to make it compatible with later XFS versions, I'll be more than happy to make XFS available as an extra pre-compiled module ;).

    pepe_lodz,
    Not being able to delete non-empty directory is not a Samba bug, this behavior depends on the client software. I have no problems deleting Samba folders with files from Win XP, Vista and Linux clients.

    joew333,
    When you transfer large files, or many small files via FTP or Samba, your CPU usage will be high (1.00 or more) - there's nothing that can be done about that on these 200-240 MHz 16-32MB routers - they are not full-blown computers. Even when simply downloading large files from the Internet (no FTP or Samba involved), especially via wireless connection, you will see the high CPU usage. BTW I see no difference in processor usage between builds 8623 and 8632 when running FTP transfers on my Asus.

    anik,
    Search for "Optware" on this and other forums if you want ipkg. Since you're running VPN+USB mod, there's no space left for JFFS on your router (not even a single block, so the manual method Ray mentioned won't work anyway). If you need additional storage, use the USB drive(s) - that's what this mod is for!

    Pay87 & uf20wop,
    I don't know what's causing your printing problems. Did it work fine with 1.23? If so, and if you're willing to troubleshoot the issue, I'll try to find some time next week to make a test build for you.

    CsBubo,
    Certainly, support for QUERY_STRING is very easy to add, and will be there in the next build - don't know why I missed it initially ;).

    shibby20,
    smbfs.o is now included into extras.tar.gz (link is in the 1st post).

    bmx888,
    No, there's no space (not on 4MB routers) to include additional codepages. But read this post - the codepage 936 is available separately now.
     
  5. shibby20

    shibby20 Network Guru Member

    @teddy_bear thanks for module, but i have problem now.

    i tried mount my usb-landisk to asus wl500gp v2 (tomato 1,25 ND usb extra).
    http://www.mapower.com.tw/mapower/Product.asp?CateID=77&LineID=10 but my is for IDE harddisk. firmware v49b2, loader 69

    i found discussion on openwrt forum and solution but for openwrt.
    http://forum.openwrt.org/viewtopic.php?id=9500
    user rasputnik compiled smbfs module and smbmount and it works but not on tomato :(

    i installed your module without problem.
    Code:
    [root@groov root]$ insmod /jffs/smbfs.o
    [root@groov root]$ lsmod | grep smbfs
    
    smbfs 57040 0 (unused)
    [root@groov root]$
    i installed samba2 and when i tried mount a shared folder i got error
    Code:
    [root@groov root]$ smbmount //192.168.0.5/PUBLIC /cifs1 -o rw,guest
    Can't get /etc/mtab~ lock filesmbmnt failed: 1
    [root@groov root]$
    and result
    Code:
    [root@groov root]$ df
    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/root 3072 3072 0 100% /
    /dev/mtdblock/3 4224 448 3776 11% /jffs
    /dev/discs/disc0/part2
    1091020 188648 846948 18% /opt
    /dev/discs/disc0/part3
    75734076 34461516 37425396 48% /mmc
    df: /cifs1: Input/output error
    [root@groov root]$
    Code:
    [root@groov root]$ cat /etc/mtab
    rootfs / rootfs rw 0 0
    /dev/root / squashfs ro 0 0
    none /dev devfs rw 0 0
    /proc proc rw 0 0
    /tmp ramfs rw 0 0
    /dev/mtdblock/3 /jffs jffs rw,noatime,nodiratime 0 0
    usbdevfs /proc/bus/usb usbdevfs rw 0 0
    /dev/discs/disc0/part2 /opt ext2 rw 0 0
    /dev/discs/disc0/part3 /mmc ext2 rw 0 0
    //192.168.0.5/PUBLIC /cifs1 smbfs rw,uid=0,gid=0,file_mode=0755,dir_mode=0755 0 0
    [root@groov root]$
    Code:
    [root@groov root]$ cd /cifs1
    [root@groov /cifs1]$ ls
    ls: .: Stale NFS file handle
    [root@groov /cifs1]$
    can you (or somebody) help me? please :)
     
  6. bmx888

    bmx888 Addicted to LI Member

    I follow the instruction in the rar:
    1. copy files to usb drive under /cp936.
    2. Put these code into "After-mount" script:
    ln -s /mnt/disc0_1/cp936/codepage.936 /usr/share/codepage.936
    ln -s /mnt/disc0_1/cp936/unicode_map.936 /usr/share/unicode_map.936
    insmod /mnt/disc0_1/cp936/nls_cp936.o
    # the nls_gb2312 module is optional, and may not be needed
    insmod /mnt/disc0_1/cp936/nls_gb2312.o
    service samba restart

    I run these line by line in telnet 192.168.1.1 and it showed these are executable in telnet.

    the usb drive folder is under /tmp/mnt/disc0_1 under telnet. I can see the double byte character using telnet under the folder (but in weird charcter)

    I map "share" to "/mnt" in the Network Shares List


    3. I put in "Samba Custom Configuration" box:

    client code page = 936

    Then I unplug the usb drive and plug in again. still no files.

    Can you check what I am missing in these steps?
    Thanks a lot and have a nice weekend!



    bmx888,
    No, there's no space (not on 4MB routers) to include additional codepages. But read this post - the codepage 936 is available separately now.[/QUOTE]
     
  7. Pay87

    Pay87 Addicted to LI Member

    Yes with 1.23 I had no problem at all, thank you :)
     
  8. teddy_bear

    teddy_bear Network Guru Member

    Try using -n parameter:
    smbmount //192.168.0.5/PUBLIC /cifs1 -n -o rw,guest

    By the way, why can't you just use CIFS which is already built-in?
     
  9. teddy_bear

    teddy_bear Network Guru Member

    I see more than 30 downloads of cp936, and no other complains yet... Does it means it's working, or does it mean people just don't bother to post questions? I don't know...

    Anyway, to make sure everything went the right way, you can try the following checks:
    • Run lsmod. See if nls_cp936 shows up in the output.
    • Run cat /etc/smb.conf. See if "client code page = 936" is present in the [global] section, as well as "coding system = utf8" line.
    • Run ls -lFA /usr/share/ command. Verify that codepage.936 and unicode_map.936 show up in the output as valid symlinks.
     
  10. ghostknife

    ghostknife Addicted to LI Member

    Additional DDNS?

    Hi teddy_bear,

    I know there are a lot of DDNS available already but I have one I've used for years thats not in the list, any chance to add in www.DtDns.com?

    Currently I actually have it working using Custom URL so it's not really a problem I can't get around, just be nice if it was in the list I guess, the command I used is:

    https://www.dtdns.com/api/autodns.cfm?id=<domain.org>&pw=<PW>&client=tomato1.25ND@IP

    if that helps at all.

    Thanks.
     
  11. teddy_bear

    teddy_bear Network Guru Member

    Sign up for DNS-O-Matic service which is provided by OpenDNS. This will be the only DDNS service you'll ever need to configure in Tomato, you will set up all other DDNS services you use - as many as you want (and it supports DtDns as well) - in your DNS-O-Matic account.
     
  12. shibby20

    shibby20 Network Guru Member

  13. teddy_bear

    teddy_bear Network Guru Member

    shibby20,
    I don't have a lot of experience with smbfs... Do you have to use smbmount? Won't the regular "mount" command work, something like:

    mount -t smbfs -o username=user,password=pw //192.168.0.5/PUBLIC /cifs1

    If that doesn't work, I'll see later what I can do about compiling smbmount here...
     
  14. shibby20

    shibby20 Network Guru Member

    when i use mount -t smbfs, nothing is happening, no errors, no result or else.

    //edit
    in dmesg i`ve found

    smbfs: mount_data version 1936941424 is not supported
     
  15. bmx888

    bmx888 Addicted to LI Member

    I assume I should run putty telnet 192.168.1.1
    lsmod show nls_cp936 in output
    ls -lFA .usr/share : codepage.936 and unicode_map.936 show up in the output as valid symlinks
    cat /etc/smb.conf show "client code page = 936" is present in the [global] section, as well as "coding system = utf8" line.


    Should I restart router after load?

     
  16. bmx888

    bmx888 Addicted to LI Member

    restart router , it works!!!
    thanks teddybear!!
     
  17. shibby20

    shibby20 Network Guru Member

    @teddy_bear maybe this help

    Code:
    [root@groov root]$ smbmount //192.168.0.5/PUBLIC /cifs1 -o guest,debug=5
    mount.smbfs started (version 2.2.12)
    load_client_codepage: loading codepage 850.
    load_unicode_map: loading unicode map for codepage 850.
    load_unicode_map: loading unicode map for codepage ISO8859-1.
    added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
    Connecting to 192.168.0.5 at port 139
    socket option SO_KEEPALIVE = 0
    socket option SO_REUSEADDR = 0
    socket option SO_BROADCAST = 0
    socket option TCP_NODELAY = 1
    socket option IPTOS_LOWDELAY = 0
    socket option IPTOS_THROUGHPUT = 0
    socket option SO_SNDBUF = 16384
    socket option SO_RCVBUF = 43689
    socket option SO_SNDLOWAT = 1
    socket option SO_RCVLOWAT = 1
    socket option SO_SNDTIMEO = 0
    socket option SO_RCVTIMEO = 0
    Sent session request
    size=0
    smb_com=0x0
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=0
    smb_flg2=0
    smb_tid=0
    smb_pid=0
    smb_uid=0
    smb_mid=0
    smt_wct=0
    smb_bcc=0
    7001: session request ok
    size=77
    smb_com=0x72
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=1
    smb_tid=0
    smb_pid=7001
    smb_uid=0
    smb_mid=1
    smt_wct=17
    smb_vwv[0]=7 (0x7)
    smb_vwv[1]=258 (0x102)
    smb_vwv[2]=256 (0x100)
    smb_vwv[3]=16384 (0x4000)
    smb_vwv[4]=128 (0x80)
    smb_vwv[5]=65280 (0xFF00)
    smb_vwv[6]=255 (0xFF)
    smb_vwv[7]=0 (0x0)
    smb_vwv[8]=0 (0x0)
    smb_vwv[9]=1792 (0x700)
    smb_vwv[10]=2 (0x2)
    smb_vwv[11]=0 (0x0)
    smb_vwv[12]=0 (0x0)
    smb_vwv[13]=0 (0x0)
    smb_vwv[14]=0 (0x0)
    smb_vwv[15]=50176 (0xC400)
    smb_vwv[16]=2303 (0x8FF)
    smb_bcc=8
    size=77
    smb_com=0x72
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=1
    smb_tid=0
    smb_pid=7001
    smb_uid=0
    smb_mid=1
    smt_wct=17
    smb_vwv[0]=7 (0x7)
    smb_vwv[1]=258 (0x102)
    smb_vwv[2]=256 (0x100)
    smb_vwv[3]=16384 (0x4000)
    smb_vwv[4]=128 (0x80)
    smb_vwv[5]=65280 (0xFF00)
    smb_vwv[6]=255 (0xFF)
    smb_vwv[7]=0 (0x0)
    smb_vwv[8]=0 (0x0)
    smb_vwv[9]=1792 (0x700)
    smb_vwv[10]=2 (0x2)
    smb_vwv[11]=0 (0x0)
    smb_vwv[12]=0 (0x0)
    smb_vwv[13]=0 (0x0)
    smb_vwv[14]=0 (0x0)
    smb_vwv[15]=50176 (0xC400)
    smb_vwv[16]=2303 (0x8FF)
    smb_bcc=8
    size=41
    smb_com=0x73
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=1
    smb_tid=0
    smb_pid=7001
    smb_uid=0
    smb_mid=1
    smt_wct=3
    smb_vwv[0]=255 (0xFF)
    smb_vwv[1]=41 (0x29)
    smb_vwv[2]=0 (0x0)
    smb_bcc=0
    size=41
    smb_com=0x73
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=1
    smb_tid=0
    smb_pid=7001
    smb_uid=0
    smb_mid=1
    smt_wct=3
    smb_vwv[0]=255 (0xFF)
    smb_vwv[1]=41 (0x29)
    smb_vwv[2]=0 (0x0)
    smb_bcc=0
    7001: session setup ok
    size=44
    smb_com=0x75
    smb_rcls=0
    smb_reh=0
    smb_err=0
    smb_flg=136
    smb_flg2=1
    smb_tid=1
    smb_pid=7001
    smb_uid=0
    smb_mid=1
    smt_wct=3
    smb_vwv[0]=255 (0xFF)
    smb_vwv[1]=56 (0x38)
    smb_vwv[2]=1 (0x1)
    smb_bcc=3
    7001: tconx ok
    Can't get /etc/mtab~ lock filesmbmnt failed: 1
    [root@groov root]$
    
    how change location of mtab~ file :/
    -n parameter doesnt work.
     
  18. cyboc

    cyboc Network Guru Member

    This mod freaking kicks a$$. Thanks teddy bear.
     
  19. teddy_bear

    teddy_bear Network Guru Member

    shibby20,
    This is turning out to be more complex than just compiling smbfs.o, isn't it ;)?
    Since this is not something that everybody needs or wants, I'll tell you what...

    Here's the compiled smbmnt executable: smbmount.tar.gz (it's compiled from the samba sources in git, with added "-n" option). You're supposed to run smbmnt command (not smbmount). If it works for you - great. If not, you'll need to do your own research, and figure out why it's not working and what changes are needed to make it work. Then I'll be happy to apply your solution, and patch and recompile smbmount if needed.
     
  20. teddy_bear

    teddy_bear Network Guru Member

    Have you tried your printer with 1.25.8631 build, or only with 1.25.8632?
    By the way, what printer is it?
     
  21. shibby20

    shibby20 Network Guru Member

    @teddybear thanks for your help. but effect is the same. i doesnt get error during mount a shared folder but in df unfortunately i get error

    Code:
    [root@groov /]$ smbmnt /cifs1 -s //192.168.0.5/PUBLIC -n
    [root@groov /]$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/root                 3072      3072         0 100% /
    /dev/mtdblock/3           4224       448      3776  11% /jffs
    /dev/discs/disc0/part2
                           1091020    186692    848904  18% /opt
    /dev/discs/disc0/part3
                          75734076  34463580  37423332  48% /mmc
    df: /cifs1: Input/output error
    [root@groov /]$
    
    i have one more question...
    check this please http://banita.pl/konf/smbmapunix.html
    and tell me, are all options compile in kernel?
     
  22. pepe_lodz

    pepe_lodz Addicted to LI Member

    SAMBA problem !!

    I have on mu WL-500GPv2 firmware Tomato 1.25 8632 ND USB. In samba i haven't delete directory. I firts must delete FILES with directory and then i can delete DIRECTOR. This is BUG. Help me TEDDy Bear

    Sorry for my english
     
  23. shibby20

    shibby20 Network Guru Member

    i tried mount usb-landisk on debian and opensuse and i failed :p topic is over...
     
  24. edric25

    edric25 Addicted to LI Member

    does tomato 1.25 nd work with wl-500w? if yes, how do you install it. thanks!
     
  25. blackmack

    blackmack Addicted to LI Member

    After restart my USB flash does not automount. It's EXT2. Any suggestions?
     
  26. pandora

    pandora Addicted to LI Member

    TB or Ray,

    I am trying to use CIFS to access a shared Windows folder. It works with Windows Vista Home Premium. It doesn't seem to work with Windows XP Home. I have also had good luck getting it to work with Buffalo Tech Linkstation (both Live and Pro).

    Is there some trick to getting CIFS working with Windows XP Home?
     
  27. ray123

    ray123 LI Guru Member

    Nope, not on the router side. My /cifs1 points to a WIndows XP share, and /cifs2 points to a Linux share.
    Whenever I have problems, it always turned out to be a config or permission problem on the server side.

    Also.....if the server isn't up when the router boots, the cifs-mount program eventually gives up and stops retrying. When this happens, I either reboot the router or telnet in and do "mount-cifs -m" (or the other was round--I can never remember).

    Try looking at /var/log/messages to see what is being logged.
     
  28. pandora

    pandora Addicted to LI Member

    Ray,

    Thanks for the fast response. The following is my error log ...

    Jul 2 18:38:49 Tomato user.info mount-cifs[7099]: notice[cifs]: Mounting...
    Jul 2 18:38:49 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:38:51 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:38:53 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:38:55 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:38:57 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:38:59 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:01 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:03 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:05 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:07 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:09 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:11 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:13 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:15 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:17 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:19 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:21 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:23 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:25 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:27 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:29 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:31 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:33 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
    Jul 2 18:39:35 Tomato user.err kernel: CIFS VFS: cifs_mount failed w/return code = -12
     
  29. teddy_bear

    teddy_bear Network Guru Member

    pandora,
    "Return code = -12" could mean anything... It also can be related to permissions for XP Home shares - the behavior could be different from XP Pro that I'm using (never had a problem with CIFS mounting)...

    Can you access your XP Home share from other Windows and/or Linux boxes? If you get errors with other clients, you might see more descriptive error messages there...
    You can also try to increase CIFS debugging output by the following command:
    echo 1 > /proc/fs/cifs/cifsFYI
    After this you should see more messages in syslog - it may help with troubleshooting.
     
  30. tcsoft

    tcsoft Addicted to LI Member

    hi! i'm experiencing printing-troubles since several versions of this mod - still in 1.25 8632!
    when i'm printing serveral jobs e.g. 4 pdf-files in a row with several pages, the router hangs up and does not accept connection any more. then i have to replug the power-cable.

    my printer: samsung ml-1710p

    can anybody confirm this bad behaviour?

    thanks
    ingo
     
  31. teddy_bear

    teddy_bear Network Guru Member

    What is the 1st build you had thid problem with?
     
  32. shibby20

    shibby20 Network Guru Member

  33. tcsoft

    tcsoft Addicted to LI Member

    i can't remember, because i'm not printing that often. i think it has been always there since the first build of this mod.
    how does the printserver queue the jobs? maybe the printingqueue gets overloaded and lets the router crash or something like that.

    btw, asus wl-520gu
     
  34. teddy_bear

    teddy_bear Network Guru Member

    tcsoft,
    If it worked in 1.23, and only stopped working in 863x builds, I believe I may have a solution - there was a minor change on the USB driver level that broke printing support for at least one of the forum members here. That will be rolled back in the next build.

    However, you're saying it never worked for you, so your case is probably different. You can play with "Bidirectional copying" setting to see if it affects anything. You can also try using or not using a hub, or using a different hub. Also make sure you
    activate only one - either ohci or uhci - option for USB 1.1 support (IIRC for Asus routers it should be uhci). Better yet - only activate usb 2.0 unless 1.1 support is needed for your printer to work. Or you can try turning usb 2.0 support off, and ony use 1.1 - that's also an option even though not the best one...

    The printer server is non-spooling server, so it sends the data directly to the printer without maintaining any queue - as fast as it can after receiving the job data from your Windows machine.

    I'm using Brother HL-5240 with the same router as yours, and printed huge PDF documents without any issues whatsoever. There's no guarantee however that your printer will work perfectly - it's still an older linux kernel with the whole bunch of usb-related issues - some are addressed in this mod, and some are not...
     
  35. tcsoft

    tcsoft Addicted to LI Member

    yeah, i'll play with that. i've already thought about the usb-drivers beeing the devil.
    at the moment i always had both uhci and ohci enabled and usb2.0 disabled. my printer is a usb1.1 one, so i'll try usb 2.0 but not sure if it will work. yet i'm not using a hub. i'll give feedback when i've found the perfect settings.
    thanks teddy

    edit:
    for my asus wl-520gu it is OHCI (with uhci my printer doesnt show up).
     
  36. pepe_lodz

    pepe_lodz Addicted to LI Member

    teddy_bear did you can change name in Bandwitch>real time(last huors ...) from vlan1 , eth1,br0, eth0,imq0, imq1, vlan0 to something LAN, WAN, WIFI ....
     
  37. pandora

    pandora Addicted to LI Member

    Is there any way to have more than 256 IP's on my Tomato LAN? I'm wondering if there isn't a way to add up to 512 IP's on my LAN.

    I don't use 256, but I like to associate a range of 10 IP's per class of device. At some point in the not too distant future, I'll probably either need to merge some classes or with any luck figure out how to add 192.168.2.xxx to my current 192.168.1.xxx LAN.

    If there is an easy way to do this with the current TB Tomato, please let me know. TB if you don't mind a suggestion, a way to add multiple groups of 256 IP's up to a limit of 4 could be potentially helpful. My LAN is now nearing 50 devices, and I'm about to purchase 5 new PDA phones which will all need wireless IP's.

    Thanks!
     
  38. fyellin

    fyellin LI Guru Member

    I haven't tried it myself, but I don't think Tomato has any 256-IP limit. You just need to set the netmask correctly.

    If, for example, you set the netmask to 255.255.252.0, then your LAN could be 192.168.0.0 through 192.168.3.255. Note that there is no way to just get 192.168.1.0 - 192.168.2.255 because there is no netmask that includes just those 512 addresses, but not 192.168.0.* and 192.168.3.*.
     
  39. pandora

    pandora Addicted to LI Member

    Thumbs up to you! This seems to work!

    THANKS!!!
     
  40. shibby20

    shibby20 Network Guru Member

    @teddy_bear could you add to your tomato features from victek mod like arp binding or ip/mac bw limiter? i think that will be good idea.
     
  41. blackmack

    blackmack Addicted to LI Member

    I figured out if I set my connection to static IP, the flash drive does not automount at startup. Can you check this please.
     
  42. teddy_bear

    teddy_bear Network Guru Member

    shibby20,
    I don't have plans for such an addition... The ARP binding and IP limiter sources are in the git repository now, so maybe someone who really needs this combination and capable of working with git and compiling Tomato will make a custom build by merging branches in git.
    What is it about IP limiter that so many people want it? Why to set a fixed limit for your users - especially if it's a personal home network - instead of using QoS for smart bandwidth distribution?

    blackmack,
    You mean that you set your WAN connection type to Static IP? Please provide more details - the router model, and the system logs output. Does it work properly with any other connection type? Can you manually mount this drive? Does automount work later, after booting up, if you unplug and replug your drive? Have you tried to use another drive to see if it behaves differently?
     
  43. blackmack

    blackmack Addicted to LI Member

    Asus WL-520GU. Yes, when I set it to static. I tried also DHCP and automount works fine. It occurs only when I reboot or power off the router. If I unplug and plug the flash drive it works. It worked fine with 1.23. I also cleared and reseted the router, NVRAM. Nothing helps.

    Here's the log after reboot.

     
  44. ray123

    ray123 LI Guru Member

    QOS is a little bit hard to get set up properly. It would be really nice if somebody would make a write-up of the step-by-step steps to take. Or post a link to a write-up, if one already exists.
     
  45. mrap

    mrap Addicted to LI Member

    I believe Toastman has a very good post (series of posts?). Search for QOS posts by Toastman. IIRC, he has it in his signature too.
     
  46. teddy_bear

    teddy_bear Network Guru Member

    Interesting and very strange...
    When drive does not automount at startup, can you still get to the "USB Support" page of the Web GUI, or is it locked?
    Have you tried the workaround from this post (usb_nolock)?

    If it's really static connection type that is causing this, then at least it's a hint of what to look into...
     
  47. blackmack

    blackmack Addicted to LI Member

    Yes, I can access USB page and mount it manually. I tried everything an finnaly found out when I set connection to static in does not automount at startup. When I set it up again to DHCP automount at startup works again.
     
  48. blackmack

    blackmack Addicted to LI Member

    Solution from the post worked!
     
  49. pandora

    pandora Addicted to LI Member

    Hi Teddy Bear,
    I broke down and installed my first copy of Linux in over a decade. My last version was a Red Hat CD with book that cost I think $50.

    Currently I've installed Fedora 11, and selected the desktop and developer install options. I was able to use git to download and take a look at your wonderful USB fork of Tomato.

    I can see what looks like some of your work, and can't help but both be impressed and feel some awe. I don't at this time understand make, but it appears you've got it down.

    My Fedora GUI makes it easy to look at, or even run the makefiles. I'm also able to read a lot of the stuff which isn't binary. Even looking at the various folders to get a sense of structure was enlightening.

    I download to a directory called test, and tried to make, but it didn't seem to create a binary. Would you mind telling me in what folder I should be, and what command I should type, to attempt to create a complete package? I see letters a,b,c .. for different versions, but don't know what command or what folder to be in to launch the make.

    My goal at the moment is just to duplicate the end process of creating the binary, using the clone of your git input. I am not certain, but it seems my GCC isn't happy with cross compile options being used. Is there a particular kit / package which must be installed for cross compiling onto my Linux PC.

    Thanks in advance for your help.
     
  50. teddy_bear

    teddy_bear Network Guru Member

    pandora,
    Download original Tomato sources, and read the README file there. It has the instructions on how to compile it. Skip the part that says what files to remove, what to extract from source archive since it's all done after you get sources from git, but you'll still need to create a symlink in /opt to tools/brcm, and change the system PATH.
    After that you should be able to run make from tomato/release/src/ directory.

    To compile USB mod, you need to check out tomato-ND-USBmod git branch.

    When compiling this mod you can also specify the version number, and what configurations to build by using make parameters:
    make V1=8632 V2="whatever" m a d c
    with letters at the end indicating configurations to build:
    m - Extras
    a - Standard
    d - Lite
    c - No CIFS
     
  51. ghostknife

    ghostknife Addicted to LI Member

    teddy_bear
    I don't know about other countries or where you are located but the reason in Australia is that every ISP has capped data limit. A lot of peoples housemates (and teenagers) can't, it seems, be trusted to play nice and use up all the data and get the accounts throttled to 64kbps before the month end. So thats 1 reason why.
    Many people are now testing Gargoyle to solve this problem. Luckily I don't have the problem of greedy house mate or I would have to use it too, but would way prefer Tomato if it had the same function.

    Cheers.
     
  52. ghostknife

    ghostknife Addicted to LI Member

    HDD spindown

    I think this is somewhere in the last 96 pages but maybe someone just knows.

    So I just added a usb hub and printer and now the external HDD won't shut itself down, vaguely recall a fix for this but not sure?
    It has always been fine until the hub/printer
     
  53. InsaneNutter

    InsaneNutter Addicted to LI Member

    Ill second that, torrent support would be a very welcome addition and would defiantly help save on the electric bill if the router could download for me :D
     
  54. ray123

    ray123 LI Guru Member

    Guys, guys, slow down. ;-)

    First off, you can manually install ipkg's yourself.

    Second, most of these routers will be *extremely* restricted in the ability to download torrents. There's just not a lot of free memory available for the massive requirements of bittorrent clients. Nor is there a lot of available CPU power. There's no on-board space to store the downloaded stuff, but that can be worked around by adding external USB storage. (The same place that you'd have to install the bittorrent program to.)

    I don't know what the load (cpu & memory) of torrents vs. webcam are, but the Tomato webcam package I put up works very poorly at best. Mostly, it is not usable. It has a tendency to cause the router to lock up when capturing frames, due to memory requirements.

    Nevertheless, don't let me dissuade you from trying it. But I'd suggest that you do as much as you can yourself, first. Then write up a set in instructions on the steps to install it and set it up.
     
  55. anik

    anik Addicted to LI Member

    But how do you do that when using Teddy Bear's firmware, the subject of this thread?
     
  56. teddy_bear

    teddy_bear Network Guru Member

    Optware.
     
  57. ray123

    ray123 LI Guru Member

    Google is your friend.

    http://www.oesf.org/forum/index.php?showtopic=10212

    http://bok.xs4all.nl/weblog/archive/2007/05/15/tomato-for-wrt54-eight-months-later/

    http://buffalo.nas-central.org/wiki...ipkg_package_management_system_(for_end-users)

    or just install ipkg yourself and then use it to install ipk's.
    http://buffalo.nas-central.org/wiki/Ipkg_on_the_Linkstation_(for_end-users)

    More later....
     
  58. anik

    anik Addicted to LI Member

    Thanks. I keep forgetting that this router doesn't have an extra firmware space left, so it would be impossible to install anything that persists across reboots anyway (since at the moment there's no external storage attached).
     
  59. teddy_bear

    teddy_bear Network Guru Member

    It is possible. You just need to use the external storage, i.e. the USB flash or HDD drive. The software you're going to install and run will use the router' resources though, and of course the amount of available memory and processor power restrict what software you can use. Most of the Optware (again, see the Optware links in the first post) packages however, can run on these routers - it all depends on how busy your network is, and what and how many different software applications you're going to run at the same time.

    For example, I have no issues running Asterisk (with only core functionality enabled) and sane backend on wl-520gu (only 16 MB RAM) which serves the 5-10 clients network. I have not tried to run torrents, but I know people were successful doing that as well. But, as Ray mentioned above, the webcam software is practically unusable because of the memory requirement, and the same is true for voicemail and speech Asterisk modules.

    The bottom line is that you can expand the router' functionality by installing additional software with low hardware requirements, and as long as you have an extra USB storage and configured it correctly, it will survive the reboots and shutdowns. You just need to keep in mind the hardware limitations, and don't expect miracles.
     
  60. ray123

    ray123 LI Guru Member

    Installing a bittorrent client

    Well, there's good news and bad news.

    The good news is that I can install a bittorrent client and it has an inclination to work.

    The bad news is that the router has a tendency to lock up. I told you that these machines are not powerful enough to use as a real computer!

    The other good news is that I have written a set of instructions on how to install ipkg on Tomato and how to get it running to install & use optware packages.
    Download that document here:

    http://www.mediafire.com/?sharekey=bf1c9182f9b6217d75a4fc82078ae6c8e04e75f6e8ebb871
     
  61. thezerox

    thezerox Guest

    Hi!

    Could anyone confirm if OpenVPN works with the tomato-1.25-ND-USB-8632-vpn3.3 mod on wl-500gP v2? When I want to start the vpn server, the router doesn't respond anymore and I have to replug the router.

    Thanks.
     
  62. CsBubo

    CsBubo Addicted to LI Member

    IP/MAC limiter

    Hello Everyone who's interested in ip/mac limiting.
    Use below WRT54 Script Generator:

    http://www.robsonn.user.icpnet.pl/generator.zip

    disable built in QoS and have fun.
    It's mentioned on Tomato's Wikibooks entry as well.
    Hope this helps!
     
  63. ghostknife

    ghostknife Addicted to LI Member

    I read the changelog but I'm unsure if this provides a download data limit, lots of rate/bandwidth/shaping options, not clear on the data limit.
    Do you know can it set say PC1 total data limit 5gb and PC2 limit 15gb (per month)?
    Does it add extra GUI pages to Tomato?

    Thanks
     
  64. schwung

    schwung Addicted to LI Member

    Answer for both questions: No

    1. By using this application you can generate script which will be able to limit speed of downloading or uploading per IP, port, MAC and some more. It is working very similar to IP/MAC limiter from Victek mod or similar.
    2. You have to copy generated script into "Administrations>Scripts>Firewall and reboot router.

    P.S. AFAIR There is a bug in this software - limit UDP/s connections is not working properly.
     
  65. CsBubo

    CsBubo Addicted to LI Member

    Sorry, I misunderstood Your requirements. You'd like limit overall data move, not speed. For this I don't think You'd have a good solution, since IP/MAC can be changed quiet easy and there's not much other options to identify the connected clients. Mentioning "IP/MAC limiting" in this case a bit misleading. I think this kind of control, You can only have on the PC itself.
    Might be a solution for wired clients, to have vlans configured, and also monitor the amount from the collected data from Tomato's gui/saved bandwindth via cron scheduled script.
     
  66. Aquafire

    Aquafire LI Guru Member

    Any luck in using a USB Webcam as standalone IP camera on router USB port

    Hello,

    Well I am also interested in using a USB Webcam as a standalone IP Camera connected to Linksys WRTSL54GS router with Tomato version 1.25

    Since you are the only one striving for the same I have to ask you that did you get anymore success. Were you able to configure and view it properly. A guide or how-to about it would be appreciated.

    I have motion pan and tilt creative LiveMotion CAM, which has its own software for motion control via arrow keys. I was wondering if it could be connected to the router on USB and then can be controlled via some sort of browser based Java controls.

    Dont worry about public weeping, statues are erected and legends are only remembered for ones who took initiative and stood up , not the ones who created fuss about it :).

    Would be nice to hear from you.
     
  67. ray123

    ray123 LI Guru Member

    No, no further success on webcams. I think that it just requires too much RAM for capturing the frames. As I mentioned, my router kept locking up and I had to pull power to reset it. Another problem is the driver. You have to get a camera that is supported by the driver I mentioned. Unfortunately, most new webcams are UVC, and the Linux UVC support didn't come in until kernel 2.6.18. The developers said that they would NOT consider backporting it to 2.4. So we're outa luck there, too.

    Update on IPKG & rtorrent:
    It's passing strange. My router got crammed sideways when I accidently unplugged the power to my external USB harddrive, so I had to reboot it. In doing so I decided to move the swapfile and /opt from the CF card to the harddrive. I got tired of having to pull the power on my router when it got locked up (and the reboot command wouldn't work), so I enabled & set up the Linux software watchdog timer---hoping that would take care of that issue.

    Now, I can't make it lock up. Previously, doing cp -a of a 30MB directory from the CF to the drive would lock it up. Now it works fine.

    Also, rtorrent is chugging along just fine. Even works ok when I also have utorrent running on my Windows box. It *is* necessary to have a large swapfile, though. I put a 10MB swapfile on the drive. Free reports that about 5MB of it is in use.
    Overnight, rtorrent on the WL-520GU downloaded about 1.5GB.

    If there is more interest, I'll post an update of the rtorrent.conf file. They changed things in ver 8.4 and didn't bother to update any of the documentation.
     
  68. pandora

    pandora Addicted to LI Member

    Teddy Bear, Ray,

    I switched to Comcast business service. That came with an SMC 8014 integrated modem / router and put my router behind the NAT of the 8014 cable modem.

    To get around this I ordered a SB6120, which Comcast configured and then replaced my SMC 8014. At first I was getting speedtests at dslreports of about 9MB down. Which was about normal for my Comcast HSI settings. After a few hours the speeds significantly declined (to under 2MB down). Upload speeds were unaffected.

    Previously I had a QOS issue, and thought this could be QOS. To test, I turned QOS off. Reset the modem and router, but the speed stayed under 2MB.

    I directly connected my nearest PC to the cable modem to see if it was a Comcast / Modem issue or the router. My download speeds went from 2MB to 12MB which is normal. I wanted to tinker with a Linksys WRT610N, and had it unopened. It seemed reasonable to see if the WRT610N would work better than my WRTSL54GS with your last 1.23 firmware. It does, my download speeds are now comparable to being directly connected with the WRT610N.

    I see the WRT610N supports USB devices, but doesn't seem to have Samba (it supports media server and FTP as best I understand by reading the set up screens).

    Recently my entire LAN has been upgraded from fast ethernet to gigabit ethernet. The choke point was the router and cable modem. While the new cable modem supports gigabit connections, its speed is still much slower than fast ethernet due to my purchased speeds.

    I'm wondering if anyone has experienced problems with gigabit configurations and the Teddy Bear firmware? I'm also wondering if you have any suggestions on things to try to get speed back up?

    I prefer the Teddy Bear firmware and would like to continue using it. Is anyone working on migrating your firmware to a WRT610N?

    Thanks
     
  69. occamsrazor

    occamsrazor Network Guru Member

    ray123 & aquafire... I'm also interested in the webcam possibility, though from what you say it sounds tricky. And I'd also be interested in a working torrent module. Can't really help you, but just to say there is interest out there :)
     
  70. hapahopi

    hapahopi Addicted to LI Member

    count me in as one of those with interest in a working torrent module. sorry for being a noob but explicit instructions on how to get this going is highly appreciated.

    Asus WL-500GPv2 running Thor's All-in-One mod USB/NAS/FTP/SDHC/VPN/SNMP
     
  71. ghostknife

    ghostknife Addicted to LI Member

    500gpV2

    Slightly unrelated to tomato this question but has anybody purchased a 500gpV2 recently?
    Reason being last time I looked at getting one which was prob a month ago they were about AU$120 here but I just found them available at many online stores for the same price as the 500GU, AU$54 was cheapest. Thats a 55% reduction!
    So have they downgraded the hardware (seems unlikely) and dropped the price or something or do they still have 8mb/32mb?

    If still the same they just became a bargain as far as I can tell and i'll be out asap to get a few.
     
  72. Toink

    Toink Network Guru Member

    Lucky you! The WL-500gP v2 is hardly available now in my country....
     
  73. hapahopi

    hapahopi Addicted to LI Member

    got a WL-500gP v2 last month at Newegg for $69.99. my guess is they're bringing the price down since they will release the new Asus RT-N16 (32ROM and 128RAM).
     
  74. Toastman

    Toastman Super Moderator Staff Member Member

    It's almost disappeared in Thailand too. Grab them while you can. The hardware hasn't changed. I'm really looking forward to the new models, hoping that Tomato is a possibility.
     
  75. fooker

    fooker Addicted to LI Member

    Hate to post the question, but i haven't seen so much the answer to it in all that i've read (haven't read everything). Question is, is it necessary to flash to dd-wrt before you flash to tomato or can you just flash directly to tomato? I'll be getting the wl-500gP V2 this week sometime and plan to flash to tomato right away and would rather skip things if they aren't needed (ie flashing dd-wrt just to turn around and flash with tomato).
     
  76. Toastman

    Toastman Super Moderator Staff Member Member

    Flash directly to tomato, erase NVRAM - ahhhh sorry - a WL500gP? Someone better confirm, I've forgotten...
     
  77. i1135t

    i1135t Network Guru Member

    Yes, a direct flash is fine. I did find out that tftp didn't work for me, so I had to use the Asus firmware restoration utility to flash the file. You will have to put the router in "ready to flash" mode, by holding down the reset button before plugging in the power cord and continue to hold for about a couple of seconds, after plugging in the power cord. When the power led light is flashing, it's ready to be flashed through the utility.
     
  78. fooker

    fooker Addicted to LI Member

    Thanks for that info. It seemed sorta.... stupid to have to flash dd-wrt to flash tomato. Considering how similar they are in regards to them being a 3rd party firmware and all.
     
  79. pandora

    pandora Addicted to LI Member

    TB, Ray,

    Is it possible to add support for the Linksys WRT610N? I think it uses a newer CPU. It also has 2 wireless interfaces. I really like my new WRT610N for its speed, but miss the capability of the wonderful Tomato firmware you've produced. I don't currently need N. I miss the interface and the enhanced access restriction capabilities.
     
  80. fooker

    fooker Addicted to LI Member

    Oh, one more thing. Will i have to change the file extention to .bin from .trx?
     
  81. fyellin

    fyellin LI Guru Member

    Have you looked at the WikiBooks entry on Tomato? It gives pretty detailed instructions for flashing this device.
     
  82. fooker

    fooker Addicted to LI Member

    I've read that, and the other one that says you need to flash dd-wrt before you flash tomato. One you said doesn't say you need to, the other one does. That's why i'm asking. 2 sources conflict with each other.
     
  83. fyellin

    fyellin LI Guru Member

    In general, what seems to happen is that the first person does the simple and safe thing, which is to install DD-WRT first and then to install Tomato on top of it. Some braver soul then tries to install Tomato directly and either succeeds or fails.

    Installing DD-WRT first is definitely safer, since by now lots of people have done each step of the flashing. Installing Tomato directly is faster, but possibly less well tested under every possible configuration. Take your pick.
     
  84. ghostknife

    ghostknife Addicted to LI Member

    When I first flashed my 520gu I tried to go straight to Tomato and it died and didn't work. I had to go back to ASUS FW and then to DDWRT and then to Tomato, was kind of a pain.
    Router was not harmed I just had a bit of problem with TFTP and ended up trying several versions of the ASUS restore utility only one of which would work, I think it was the one on the CD it came with. Later versions on ASUS website or elsewhere on net didn't work.
    So in answer to your question I think it's kind of pot-luck which one works for you.
     
  85. fooker

    fooker Addicted to LI Member

    So what's the verdict then on a WL-500GP V2? DD-wrt then tomato or straight to tomato? Never got an answer about having to rename the extension from a trx to a bin or the actual name of the file itself.
     
  86. fyellin

    fyellin LI Guru Member

    If you go DD-WRT -> Tomato, you definitely don't have to do any sort of rename. DD-WRT just doesn't care, and neither does Tomato.

    As to your other question. Well at least one person has been successful and one person has failed. Do you feel lucky?
     
  87. asterger

    asterger Network Guru Member

    Tomato 1.25 ND USB+FTP/Samba Mod Utilize NTFS?

    I have USB sticks formatted as NTFS. Can I use the latest TB Mod to serve NTFS files via FTP and Samba?

    Thanks,

    asterger
     
  88. fooker

    fooker Addicted to LI Member

    Thanks mate for answering. Not sure if i feel lucky, but my karma as of late has been with me, better not push it. If i do try it and it doesn't work, i can still flash back to the asus firmware right?

    Unless something has been done after the posts i've read upto, there is no support for ntfs usb sticks for our routers with tomato on them.
     
  89. hapahopi

    hapahopi Addicted to LI Member

    i flashed my wl500gpv2 from asus stock firmware straight to tomato and had no problem. just use the asus restoration tool.
     
  90. fooker

    fooker Addicted to LI Member

    Did you rename the file or it's extension at all? Just curious, want to get this all nailed down before i get home and mess with the router (which should be at my door by now waiting for me to get home).
     
  91. hapahopi

    hapahopi Addicted to LI Member

    No, didn't need to. The asus restoration tool will accept either .trx or .bin.
     
  92. fooker

    fooker Addicted to LI Member

    Thanks. Flashed it just fine directly to tomato. No dd-wrt needed. So far so good with the router, just need to get a usb drive to plug into it to use for the logs.
     
  93. zcream

    zcream Addicted to LI Member

    Multiple printers on Asus WL-520GU

    How would you connect multiple printers or MFCs to the Asus ? When I connect a Brother HL-2140 laser printer and a Lexmark x2630, it only recognizes the Brother HL-2140.

    Also, the printer is installed on the PCs on an IP port, with the IP address of the Asus. If multiple devices are connected (and somehow recognized), how you assign them different port address ? Or different addresses on the same port ?
     
  94. exec

    exec Guest

    Another codepage support?


    Teddy,

    How about codepage 949? Can I get anything like smbd_cp949.rar ??
     
  95. WayF1nder

    WayF1nder Addicted to LI Member

  96. kastytis75

    kastytis75 Addicted to LI Member

    Hello,
    I have problems again when I'm testing FTP using NAS

    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "PASV"
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "227 Entering Passive Mode (192,168,1,1,139,68)."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "APPE iR6000_5000_4600N_UG_LTH.pdf"
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "150 Ok to send data."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "451 Failure writing to local file."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FAIL UPLOAD: Client "192.168.1.8", "/laikinas/iR6000_5000_4600N_UG_LTH.pdf", 24820 bytes, 242.38Kbyte/sec
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "PASV"
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "227 Entering Passive Mode (192,168,1,1,53,146)."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "LIST"
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "150 Here comes the directory listing."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "226 Directory send OK."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "PASV"
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "227 Entering Passive Mode (192,168,1,1,180,16)."
    Aug 5 09:35:22 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "APPE iR6000_5000_4600N_UG_LTH.pdf"
    Aug 5 09:35:22 unkAug 5 09:35:59 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "150 Ok to send data."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "451 Failure writing to local file."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FAIL UPLOAD: Client "192.168.1.8", "/laikinas/iR6000_5000_4600N_UG_LTH.pdf", 7229920 bytes, 70604.69Kbyte/sec
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "PASV"
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "227 Entering Passive Mode (192,168,1,1,126,225)."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "LIST"
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "150 Here comes the directory listing."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "226 Directory send OK."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "PASV"
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "227 Entering Passive Mode (192,168,1,1,136,5)."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP command: Client "192.168.1.8", "APPE iR6000_5000_4600N_UG_LTH.pdf"
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "150 Ok to send data."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FTP response: Client "192.168.1.8", "451 Failure writing to local file."
    Aug 5 09:36:07 unknown ftp.info vsftpd[5553]: [Kastytis] FAIL UPLOAD: Client "192.168.1.8", "/laikinas/iR6000_5000_4600N_UG_LTH.pdf", 4380 bytes, 42.77Kbyte/sec

    can't put file on it "451 Failure writing to local file." after some time....file is only 12MB size
     
  97. ghostknife

    ghostknife Addicted to LI Member

    I have no experience with that one to share with you, but it works with DD-WRT so I see no reason why not. http://www.dd-wrt.com/phpBB2/viewtopic.php?t=38736

    Found this guide, you need to use TFTP
    http://www.shadowandy.net/2008/06/flashing-guide-for-dir-320.htm#more-1987

    From the comments it seems to be a bit tricky and more success with doing it in ubuntu/linux than in windows but it should work. You could try using the ASUS WL-520gu restore utility (from Asus web site) which is just TFTP program instead of the windows cmd line version, maybe it is better

    Good Luck.

    -------
    0. power on your dir320;
    1. plug into LAN1 (PC is 192.168.0.xx );
    2. tftp -i 192.168.0.1 PUT firmware.bin
    3. shortly disconnect power (~0,5sec) and plud DC jack back.
    4. when link comes up, pres ENTER
    quick, frequent flashing light shows, that softw is uploading;
    5. WAIT!!! for some minutes, until SSID dd-wrt comes visible.Reconfigure PC’s IP and
    -------
    I managed to flash my DIR-320! I found I have to start tftp just after router flashes all lights. I also powered the router using a power extension cord with a power switch. This way it was easier to turn off/on the router fast enough.
    -------
     
  98. WayF1nder

    WayF1nder Addicted to LI Member

    Thanks ghostknife! I know about DD-WRT, and i tried this firmware on an another router. Unfortunately, DD-WRT has broken QOS. At least, it can't shape traffic equally between some users, or arrange priorities between bittorrent, skype, aim, etc. This problem of DD-WRT was reported on some forums, but it still not fixed till now.
    So Tomato - this is the only i am interested in.
     
  99. dkoren

    dkoren Addicted to LI Member

    Does somebody know if the problem with the clock being off at ASUS w520gu has been solved ? Is there any specific setting for that ? It is about 10 minutes off each hour with the latest version of this tomato mod.
     
  100. ray123

    ray123 LI Guru Member

    The clock drift on the w520gu is large, and extremely variable. The drift is large when it is idle. When you start running traffic, such as a bittorrent on your Windows box, the drift is 6 or 7 times larger.

    Before I went on vacation I was working on getting a trimmed down version of ntpd up and running. Problem is, full ntpd is very large---mucj too large to be acceptable on this router.

    I'm working to see if I can get a reasonably accurate--but SMALL--version of an ntpd-lite created. It was mostly working, but then I got sidetracked on getting a torrent client working. Hopefully I can get back to ntp-lite pretty soon.

    In the meantime, just configure your router to update the time every hour.
     

Share This Page