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

My utilities web site revived

Discussion in 'Tomato Firmware' started by rhester72, Apr 10, 2010.

  1. trevorw

    trevorw LI Guru Member

    Rodney, I just tried atop (from the PRECOMPILED_STATIC folder) but it doesn't seem to be working. On my K26-EXT, RT-N16 I get:

    activate process accounting: Function not implemented
    warning: no process exit detection!
    Error opening terminal: vt100.

    What am I missing?
     
  2. rhester72

    rhester72 Network Guru Member

    ncurses uses the standard terminfo database and termcaps if available, with fallbacks to xterm and xterm-color if not. I did not compile vt100 fallback support into ncurses because it seemed that most were using xterm-compatible terminals.

    I've recompiled ncurses (and all dependent static applications, including atop) with vt100 fallback. You can set your terminal type to xterm, install the terminfo database, or redownload atop and things should be better.

    Rodney
     
  3. trevorw

    trevorw LI Guru Member

    It works! Thanks for the fast turnaround - I should look on what it takes to install the terminfo.

    By the way, would it be possible to have an archive with all the utilities in there - so much easier to download especially since things get updated so fast.

    Keep up the good work!
     
  4. rhester72

    rhester72 Network Guru Member

    I assumed anyone interested in a "complete" set of utilities would be using something like wget to mirror the PRECOMPILED or PRECOMPILED-static directories so they wouldn't have to individually download each binary.

    That having been said, I've now set up the mirror job to create and mirror PRECOMPILED.tar.gz and PRECOMPILED-static.tar.gz for those who are interested (I believe this is what you were asking for, please clarify if I am mistaken).

    Rodney
     
  5. fubdap

    fubdap Addicted to LI Member

    Screenshots of Utilities

    Hi all,
    Sorry if this question has been asked before. I did a quick search and found one or two screenshots.
    Is it possible for some members to post screenshots of how these utilities look like when installed? This will spark more interest and help someone like me and others who are "visual" to appreciate these utilities. Thanks.
     
  6. trevorw

    trevorw LI Guru Member

    Thanks Rodney - that's exactly what I meant. I've used ftp to download all the files in one go but since for each file, a new request is made, the download speed isn't great.

    As for fubdap request, I second that though making a screenshot can be too problematic, it would be helpful to have some sort of list of the utils and how they are used. Surely the information can be looked on the internet but is much more useful to get first hand experience from the ones already using them.

    Thanks again!
     
  7. rhester72

    rhester72 Network Guru Member

    I'll see what I can do about at least providing a brief description of each (and their function), though obviously the documentation bundled with each as originally supplied with the source package will provide much more depth.

    Rodney
     
  8. TrueDis

    TrueDis Networkin' Nut Member

    I can't for the life of me get moblock to work. I'm using your ipq version along with the ip_queue precompiled module for K2.6 but it seems that when it writes the iptables it just shuts off all new connections to the router, even from my LAN. Any idea why that would be? All I did was configure the paths in the shellscript (to my JFFS) and let it rip. I even just tried with an empty blocklist and it still hoses all incoming connections.
     
  9. rhester72

    rhester72 Network Guru Member

    Not sure, honestly - what does your iptables list look like after you run it?

    Rodney
     
  10. TrueDis

    TrueDis Networkin' Nut Member

    Code:
    Chain INPUT (policy DROP)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            
    MOBLOCK_IN  all  --  anywhere             anywhere            state NEW 
    DROP       all  --  anywhere             76.90.137.158       
    DROP       all  --  anywhere             anywhere            state INVALID 
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    ACCEPT     all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            
    ACCEPT     udp  --  anywhere             anywhere            udp spt:bootps dpt:bootpc 
    
    Chain FORWARD (policy DROP)
    target     prot opt source               destination         
    MOBLOCK_FW  all  --  anywhere             anywhere            state NEW 
    ACCEPT     all  --  anywhere             anywhere            
    DROP       all  --  anywhere             anywhere            state INVALID 
    TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU 
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    wanin      all  --  anywhere             anywhere            
    wanout     all  --  anywhere             anywhere            
    ACCEPT     all  --  anywhere             anywhere            
    upnp       all  --  anywhere             anywhere            
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            
    MOBLOCK_OUT  all  --  anywhere             anywhere            state NEW 
    
    Chain MOBLOCK_FW (1 references)
    target     prot opt source               destination         
    QUEUE      all  --  anywhere             anywhere            
    
    Chain MOBLOCK_IN (1 references)
    target     prot opt source               destination         
    QUEUE      all  --  anywhere             anywhere            
    
    Chain MOBLOCK_OUT (1 references)
    target     prot opt source               destination         
    QUEUE      all  --  anywhere             anywhere            
    
    Chain upnp (1 references)
    target     prot opt source               destination         
    ACCEPT     udp  --  anywhere             dayman              udp dpt:53095 
    
    Chain wanin (1 references)
    target     prot opt source               destination         
    
    Chain wanout (1 references)
    target     prot opt source               destination
     
  11. rhester72

    rhester72 Network Guru Member

    The tables look OK - it would seem likely that moblock is the issue here, but I'm not quite sure why (I honestly have never used it). Hopefully someone else with more experience with it can jump in, I believe there are at least a couple Tomato folks that have used it successfully based on forum posts.

    Rodney
     
  12. TrueDis

    TrueDis Networkin' Nut Member

    Have you heard of the successor to Moblock, PGL? http://moblock-deb.sourceforge.net/
    It's supposed to use less resources than Moblock, which segfaults half the time I start it anyway, and the other half of the time hoses my router.
     
  13. SolidCactus

    SolidCactus Networkin' Nut Member

    Hi Rodney,

    As TrueDis mentioned above would it be possible to try and compile pgl, sucessor to moblock:

    http://moblock-deb.sourceforge.net/


    This would be an awesome program to get up and running on my router.

    Thanks,
    SolidCactus
     
  14. rhester72

    rhester72 Network Guru Member

    pgl is kind of a pain in the butt to compile, but I'm working on it...no guarantees it will work any better/more stably than moblock!

    Rodney
     
  15. rhester72

    rhester72 Network Guru Member

    pgld up as dynamic and static, but *completely untested*. Let me know how it goes.

    Rodney
     
  16. rhester72

    rhester72 Network Guru Member

    I couldn't help myself. rogue 5.4.4 (the *original* Rogue, not a clone) up as an interesting holiday distraction. Boredom occasionally produces wonders. :)

    Rodney
     
  17. phuque99

    phuque99 LI Guru Member

    Is it possible to link some of your precompiled binaries as part of the original tomato firmware? I have the environment setup to compile my own customized firmware. Please do provide pointers if it is possible to link them as part of the firmware file system.
     
  18. mstombs

    mstombs Network Guru Member

    One way to include prebuilt binaries is to copy them into the "src/router/prebuilt" folder then edit the makefile there to add them to the filesystem in the same manner as the binary blob "nas", for example

    Code:
    install -m 0755 nas $(INSTALLDIR)/usr/sbin/nas
    But do keep a copy outside the git tree - your changes will often be over-ridden when you update sources from git.
     
  19. psychowood

    psychowood LI Guru Member

    First of all, thanks for all the compilation efforts :)

    Can someone tell me how to run a daemon on my tomatoed WRT54GL? I want to start it manually via ssh and keep it running when I log out, but whatever I try (nohup, background job, background shell) the process is terminated when I close the shell...

    I used some of the utilities on your site, but the result is always the same.
     
  20. rhester72

    rhester72 Network Guru Member

    For those who need dig, it's on the site.

    For those who wonder why *I* needed dig, see my signature update.

    I would love to promise this will be the last name change, ever...but Murphy is with me. The redirects should last about six months for the old URLs.

    The good news: A _10 second_ TTL means that if/when I lose connectivity and my ISP gives me yet another new IPv4, you'll know the new IP almost as soon as I do (versus the hour-or-more downtime in the past). Continued IPv6 goodness doesn't hurt, either.

    Rodney
     
  21. TrueDis

    TrueDis Networkin' Nut Member

    Rodney,
    Thanks for compiling pgld. I just got around to testing it. It required the nfnetlink_queue module from your site and started up with no errors but didn't seem to block anything based on the ipfilter logs or the pgld logs. I gave up at that point because I can't find much in the way of documentation for pgld.

    Anyone else have better luck with pgld?
     
  22. kennyj

    kennyj Addicted to LI Member

    I was curious about finally trying out your build of tinyproxy, if it's still up. But your site appears to be down! Or is it just me?
     
  23. rhester72

    rhester72 Network Guru Member

    Ouch!

    Had a big old bug in my custom dyndns script for minidns that affected IPv4 - sorry about that! Let me know if you have further issues.

    Rodney
     
  24. kennyj

    kennyj Addicted to LI Member

    Looks good now! Thanks!
     
  25. rs232

    rs232 Network Guru Member

    Is there any utility in your collection that does reverse proxy? What I'm looking to do is to have 2 internal webserver (https) responding on the very same WAN TCP port (443) using host headers to decide the correct LAN IP to redirect the packets to.

    Any thought?

    Thanks!
     
  26. mstombs

    mstombs Network Guru Member

    Have a look at "Pound"
     
  27. Aiko

    Aiko Networkin' Nut Member

  28. onehomelist

    onehomelist Addicted to LI Member

  29. rhester72

    rhester72 Network Guru Member

    Good idea. Added.

    Rodney
     
  30. onehomelist

    onehomelist Addicted to LI Member

  31. rs232

    rs232 Network Guru Member

  32. rs232

    rs232 Network Guru Member

    Why do I get errors running iptraf btw?

    Code:
    Warning: unable to tag this process
    Press Enter to continue.
    Code:
     Warning: unable to lock IP traffic monitor on (null)               │
                          │ Press a key to continue    
     
  33. rhester72

    rhester72 Network Guru Member

    iptraf needs a little handholding. I do this on USB mount:

    mkdir -p /var/local
    mkdir -p /var/log/iptraf
    mkdir -p /var/run/iptraf
    ln -s /opt/var/local/iptraf /var/local

    (See NOTES.txt on my site for more detailed instructions/implementation-specific answers)

    Rodney
     
  34. rhester72

    rhester72 Network Guru Member

    I will look at quagga next week.

    Rodney
     
  35. rs232

    rs232 Network Guru Member

    Fantastic, now iptraf works and I'm looking forward to quegga!
    I've skimmed your NOTES.txt but I don't see anything related to mtr.

    When I run it though I get a

    root@system:/cifs1# mtr google.com
    Segmentation fault

    I guess I'm doing something wrong

    Cheers :)
     
  36. rhester72

    rhester72 Network Guru Member

    What is the output of "ldd mtr"?

    Rodney
     
  37. rs232

    rs232 Network Guru Member

    Same thing:

    Code:
    root@system:/cifs1# ldd mtr
    Segmentation fault
     
  38. rhester72

    rhester72 Network Guru Member

    By any chance have you installed Optware at some point?

    What is the output of:

    echo $LD_LIBRARY_PATH

    ?

    Rodney
     
  39. rs232

    rs232 Network Guru Member

    No I haven't. This is the output of the command requested:

    Code:
    root@system:/cifs1# echo $LD_LIBRARY_PATH
    
    root@system:/cifs1#
     
  40. rhester72

    rhester72 Network Guru Member

    Weird. I have no idea why you're segfaulting.

    This is the output on my router:

    Code:
    cerberus:~# ldd mtr
            libresolv.so.0 => /opt/lib/libresolv.so.0 (0x2aabf000)
            libm.so.0 => /opt/lib/libm.so.0 (0x2aad0000)
            libncurses.so.5 => /opt/usr/lib/libncurses.so.5 (0x2aaee000)
            libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2ab40000)
            libc.so.0 => /opt/lib/libc.so.0 (0x2ab5f000)
            libc.so.0 => /lib/libc.so.0 (0x2abd5000)
            ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
    
    Obviously, the first 5 libraries would be a pretty good idea to have installed in /opt/lib+/opt/usr/lib (as pathed above), all of which can be obtained from my site (the ones that are preloaded on the router, like libc.so, are missing some functions that are required by third-party apps).

    Or, you can grab the mtr binary from PRECOMPILED-static off my site which has every required function hard-compiled in, and that's basically *guaranteed* to work unless you have some sort of hardware fault in your router. =)

    Rodney
     
  41. rhester72

    rhester72 Network Guru Member

    (IMPORTANT: I started the binary mirror to the primary web site, but for whatever reason, it's going verrrrrrrryyyyyy slooooooowwwwwwwllllllyyyyyyyyy. I hope this isn't CTF breaking things. *LOL* It looks like it's still doing something, so hopefully the binaries will eventually appear on the public/external web site. I'll try to do more debugging on this internal site problem tomorrow.)

    quagga uploaded. I've absolutely zero knowledge about it, so installation and troubleshooting is up to you, but happy to help in whatever way I can involving compile options and general binary debugging. =) If you do get something working, I'd love to hear about that, too.

    Rodney
     
  42. rs232

    rs232 Network Guru Member

    Great!
    I'm playing with it already. One thing I've noticed so far is:

    Code:
    root@system:/cifs1# ./watchquagga
    ./watchquagga: can't load library 'librt.so.0'
     
  43. rs232

    rs232 Network Guru Member

    I would recompile the software specifying the user: root; group: root. you can definitely do this via command line but as on tomato it's unlikely to have a user other than root...

    Also according to the installation document: http://www.quagga.net/docs/docs-info.php#SEC15

    The following lines must be added to /etc/services

    Code:
    zebrasrv      2600/tcp		  # zebra service
    zebra         2601/tcp		  # zebra vty
    ripd          2602/tcp		  # RIPd vty
    ripngd        2603/tcp		  # RIPngd vty
    ospfd         2604/tcp		  # OSPFd vty
    bgpd          2605/tcp		  # BGPd vty
    ospf6d        2606/tcp		  # OSPF6d vty
    ospfapi       2607/tcp		  # ospfapi
    isisd         2608/tcp		  # ISISd vty
    I think this would solve the problem I've found so far where I can telnet to hostIP:2601 (zebra) but not e.g. hostIP:2604 (ospfd)
     
  44. bkmo

    bkmo LI Guru Member

  45. rs232

    rs232 Network Guru Member

    Right, a step forward, or better two! I can now log directly into zebra and e.g. ospfd. You really need to specify the vty port when running ospfd:

    Code:
    shell#ospfd -d -f /jffs/etc/quagga.conf -u root -g root -P 2604
    shell#zebra -f /jffs/etc/zebra.conf -d
    This makes zebra available on telnet port 2601 and ospfd available on telnet port 2604. NOTE for both zebra and ospfd you must specify the login and enable password in the config file first!

    Code:
    password XxXxXx
    enable password XxXxXx
    
    An helpful reference link can be found here:
    http://www.dd-wrt.com/wiki/index.php/Quagga

    I still haven't managed to make two tomato ospf router becoming neighbours but I'm working on it...
    Currently having problems with interfaces being down under ospfd for some reason...
     
  46. rhester72

    rhester72 Network Guru Member

    quagga recompiled as root/root and libusb-1.0 added (to PRECOMPILED/lib, though I don't expect the latter to fix anything).

    You can find the "full" librt.so.0 in PRECOMPILED/lib, which should be installed in /opt/usr/lib.

    IMPORTANT NOTE: I have discontinued syncing the full PRECOMPILED tar/gzipped archives. They take far too long to rebuild and sync. I'll re-add them on request, but honestly, I don't see the point.

    Rodney
     
  47. bkmo

    bkmo LI Guru Member

    Thanks for compiling for me. Neither libusb 1.0 nor librt seemed to fix my problem. The scanner works on my desktop with the same versions of sane and libusb as optware, but I get an I/O error after it tries to scan on the router. I have seen scanner success stories, so I am not sure if another device would work, or if it is a kernel issue.
     
  48. rhester72

    rhester72 Network Guru Member

    bkmo: Sorry for the confusion - librt was actually for rs232. :)

    Not sure what to tell you about sane...never used it and have no compatible hardware to test with. :/ If you haven't already, you might want to try the TomatoUSB forum at http://tomatousb.org/forum/start, there are some folks there successfully using sane on Tomato.

    Rodney
     
  49. bkmo

    bkmo LI Guru Member

    I have been there done that. Sane is working great. It is just that there is an error when scanning. I will try another scanner some time. Thanks for the help.
     
  50. herod98

    herod98 Networkin' Nut Member

    readelf

    May I request the readelf binary from the binutils package? This is actually pertinent to an article I writing about your wonderful utilities!
     
  51. herod98

    herod98 Networkin' Nut Member

  52. rhester72

    rhester72 Network Guru Member

    binutils 2.21 is now on the site.

    Rodney
     
  53. bkmo

    bkmo LI Guru Member

  54. rhester72

    rhester72 Network Guru Member

    It's my pleasure, honestly.

    I'm truly surprised by the popularity of the utilities site...it literally was (as is the case with so many open-source stories) a matter of "gee, I've done this for myself and it kinda worked out...maybe one or two other people could benefit, too". Or maybe more than one or two. *laughs*

    For me, the important thing is education. It doesn't take much (well, OK, some) to get Optware going on a Tomato router with USB, but what do you learn outside of where to paste a bootstrap script and how to install packages? You don't really learn anything about how Tomato or Linux really work, how to compile applications, or where some of the (many) caveats are.

    It thrills me that others are able to benefit in some meaningful way...that's why it will be around for a long, long time to come.

    And *my* thanks to TB for inspiring me to stick with Tomato after it was effectively abandoned. It has come a long, LONG way, and while I realize there have been many contributors, it really has been TB that held it all together and kept it moving forward. Without him, Tomato would still be locked to old-model Linksys routers with no hope of real storage. Hats off!

    Rodney
     
  55. rhester72

    rhester72 Network Guru Member

    Due to human error on my part, the utilities site is down indefinitely. I am working to get everything back online but it will take a considerable amount of time (long story short - losing /opt without a backup is a dreadfully painful experience). My apologies for the inconvenience!

    Rodney
     
  56. rhester72

    rhester72 Network Guru Member

    FTP services are back online. Web is not (yet). Delays will continue while I try to get my VPN tunnel up again.

    Rodney
     
  57. onehomelist

    onehomelist Addicted to LI Member

  58. rhester72

    rhester72 Network Guru Member

    re: lsyncd - Good question. The answer is "maybe".

    I've managed to get it to compile, but the mipsel gcc does not seem at all happy with the fact that luac doesn't use ABI. This translates to segfaults in the binary during actual use.

    See NOTES.txt and BUGS.txt for details on what I've gotten working so far and what isn't working so well.

    Feel free to try/play around with it, and even better, tell me how to fix it. =)

    I'll be on vacation for a week starting in about 36 hours, so sooner feedback is better. ;)

    Rodney

    P.S.: Give the mirror about half an hour to update, and still FTP-only for now (sorry!).
     
  59. rs232

    rs232 Network Guru Member

  60. Aiko

    Aiko Networkin' Nut Member

    It really seems an interesting tool, with many possibilities.

    Hopefully there will be a tomato remote capturing plugin soon : -)
     
  61. rs232

    rs232 Network Guru Member

  62. rs232

    rs232 Network Guru Member

    rhester72,this would be an outstanding addition to your collection!
    http://nginx.org/
     
  63. menses

    menses Addicted to LI Member

  64. mstombs

    mstombs Network Guru Member

  65. rhester72

    rhester72 Network Guru Member

  66. menses

    menses Addicted to LI Member

    Thanks!

    Glad to have it back up!
    Lot's of useful stuff you have in there!
     
  67. rhester72

    rhester72 Network Guru Member

    I've looked at nginx and found that it is all-but-impossible to cross-compile the way it's currently set up (without moving mountains). Yes, I know DD-WRT managed it. ;)

    There's been a number of complaints about this to the author that have so far gone without response - when the situation changes, I'll take another look. To be honest, I've found Hiawatha to be such a flexible, secure, stable, and lightweight program that does about anything you could ask of an embedded web server that there isn't much reason to look elsewhere, IMHO.

    Rodney

    UPDATE: Oh my word...it's *much* worse than before, if that's even possible. Without piling on a metric ton of patches to his home-built configure system, it's impossible to cross-compile...and that's just Not A Good Thing(TM) in the open source/open platform world.

    If you'd like to give it a shot yourself, this post seems a reasonable enough guide (though not Tomato SDK specific):

    http://forum.nginx.org/read.php?29,179478
     
  68. rhester72

    rhester72 Network Guru Member

    This is proving a bit more difficult than I anticipated - getting good results but very complex compilation thus far. Stay tuned.

    Rodney
     
  69. Toastman

    Toastman Super Moderator Staff Member Member

    It's great to see the site back up Rodney. Thanks for taking the time and trouble to do this!
     
  70. rhester72

    rhester72 Network Guru Member

    Remote capture...that's a pretty novel idea.

    tshark (and all accompanying libraries, plugins and utilities) is up on the site.

    BEWARE - it consumes _crazy_ amounts of RAM, approaching 32MB, even when using plugins! (I think it also qualifies as the largest static binary ever, with embedded libraries and plugins, at just over 30MB.) If you don't *NEED* tshark, use tcpdump!

    Rodney
     
  71. rhester72

    rhester72 Network Guru Member

    Glad to be back up!

    In early April, I was working on a routine site mirror script. Suffice it to say the following:

    - Use of the "delete" keyword with certain utilities, particularly during recursive processing, is indeed every bit as dangerous as the man page may indicate
    - Turning off safeguards against this generally makes you either a genius or an idiot (in this case, the latter)
    - You can remove inodes really, REALLY fast

    I realized what had happened (read: a recursive delete of the /opt tree on my router with no backup) about a quarter second after it started. Thus, a lot of content was saved...but all of the precious hand-tuned configurations in /opt/etc for every single app on my router were gone forever.

    I was angry at myself and sickened enough by the event to have no interest whatsoever in even attempting to recover for several months (after doing many exhaustive orphaned inode scans and the like trying to get back anything I could). When I did have some interest in actually piecing everything back together, I noted that development on TomatoUSB had halted rather abruptly (ironically, around the same time I nuked my drive, though at the time I didn't know what was happening with Fedor), so I figured that phase of my technical life had passed and I moved on (largely to Android on tablets).

    Recently, I started a new job (after 5 years with my previous), and water-cooler conversation led to some of my adventures with Tomato, which made me curious. I noticed that things had indeed slowed dramatically, and that there was a good bit of splintering, but it looked like Fedor had at least poked his head in once or twice in git without syncing upstream. Figuring enough time had passed and having reasons of my own to at least get a web presence up and running again, I spent about a week assembling enough to get things back online securely and tested.

    I'm really quite busy at the new job, so I can't guarantee anything approaching the frequency of updates I was doing before, but I do hope to at least keep the site up and stable and at least infrequently updated. People remain welcome to mirror it if they like, but please only mirror the binaries (conveniently already in gzipped tar form), since the entire tree now takes up a staggering 3.6 gigabytes (and that's with proper softlinks, which are exposed through the web and FTP interfaces as regular files when mirrored)!

    Hoping all is well with you and yours,

    Rodney
     
  72. Toastman

    Toastman Super Moderator Staff Member Member

    I know how you felt. A while back I foolishly deleted a lot of important archive material on my hard disks. Knowing they were safely backed up on DVD's.

    Some years later I tried to restore the material from the DVD's, and found that they no longer worked. Subsequently, I went though all of my old CD and DVD archives and found that nearly all of the old stuff was unreadable. Even TAPE lasted longer than that, and all of my incredibly ancient 5.25" and 3" floppies too. Even half of my "pressed" music CD's from the early days of CD's don't work any more.

    So thanks to that, I have more HDD storage and backup now than I ever dreamed possible for a home user, they just slide into racks in the case front, and HDD's are far cheaper than any other method of backup. But I expect I'll still manage to screw it up somehow.

    Thanks and good luck in the new job!
     
  73. rhester72

    rhester72 Network Guru Member

    Site down for ~1 week - disk issues. The site is safe, the disk not so much.

    Rodney
     
  74. maurer

    maurer LI Guru Member

  75. rhester72

    rhester72 Network Guru Member

    If the app requires it, then you'll need them on Tomato in one form or another, either as .so/dynamic libraries or statically linked to the app.

    With all those dependencies, it seems very likely it will be too heavy (memory and processor speed) for even the RT-N16, to be honest.

    Rodney
     
  76. maurer

    maurer LI Guru Member

  77. rhester72

    rhester72 Network Guru Member

    OK - happy to take a look at it as soon as I get the drive back online, right now it's looking like about a week before that happens.

    Rodney
     
  78. rhester72

    rhester72 Network Guru Member

    Site's back up, but under a LOT of strain at work right now and won't have time to look into building this package for a bit, sorry - as soon as I can, I will!

    Rodney
     
  79. shibby20

    shibby20 Network Guru Member

    @rhester - how big is your website? Maybe i can give you some of space on my hosting? :)
     
  80. rhester72

    rhester72 Network Guru Member

    Maybe 4GB or so - trouble with external hosting is keeping it synchronized. :)

    Rodney
     
  81. Toastman

    Toastman Super Moderator Staff Member Member

    That's why I use 4shared, automatically keeps in sync with my local folders, and 10GB space.
     
  82. rhester72

    rhester72 Network Guru Member

    Been looking at this - and boost is a _major_ problem to compile properly for this.

    Working on it as time permits, but it's progressing rather slowly.

    Rodney
     
  83. i1135t

    i1135t Network Guru Member

    Any chance of compiling this toolset for use with tomato? I have tons of iptable entries that I would like to condense using this... Thanks!
    Code:
    http://ipset.netfilter.org/
     
  84. rhester72

    rhester72 Network Guru Member

    Well...yes and no.

    The good news is that compiling it was a cinch. The bad news is that it is utterly tied to the specific kernel (not version...the actual binary kernel). So, unless you're running _precisely_ the same kernel build as the person compiling ipset, there's a better-than-good chance that it won't work...sure, the kernel modules will load, but you're very likely to encounter mysterious and hard-to-explain behavior (as a result of things like reordered data structures and the like that constantly bite me in the ass).

    You're almost better off just compiling it yourself...with the SDK loaded, all you really have to do is point a variable at the Linux kernel source tree, set some environment variables for your compiler, and you're off to the races.

    Rodney
     
  85. i1135t

    i1135t Network Guru Member

    Being that I wouldn't know where to start such as finding the SDK, it would be pretty difficult for me. I know I am running kernel, 2.6.22.19, so if anyone out there knows how to compile this or at least point me in the right direction, the help would be much appreciated.
     
  86. rhester72

    rhester72 Network Guru Member

    That was rather my point - the kernel version doesn't matter, as we're pretty much _all_ running 2.6.22.19. But since the kernel has been modded so much by so many developers, the more interesting question is _which_ 2.6.22.19...it matters where kernel modules are concerned.

    I'll get this build dressed up and you can give it a try, but no promises!

    Rodney
     
  87. rhester72

    rhester72 Network Guru Member

    ipset 4.5 is on the site. Read NOTES or you won't get very far at all. Let me know how you make out.

    Rodney
     
  88. besonen

    besonen LI Guru Member

  89. rhester72

    rhester72 Network Guru Member

    rhash is a pretty cool little utility - could have made good use of it on a project years ago. :)

    It's up.

    Rodney
     
  90. rhester72

    rhester72 Network Guru Member

    D'oh! Didn't notice the /etc path to the rhash config file was hardcoded in source - changed to /opt/etc, binaries recompiled and now up. Sorry about that. Read the manual after the fact. ;)

    Rodney
     
  91. i1135t

    i1135t Network Guru Member

    You are right, looks like it is looking for modules that I do not have. Getting error:
    Code:
    ./ipset -H
    modprobe: module ip_set not found in modules.dep
    ipset v4.5: Couldn't verify kernel module version!
    When trying to create a set, getting Segmentation fault error. Will try to get this working on my own sometime in the future after learning how to compile .. :) Thanks anyways...
     
  92. besonen

    besonen LI Guru Member

    yes, it's the best hash tool i've found for large directory trees. i use it all the time. and it's relatively unknown.

    thanks for making it available.
     
  93. besonen

    besonen LI Guru Member

    here are some more wishes (there is no rush):
    --
    cron
    ddclient
    htop
    inetutils
    irssi
    less
    mutt
    ntfsprogs
    ntpclient
    python 2.6
    rsync 3.0.8
    screen
    vim 7.3
    xmail
    --
     
  94. rhester72

    rhester72 Network Guru Member

    cron: How is this advantageous over using the built-in Tomato scheduler?
    ddclient: It's Perl, so no action required (though I'm _not_ porting Perl). That having been said, what's wrong with Tomato's built-in service for this?
    htop: OK, this interests me. :)
    inetutils: Yeah, OK. Some of this is already in 'fat' busybox.
    irssi: This is probably heavy enough to break all but the RT-N16. I'll look at it.
    less: In fat Busybox...you really want a dedicated binary for this?
    mutt: VERY limited value without an MTA.
    ntfsprogs: I sense this being a support nightmare and causing a lot of unintended data loss for inexperienced users. I'll think about it.
    ntpclient: tomato-ntp wasn't enough? OK, easy enough.
    python: See comments about Perl above.
    rsync: Already on the site!
    screen: I see the value. Will do.
    vim: OK.
    xmail: I've actually been thinking about this...but there's still the lack of a MTA.

    Rodney
     
  95. rhester72

    rhester72 Network Guru Member

    The modules are in PRECOMPILED/lib/modules/2.6.22.19/ipset. See NOTES for specifics. You'll need to insmod ip_set.ko at minimum, others as needed depending on what you're trying to do.

    Rodney
     
  96. i1135t

    i1135t Network Guru Member

    Well, I got ipset to load with the modules provided to show "ipset -h" output, but when I try to build a set, I get Segmentation Fault. Ugh, feels like I am almost there... :(
     
  97. rhester72

    rhester72 Network Guru Member

    To see if it's really going to work, load up _all_ the kernel modules (assuming you have the RAM to do it)...at least that way you're only troubleshooting one thing at a time. (The tool uses modprobe to automatically/dynamically load the required modules, but this can't work on Tomato due to the fact that /lib is read-only.)

    Rodney
     
  98. besonen

    besonen LI Guru Member

    on 2011-11-17 at 5:08 pm, rhester72 wrote:

    >cron: How is this advantageous over using the built-in
    >Tomato scheduler?

    skip this, i hadn't noticed cru.


    >ddclient: It's Perl, so no action required (though I'm
    >_not_ porting Perl). That having been said, what's
    >wrong with Tomato's built-in service for this?

    is there a console command for the built-in service?


    >irssi: This is probably heavy enough to break all but
    >the RT-N16. I'll look at it.

    an RT-N16 is what i use.


    >less: In fat Busybox...you really want a dedicated
    >binary for this?

    didn't realize it was in busybox, skip.


    >mutt: VERY limited value without an MTA.

    this is a lower priority than the rest.


    >ntfsprogs: I sense this being a support nightmare
    >and causing a lot of unintended data loss for
    >inexperienced users. I'll think about it.

    i also meant to request ntfs-3g, which i just discovered was recently merged with ntfsprogs:
    http://www.tuxera.com/community/ntfs-3g-download/
    http://tuxera.com/opensource/ntfs-3g_ntfsprogs-2011.4.12.tgz


    >ntpclient: tomato-ntp wasn't enough? OK, easy enough.

    ntpc is fine, skip.


    >python: See comments about Perl above.

    this is because it would be a ton of work?


    >rsync: Already on the site!

    3.0.7 is on the site. i specified 3.0.8 hoping for the latest version.


    >xmail: I've actually been thinking about this...
    >but there's still the lack of a MTA.

    why do you say xmail is not an MTA? anyhow, i've since discovered that it is no longer being developed. so now i'm looking at postfix and exim.

    while xmail is no longer being developed it may still be worth porting. there's probably enough people using it that if there was ever a show-stopper code issue, say from bit-rot, i imagine there's a decent chance it would get patched.

    it may make more sense to put the porting effort into exim since it's still being actively developed (and in some ways is simpler to administer than postfix, so possibly approaching the 'easy of use' need that xmail would meet).


    fwiw, i was imagining anything listed at http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/ might be less work for you to make available. so, besides rhash, i was limiting my requests to the optware dd-wrt listing. i have read commentary at various websites about using optware with tomato. what are the hurdles to using optware with tomato?
     
  99. i1135t

    i1135t Network Guru Member

    Yeah, tried that and still getting the same error...
     
  100. rhester72

    rhester72 Network Guru Member

    Actually, what I've been trying to offer is largely the stuff that isn't available in optware, simply for the reason of redundancy. I don't know a lot about getting optware up on Tomato (that is, in fact, what started my site, because I wanted to know how to do it myself), but from what I've read it's reasonably straightforward and works well.

    Rodney
     

Share This Page