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

Tomato RAF Releases

Discussion in 'Tomato Firmware' started by Victek, Dec 28, 2012.

  1. alfag4

    alfag4 Reformed Router Member

    Hi Victek, i try to build the 1.2w r2nf from git on ubuntu13.10 64bit but i get this error! :(

    Code:
    Making all in src
    make[7]: ingresso nella directory "/home/luca/Desktop/Tomato-RAF/release/src/router/siproxd/src"
    incrementing BUILD number
    if /bin/sh ../libtool --tag=CC --mode=compile mipsel-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/home/luca/Desktop/Tomato-RAF/release/src-rt/router/libosip2/include -I/home/luca/Desktop/Tomato-RAF/release/src-rt/router/siproxd/libltdl -D_GNU_SOURCE -DLTDL_CONVLIB -DBUILDSTR="\"`cat .buildno`\"" -Os -Wall -DLINUX26 -DCONFIG_BCMWL5 -pipe -DBCMWPA2 -funit-at-a-time -Wno-pointer-sign -mtune=mips32r2 -mips32r2   -ffunction-sections -fdata-sections -pthread -D_POSIX_THREAD_SAFE_FUNCTIONS -MT plugin_demo.lo -MD -MP -MF ".deps/plugin_demo.Tpo" -c -o plugin_demo.lo plugin_demo.c; \
        then mv -f ".deps/plugin_demo.Tpo" ".deps/plugin_demo.Plo"; else rm -f ".deps/plugin_demo.Tpo"; exit 1; fi
    ../libtool: line 851: X--tag=CC: command not found
    ../libtool: line 884: libtool: ignoring unknown tag : command not found
    ../libtool: line 851: X--mode=compile: command not found
    ../libtool: line 1017: *** Warning: inferring the mode of operation is deprecated.: command not found
    ../libtool: line 1018: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
    ../libtool: line 1161: Xmipsel-uclibc-gcc: command not found
    ../libtool: line 1161: X-DHAVE_CONFIG_H: command not found
    ../libtool: line 1161: X-I.: command not found
    ../libtool: line 1161: X-I.: command not found
    ../libtool: line 1161: X-I..: command not found
    ../libtool: line 1161: X-I/home/luca/Desktop/Tomato-RAF/release/src-rt/router/libosip2/include: No such file or directory
    ../libtool: line 1161: X-I/home/luca/Desktop/Tomato-RAF/release/src-rt/router/siproxd/libltdl: No such file or directory
    ../libtool: line 1161: X-D_GNU_SOURCE: command not found
    ../libtool: line 1161: X-DLTDL_CONVLIB: command not found
    ../libtool: line 1161: X-DBUILDSTR="229": command not found
    ......................
     
  2. Victek

    Victek Network Guru Member

    make distclean to sort on dependencies, I think this X. is something related with V1 or V2 switches ... try this:
    make V1=9013 V2=1.28-V1.2x r2nf (for 32KB nvram Asus RT-N16) or n60nf (E4200), read the readme.txt in github to check you have the needed tools.
     
  3. Ric

    Ric Network Guru Member

    Vic, is the above on by default? Where to enable/edit? Did not find in menus anywhere.
     
    Last edited: Dec 21, 2013
  4. Victek

    Victek Network Guru Member

    When you enable/disable ICMP ping enabled in advanced/firewall it corresponds for IPv4 & IPv6.
     
  5. Ric

    Ric Network Guru Member

    Okay. For some reason, I'm seeing timeouts from the wan for the IPV6 but the IPV4 seem fine. From the LAN, all works as expected. May have something to do with the tunnel (6rd).
     
  6. The Master

    The Master LI Guru Member

    Hi Victek,
    is it possible to make a "year" sektion in WAN Bandwidth Monitoring? Or could i make one with a command?

    Thx
     
  7. Victek

    Victek Network Guru Member

    tunnelbroker?

    Opsss... ;) it's not in my mind.. since I release new version every week or month now... it's not difficult but then I think you need cifs1 storage... not?
     
  8. Ric

    Ric Network Guru Member

    AT&t
     
  9. The Master

    The Master LI Guru Member


    i write it already to Cifs ... so this is not the Problem.

    Maybe in a new Version next Year...
     
  10. ghoffman

    ghoffman Addicted to LI Member

    hi victek -
    using 1.2x on E4200:
    regarding siproxd - i still don't see any port 5060 detection, and i can't turn off the 'siproxd at startup' via gui. it seems that the 'save' button does not work on siprox page.
    thanks
     
  11. omgsy

    omgsy Reformed Router Member

    I have a question. When my laptop is connected with WIRE, and another one is connected to wireless, and i'm playing a game with the laptop that is connected with wire, i lag when the wireless laptop watches stream or something.

    How is it that one laptop that is connected to wireless makes my connected to wire lag this much?

    How do i fix this? Will using tomato-raf fix this?
     
  12. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    Assuming you're talking about streaming across the WAN interface, I recommend the bandwidth limiter on the laptop that does the streaming. It would also be worth reading the QoS tutorial thread to provide some context. The bottlenecks for bandwidth for most home networks are the WAN speed and WiFi, but the former is usually most important.
     
  13. omgsy

    omgsy Reformed Router Member

    I meant like watching youtube or videos online for korean dramas and stuff. I play dota 2 (wired) and when the other laptop watches those on wireless network, my dota 2 lags a lot and the ping would spike up to like 200~300. When the wireless network doesnt do anything, it is constant 50~60ms.
     
  14. Victek

    Victek Network Guru Member

    It's an evident bandwidth problem and the ping figure indicates that, nothing related between wireless or wired connection.
    You're lucky cause I'm testing siproxd in the same model... and as I said before it works but may be you have to clean cookies in your browser, did you?. I can select LAN or wireless and the intercept port works, do you have any log messages that could help me to see what's going on in your router? Thanks!
     
  15. Victek

    Victek Network Guru Member

    To make one year log screen it's not a problem... as I said and you confirm the storage is the only one. ;)
     
  16. asturnauta

    asturnauta Networkin' Nut Member

    Hi,

    Hi have been tomato raf user during two years and it is incredible. When i update to a new version, i always do it with nvram erase and reconfigure all my options again.

    Is it possible to save port forwarding configuration and restore again with commit commands?

    I have no problem with reconfigure the options again, but the portforwarding is a little bit more dificult (many options).


    Thanks.
     
  17. Victek

    Victek Network Guru Member

    No problem, do it in this way using command from cli...

    Code:
    Tomato v1.28.9013 MIPSR2-RAF-V1.2x K26 USB
    root@E4200:/tmp/home/root# nvram show | grep forward
    ipv6_portforward=1<1<<<80<>
    portforward=1<1<<21<<10.10.2.4<>1<1<<80<<10.10.2.4<>1<1<<8085<<10.10.2.4<>1<1<<9091<<10.10.2.4<>1<1<<51413<<10.10.2.4<>
    sshd_forwarding=1
    trigforward=0<1<3000:4000<5000:6000<ex: open 5000-6000 if 3000-4000>
    root@E4200:/tmp/home/root#
    
    You see the line portforward?, ok, copy in your notepad as it (look the nvram set and " I added):

    nvram save portforward="1<1<<21<<10.10.2.4<>1<1<<80<<10.10.2.4<>1<1<<8085<<10.10.2.4<>1<1<<9091<<10.10.2.4<>1<1<<51413<<10.10.2.4<>"

    and after flash enter again this line in command, type nvram commit after and data is saved...
     
    asturnauta likes this.
  18. MatteoV

    MatteoV Serious Server Member

    Hi all!
    @Victek
    I'm experiencing problems with cron / scheduler in latest version, just upgraded from 1.2w on E4200 in the usual way: nvram save, upgrade with reset, re-insert personal nvram values after diff done with nvram diff application found here. I don't know if it's me actually but I don't think so just because I always had this simple schedule:
    Code:
    chmod +x /mnt/sda1/cronjobs/*
    /mnt/sda1/cronjobs/sch1.sh
    running every minute and it always worked, even after many upgrades.
    Instead, this time, it never works. I double checked that launching the simple
    Code:
    /mnt/sda1/cronjobs/sch1.sh
    works fine, it's just the scheduler which does not run it every minute as expected.
    Nvram shows:
    Code:
    root@ROUTER:/tmp/home/root# nvram show | grep sch
    sch_c1=1,-1,127
    sch_c1_cmd=chmod +x /mnt/sda1/cronjobs/* /mnt/sda1/cronjobs/sch1.sh
    sch_c1_last=1387716361
    The only crond log I can see is:
    Code:
    Dec 22 13:21:56 ROUTER cron.err crond[715]: time disparity of 23128580 minutes detected
    I'm unsure if this is normal or bad.

    What's going on in your opinion?

    [EDIT]
    My fault. My script was checking for multiple scripts running concurrently and it seems that for some reasons now the scheduler runs the code in a way it seems 3 of my scripts are running when in reality only one is. Before 1.2x I used "2" max and it was the right limiting number for my script to exit, while now it would stop every operation.
    Sorry.
    p.s. thanks for the 1.3.3 dnscrypt-proxy too.
    Keep up the good work ;)
    Regards and happy holidays everyone!!!
     
    Last edited: Dec 22, 2013
  19. dc361

    dc361 LI Guru Member

    How about this one:

    nvram export --set | grep forward

    This command adds all the quotes and formats the output to include the nvram set command.
    Code:
    root@TomatoRAF-ECN-24:/tmp/home/root#  nvram export --set | grep forward
    nvram set sshd_forwarding="0"
    nvram set trigforward="0<1<3000:4000<5000:6000<ex: open 5000-6000 if 3000-4000>"
    nvram set ipv6_portforward=""
    nvram set portforward="0<3<1.1.1.0/24<1000:2000<<192.168.1.2<ex: 1000 to 2000, restricted>0<2<<1000,2000<<192.168.1.2<ex: 1000 and 2000>0<1<<1000<2000<192.168.1.2<ex: different internal port>0<3<<1000:2000,3000<<192.168.1.2<ex: 1000 to 2000, and 3000>"
    
     
  20. ghoffman

    ghoffman Addicted to LI Member


    hi vic -
    if i uncheck the 'siproxd at startup', on th gui everything gets greyed out, but 'save' does nothing. when i navigate back to the page, everything is still checked.
    i looked at nvram at it appears that nothing chenges there either:
    Code:
    siproxd_autosave_registrations=90
    siproxd_daemonize=1
    siproxd_debug_level=0
    siproxd_debug_port=0
    siproxd_default_expires=600
    siproxd_enable=1
    siproxd_if_inbound=vlan2
    siproxd_if_outbound=br0
    siproxd_intcpt=0
    siproxd_listen_port=5060
    siproxd_logcall=1
    siproxd_pi_shortdial1=
    siproxd_pi_shortdial2=
    siproxd_pi_shortdial3=
    siproxd_pi_shortdial4=
    siproxd_pi_shortdial5=
    siproxd_pi_shortdial_akey=*00
    siproxd_reboot=1
    siproxd_rtp_dscp=46
    siproxd_rtp_port_high=10100
    siproxd_rtp_port_low=10000
    siproxd_rtp_proxy=1
    siproxd_rtp_timeout=300
    siproxd_shortdial=1
    siproxd_silence_log=1
    siproxd_sip_dscp=0 
    cleared cookeies, tried it on IE and firefox, but always the same.
    the start/top button in status work to start or stop the daemon; it's just the 'save' doesn't seem to do anythng.
     
  21. Victek

    Victek Network Guru Member

    That's smart ;)
     
  22. alfag4

    alfag4 Reformed Router Member

    Finally works!! I recloned the latest git version ;)
    The r2nf is also for N66U?
     
  23. The Master

    The Master LI Guru Member

    Hi Victek,

    what do you mean with "THE ONLY ONE Storage" ?...
    The Monitoring is connected with my CIFS1 Storage. And my Block Script is connected with my CIFS2 Storage. Is this a Problem?! i dont think so. Or iam missunderstand you?!

    Thx
     
  24. Victek

    Victek Network Guru Member

    Yes, you have to add NVRAM_64K=y before the r2nf to build for RT-N66 or any router with 64KB nvram since it's a no header version (.trx) ... checkout -b master to avoid merge with ARM branch.. wip.
    No, I confirmed what you said... but I was thinking also another alternative in the cloud... just thoughts ;) , sorry for misunderstanding ...
     
  25. omgsy

    omgsy Reformed Router Member

    What would i need to do to fix it then? Do i need to call my isp and tell them to increase my bandwidth? I am very new to these kinds of stuff so...

    Is bandwidth the internet speed that i am having?

    My download speed is only 14~16 mbps and upload is 1~2 mbps.
     
  26. NikCoul

    NikCoul Reformed Router Member

    Sorry, I meant I had been running a different version for a few days, now on latest with cleared NVRAM as recommended, but still i only see stats for port WAN, so anything for the VPN / Tunl1 / Tunl2 ports are still not showing.
     
  27. riley0

    riley0 Addicted to LI Member

    Happy holidays and thanks for the recent progress. Any chance of an updated 1.2x build for RT-N12 (B1/D1)?
     
  28. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    Install Tomato RAF, set a static ip address or static DHCP lease to the laptop that does the streaming, and set the bandwidth limit for that laptop to two thirds of your upload and download speeds measured with speedtest.net. Alternative is enabling QoS and setting your bandwidth limits to 65-80% of your upload and maybe 90‰ of your download speed. Then test and adjust to your liking.
     
  29. omgsy

    omgsy Reformed Router Member

    are these two the only way? Why does this even happen? Is it because my download and upload speed is really bad?

    the other laptop which uses wireless only watches youtube at certain times... when the owner is home...

    I use time warner cable Turbo speed which gives me up to 20mbps but i only get 14~16mbps.
     
    Last edited: Dec 22, 2013
  30. -=XERG=-

    -=XERG=- Serious Server Member

    Absolutely. You need to use Tomato to set a static IP on the laptop so when you limit it's bandwidth it will stick. If the laptop's IP changes, then the limits will not apply as it won't 'see' the laptop on the network.

    Streaming videos and games kick the crap out of your bandwidth. That's decent throughput but streaming will absolutely make your games take a hit. This varies on the horsepower of your router too!

    If you really want to take advantage of TWC Turbo, go purchase your own DOCSIS 3.0 modem and call them and have it put into service. Just call them and tell them you bought your own and you want to 'decommission' your current rented TWC modem and your wish to 'commission' your newly purchased modem. Highly recommend buying a Motorola Surfboard. I think you'll be pleasantly surprised! Hint: depending on your subscription and area you might get wideband speeds (50-60mbs down).
     
  31. eahm

    eahm LI Guru Member

    Not gonna lie, first time I flashed a VLAN version (1.2v) on a company and we have few "slowness" and small almost not-noticeable issues. Toastman STD (non-VLAN version) seems much more stable.
     
  32. Victek

    Victek Network Guru Member

    :) (My father said.. when somebody says you 'I not gonna lie you' .. simply smile and get ready! ). I can't answer nothing without any technical issue reported and based in your perception. Please use Toastman version if you feel it more 'stable'.

    You can flash V1.2x, it's the latest one and I'm glad how it works. It solved many kernel and IPv6 problems.

    Merry Christmas !!
     
    eahm, Elfew, Daky and 1 other person like this.
  33. omgsy

    omgsy Reformed Router Member

    I asked TWC and they said they do have Motorola Surfboard. I might ask to replace my old one for me because I already am renting their modem. Also, even after I change to this, would I need to limit the bandwidth on the laptop using wireless?

    How is it possible to get 50~60mbs down if I am only paying for service that is only 20mbps down and 2mbps up?
     
  34. -=XERG=-

    -=XERG=- Serious Server Member

    If you buy your own, you can avoid the $4/mo rental charge. So it pays for itself in a little over 2 years. You buy a Docsis 3.0 modem. That's very important. TWC is running Docsis 3.0, but the back end was still prepped for 2.0. The big difference was, if you used 3.0 on their 2.0 network and had Turbo, then it would channel bond and you'd pull down two subscriptions worth. The upload didn't improve however. I have had Verizon FIOS for 3 years now, but afaik, the Docsis 3.0 channel bonding still works in most areas.

    From what I can see, you have two options. Buy a big bad router (you may want to do this anyway) or put in the bandwidth limiter on the laptop streaming Netflix. You seem hesitant for some reason? What's the problem?
     
  35. -=XERG=-

    -=XERG=- Serious Server Member

    Looking forward to 1.3 being under my Christmas tree!!! :p

    I strayed a few times trying different tomato's but always came back to Victek's. If you have performance issues, there are more streamlined options. Victek's is the swiss army knife of the Tomato's! ;)
     
    Victek and mpegmaster like this.
  36. omgsy

    omgsy Reformed Router Member

    What does it mean "you'd pull down two subscriptions worth?"
    I dont want to buy it because I wont be living in my house anymore and transferring to college soon.
    I may just rent one and replace my old one, if i have time to go to local office.

    I guess my best option is to use bandwidth limiter. It's just that everytime tomato-raf updates, I would have to flash the updated version again and I am scared that it would break my router during the process...

    Well. How would I go about doing the bandwidth limiter on my wireless laptop? The owner only watches youtube SOMETIMES so I guess bandwidth limiter is better than QoS?
     
  37. Marcel Tunks

    Marcel Tunks Networkin' Nut Member

    You don't have to update TomatoRAF any more than you "have to" update your BIOS. Flashing firmware is like buying a house - you keep what you've got until it no longer meets your needs. If there's a specific feature or bugfix in a changelog, then update. The frequent posters that update every release like to test, play with stuff, and try to help Victek and the other devs, but there are people in this forum running versions of Tomato that are years old.
     
    jerrm likes this.
  38. Victek

    Victek Network Guru Member

    LOL, good description of multipurpose firmware....;)
     
  39. omgsy

    omgsy Reformed Router Member

    I checked with my TWC and I can use their DOCSIS 3.0 modem that they have. Hope they have one in stock in my local TWC cable office. I hope the DOCSIS 3.0 will boost my internet speed and fix the ping issues.

    "The big difference was, if you used 3.0 on their 2.0 network and had Turbo, then it would channel bond and you'd pull down two subscriptions worth." What does this mean when you said this? I do have turbo subscription right now. 20 mbps/2mbps.
     
    Last edited: Dec 23, 2013
  40. Victek

    Victek Network Guru Member

    Yes, the feedback is very important to maintain tomato and this is one of the 'good' things in this forum when users commit issues with attached documentation to emulate the issue.
    For instance to solve the IPv6 dhcpv6-pd issue in NZ and AU with some ISP's got about one month with frequent ssh connections to New Zealand from Europe (time difference included) to see what happened in the router when the user was not able to connect using ipv6 to the ISP.
    This dedication seeking the problem is not usual and we did cause we trust in tomato firmware ;) sometimes is more than one hobby.
     
  41. eahm

    eahm LI Guru Member

    I don't have any complain and nothing technical to provide, I've been using 1.2v and 1.2x at home and everything seems good, quick and stable. This company has 10 computers + IP phones etc. The UPnP recognition from the phone seemed slower (I have to check, this test was done the second day I was there and I have nothing to provide).

    I will check better later, merry Christmas to you as well.
     
  42. Victek

    Victek Network Guru Member

    Thanks eahm, I'm testing now a new UpnP project in the net .. it looks very responsive (sometimes too much ...) do you have opportunity to test?
     
  43. Edrikk

    Edrikk Network Guru Member

    Hi Victek,

    Why the thought to move away from minuupnpd?
    It's proven itself to be the most reliable server across router firmwares (eg manufacturer default, dd-wrt's crappy one, etc).


    PS. New version released: miniupnpd-1.8.20131216

    Which project if you can share? A little but worried to be honest... ;)
     
  44. Victek

    Victek Network Guru Member

    My mistake... I was testing the miniupnpd version you mention and I see it works very responsive sometimes ;)... the actual one is feb 2013.

    Edit: btw, Do you want to test it?.. it's working in my unit for 2 days and it looks very stable, I have to use for ARM with xtables, I think since IPv6 it's implemented we have to shift to xtables.. or nftables, If we use xtables it's a simple binary and compatible with existing iptables that can be updated to optimize the code and merge IPv6&IPv4 in common sections.

    If we start with nftables it's a project going to replace complete iptables and I'm worried to start with it and run a 'desert walk' again as we lived with dnsmasq half year ago when radvd was deprecated ... but it's the opportunity to jump the bandwidth problems for the future changing to mangle rules when possible..... TRL (thinking, reading, learning) meanwhile ..
     
    Last edited: Dec 24, 2013
  45. Elfew

    Elfew Addicted to LI Member

    I thought that nftables is a project under developement in beta stage... ok, it has many advantages but it is a long time challenge.

    So maybe the first step is to shift to xtables and than to nftables (because xtables are easier to implement and you already use it in arm build)
     
  46. Edrikk

    Edrikk Network Guru Member

    Hi Victek,

    I'd be happy to (on an E3000). But please keep in mind that in the next few days my testing would simply have to be background (ie automated) utorrent runs and people coming on the network.

    Christmas time, so don't have much control... ;)
     
  47. deagle

    deagle Reformed Router Member

    Thanks for all your hard work!

    DD-WRT is out for the EA6700 but I would rather flash your firmware. Any update on when ARM might be ready?
     
  48. Larix

    Larix LI Guru Member

    Thank you for the WRT320N build but I have flashed the latest stable Toastman's Tomato again. Because the WLAN with yours version "1.2x" isn't good with my WRT320N. I have tested it now about few days. In the near of the router I have good wlan speed and it's strong. But in the living room I get a poor connection to the wlan. The smartphone and the television have often problems to get a connection to the WLAN in the living room.

    For comparison I have made a screenshot from the device list with Toastman's Build. The TX and RX Rate are better. ;*( The second is my smartphone and the third my TV.
     

    Attached Files:

  49. lefty

    lefty Networkin' Nut Member

    curious question, you are using toastman RT branch build?
     
  50. Larix

    Larix LI Guru Member

    Yes I think that's a RT branch build: tomato-K26-1.28.7503.5MIPSR2Toastman-RT-Std.trx.
    Why?
     
  51. Elfew

    Elfew Addicted to LI Member

    Test real speed, tx/rx values are inacczrate because of different wireless driver,,,it is a known problem
     
  52. Larix

    Larix LI Guru Member

    The speed when I use the Smart TV or the android browser is faster with the Toastman build.
    And the connection to the wlan is stronger.
     
  53. Elfew

    Elfew Addicted to LI Member

    Interesting... I have opposite experience with my rt-16n. With rt-n better and stronger signal and speed is over 20% higher.
     
  54. Victek

    Victek Network Guru Member

    Wireless driver are a random score depending of receiver type, branch, distance, etc.. The wireless rate is not a good indicator of the wireless performance, the RSSI value is the used parameter to measure it but as I said, results change from user experience and devices used. Use the best for your need.
     
  55. lefty

    lefty Networkin' Nut Member

    Because, i have noticed this as well. With older BCM 47xx based units, it seems the RT driver has a better signal. Victek's mod only uses RT-N or better, so on my newer BCM 5xxx based units this mod is great, but on my older units - not so much as far as signal is concerned.
     
  56. Lorenceo

    Lorenceo Networkin' Nut Member

    Both my N16 and N66u seem to have poor wireless performance with the 1.2x build. The N16 wireless performed very well on an old Toastman build. It's not a major concern. The wireless still covers the whole house, and my internet isn't fast enough to exceed the wifi speed anyway, even when it is running at a low speed.
     
  57. Victek

    Victek Network Guru Member

    Depending on model old driver performs much better, it's a sign of evolution, if we extend tomato to other models we have to adapt new drivers to go forward. Lorenceo, great to see you back, didn't heard from you since dhpcv6-d problem is solved with tomato raf ... ;)
    Your comment it's not descriptive, could you specify what's wireless performance?, speed, coverage, rssi?... as far I used also old wireless driver I had problem with certain wireless cards that was solved with new drivers. Also new drivers SDK6 got diverse opinion from users, rssi is lower but stability seems better..

    In my case the RT-N16 using wireless I have transfer speed of 80Mbps with a cheap ralink usb adaptor but 35Mbps with Intel 6300 ultimate wireless card in 2.4GHz band. In my opinion it depends on wireless drivers used in your wireless card NOT of router wireless driver.

    With E4200 I got 100Mbps with Intel 6300 adaptor and 120Mbps with Asus USBAC53 in 5GHz band. Again.. it depends on your wireless adaptor. It's a repeated subject in many posts...
     
    Last edited: Dec 26, 2013
    RonV likes this.
  58. Toastman

    Toastman Super Moderator Staff Member Member

    I concur with Victek's post. I see so many people complain of poor performance that has nothing to do with Tomato, but rather, the client's wireless. I have a great many users, and I've also noticed that the throughput (and often the signal strength) to be better with the "cheap" chinese USB adapters then the built-in wireless in many laptops. Currently, I supply people who have problems with Tenda and TP-Link adapters. In several university campuses here, where people's Intel cards have problems connecting with their AP's, this has also fixed their problem.
     
    RonV likes this.
  59. Victek

    Victek Network Guru Member

    Someone with gigabit Internet connection and RT-AC56U or RT-AC68U?... for a test probe. I need to know the irqsoft % obtained during downloading. Speed and %.

    Edit: Enter in telnet (with Asus firmware go to Administration and enable telnet), type 'top' and then number one (1) to see dual core activity. My activity downloading at 200Mbps.

    Code:
    Mem: 16384K used, 239316K free, 0K shrd, 1272K buff, 11548K cached
    CPU0:  0.0% usr  0.0% sys  0.0% nic 86.8% idle  0.0% io  0.0% irq 13.1% sirq
    CPU1:  0.0% usr  1.5% sys  0.0% nic 97.2% idle  0.0% io  0.0% irq  1.1% sirq
    Load average: 0.07 0.05 0.05 3/65 3165
    

    Thanks!
     
    Last edited: Dec 28, 2013
  60. jerrm

    jerrm Network Guru Member

    Another post about the "Save" button on the SIP page not working in 1.2x. Looks like it may be an IE issue. IE9 and 11 don't work. (don't have an ie10 box to test right now). Chrome and Firefox work.
     
  61. mpegmaster

    mpegmaster Addicted to LI Member

    jerm,

    Did flush your cache in I.E. ?

    Did you try it in Firefox or Chrome?
     
  62. jerrm

    jerrm Network Guru Member

    Yes and as noted, yes.
     
  63. Victek

    Victek Network Guru Member

    Thanks jerrn, could you try if the same happens when you push Save in Web Server? I don't have IE in my OS..

    Edit: I checked with IE11, Nginx OK, Siproxd fail, patched, next release..
     
    Last edited: Dec 31, 2013
    jerrm likes this.
  64. ghoffman

    ghoffman Addicted to LI Member

    jerm and victek -
    i confirmed the siproxy "save" error does happen with IE and does not happen with chrome.

    however - there is a bigger problem: "SAVE" initiates a reboot without warning. I try to save usage stats before shutdown and this obviously is incompatible with that operation. I don't know of any other setting that initiates reboot with out warning. please examine.
    thank you
     
  65. Victek

    Victek Network Guru Member

    Yes, there is no warning about this reboot... It was on previous test, I think I can quit this reboot and do a commit instead. I'll comment to @roadkill, Thanks!
     
    Elfew likes this.
  66. mrQQ

    mrQQ Addicted to LI Member

    what was the reason for new folder - 1.3 "pro" on your file host?
     
  67. Victek

    Victek Network Guru Member

    Folder removed, was the beta test version for siproxd before integration in definitive releases.
     
  68. srwal

    srwal Serious Server Member

    Just wondering the TomatoRAF supports the Linksys EA Series as yet. I'm currently using a EA6500v1 and wanted to know if there was tomato support
     
  69. Victek

    Victek Network Guru Member

    Belkin-Linksys don't consider third party firmware as a tool to grow their business and spread brand recognition as opposite to other manufacturers ... no samples, no information, no plain source code available, no answer... no TomatoRAF for these units. :D
     
    philess likes this.
  70. diamuxin

    diamuxin Reformed Router Member

    Hello Victek

    As I set NGINX web server to run PHP pages. I have it configured in
    Code:
    /tmp/mnt/sda1/www 
    and my HTML page is OK but does not work PHP pages. I tried "phpinfo.php" with the code:

    Code:
    <? php
    phpinfo ();
    ?>
    
    And I get no response.

    Can you help?

    Thanks in advance.

    Sorry my bad English.
    Diamuxin

    My router: ASUS RT-N16 and my pendrive is formatted to FAT32
     
  71. diamuxin

    diamuxin Reformed Router Member

    Hi Victek,

    Currently I have installed the stable version for RT-N16:
    Tomato RAF Firmware v1.28.9013 MIPSR2-RAF-K26 USB V1.2v

    But missing files you comment

    The RT-N16U is a different version? where is it?[/quote]
     
  72. diamuxin

    diamuxin Reformed Router Member

    OK wait for a future release... thanks
     
  73. Victek

    Victek Network Guru Member

    :) New beta is on test now before starting v1.3 release, just 4-5 days it will be public.
     
    Elfew and nukie like this.
  74. mikester

    mikester Network Guru Member

    Anyone else seeing issues with RT-N66U on 1.2v? I've reloaded the firmware, done a complete NVRAM erase, manually reinstalled all setting and still having the following issues:
    a. on reboot Bandwidth Monitoring Save History Location Custom Location path is lost (saved to USB mount)
    b. 2.4GHz wireless dropout --> SSID broadcast disappears to all wifi devices -- re-appears if I go to Device List - Measure Ground Noise
    c. wired connection to router admin page inaccessable, wired ethernet/internet slow, wireless connection still fast
    d. wireless ethernet slows to a crawl, wired ethernet still fast

    Will try v1.3 release - am wondering if the new router is flaky or software issue.
     
  75. MatteoV

    MatteoV Serious Server Member

    Hi all! Happy new year everybody, first of all :)
    I have two questions that could be related to the firmware/dnsmasq, or not :)
    1st
    I've setup virtual wifi interfaces (wl0.1 and wl1.1) isolated and in another bridge/vlan, br1, with a different ipv4 (192.168.200.x). I would like this second interface to have ipv6 too, is this possible? Analyzing dnsmasq config I tried manually adding:
    dhcp-range=::1, ::FFFF:FFFF, constructor:br1, ra-names, 64, 12h
    and it kinda reads it but doesn't go on. Logs:
    Code:
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: started, version 2.69-121713. cachesize 1500
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset Tomato-helper auth
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: asynchronous logging enabled, queue limit is 5 messages
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCP, IP range 192.168.200.150 -- 192.168.200.253, lease time 1d
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCP, IP range 192.168.2.150 -- 192.168.2.253, lease time 1d
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv6, IP range ::1 -- ::255.255.255.255, lease time 12h, template for br1
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv4-derived IPv6 names on br1
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: router advertisement on br1
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv6, IP range ::1 -- ::255.255.255.255, lease time 12h, template for br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv4-derived IPv6 names on br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: router advertisement on br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv6, IP range 2001:000:xxxx:0000::1 -- 2001:000:xxxx:0000::ffff:ffff, lease time 12h, constructed for br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: DHCPv4-derived IPv6 names on 2001:000:xxxx:0000::, constructed for br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: router advertisement on 2001:000:xxxx:0000::, constructed for br0
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: RTR-ADVERT(br0)2001:000:xxxx:0000::
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: IPv6 router advertisement enabled
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver ::1#44
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver ::1#43
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver ::1#42
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver ::1#41
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver ::1#40
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver 8.8.8.8#53 for domain pool.ntp.org
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using local addresses only for domain MYGRP
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver 127.0.0.1#43
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver 127.0.0.1#42
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver 127.0.0.1#41
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: using nameserver 127.0.0.1#40
    Jan  3 16:27:29 ROUTER daemon.warn dnsmasq[4997]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: read /etc/hosts - 17 addresses
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq[4997]: read /etc/dnsmasq/hosts/hosts - 48 addresses
    Jan  3 16:27:29 ROUTER daemon.info dnsmasq-dhcp[4997]: read /etc/dnsmasq/dhcp/dhcp-hosts
    As you can see the beginning seems normal but then it does not RTR-ADVERT and so on. Devices on br1 don't receive IPv6 address. Is this doable/bug or am I just wanting too much?​
    2nd
    When having more than one vlan / dhcp server, I can't assign static IPs of the same MACs in the second vlan, in fact the gui just tells MAC is duplicated (and it is). Is there a way to do this? The log is funnily showing "wrong network" when trying to assign a wrong subnet to devices on the isolated wlan, and just assigns a new ip to them, as I expected.​

    Thanks!
     
  76. Victek

    Victek Network Guru Member

    How do you route wan to br1 in order to ra?

    Jan 3 16:27:29 ROUTER daemon.info dnsmasq[4997]: read /etc/dnsmasq/hosts/hosts - 48 addresses !!!!!!! :confused:
     
    Last edited: Jan 3, 2014
  77. Victek

    Victek Network Guru Member

    a. Have to try, I never used ... but what's lost? the path you entered?
    b. and d. Try a fixed channel ... I don't have this router but the wireless driver it's used for all the Tomato RAF builds and I don't read complaints about.
    c. Under what circumstances? downloading, idle ? sirq % ?

    Thanks!
     
  78. jerrm

    jerrm Network Guru Member

    Build error - has anyone else had/fixed this?:

    Pulled git today using:
    Code:
    git clone -b master https://github.com/Victek/Tomato-RAF tomato
    Ran:
    Code:
    /tomato/release/src-rt$ make V1=test V2=vtestv NVRAM_64K=y r2nf
    During the nginx configure I get:
    Code:
    checking for getaddrinfo() ... found
    creating objs/Makefile
    ./configure: 54: auto/lib/pcre/make: Syntax error: word unexpected (expecting ")")
    make[4]: *** [nginx/stamp-h1] Error 2
    make[4]: Leaving directory `/home/jerry/tomato/release/src/router'
    make[3]: *** [all] Error 2
    make[3]: Leaving directory `/home/jerry/tomato/release/src-rt'
    make[2]: *** [bin] Error 2
    make[2]: Leaving directory `/home/jerry/tomato/release/src-rt'
    make[1]: *** [nf] Error 2
    make[1]: Leaving directory `/home/jerry/tomato/release/src-rt'
    make: *** [r2nf] Error 2
     
  79. JoeBlack2k

    JoeBlack2k Reformed Router Member

    Where can i find the test build for AC68U ? i have a few lying around and i like to test the speed :)

    make help also doesn't list it .. nor can i find any references to ARM on the Master Branch on Git :)
     
  80. Victek

    Victek Network Guru Member

    a. make distclean ,
    b. read readme.txt to be sure right environment settings.
    c. use bash (sudo dpkg-reconfigure dash and answer no)

    no, ARM is not in the repo yet, (some leaked code ..but no complete can be found). You should look at Tomato-RAF-ARM branch. ;)
     
    Last edited: Jan 4, 2014
  81. Victek

    Victek Network Guru Member

    Solved.. for next release... :)

    Code:
    Tomato v1.28.9013 MIPSR2-RAF-V1.2z ND USB
    root@RT-N16:/tmp/home/root# php-cli -v
    PHP 5.4.14 (cli) (built: Jan  4 2014 09:10:18)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    root@RT-N16:/tmp/home/root# php-cgi -v
    PHP 5.4.14 (cgi-fcgi) (built: Jan  4 2014 09:10:20)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    root@E4200:/tmp/etc/nginx# 
    
    
     
    Last edited: Jan 4, 2014
    diamuxin and Elfew like this.
  82. Lorenceo

    Lorenceo Networkin' Nut Member

    I've tried getting IPv6 to work on virtual access points as @MatteoV described. I was also unable to get it to work. IPv4 would work on the virtual AP, but not IPv6.

    Something else I've noticed is that when v4 and v6 traffic are moving at the same time the v4 traffic slows down. This behaviour occurs with QoS on and off.
    For example if I have something downloading over v4, and then start transferring something over v6 the total WAN throughput decreases. 19Mb/s v4 only traffic (maximum download throughput from ISP) will reduce to around 16Mb/s when a large v6 download starts.
    The degradation seems to increase with the amount of v6 traffic, but will only slow down to around 16Mb/s total throughput. Low bandwidth things such as SSH sessions don't have any effect, but a video stream over v6 (eg youtube) will both slow the total WAN throughput.

    The reverse also seems to happen. If I have a video stream running over v4 (twitch.tv), and then start a large v6 download, the video stream will start buffering a lot. Again the total WAN throughput is below the maximum speed from the ISP.
     
  83. Victek

    Victek Network Guru Member

    Are you talking always through WLAN (wireless)? it's not clear in your description
     
  84. Lorenceo

    Lorenceo Networkin' Nut Member

    Sorry, they are two separate issues.

    1. No v6 connectivity on virtual wireless interfaces.
    2. v4 + v6 traffic at the same time = lower WAN throughput.

    They're both pretty minor. My internet connection isn't fast enough for the slowdown to be too noticeable, and I'm using my old N16 as a guest AP at the moment.
    Stopping downloads when time sensitive traffic needs to pass isn't too hard either.
     
  85. MatteoV

    MatteoV Serious Server Member

    Hemm...if only I knew what ra (router advertising?) is...sorry...I miss, well, the totality of the ipv6 theory here :/
    This is the same problem I was reporting in fact!

    LOL yes, that's my crazyness, any device connecting is being given its own static IP, and when I have some spare time I do fix computers, networks and so on, so that's a very long list.
    I managed just some days ago to write a script sending me an email if an unlisted device connects. Love these geeky stuff lol :D

    What about the other question about assigning the same device a different static IP for different wireless interfaces (virtual), that seems impossible due to the "duplicated MAC" error given by the guy?

    Thanks!

    Inviato dal mio Nexus 4 utilizzando Tapatalk
     
  86. jerrm

    jerrm Network Guru Member

    alfag4:

    I'm getting the same error. Did you do anything other than re-download git?
     
  87. jerrm

    jerrm Network Guru Member

    Thanks, it was dash/bash on this. Swear I ran the reconfigure, the first time, but may have double-tabbed or something.

    Now I'm getting the same error in siproxd as alfag4 above. Pulled a fresh copy from git, but no still luck.
     
  88. MatteoV

    MatteoV Serious Server Member

  89. jerrm

    jerrm Network Guru Member

    Actually it was short-lived with Shibby. He removed it along with other OpenSSL apps in 112. The combined reduction in size with all the apps gone and related support code was significant enough to impact the 4MB routers.

    I know there are a lot of 4MB class routers out there, but I think we are approaching the time where they need to be moved onto a critical fix only branch. Having 32 MB, 16MB or even 8MB flash routers restricted by 4MB requirements can be annoying.

    I really wish we could see s_client standardized though, ssl mail support is required for many now, and the requirement will only increase in the future. I consider mail support more of a requirement than an "extra" feature. It's the easiest way for the router to send notifications, logs, etc in an automated way. In many cases ssl mail support it is the only reason I have entware installed.

    I hope with the ARM branch some of the restrictions can be lifted.
     
  90. Elfew

    Elfew Addicted to LI Member

    +1 - less work with mailing script
     
  91. MatteoV

    MatteoV Serious Server Member

    Sorry for the error about Shybby's release, so, I just did read that post.

    I understand the space problem is present. Personally I am of your idea that email is much more important than many other present things. But that's my opinion and I accept to understand issues and eventually discuss how to achieve easily the same goal, the way we can.

    Is there some compiled version around? We could just use external storage...

    Inviato dal mio Nexus 4 utilizzando Tapatalk
     
  92. mikester

    mikester Network Guru Member

    Hi Victek

    The path to the USB stick I am using is:
    /tmp/mnt/KINGSTON/Tomato/BandwidthUsage/
    after reboot it shows up as:
    /KINGSTON/Tomato/BandwidthUsage/
    I use the same path for IP Traffic Monitoring Save History Location and it remembers the location properly. I just noticed the same problem occurs on my E3000 running v1.1u so it may be some kind of SW bug.

    I do used fixed channels. The Asus seems to be a lot more sensitive to RF noise than the E3000.

    As for when it happens it seems random. My impression is that it works good after a hard reboot but after 24 hours or so it starts having problems. I just switched back to my E3000 running v1.1u and for now it seems stable. When I get some free time I wil try reverting to the stock asus firmware and run it for a while to rule out HW issues. Just got the new router and had a lot of problems getting it to flash properly.
     
  93. jerrm

    jerrm Network Guru Member

    I use entware, lancethepants might have a static compiled executable around. If I load entware, I go ahead and use msmtp as the mail agent, but a full featured openssl is also available. My mail script looks for msmtp if available, but falls back to busybox sendmail and openssl (if s_client is available).
     
    Last edited: Jan 6, 2014
    MatteoV likes this.
  94. MatteoV

    MatteoV Serious Server Member

    @jerrm
    Thanks! msmtp seems the right way to go and with your help it was quite straightforward ;)

    @Victek sorry if I'm full of questions lately.
    Can I ask if you did implement this http://www.linksysinfo.org/index.php?threads/web-admin-mod-w-ssl-intermediate-certificates.37273/ ? In short, the httpd would be able to send the complete chain of certificates, so if I created my own CA, intermediate CA, and then a certificate for the webgui of TomatoRAF, it would send it all and the red mark would disappear if I correctly trusted my own CA.

    @all
    Saving these in nvram doesn't seem to work for the resulting file:
    Code:
    root@TOMATO:/tmp# nvram setfb64 https_crt_file /tmp/cert.tgz
    Unable to set https_crt_file or read /tmp/cert.tgz
    Is it possible that nvram is not large enough and some is reserved for something else?
    I can see I have:
    NVRAM Size / Free 60.00 KB / 26.78 KB (44.64%)
    and the content (extracted) of the tgz file are 18.321 byte. I'm unsure how it is "setfb64"-ed however...

    Thanks!
     
  95. lancethepants

    lancethepants Network Guru Member

    I also use msmtp. I store my binary in jffs for use of sending emails when connections are made to OpenVPN.
    Static binary available at http://lancethepants.com/files
    Entware will work too.
     
    MatteoV likes this.
  96. MatteoV

    MatteoV Serious Server Member

    Thank you Lance. I see you have the same version 1.4.31 then the Entware I already installed, so I'm ok now, just adjusting my crazy script atm ;)
     
  97. LRocks

    LRocks Reformed Router Member

  98. koitsu

    koitsu Network Guru Member

    Elfew, eviltone and JugsteR like this.
  99. JugsteR

    JugsteR Serious Server Member

    Lol.

    Available this spring.

    Signature? Signature!
     
  100. Donny72

    Donny72 Serious Server Member

    Hey all,
    This may be an easy question for you:
    I need the command for the tomato scheduler to reboot my rooter and restart the captive portal service.

    I still use the 1.28.9006 with nocat as captive portal.
     

Share This Page