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 with kernel 2.6 (Tomato-RT)

Discussion in 'Tomato Firmware' started by teddy_bear, Jan 8, 2010.

  1. spookyneo

    spookyneo Networkin' Nut Member

    Many thanks for the explanations karog, I really appreciate it. I will work tonight to use TAP instead of TUN. :)

    You seem to know a bit about OpenVPN and VPN technology, maybe you could answer these questions that I have posted here : http://www.linksysinfo.org/forums/showthread.php?t=65017

    And thanks for the "Direct clients to redirect Internet traffic" explanation !
     
  2. karog

    karog Networkin' Nut Member

  3. groosh

    groosh Addicted to LI Member

    wnr3500L

    Hey TB,

    Just a little FYI, made a build from the the merge on 2010-08-12 20:48:44 and my router booted back up nice and quick. (has not booted this fast in a few builds) I then decided to build off the latest merge on 2010-08-18 13:05:58 and now the router will not boot up all the way.

    maybe its just me... not sure, but thought you should know. If you want me to try a build between the two merges let me know where there is a good point to work from.
     
  4. gtj0

    gtj0 Networkin' Nut Member

    Do you have a serial port attached?

    On my RT-N16, a r2e or r2m build will hang after "Warning unable to open an initial console" but after 40 seconds, the boot continues loading the ethernet modules and the router functions normally.

    Is this what you're seeing?
     
  5. groosh

    groosh Addicted to LI Member

    well... I have the serial cable but I have never had to use it, anyway, my router does not have the header pins so I am currently waiting for the pins to arrive so that I can install them.

    With regard to it booting after 40 seconds, I have left the unit on for an hour without it booting up. After I get the header installed I should be able to see where exactly it is hanging up.
     
  6. maurer

    maurer LI Guru Member

  7. onehomelist

    onehomelist Addicted to LI Member

    TB, with K2.6 beta 18 ext, one QOS rule fails for me. It's the one where if the transfer goes above 512 KB on http, https port, the http port for the client will be put on lowest class. Even though the users download big files over http they'll remain on higher class only, it never puts them to lowest class. The pie chart remains green only (the color specified for higher class). But it used to work fine on beta 16, very efficiently heavy http downloads used to go to lowest class, and the pie chart used to look fine.

    If you have any test build with changed QOS settings, I'm very much interested to test them for you.
     
  8. teddy_bear

    teddy_bear Network Guru Member

    onehomelist,
    The QoS graph shows the bandwidth distribution for outbound connections, not inbound. So http downloads should not affect the graph, only uploads will.
     
  9. karog

    karog Networkin' Nut Member

    I have googled my fingers off trying to find an answer for the following with no real success so I will ask the many superstars here. I am working on a pilot project intended to run on a router and the app has a listen socket running in a thread generally waiting in accept(sfd, ...) for connections. When another thread wants to gracefully shutdown the app, what should be done about the listen thread?

    The best answer I have found is to close( sfd ) (the listener) and the accept should return with an error indication. On OS X this is what happens and the errno is 53 (ECONNABORTED). Unfortunately, on Linux (both Ubuntu and my RT-N16 running tomatousb beta19 with Optware installed) the listening thread remains in the accept. The thread continues to hang there until another connection attempt is made.

    The only workaround I have come up with, crude as it is, is to not close the sfd but rather set a flag and then make a connect attempt to the port causing it to leave the accept and then see the flag.

    Anyone have any better ideas on how to handle this? Thanks.
     
  10. prince

    prince Addicted to LI Member

    i've attached a 1 tb wd hdd to my RT-N16 running tomato beta 16 version in it
    i want to know ..can i access my 1 tb hdd in my mobile browser..
    how can i configure samba ?
    and wat address i shud open to access it (http://192.168.1.1 ????? )

    thanks
     
  11. karog

    karog Networkin' Nut Member

    As far as I know, you cannot use samba with a browser but that may be my ignorance.

    You can however use ftp. Set up ftp either for LAN only and use ftp://192.168.1.1 (if that is your router's LAN address) or for LAN & WAN and you can access it with ftp://<WAN ip addr> or use a DDNS name like ftp://whatever.dyndns.org. If you set up credentialed access for the WAN, you can also do ftp://username@<WAN ip> or ftp://username:password@<WAN ip>. If you do not allow anonymous access and you don't provide the credentials in the URL, the browser should ask you for them.
     
  12. Kyusaku

    Kyusaku Network Guru Member

    I have a RT-N16 with a USB external HDD, I mapped the main mount point in Windows 7 but it's not reporting the free space on the HDD correctly. How can I determine the free space on the drive?
     
  13. teddy_bear

    teddy_bear Network Guru Member

  14. Kyusaku

    Kyusaku Network Guru Member

  15. groosh

    groosh Addicted to LI Member

    finally got the header pins today and got them installed, nothing would show after the initial "status" stuff showed up. It would just hang with nothing being displayed to the console....

    So I flashed back to the latest netgear firmware, tried loading a tomato firmware from the QFE? prompt but it would not accept any of the files I tried.

    tried to build from the latest merge on the git and the build process stops at:

    make[5]: Entering directory `/home/user/code/tomato.git/release/src/router/radvd'
    cd . && automake --foreign Makefile
    configure.in: required file `./ylwrap' not found
    configure.in: `automake --add-missing' can install `ylwrap'
     
  16. rhdcheme

    rhdcheme Addicted to LI Member

    Hi,

    I am running Build 48 Ext on my RT-N16. I tried to lower transmit power from 17 to 1, but it does not seem to change anything (at least according to inSSIDER). A reboot also had no effect, nor did a power cycle.

    What am I doing wrong? Any help will be appreciated.
     
  17. groosh

    groosh Addicted to LI Member

    I have tried coping ylwrap into the radvd folder but the build continues to fail, albeit at a different point, but still within the radvd build section.

    Anyone else having any luck?
     
  18. mstombs

    mstombs Network Guru Member

    No I can confirm the git r2e build on 64 bit Ubuntu is broken at this point, the r1 works...
     
  19. teddy_bear

    teddy_bear Network Guru Member

    Hmm... Seems like a lot of people have mtime/automake-related problems with the build from time to time. On the other hand, I have never had a single issue with that on my Ubuntu 8.04 box (I know, 10.04 is out :rolleyes:) - and I always compile the sources before checking them into git repo.

    I noticed that SgtPepperKSU solved such problems by removing the whole blocks from "Makefile" and "Makefile.in" files in various projects, and I did the same a few times to respond to similar compile issues in the past (search for commits containing "mtime dependency" in the git).

    However, it is not practical to keep doing that - too many open source projects have this standard code in their Makefile.in files (which recreates the Makefile.in, config.h.in and a few other files that you should never need to recreate since they are always there) - so it'd be better to solve the issue once and for all without modifying the 3rd party sources. But I don't understand the roots of the problem - why does it happen, and what could be done to resolve it...

    Does anyone have a better idea about this? (Just don't suggest to stop using "configure" - there are reasons for doing it).
     
  20. shibby20

    shibby20 Network Guru Member

    @Teddy - you have full PM box :p

    I try to run oscam with smartcard reader FT232RL.

    On openwrt + tplink 1043nd everything works fine but on tomato k2.6 with asus RT-N16 i have problem.

    I currently use beta10 (its very stable for me).
    I load usbserial and ftdi_sio.ko from extras file.

    In dmesg its everything ok:
    but when i try to run oscam (my compilation) i have in log
    Well i install newest beta18 (i see this build has ftdi_sio modules). Load modules via insmod, smartcard reader is detected
    and device /dev/ttyUSB0 exists, but oscam cannot open it:
    I back to beta10 and try to compile ftdi_sio using the newest patch from git repository:
    http://repo.or.cz/w/tomato.git/commit/7b32e51490e64ee30c6619c7332a697cd88200c4

    but effect is the same: Cannot open device: /dev/ttyUSB0

    also i have errors in dmesg:
    I dont have more ideas. Maybe you have any?

    Maybe problem is in usbserial or usbcore? But how load my on module if exists in modules.dep?

    thanks for answer and sorry for my (understandable i think) language :)

    btw correct oscam.log from openwrt
     
  21. Orbiting234

    Orbiting234 Network Guru Member

    Wondering if anyone else has this issue with Tomato:

    After a certain amount of time, which is totally random (sometimes two days, sometimes two weeks) my RT-N16 stops working for any and all Atheros based adapters regardless of OS or driver being used. Clients can see the network but are unable to connect until I login quick and tell the router to reboot which clears the issue until next time. Also any other manufacturer's wireless chipsets (Broadcom, Marvell, etc) are all able to still connect without issue whenever this does occur.

    Can anyone possibly give me an idea as to why this is happening and why it's only affecting Atheros adapters? I had already updated my RT-N16 with massive heatsinks and larger ventilation holes so I don't think it's a heat issue (although adding active cooling could never hurt). Nothing in the logs ever points to anything either. I'm kinda baffled by this one.
     
  22. groosh

    groosh Addicted to LI Member

    sorry, I can not make any good suggestions... guess I am curious what your build environment "looks" like? Do you have a script that you run that you could share, or a series of commands that you execute (for the commands I think I would also need to see your path variable)?

    I have checked my Ubuntu making sure that I have the newest builds of m4 and autoconf, as well as a few others, I have tried adding /usr/share to the path, tried coping the "missing files" to the local folder where the error is reported but the problem still persists. I am going to lookup the mtime thing you have mentioned to see if that helps.

    Also want to report that if I go farther back to other merges so that I can create an image, I either make my wnr3500l not bootable or I get a message about the image being to big for for the MTD when I attempt to load it... I have to go back as far as 8-12/13, depending on your timezone, to get a build that loads into the router without an issue. ("merge branch 'tomato-ND-USBmod' into tomato-RT" 2010-08-12 20:48:44)

    I am new to the git and making my own builds but I am willing to help if I can.
     
  23. groosh

    groosh Addicted to LI Member

    small update, I tried to build Toastman's builds and was not able to build them either... ran into the same problem as I posted before with the missing ylwap in the radvd section.

    SO.. I downloaded the build from Toastman's site, thank you sir.

    I did not find a 7427.K26USB-VPN build so I grabbed the 7422.K26USB-VPN build and I got the "file is to big for MTD" message I was getting when I was trying to build at different merge points in the git. (going from beta19) So I downloaded the 7427.K26-VPN build and that seems to have loaded in fine and I am currently running on that, for now, ideally I would like to get USB support back.

    I am now curious why I am running out of MTD space to load the images so I went back to the netgear firmware and took a look at the layout along the way.
    (as best I can tell the MTD space is equivilent to the rootfs space)


    WNR3500L-V1.0.2.50_31.1.25NA -
    Creating 10 MTD partitions on "sflash":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x00790000 : "linux"
    0x000d110c-0x00790000 : "rootfs"
    0x00790000-0x007a0000 : "ML1"
    0x007a0000-0x007b0000 : "ML2"
    0x007b0000-0x007c0000 : "T_Meter1"
    0x007c0000-0x007d0000 : "T_Meter2"
    0x007d0000-0x007e0000 : "POT"
    0x007e0000-0x007f0000 : "board_data"
    0x007f0000-0x00800000 : "nvram"

    dd-wrt.v24-14896_NEWD-2_K2.6_mini-WNR3500L -
    Creating 5 MTD partitions on "sflash":
    0x00000000-0x00040000 : "cfe"
    0x00040000-0x007b0000 : "linux"
    0x0018cc00-0x00390000 : "rootfs"
    mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
    0x007f0000-0x00800000 : "nvram"
    0x00390000-0x007a0000 : "ddwrt"

    tomato-K26USB-1.28.9049MIPSR2-beta19-vpn3.6 -
    Creating 6 MTD partitions on "sflash":
    0x00000000-0x00040000 : "pmon"
    0x00040000-0x007a0000 : "linux"
    0x00118800-0x00790000 : "rootfs"
    0x00790000-0x007a0000 : "jffs2"
    0x007f0000-0x00800000 : "nvram"
    0x007a0000-0x007f0000 : "board_data"

    tomato-K26-1.28.7427MIPSR2-Beta_Toastman-VPN -
    (could not go directly from dd-wrt to this build, dd-wrt would not accept it)
    Creating 6 MTD partitions on "sflash":
    0x00000000-0x00040000 : "pmon"
    0x00040000-0x007b0000 : "linux"
    0x0011a000-0x00440000 : "rootfs"
    0x00440000-0x007b0000 : "jffs2"
    0x007f0000-0x00800000 : "nvram"
    0x007b0000-0x007f0000 : "board_data"


    Again I am still new to this, but I believe the jffs2 or perhaps the board_data blocks need to be reduced so that the rootfs space can be increased to support the larger image files that are being produced from the standard make's. (at least for the wnr3500l)
     
  24. groosh

    groosh Addicted to LI Member

    Tried Mint 8

    Loaded Mint 8 last night, as suggested by Toastman in the following post: http://www.linksysinfo.org/forums/showpost.php?p=361633&postcount=2. With this build environment I am getting different result depending on what code I checkout. If I checkout the last merge of tomato-ND-USBmod to tomato-RT then I run into the same problem where the build process hangs up at radvd looking for ylwrap. Nothing new to report there...

    If I checkout the HEAD tomato-1.28-Toastman-QOS-RT then sometimes it will run all the way to the end where it is creating the images and just before its about to complete, while in btools, it reports that the image is too big to complete some task but then says the image is ready:

    make[4]: Entering directory `/home/user/code/tomato.git/release/src/btools'
    gcc -O3 -Wall -o fpkg fpkg.c
    fpkg.c: In function ‘load_image’:
    fpkg.c:165: warning: format ‘%u’ expects type ‘unsigned int’, but argument 3 has type ‘long unsigned int’
    fpkg.c:165: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘int’
    fpkg.c: In function ‘align_trx’:
    fpkg.c:205: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 5 has type ‘int’
    make[4]: Leaving directory `/home/user/code/tomato.git/release/src/btools'
    Total size 8074164 (7884.9 KB) is too big. Maximum is 7995392 (7808.0 KB).


    -----------------
    1.28.0000 MIPSR2test K26 USB VPN ready
    -----------------
    make[3]: Leaving directory `/home/user/code/tomato.git/release/src-rt'


    Every once and a while the process will stop in the miniDLNA section:

    /home/user/code/tomato.git/release/src-rt/router/libid3tag/.libs/libid3tag.a(frame.o): In function `id3_frame_new':
    frame.c:(.text+0xac0): undefined reference to `id3_frametype_lookup'
    frame.c:(.text+0xb3c): undefined reference to `id3_frametype_text'
    frame.c:(.text+0xb4c): undefined reference to `id3_frametype_url'
    frame.c:(.text+0xb5c): undefined reference to `id3_frametype_experimental'
    frame.c:(.text+0xb6c): undefined reference to `id3_frametype_unknown'
    frame.c:(.text+0xb94): undefined reference to `id3_frametype_obsolete'
    collect2: ld returned 1 exit status

    Regardless of whether I get to the end where it is doing the image manipulation and fails or if it fails in the miniDLNA section there are a bunch of warnings being output to the terminal about variables being defined and not used, or warnings about using unsafe commands when others are avialable, etc... going to assume for now that these build warnings are "normal" but I guess I would like to know if others are seeing the same.

    So using Mint 8 seems to be a bit better then Ubuntu 10.04, with the toastman builds at least, but still not quite getting all the way through to the end. Think I am going to load Ubuntu 8.04 as TB has suggested, provided I can still get it, and see if that yields a better result.
     
  25. mstombs

    mstombs Network Guru Member

    There's been a lot of bleeding edge Ubuntu updates recently, and there's a load more including a kernel patch waiting to install. This particular error is pretty common on the internet - but I think it only occurs when cross-compiling, not native - is it also only on 64-bit hosts?
     
  26. Toastman

    Toastman Super Moderator Staff Member Member

    groosh - I get the same as you with Mint except for the stopping in the miniDNLA section. BTW although it says the large ext+VPN build is ready, it isn't actually in the IMAGE directory.

    Once started my compiles usually run to the end with no problems. I always see hundreds of similar build warnings but these do not seem to stop the compile. Just compiled K24 versions for WRT54GL and Asus etc. USB machines - all OK (now someone needs to test them).
     
  27. groosh

    groosh Addicted to LI Member

    Thanks Toastman good to know they are expected.

    the problems I have been having are on a vm guest that is running x86
     
  28. Prophet

    Prophet Networkin' Nut Member

    I´m trying to move my /opt (its full doh).

    So Im trying to edit /tmp/script_usbmount.sh to point to the new mountpoint. How do I do that?
     
  29. groosh

    groosh Addicted to LI Member

    Alright just finished getting ubuntu 8.04.4 installed and operating correctly, rather annoying keyboard error that was driving me insane.

    I am able to build everything fine, no ylwrap on Teddy_Bear's merges and no miniDLNA issues, albeit rare, on Toastman's merges. Looks like I am going to stick with Ubuntu 8.04.4 for building all of the stuff from tomato.git.


    I am still having issues with the USB-VPN build being absolutely HUGE, I am using the r2e build option should I be using something different? I just want USB support, I do not need the media server or samba just FTP, and VPN using the MIPSR2 option. Being able to get Toastmans QOS additions would be a bonus as well.

    Thanks again to Toastman for your post on how to create a build environment, and to Teddy_Bear for being insistent on Ubuntu 8.04.

    Still would like to see some resolution to the build issue on a newer build like Ubuntu 10.04 or Mint 9 but the problem resolution is going to need to come from someone more familiar with Linux then I.
     
  30. teddy_bear

    teddy_bear Network Guru Member

  31. Prophet

    Prophet Networkin' Nut Member

    So I try to install ipkg again and this is what I get:

    root@Wonderland:/tmp/home/root# wget http://www.3iii.dk/linux/optware/optware-in
    stall-ddwrt.sh -O - | tr -d '\r' > /tmp/optware-install.sh
    Connecting to www.3iii.dk (193.202.110.52:80)
    - 100% |*******************************| 2895 --:--:-- ETA
    root@Wonderland:/tmp/home/root# chmod +x /tmp/optware-install.sh
    root@Wonderland:/tmp/home/root# /tmp/optware-install.sh
    Checking system config ...
    Using 81.233.186.1 as default gateway.
    Using the following nameserver(s):
    nameserver 127.0.0.1
    Warning: /opt partition not empty!
    Installing package uclibc-opt_0.9.28-13_mipsel.ipk ...
    Some newer versions of DD-WRT does not show download progress bar,
    so just be patient - or check STATUS -> BANDWIDTH tab for download
    activity in your routers Web-GUI, and then still wait a minute or two.
    Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
    Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
    Connecting to ipkg2.nslu2-linux.org (140.211.169.161:80)
    uclibc-opt_0.9.28-13 100% |*******************************| 832k 00:00:00 ETA
    tar: can't create symlink from ./opt/lib/ld-uClibc.so.0 to ld-uClibc-0.9.28.so: Operation not permitted


    The lib /opt/lib/ld-uClibc.so.0 doesnt exist. Ill try and copy the old one into the new /opt, but it says (again) root@Wonderland:/tmp/home/root/hej/lib# cp -R * /opt/lib/
    cp: can't create symlink '/opt/lib/ld-uClibc.so.0': Operation not permitted

    Help?
     
  32. gingernut

    gingernut LI Guru Member

    Code:
    ginger@ginger-desktop:~$ cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=10.04
    DISTRIB_CODENAME=lucid
    DISTRIB_DESCRIPTION="Ubuntu 10.04.1 LTS"
    
    Code:
    *********************** Tue Aug 31 20:33:18 CEST 2010 ************************
    1.28.0000 MIPSR2-30_08_10 K26 Mini
    
    Creating little endian 3.0 filesystem on /home/ginger/tomato/release/src-rt/router/mipsel-uclibc/target.image, block size 65536.
    
    Little endian filesystem, data block size 65536, compressed data, compressed metadata, compressed fragments
    
    Filesystem size 2569.08 Kbytes (2.51 Mbytes)
    
    30.91% of uncompressed filesystem size (8311.68 Kbytes)
    
    Inode table size 4185 bytes (4.09 Kbytes)
    
    23.42% of uncompressed inode table size (17870 bytes)
    
    Directory table size 5088 bytes (4.97 Kbytes)
    
    59.12% of uncompressed directory table size (8606 bytes)
    
    Number of duplicate files found 0
    
    Number of inodes 566
    
    Number of files 391
    
    Number of fragments 34
    
    Number of symbolic links  137
    
    Number of device nodes 0
    
    Number of fifo nodes 0
    
    Number of socket nodes 0
    
    Number of directories 38
    
    Number of uids 1
    
    root (0)
    
    Number of gids 0
    
    Creating TRX: image/tomato-K26-1.28.0000MIPSR2-30_08_10-Mini.trx
    
    TRX Image:
    
    Total Size .... : 3526656 (3444.0 KB) (3.4 MB)
    Images ...... : 3523644 (0x0035c43c)
    Padding ..... : 2984
    Avail for jffs. : 7 EBs + 12288
    CRC-32 ........ : 7A932E1F
    128K Blocks ... : 27 (0x0000001B)
    64K Blocks ... : 54 (0x00000036)
    
    Offsets:
    
    0: 0x0000001C  lzma-loader/loader.gz
    1: 0x00000A8C  /home/ginger/tomato/release/src-rt/linux/linux-2.6/arch/mips/brcm-boards/bcm947
    2: 0x000DA000  router/mipsel-uclibc/target.image
    
    No problems here.
     
  33. though

    though Network Guru Member

    thanks teddy, will load this up tomorrow..
     
  34. Catalin

    Catalin Addicted to LI Member

    I'm running it already, no problems so far. Nice new feature: web monitor. :)

    There is any way of connecting a 3G USB Modem to use it as a backup internet connection?

    Thanks.
     
  35. groosh

    groosh Addicted to LI Member

    Have it loaded, boots up nice and quick and seems to be stable so far... thanks TB


    Hi gingernut, please try an r2e build from the git after 12082010. The mini build does not have the problem packages included in it.
     
  36. jovev007

    jovev007 Addicted to LI Member

    sd/mmc

    it's possible support of SD/MMC on WRT54?
     
  37. mstombs

    mstombs Network Guru Member

    radvd problem

    @teddy_bear

    I don't know how to fix the configure problem with the git download on my PC, but I'm afraid it is the old version of radvd that is the problem.

    If you replace the radvd folder

    02/21/2005 Release 0.7.3.

    with the latest from http://www.litech.org/radvd/

    05/03/2010 Release 1.6.

    it configures, and compiles with only one patch to delete the link to lfl, as per OpenWRT

    https://dev.openwrt.org/browser/packages/ipv6/radvd/patches/002-no_libfl.patch

    and a hack makefile.in line 225 (guess OpenWRT don't use that?)

    #radvd_LDADD = -lfl

    I've no idea what the IPV6 "Router Advertisement Daemon" does, or how to test, and guess they are some tomato specific configs needed, but the above allows the firmware to build, albeit with loads and loads of warnings...

     
  38. gingernut

    gingernut LI Guru Member

    tomato-K26-1.28.9050MIPSR2-beta20-Mini does not boot on myWNR2000v2. I haven't tried the no-usb std build but I can imagine that the same will happen.

    If you need any more info just ask.

    The last build that boots fine was beta 18 mini.
     
  39. karog

    karog Networkin' Nut Member

    When installing ipkg, /opt should be empty. Yours appears not to be empty.

    Of course /opt/lib/ld-uClibc.so.0 does not exist. That is the symlink that tar failed to create to ld-uClibc-0.9.28.so, the library with a more specific version number. You need to figure out why tar failed. Does the disk format of your new /opt permit symlinks for example? Are you doing this as root?
     
  40. gingernut

    gingernut LI Guru Member

    Git & Ubuntu updated as of today.

    Code:
    Creating TRX: image/tomato-K26USB-1.28.0000MIPSR2-05_09_10-VPN.trx
    
    TRX Image:
     Total Size .... : 6930432 (6768.0 KB) (6.6 MB)
       Images ...... : 6929088 (0x0069bac0)
       Padding ..... : 1316
     Avail for jffs. : 0 EBs + 0
     CRC-32 ........ : F96D1FF0
     128K Blocks ... : 53 (0x00000035)
      64K Blocks ... : 106 (0x0000006A)
     Offsets:
       0: 0x0000001C  lzma-loader/loader.gz
       1: 0x00000A8C  /home/ginger/tomato/release/src-rt/linux/linux-2.6/arch/mips/brcm-boards/bcm947
       2: 0x000ED000  router/mipsel-uclibc/target.image
    
    
    -----------------
    1.28.0000 MIPSR2-05_09_10 K26 USB VPN  ready
    -----------------
    
     
  41. Prophet

    Prophet Networkin' Nut Member

    So I sorted my /opt out. It seems it´s growing though. It´s grown about 1meg since the last 12 hours. That explains why I had issues to begin with. I used the link ( http://www.dd-wrt.com/wiki/index.php/Optware ) from the tomato docs to install optware. Any ideas why it does this and/or why it´s growing? (No I haven´t done ipkg-opt update or upgrade or touched it since I installed the only two packages im using)
     
  42. Prophet

    Prophet Networkin' Nut Member

    Thanks for your reply. I tried two different mounts and when I emptied out the original (dev/sda1) it worked. For some reason I couldnt get the other one to work. I checked perms and mount, both were correct as far as I can tell.

    (Lol moved polipo cache now, lets see if that fixes it)
     
  43. erikoss

    erikoss Addicted to LI Member

    WOW Surprised by such a big update (b20) by Teddy.
    I think well worth a nice donation.
    I'll make one when I get home.

    Thanks Teddy.
    Its amazing the amount of work you have put into tomato USB.
    And how you've worked together with so many people to resolve issues.
    Great team work!!
     
  44. bagu

    bagu Network Guru Member

    Good, b20 is the first build since b11 wich is not laggy on wireless.
     
  45. maurer

    maurer LI Guru Member

    I also noticed wireless speed improvements with B20 - but with default channel setting - with my old settings it was also laggy - so i suspect it was my fault in setting channels with previous settings.
     
  46. Prophet

    Prophet Networkin' Nut Member

    Half the samba speed here compared to .48. From ~5Mb/s to 2.73MB/s
     
  47. HorseCalledHorse

    HorseCalledHorse Addicted to LI Member

    From the changelog:

    * Added Hurricane Electric IPv6 Tunnel Broker IPv4 endpoint address updater to Dynamic DNS services.

    Very cool. Thanks, teddy. I image this would have addressed the problem I was having with my dynamic IP. I've since changed ISPs (my new ISP gives me a static IP) but this is a great feature for users with dynamic IPs who want to use an IPv6 tunnel.
     
  48. Meffy

    Meffy LI Guru Member

    Has anyone tried it on a WRT54G V2 before and are willing to share their experiences?:)
     
  49. andy

    andy Addicted to LI Member

    K26 (R1) build on ZTE H618B (BCM5354)

    I'm going to try the tomato-K26USB-1.28.9050MIPSR1-beta20-Ext in a ZTE H618B, which is a BCM5354 router but not listed here. I wonder if I can set the LED/Button working correctly.

    By "nvram show > /tmp/nvram.txt" and then search "gpio", I found the followings :
    1. Should I "nvram set" the above after flashing the firmware ?
    2. What else I have to "set" ?
     
  50. teddy_bear

    teddy_bear Network Guru Member

    andy,

    What firmware are you running on this router now? Have you already tried Tomato on it?

    The LEDs/Buttons might not be the biggest issue - so I would verify first if it boots up and works properly in every other aspect. Then we can try to address LED/Button behavior...
     
  51. Toastman

    Toastman Super Moderator Staff Member Member

    Today for the first time I am also getting the message about the missing ylwap in the radvd section. Environment has not changed, just some new merges slightly different to before. (Mint). But 10 minutes later the problem went away. But all I did was issue the same make line again!
     
  52. AeN0

    AeN0 Network Guru Member

    B20 seems fine (great job!) except this in syslog :

    Code:
    [B]Jan  1 01:00:48 router-n3500 daemon.crit dnsmasq[418]: unknown user or group: nobody
    Jan  1 01:00:48 router-n3500 daemon.crit dnsmasq[418]: FAILED to start up[/B]
    Jan  1 01:00:49 router-n3500 authpriv.info dropbear[554]: Running in background
    Jan  1 01:00:49 router-n3500 daemon.notice miniupnpd[558]: HTTP listening on port 49294
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: started, version 2.55 cachesize 2048
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP no-scripts TFTP
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: asynchronous logging enabled, queue limit is 5 messages
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq-dhcp[565]: DHCP, IP range 10.10.10.200 -- 10.10.10.249, lease time 7d
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: reading /etc/resolv.dnsmasq
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: using nameserver 208.67.222.222#53
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: using nameserver 8.8.8.8#53
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: using nameserver 212.27.40.240#53
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: read /etc/hosts - 2 addresses
    Jan  1 01:00:49 router-n3500 daemon.info dnsmasq[565]: read /etc/hosts.dnsmasq - 7 addresses
    Sep  6 20:41:47 router-n3500 user.info init[1]: Tomato 1.28.9050 MIPSR2-beta20 K26 USB Ext
    Sep  6 20:41:47 router-n3500 user.info init[1]: Netgear WNR3500L/U/v2
    and my custom dnsmasq config

    Code:
    cache-size=2048
    log-async=5
    strict-order
    no-negcache
    EDIT : rstp helper still not working

    The following is my firewall log when I play the rstp stream

    212.27.38.253 is rstp server
    82.227.246.71 is my wan IP

    The rstp helper should open the port and forwards all the rstp packet to my internal ip, right ?

    Code:
    Sep  6 20:50:40 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:40 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:40 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:40 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:40 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:41 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:42 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:43 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:44 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:45 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:46 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:47 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    Sep  6 20:50:48 router-n3500 user.warn kernel: DROP IN=vlan2 OUT= MAC=c0:3f:0e:be:c4:0d:00:07:cb:4b:91:c4:08:00:45:00:05:4c SRC=212.27.38.253 DST=82.227.246.71 LEN=1356 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=44945 DPT=61146 LEN=1336 
    
     
  53. teddy_bear

    teddy_bear Network Guru Member

    AeN0,
    It seems that on your box dnsmasq is trying to run too early... Not a big deal I suppose as it starts up just fine a bit later, but I still will look into it.

    I'm aware of RTSP conntrack issues in K26 builds, but no fixes have been applied to it so far. Does it work for you on another router in the vanilla Tomato, or in USB mod with kernel 2.4?
     
  54. teddy_bear

    teddy_bear Network Guru Member

    Please retest this with build 50. I don't have any of these servial readers to test myself, but I tried to backport a few more fixes from newer kernels for USB serial, and specifically for FT232RL... No idea if that would be enough though.
     
  55. groosh

    groosh Addicted to LI Member

    I was planning to drop in the latest openvpn code so I will also try getting the latest radvd and see if I can incorporate the same edits you have.

    thanks mstombs

    hmm... well then! what makes your 10.04 so special. =(

    I will continue to try and figure out what is wrong on my end.

    Thanks gingernut

    toastman did you just run the make again without a clean? I always run a clean and then the make... wonder if that will help me to get through that part.
     
  56. though

    though Network Guru Member

    OK boys... any idea why the RT-N12 speeds SUCK bigtime when used as a ethernet bridge? i tried both 'G only' and 'Auto', every wireless channel, tried both 20 and 40Mhz, tried encryption on/off, tried boosting the radio from 17 to 40 to 90, and no matter what, speeds still SUCK. if i use my laptop's wireless network card in the same room as the N12 as a wireless ethernet bridge, the speeds are WAY faster and ping times are much lower.

    what is going on???? anyone else notice this as well??
     
  57. though

    though Network Guru Member

    just a followup.... i loaded beta 10 on it, same results....

    now the depressing part... i just loaded the latest brainslayer dd-wrt build 8/12/2010 for sh!its & giggles and BOOM speeds are just as fast as my wired network for internet upload/download speed. ping times are also back to a solid 1ms just like my laptop's nic.

    the router that i am using to connect to is the N16 with build 20 on it if this helps at all.
     
  58. andy

    andy Addicted to LI Member

    I think the firmware I am using on the router is based on Tomato RAF firmware mod, and was further modified locally to support local popular routers. The "About" of the router is :
     
  59. shibby20

    shibby20 Network Guru Member

    Teddy you are my hero :) With Beta20 my oscam works great :) Another cardreader with pl2303 module also works! Great job my friend.

    If anyone want to run oscam on tomato, here is my package:
    http://tomato.groov.pl/repo/oscam_0.99.4-svn2967-3_mipsel.ipk
    - webif, default config files and init script included :)
     
  60. chchia

    chchia LI Guru Member

    Hi Teddy, thanks to your latest build 50, i am now able to run my RT-N12 with wireless encryption with more than 30 hours of no wifi drop, although it drop my wifi client at about 31 hours after flash.

    i have to admit this build is much more stable in RT-N12 wifi compare to previous version, but unfortunately it did not completely fix the wifi drop problem, yet.
     
  61. bogderpirat

    bogderpirat Network Guru Member

    meh, i have a feeling that busybox 0.17.2 broke classless static routes in udhcpc. worked fine with build 9049 (which had 0.16.2 i think), doesn't with 9050.
     
  62. teddy_bear

    teddy_bear Network Guru Member

    though & chchia,
    For what it's worth, I'm running my RT-N12 in wireless ethernet bridge mode, and it's very stable now - no drops at all (but I had problems with connection dropping during the wireless transfers in betas 15-18).
    The speed is also good - it connects to RT-N16 at 270-300 mbps, and gives about 8-10 MB/s transfer speed - good enough for HD content streaming (that's what I use it for). However, on a couple occasions, after some network reconfigurations/restarts, RT-N12 for some reason connected at a very low speed. Both times I fixed it by simply restarting the N12 radio...
    I've never used RT-N12 as an AP though - other than for short tests...

    bogderpirat,
    Actually, it's not a Busybox update... It was my change that broke it ;-(. I'll fix it back for the next update...
     
  63. chchia

    chchia LI Guru Member

    thank you teddy, may i know what tx power you used for this RT-N12?

    and do you use wireless encryption?

    in your precious version, i can have the router up and running for a day without drop when using no encrytion at all, but when use encryption then it will drop within an hour.
     
  64. ladysman

    ladysman LI Guru Member

    Teddy,
    Have you had issues in the past with your RT-N16 dropping wireless? I occasionally have this and it varies when it happens. I stream content (mostly HD) all the time at home.

    I'm using WPA2 AES now. Connection speeds are great, just the occasionaly dropout and I have to restart the wireless to get it back. I'm on beta 19 and wondering if beta 20 would help this. :)

    I previously had wireless issues with apple TV not connecting but it turns out it was a problem with my repeater which i have removed completely as we don't really need it anyway.
     
  65. myersw

    myersw Network Guru Member

    I had wireless issues with my RT-N16 running earlier betas of TB's. To make sure not a hardware issue I installed DD-WRT on it. Did not have any dropouts so left DD-WRT installed even though I like several things better about Tomato. I then saw Victek had his Tomato 1.28 for the N16 available. Having used Victek on a wtr54gl with zero issues I downloaded and installed. Now I have a RT-N16 that is happily running Tomato and zero issues. Has been up for over a week now and just runs with Victek. I know that folks like the TB mod but if you are having wireless issues I would suggest you give th Victek build a try.
    --bill
     
  66. teddy_bear

    teddy_bear Network Guru Member

    chchia,
    WPA2+AES, network mode "Auto", power set to 25mW.

    ladysman,
    Betas 18-19 have incorrect version of Broadcom crypto library included - that what was causing the dropouts in my tests... Other than that, I have never had a single issue with wireless on either N16 or N12.
    So - even if your issues are not the same - upgrading to beta 20 makes sense.

    myersw,
    As far as I know Victek mod is exactly the same as mine in terms of wireless - with Vic's features added. It's based on the git sources just a few commits prior to beta 20, so it should have the issue with crypto library already fixed. I'm sure Vic would have mentioned it to me if he made any kernel/wireless related changes.
     
  67. Guzel

    Guzel Network Guru Member

    Thanks teddy
    Nice work :)
    it works good in wnr3500l beta20 ,the speed is much beter then tha beta19, i get WAN-LAN 95/132 Mbits in beta20, in beta19 77/101 Mbits, I mis the fastNAT :-(
    Thanks
     
  68. teddy_bear

    teddy_bear Network Guru Member

    Guzel,
    Glad to hear this! I really hoped on the improved WAN-to-LAN speed - there were several important conntrack changes in the kernel applied between the last 2 versions.

    Unfortunately, this can't be as good as the "fast NAT" :( - but the existing Broadcom implementation of "fast NAT" is out of the question - it breaks inbound QoS, OpenVPN, layer7 and some other conntrack modules by allowing all "established" and "reply" packets to completely bypass the conntrack infrastructure...
     
  69. though

    though Network Guru Member

    teddy-

    are you connecting your N12 to a N16? are you using build 20 on that N16? are you using the default configuration for the N12 and N16 or are you changing any advance settings? how do you restart the N12 radio? i hope i can get this figured out, im not a fan off DD.

    thanks
     
  70. teddy_bear

    teddy_bear Network Guru Member

    though,
    Yes, N12 in WET mode connecting to N16 AP, always the latest - and often even newer ;) - build on both. WPA2/PSK+AES security, "Auto" network mode, 40 MHz channel width. Selected wireless channel may matter a lot as well - I had horrible speeds on some of the channels until I finally found one that was good.

    On the advanced settings the only change from default is the Transmit Power - I have mine set to 25mW on N12 and 20 on N16. But that, as the wireless channel, also depends on your specific environment - the distance and number of walls between the routers, etc.

    Not sure if it helps - there's nothing special about these settings... I must add that I have little to no interference from other APs - there are only 5 or 6 very weak ones around my house.
     
  71. though

    though Network Guru Member

    ok, as you said, i don't see any 'special' changes to your config. i tried every wireless channel, even japan channels 12-14. there are only a few other networks around me, also very weak.

    with the tomato, i would get ping times of around 1-300ms, totally random, whereas dd-wrt was giving me a consistent 1ms or <1ms, pretty consistent.

    i'll play around more with it tonight and report back. how do you restart the radio? just power cycle?

    thanks-
     
  72. bogderpirat

    bogderpirat Network Guru Member

    you... you villain!
    nah, great to know it's already all figured out! :biggrin:
    you're the best.
     
  73. ladysman

    ladysman LI Guru Member

    I personally restart the wireless by changing antenna power...probably a better way but thats how I do it.
     
  74. teddy_bear

    teddy_bear Network Guru Member

    Just disable/enable radio via GUI, or use the SES button to turn it off and back on (if you have the button configured to do so).
     
  75. chriswieringa

    chriswieringa Addicted to LI Member

    TB, just upgraded from beta18 to beta20, with an NVRAM reset. Got all my settings programmed back in, and PPTP conntrack again doesn't work.

    Beta18: PPTP conntrack on, VPN ok.
    Beta20: PPTP conntrack on, VPN can't establish. PPTP conntrack off, VPN ok.

    Conntracks used now: SIP, FTP only

    Just a heads up; I know that has been all over the place over the course of the betas. Not a big deal for me; I know where to check it to fix it.
     
  76. teddy_bear

    teddy_bear Network Guru Member

    Can't reproduce - PPTP conntrack still works for me in beta 20 - I can simultaneously connect to different VPNs from several client computers with no problems.
    Just in case it's a certain combination/order of conntrack modules, please post the "lsmod" output when PPTP conntrack is enabled and prevents your VPN to work.
     
  77. myersw

    myersw Network Guru Member

    Teddy Bear, I think the last version of your Tomato was beta 18 so it was awhile ago that I had the wireless issues. I would guess that things would work fine with your latest build as well. I tend not to change something just to change. Victek is working fine for me and I am back with a Tomato release. :)
    I really do not understand what takes DD-WRT so long to get USB/Samba support into the GUI the way you have done. I understand the BS is working on this for perhaps his next beta. Right now the only solution is Optware and while it is nice it seems over kill just to get the basic USB/Samba support.
    Thanks to you and Victek both for your hard work!! And if anyone asks yes I have donated.
    --bill
     
  78. andy

    andy Addicted to LI Member

    tomato-K26USB-1.28.9050MIPSR1-beta20-Ext on ZTE H618B

    teddy_bear,

    I have flashed the ZTE H618B router with the tomato-K26USB-1.28.9050MIPSR1-beta20-Ext. The router boots up successfully.

    After erasing the NVRAM and set the PPPoE username and password, it cannot connect to internet. Finally, I restored the original .cfg file and make it works. (Other local router forums mentioned this problem on this router before).

    This evening, I have to move the router back to home, then I should use another PPPoE username/password. Can I change this by using "nvram set":
    1. ppp_username=
    2. ppp_passwd=
    3. pppoe_passwd=

    What else I should set ?
     
  79. teddy_bear

    teddy_bear Network Guru Member

    Interesting... Do you know if the source code of the Tomato mod you've been using is available? If so, can you provide a link?

    You can try setting the username/passwords via nvram variables, but you can probably do it via GUI as well. The problem most probably is in some other critical parameters (maybe vlans configuration?) being incorrect after nvram reset since the firmware doesn't recognize your router - changing the username/password in the GUI won't screw up these parameters again.

    If there are no sources of that Tomato mod available, could you please send me the router's CFE (can be loaded using the link on the Administration->Debugging page), and output of "nvram show" command from beta20 with your working config loaded, as well as the "nvram show" from beta20 right after nvram erase? Thanks!
     
  80. andy

    andy Addicted to LI Member

    I found this link : http://code.google.com/p/forgotfun/downloads/list, but I am unable to login.

    I cannot post the cfe.bin as an attachment due to the forum's limit (?), could you PM me an email address then I can send it to you by email ?
     
  81. though

    though Network Guru Member

    i have come to the conclusion that the N12 SUCKS as a wireless ethernet bridge. with no traffic, ping times/loss is acceptable but try doing a large lan transfer and run a torrent and ping times go sky high and packet loss occurs.

    also, just plain old web download speeds suck in ethernet bridge mode. i do not attribute this to teddy, but to the N12. i am going to pick up another N16 and try it to see if it's better. my old WRT54G and WHR-HP-G54's were better than the N12...
     
  82. Spyros

    Spyros LI Guru Member

    Hi there, i just moved from DD-WRT to Tomato beta 20 after some short experience in the past with beta 14. There are lots of improvements and this firmware is really cool but i have a major problem:

    TVU Player is not working with QoS enabled, actually i'm having this problem

    and im using Toastgman settings from here

    http://tomatousb.org/tut:easy-toastman-qos-setup

    The only thing i've added is the oytbound/inbound max bandwidth and two tules to Class E for the two open ports of my p2p clients.

    I don't know if this a firmware or toastman's problem, the only thing i've discovered is that TVU uses TCP connections to port 80 which fall under the "lowest" class. My router is WRT-320N
     
  83. andy

    andy Addicted to LI Member

    K26 R1 EXT, ipt_recent

    teddy_bear,

    Thanks very much for you help in the H618B router. I'm now using the K26_R1_Ext_Beta20 on H618B and WL-500gpV2.

    Just found another problem :
    Code:
    root@unknown:/tmp/home/root# modprobe ipt_recent
    modprobe: module ipt_recent not found in modules.dep
    root@unknown:/tmp/home/root#
    Therefore, the following script is not working :
    Code:
    WANIP=$(nvram get wan_ipaddr)
    SSH_PORT=$(nvram get sshd_port)
    LANIP=$(nvram get lan_ipaddr)
    iptables -t nat -A PREROUTING -p tcp -d $WANIP --dport 33222 -j DNAT --to $LANIP:$SSH_PORT
    iptables -A INPUT -d $LANIP -p tcp --dport $SSH_PORT -m state --state NEW -m recent --set --name SSH_LIMIT --rsource
    iptables -A INPUT -d $LANIP -p tcp --dport $SSH_PORT -m state --state NEW -m recent --update --seconds 90 --hitcount 4 --name SSH_LIMIT --rsource -j DROP
    iptables -A INPUT -d $LANIP -p tcp --dport $SSH_PORT -j ACCEPT
    Is the ipt_recent module removed from the K26 build ?
     
  84. teddy_bear

    teddy_bear Network Guru Member

    If enabling QoS breaks TVU player, then obviously the settings you applied are not for you.

    You need to learn how QoS works (see, for example, this thread), and come up with your own configuration based on your specific needs. It's not a good idea to ever use somebody else's QoS settings blindly - even if they came from Toastman...

    xt_recent
     
  85. Spyros

    Spyros LI Guru Member

    Thanks, i've already asked toastman about this problem.
     
  86. chriswieringa

    chriswieringa Addicted to LI Member

    OK, working condition:

    [​IMG]

    Code:
    Tomato v1.28.9050 MIPSR2-beta20 K26 USB Ext
    root@cronus:/tmp/home/root# lsmod
    Module                  Size  Used by    Tainted: P
    ipt_webmon             20576  1
    cifs                  280128  1
    nf_nat_ftp              2816  0
    nf_conntrack_ftp        8160  1 nf_nat_ftp
    nf_nat_sip              4416  0
    nf_conntrack_sip        9024  1 nf_nat_sip
    wl                   2051584  0
    igs                    17904  1 wl
    emf                    22656  2 wl,igs
    et                     59104  0
    root@cronus:/tmp/home/root#
    --------

    Non-working condition:

    [​IMG]


    Code:
    root@cronus:/tmp/home/root# lsmod
    Module                  Size  Used by    Tainted: P
    nf_nat_pptp             2592  0
    nf_conntrack_pptp       6000  1 nf_nat_pptp
    nf_nat_proto_gre        2128  1 nf_nat_pptp
    nf_conntrack_proto_gre     4160  1 nf_conntrack_pptp
    ipt_webmon             20576  1
    cifs                  280128  1
    nf_nat_ftp              2816  0
    nf_conntrack_ftp        8160  1 nf_nat_ftp
    nf_nat_sip              4416  0
    nf_conntrack_sip        9024  1 nf_nat_sip
    wl                   2051584  0
    igs                    17904  1 wl
    emf                    22656  2 wl,igs
    et                     59104  0
    root@cronus:/tmp/home/root#
     
  87. andy

    andy Addicted to LI Member

    Thanks very much, it works.
     
  88. rhester72

    rhester72 Network Guru Member

    This is the longest and craziest thread ever. :)

    That having been said - is there anything obvious preventing use of ext4 on Tomato, short of compiling it in?

    Rodney
     
  89. teddy_bear

    teddy_bear Network Guru Member

    Nothing, except ext4 in 2.6.22 probably has many bugs...
     
  90. rhester72

    rhester72 Network Guru Member

    Looks like backporting changes from 2.6.29 at minimum is required for safety. Urk.

    Trying to get sparse files elegantly supported. Probably not a quick job. =)

    Rodney
     
  91. bagu

    bagu Network Guru Member

    I don't remember but is kernel 2.6.22 an asus limitation ?
     
  92. gingernut

    gingernut LI Guru Member

    Broadcom drivers limitation.
     
  93. rhester72

    rhester72 Network Guru Member

    How does one go about enabling IPv6 at the local interface and PPPoE level in the latest extras build?

    Rodney
     
  94. teddy_bear

    teddy_bear Network Guru Member

    Code:
    echo "0" > /proc/sys/net/ipv6/conf/<iface>/disable_ipv6
     
  95. rhdcheme

    rhdcheme Addicted to LI Member

    I've been using build 50 for the past few days and it seems much snappier than before. Thanks TB!
     
  96. though

    though Network Guru Member


    teddy-

    i've been testing the N12 as an ethernet bridge to my N16 and can not get faster than 3-4MB/s transfer speeds from devices plugged into the N12. it says that it's connected @ 300mbps most the time in the GUI as well, but it's still slow as piss. when i do a file transfer, ping times go sky high and i get occasional packet loss, much higher than if it was just on 'standby'...

    i have another N16 on the way to try in ethernet bridge mode and will see if things improve. i'll report back with the results in a few days.

    for others out there that may be reading this, which wireless units are you using in ethernet bridge mode and getting the fastest/stable results from?
     
  97. pfoomer

    pfoomer LI Guru Member

    Will it be possible?

    I am testing kernel v 2.6 std on a WRT54GL.

    It has less available memory than the original tomato, but the important thing is it doesnt eat this memory like the original , stays around 5600 typically.

    Now a question...

    Can the ext version fit on this router?

    If not will there ever be a ipv6 standard version, ie will it fit?

    Do I buy a new router :(
     
  98. Toastman

    Toastman Super Moderator Staff Member Member

    TVU Player

    With regard to this query, if TVU player really does use TCP port 80, then it would work just the same as any other HTTP connection until the outgoing data exceeds the "transferred" limit and then it would drop into the lower download class. That might kill the connection I suppose. I've just tried TVU player here on 32 and 64 bit machines and cannot get it to work - it generates many connections but either crashes or just hangs "connecting". Googling for info shows this to be quite a common problem with TVU. Seems to be a POS software to me. All other P2P video sharing applications except this one seem to work, with or without QOS enabled.

    So doesn't seem to be related in any way to Teddy Bear's builds...

     
  99. jubei_nj

    jubei_nj Addicted to LI Member

    Asus RT N16 signal issues

    Hi all,
    First of all, thank you for this firmware! I've always preferred Tomato to DD-WRT and this gives me the opportunity to run it.

    Just got an Asus RT N16 as a backup to my Netgear WNDR3700 (w/ DD-WRT which can sometimes be flaky). Having some troubles getting wireless signal where the Netgear has no problem.

    I've got the RT N16 setup with Tomato 1.28 - newest build. I used the guide here to flash it:

    http://tomatousb.org/tut:installing-on-asus-rt-n16

    No problems flashing, everything seems to be working. I've got Wireless set WPA2 Personal AES only (as per N standards). It initially said 300 mbps rate before I had wireless clients attached to it. Now it says 5.5 mbps. I'm only get (2) bars on my MacBook Pro in the living room (same floor as router and threw a couple walls). My Netgear WNDR3700 & Buffalo WHR-HP-G54 (with Tomato) both have full bars in the same location - no tweaks to power settings.

    What are the best settings for this router to get it to work right? Thanks!
     
  100. pfoomer

    pfoomer LI Guru Member

    Hi

    what speed is your internet connection?, and are you doing large file transfers via wireless, to a server on your lan?
     

Share This Page