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

Victek Releases Tomato RAF 1.28.8515 ND Kernel 2.4

Discussion in 'Tomato Firmware' started by LanceMoreland, Sep 18, 2010.

  1. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Wish I could help with the NAT-PMP thing. Looks like badder is on to something regarding it.
     
  2. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "Wireless Ethernet Bridge"

    Yes, very cool. At the end of the day though I've found WDS mode easier to setup and manage.
     
  3. Toink

    Toink Network Guru Member

    Will a mod please correct Victek's name in this thread's title already? Thanks! :smile:
     
  4. premudriy

    premudriy LI Guru Member

    I didn't know myself. lol. I just logged into my "comcast personal web page" account and I see "disk usage" meter, which says "1% of 1GB". So, apparently we get 1GB of storage, which is sufficient for human lifetime of saving router bandwidth files there. I have also read that each file uploaded must not exceed 8MB for comcast. Again this is of no concerns because each bandwidth backup file is around 30KB.
     
  5. polilla

    polilla LI Guru Member

    Victek, i did some test with Max Idle Time 5 minutes and have set Connection Logging Outbound to both.
    This is my result:

    Sep 22 22:36:25 Linksys daemon.notice pppoe[78]: Connected.
    Sep 22 22:36:27 Linksys user.warn kernel: ACCEPT IN=br0 OUT=ppp0 SRC=192.168.2.11 DST=209.85.xxx.xx
    Sep 22 22:37:37 Linksys user.warn kernel: ACCEPT IN=br0 OUT=ppp0 SRC=192.168.2.11 DST=195.71.xx.xx
    more than 5 minutes (from last out)
    Sep 22 22:48:50 Linksys user.warn kernel: ACCEPT IN=br0 OUT=ppp0 SRC=192.168.2.11 DST=74.125.xx.xxx
    Sep 22 22:48:50 Linksys user.warn kernel: ACCEPT IN=br0 OUT=ppp0 SRC=192.168.2.11 DST=173.194.x.xx
    Sep 22 22:48:50 Linksys user.warn kernel: ACCEPT IN=br0 OUT=ppp0 SRC=192.168.2.11 DST=173.194.x.xx
    more than 10 minutes (from last out)
    Sep 22 23:00:01 Linksys syslog.info root: -- MARK --
    more than 20 minutes (from last out), its 23:10 now
    Sep 22 23:11:05 Linksys daemon.notice pppoe[78]: Disconnected.
    Sep 22 23:11:05 Linksys daemon.notice pppoe[78]: Connect time 34.7 minutes.
     
  6. Azuse

    Azuse LI Guru Member

    I know a few people have slow qos, and I certainly have to set my limits lower than I did in 1.25, possibly because it's taking longer to react? However the specific device with the issues (this pc) is accompanied by the logs below, which only start when the pc is used, not idle.

    I'm therefore wondering if this is the firmware, or rather, user error causing these but not knowing what they mean, cannot tell :mad:

    Code:
    Sep 22 18:41:00 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:41:00 unknown user.err igmpproxy[8346]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:41:00 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:42:23 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:42:23 unknown user.err igmpproxy[8521]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:42:23 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:43:00 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:43:00 unknown user.err igmpproxy[8620]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:43:00 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:43:41 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:43:41 unknown user.err igmpproxy[8717]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:43:41 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:44:15 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:44:15 unknown user.err igmpproxy[8814]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:44:15 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:44:51 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:44:51 unknown user.err igmpproxy[8912]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:44:51 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:46:02 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:46:02 unknown user.err igmpproxy[9000]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:46:02 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:46:05 unknown user.warn kernel: HTB: quantum of class 10013 is small. Consider r2q change.
    Sep 22 18:46:07 unknown user.warn kernel: HTB: quantum of class 10015 is small. Consider r2q change.
    Sep 22 18:46:07 unknown user.warn kernel: HTB: quantum of class 10016 is small. Consider r2q change.
    Sep 22 18:46:08 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:46:08 unknown user.err igmpproxy[9070]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:46:08 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:47:06 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:47:06 unknown user.err igmpproxy[9182]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:47:06 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:48:10 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:48:10 unknown user.err igmpproxy[9295]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:48:10 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:50:49 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:50:49 unknown user.err igmpproxy[9465]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:50:49 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:52:21 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:52:21 unknown user.err igmpproxy[9590]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:52:21 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:52:58 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:52:58 unknown user.err igmpproxy[9705]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:52:58 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:53:39 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:53:39 unknown user.err igmpproxy[9826]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:53:39 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:54:17 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:54:17 unknown user.err igmpproxy[9925]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:54:17 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 18:56:57 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 18:56:57 unknown user.err igmpproxy[10135]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 18:56:57 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 19:00:01 unknown syslog.info root: -- MARK --
    Sep 22 19:01:21 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 19:01:21 unknown user.err igmpproxy[10353]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 19:01:21 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    Sep 22 19:02:34 unknown user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 22 19:02:34 unknown user.err igmpproxy[10480]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 22 19:02:34 unknown user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    
     
  7. ladysman

    ladysman LI Guru Member

    I sent you a PM but should have just posted here. Any advice?


    I copied the scripts to the shutdown and WAN respectively just fine and inputed my comcast information to upload my bandwidth stats. I also created a dummy rstats.tar on my FTP. However, I keep getting this in the logs

    Sep 22 21:00:02 unknown user.notice root: RStats Restore Failed... will retry in 5 minutes

    Furthermore, when I go to the bandwidth stats for "monthly" in the gui, i get this:

    The rstats program is not responding or is busy. Try reloading after a few seconds.

    Thoughts? Thanks!
     
  8. landa

    landa LI Guru Member

    I did some tests yesterday and I realized that the performance of the last release is lower than version 1.25. With qos disabled the download test (wan to pc) on vers 1.28 was:
    On wireless - 3.0 Mb/s
    On wired - 4 Mb/s

    With the same setup on vers 1.25 the download test (wan to pc) was:
    On wireless - 3.3 Mb/s
    On wired - 5.1 Mb/s
    The tests was made from the same source and several times.
    Has anyone noticed this?
     
  9. Azuse

    Azuse LI Guru Member

    Ok. I changed the upnp restart from every 24hrs to every day at 05:30. upnp did restart, but it failed to remove the 15 rules that were in the table at the time. Bug or feature?
     
  10. FattysGoneWild

    FattysGoneWild LI Guru Member

    Same here. But I left it on the default settings. Not sure if it is a bug or feature either.

     
  11. premudriy

    premudriy LI Guru Member

    How do you benchmark? Do you use any specific utility or just copying file from pc to pc?
     
  12. Cynsick

    Cynsick Addicted to LI Member


    Where is this UPnP restart thing? I haven't found this on my WRT54G-TM.
     
  13. Badders44

    Badders44 LI Guru Member

    It's in Administration, Scheduler, Custom 1.
     
  14. landa

    landa LI Guru Member

    I copy some files from a FTP server hosted at my work, used only by me. Same thing happens with a torrent file - same low rates with the new version.
     
  15. Outer Marker

    Outer Marker Guest

    So I have a Linksys WRT54G v2, and the wl0_corerev <7.

    I think this means I must use RAF 1.25.8025.2 but the link on Victek's website is broken.

    Can I use RAF 1.28.8515 ND even though I do not have ND hardware?:confused:
     
  16. Cynsick

    Cynsick Addicted to LI Member

    Don't use ND w/o having ND hardware, I don't know if Vic will do a non ND version, but DON'T put ND in a non ND.
     
  17. FattysGoneWild

    FattysGoneWild LI Guru Member

    Would this work just as good? When doing a upgrade. Backup the current configuration. Upgrade and check the box that says clear NVRAM thorough after update. Then load the backed up configuration file?

     
  18. Sinjid

    Sinjid Networkin' Nut Member

    You would just load the old configuration values. With the new kernel and new options come new values, and possibly old ones deleted. It's NOT advised to restore the configuration file, but just enter everything again manually and then save.
     
  19. Azuse

    Azuse LI Guru Member

    I simply changed the default every 24 hours to 5:30 every day. I assume the command "service upnp restart" is correct.
     
  20. Toastman

    Toastman Super Moderator Staff Member Member

    Seems like a little history is in order. Long, Long ago, before the old UPnP daemon was exorcised, it was necessary for many people to restart it periodically to keep it working. Thus the entry in the scheduler. Then, Teddy Bear replaced the old daemon with Mini-UPnP which actually does all the housekeeping properly, and since then it has not been necessary to run that scheduled restart. I suppose it got left in by oversight, because it did no harm, and because it was useful as an example as to how to use the scripts.

    But it's not necessary to use it these days. It should probably be removed.
     
  21. Badders44

    Badders44 LI Guru Member

    Yes, I suppose so but see Toastman's history lesson above. That's why I like to use NAT-PMP rather than UPnP. Anyhow, while I'm still playing around with the firmware I've got mine set to restart at 4:00am
    Code:
    Sep 24 04:00:01 Router user.info sched[3218]: Performing scheduled custom #1...
    Sep 24 04:00:01 Router daemon.notice miniupnpd[2741]: received signal 15, good-bye
    Sep 24 04:00:01 Router user.info rcheck[3239]: Activating rule 0
    Sep 24 04:00:02 Router daemon.notice miniupnpd[3264]: Listening for NAT-PMP traffic on port 5351
    
    It looks like it inserts a stop-dns-rebind and a rebind-localhost-ok.

    Code:
    pid-file=/var/run/dnsmasq.pid
    interface=br0
    domain=xxxxxxxxx
    resolv-file=/etc/resolv.dnsmasq
    addn-hosts=/etc/hosts.dnsmasq
    expand-hosts
    min-port=4096
    stop-dns-rebind
    rebind-localhost-ok
    dhcp-range=192.168.xx.xx,192.168.xx.xx,255.255.255.0,1440m
    dhcp-option=3,192.168.xx.xx
    dhcp-lease-max=255
    dhcp-authoritative
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    dhcp-host=xx:xx:xx:xx:xx:xx,192.168.xx.xx,1440m
    log-async=5
    cache-size=2048
    
    
     
  22. FattysGoneWild

    FattysGoneWild LI Guru Member

    Makes sense. Thanks!

     
  23. v4npro

    v4npro Addicted to LI Member

    Just flashed my Buffalo WHR-HP-G54 and everything works fine but is the debug light on my router suppose to flash(red)? I checked the clear commit box as well.
     
  24. jsmiddleton4

    jsmiddleton4 Network Guru Member

    debug light on my router suppose to flash(red)?

    Doesn't seem right. I don't have the Buffalo anymore but I don't recall it doing that.
     
  25. v4npro

    v4npro Addicted to LI Member

    Yeah, it's slowly flashing red, but everything else works. I flashed to this firmware right from the stock 1.28. I did few reboots and still flashing.

    Edit: DIAG Light, not debug.
     
  26. FattysGoneWild

    FattysGoneWild LI Guru Member

    Did you clear NVRAM (thorough) before and after the flash?

     
  27. premudriy

    premudriy LI Guru Member

    I decided to test this as well on my wrt53gl v1.1. In order to filter out possible problems with ISP, I connected one computer to WAN port and assigned it 10.10.10.1 address. I set router to static ip as well (10.10.10.2). I connected the other computer on the LAN side as usual and shared some files on the computer that is connected to the WAN side.

    So, here is my test of WAN-to-Wired Lan connection:
    [​IMG]

    As we can see, the wired connection is actually faster than what you have in your test.

    BUT here comes the sad part. Here is the test of Wan-to-WiFi. Same setup, but this time copying a different file (to avoid windows cache screwing the test):
    [​IMG]

    I tested WAN-to-WiFi multiple times and sometimes the speed was even as low as 1.95 MB/s. I don't know, however, if there's something wrong with my laptop's wifi card or maybe there's some sort of radio interference where I am. I do have 2.4GHz phones and some other 2.4GHz equipment.

    So, there we go:
    -WAN-to-wired is very fast (or at least faster than in your test), which makes me think there's something on you ISP end if you get only 4 MB/s.
    -WAN-to-WiFi is slow(or at least slower than in your test), which could mean either radio interference, or bad wifi card on receiving computer, or that in this release WiFi really is slower.
     
  28. v4npro

    v4npro Addicted to LI Member

    I checked the box in the upgrade section to clear all data in nvram memory after flashing.

    Edit: Think I might just get a new router since my internet speeds are high the cpu on this router is always close to 100%.

    Off subject question kindof, does this firmware support BUFFALO WZR-HP-G300NH?

    Edit: Guess a power cycle fixed it, waited 30 seconds.
     
  29. Victek

    Victek Network Guru Member

    premudriy .. related to your test wan-wifi .. I don't see any abnormal rate.. do you know that wireless speed is half-duplex instead of full duplex?.... rates are quite normal.
     
  30. premudriy

    premudriy LI Guru Member

    Well, Landa was getting 3.3 MB/s on Wifi on 1.25 and 3.0 MB/s on 1.28, so I compared my test to that result. My Wan-to-Wifi is slower compared to Landa's results. Did I test in a wrong way or something? I do know that WiFi will be obviously slower than ethernet, but my post was basically in reply to Landa's post and comparison to his speeds.
     
  31. Azuse

    Azuse LI Guru Member

    54g/2=25mb=2.5MB+/-interference. A constant 2.8 is good, best sustained I've ever had was just under 3. You want any faster you need to move to the N16.
     
  32. premudriy

    premudriy LI Guru Member

    I was wondering how Landa got 3.3 MB/s before. I see in Landa's signature that he has WRT54GL and not N16. I also see that his router is overclocked to 250MHz: could this be why he had 3.3MB/s before?
     
  33. Toastman

    Toastman Super Moderator Staff Member Member

    At 250MHz he would get 25% better throughput, presumably.
     
  34. premudriy

    premudriy LI Guru Member

    I see, thanks.
     
  35. Azuse

    Azuse LI Guru Member

    Well it seems restarting the upnp daemon doesn't remove unused rules. Toastmans right; reducing the cleaning threshold (to say, zero) is better than using the scheduler.

    Code:
    Sep 25 05:30:01 router daemon.notice miniupnpd[1354]: received signal 15, good-bye
    Sep 25 05:30:02 router user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 25 05:30:02 router daemon.notice miniupnpd[1901]: HTTP listening on port 2084
    Sep 25 05:30:03 router user.err igmpproxy[1899]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 25 05:30:03 router user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    
     
  36. Sinjid

    Sinjid Networkin' Nut Member

    I'm trying to decide whether it's the right time to switch to this firmware. Been a happy user of 1.25. I'm going to search for a topic that lists the benefits.
     
  37. myersw

    myersw Network Guru Member

    You can start by going to Victek's site where you download the firmware. That page has good info. Link is on the first page of this thread. --bill
     
  38. landa

    landa LI Guru Member

    Congratulations on this idea (I mean test mode wan to lan)!
    Tomorrow, I'll do a test in the same conditions and I'll post the result with a few printscreens, to be credible.
     
  39. Azuse

    Azuse LI Guru Member

    Put inSIDDer on your laptop and have a wander around. It'll show how good your wireless signal is :)
     
  40. Toastman

    Toastman Super Moderator Staff Member Member

    Landa - Perhaps you could do exactly the same test with the old 8515.2 then the results will be a nice relative comparison. ??
     
  41. fubdap

    fubdap Addicted to LI Member

    ARP Binding

    Mine is currently unchecked - default. Should it be checked or leave it the way it is?
    Thanks.
     
  42. Outer Marker

    Outer Marker Guest

    Would love the chance to get my hands on 8515.2 as I mentioned in an earlier post. Victek, the link to 8515.2 is broken on your website :frown:
     
  43. Azuse

    Azuse LI Guru Member

    If you mean APR binding idk if it's a requirement for mac limiting. I'd like to know if you can still limit unlisted machines without enabling APR binding myself, although if your static lease time is infinite then it's essentially on anyway.
     
  44. landa

    landa LI Guru Member

  45. fubdap

    fubdap Addicted to LI Member

    This is what I was referring to - ARP Binding and not APR:



    [​IMG]
    ARP by fubdap, on Flickr
     
  46. Dent

    Dent LI Guru Member

    Victek, I believe someone may have asked this already but I don't think there was an answer. Are you planning on releasing a 1.28 non-ND version with the 2.4 kernel?
     
  47. FattysGoneWild

    FattysGoneWild LI Guru Member

    Might be a stupid question. But when you say that. Is that the same thing as simply unchecking the box in that scheduler? Then set the "cleaning threshold" to 0 in the upnp settings?

     
  48. occamsrazor

    occamsrazor Network Guru Member

    Another question re: "Enable ARP Binding"... if I am NOT using the IP/MAC LIMITER, is there any advantage to enabling ARP Binding? If so what is the advantage, and are there any disadvantages?
     
  49. premudriy

    premudriy LI Guru Member

    Just now went into router and noticed that I have only 28% of memory left (opposed to around 60% normally). So, I've ran the top command and here's what it shows:
    Code:
    Mem: 13912K used, 492K free, 0K shrd, 1012K buff, 2516K cached 
    CPU:   1% usr   1% sys   0% nic  96% idle   0% io   0% irq   0% sirq 
    Load average: 0.05 0.01 0.00 1/53 26867 
      PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND 
    26859 26855 root     R     1160   8%   1% top -b -n3 
    26190     1 root     S     1164   8%   0% crond -l 9 
     7508     1 root     S     1160   8%   0% udhcpc -i vlan1 -s dhcpc-event -H unkn 
       42     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     1510     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     5041     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     2796     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     3646     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     6831     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     4557     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     4066     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     3218     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     6404     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     5520     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     5978     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     7277     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     1909     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
     2371     1 root     S     1156   8%   0% /bin/sh /tmp/script_init.sh 
    26855 26854 root     S     1156   8%   0% /bin/sh /tmp/.wxdLXuSh 
       83     1 root     S     1152   8%   0% telnetd -p 23 
    26192     1 root     S     1152   8%   0% syslogd -L -s 50 
    26800  3218 root     S     1148   8%   0% sleep 60 
    26804  4066 root     S     1148   8%   0% sleep 60 
    26819  4557 root     S     1148   8%   0% sleep 60 
    26823  2796 root     S     1148   8%   0% sleep 60 
    26833  3646 root     S     1148   8%   0% sleep 60 
    26796  6831 root     S     1148   8%   0% sleep 60 
    26845  6404 root     S     1148   8%   0% sleep 60 
    26863  1909 root     S     1148   8%   0% sleep 60 
    26853  5520 root     S     1148   8%   0% sleep 60 
    26790  1510 root     S     1148   8%   0% sleep 60 
    26778  7277 root     S     1148   8%   0% sleep 60 
    26849  5041 root     S     1148   8%   0% sleep 60 
    26786  2371 root     S     1148   8%   0% sleep 60 
    26867  5978 root     S     1148   8%   0% sleep 60 
    26785    42 root     S     1148   8%   0% sleep 60 
    26194     1 root     S     1148   8%   0% klogd 
    26854  7326 root     S     1076   7%   0% httpd -s 
     7326     1 root     S     1060   7%   0% httpd -s 
        1     0 root     S     1012   7%   0% /sbin/init noinitrd 
     7314     1 root     S     1004   7%   0% nas /etc/nas.conf /var/run/nas.pid lan 
       26     1 root     S      964   7%   0% buttons 
     7330     1 root     S      756   5%   0% rstats 
     7336     1 nobody   S      692   5%   0% dnsmasq 
        3     1 root     SWN      0   0%   0% [ksoftirqd_CPU0] 
        7     1 root     SW       0   0%   0% [mtdblockd] 
     7323     1 root     SW       0   0%   0% [cifsd] 
        2     1 root     SW       0   0%   0% [keventd] 
        4     1 root     SW       0   0%   0% [kswapd] 
        6     1 root     SW       0   0%   0% [kupdated] 
      110     1 root     SW       0   0%   0% [cifsoplockd] 
      111     1 root     SW       0   0%   0% [cifsdnotifyd] 
        5     1 root     SW       0   0%   0% [bdflush]
    Notice how many times the init script is executed. That seems abnormal.

    Also, you can see that "sleep 60" is executed many times as well. This is because my init script has sleep in it:
    Code:
    while sleep 60; do
    wificlients=$(wl assoclist)
    if [ -n "$wificlients" ] ; then
    gpio disable 2
    else
    gpio enable 2
    fi
    done >/dev/null 2>&1 &
    I don't think that there's something wrong with the script itself (or is there?), but for whatever reason it's being executed multiple times on my router and eats ram.

    Also, I rebooted router just today. The only unusual thing that I did with my router today is changed "Advanced->Wireless->Transmit Power" a few times while running around the house with inSIDDer on my laptop.

    So, I guess the init script is executed every time I change something and click "Save" button on Advanced->Wireless. Could this be? Is this supposed to work this way?
     
  50. Victek

    Victek Network Guru Member

    too many process are not killed ...
     
  51. landa

    landa LI Guru Member

    Summary:
    WRT54GL at 250 Mhz
    Tomato RAF 1.25.8515.2 ND
    Transmit Power 28 mW
    Frame Burst Enable
    QoS Disable

    Test 1 - WAN to LAN port

    [​IMG]

    Test 2 - WAN to Wi-fi

    [​IMG]

    The WAN port was connected to a PC with a web server enabled and two test files. From the LAN port and wireles I accessed the web server and download the two files.

    In my opinion, the older version has better performance.
     
  52. Azuse

    Azuse LI Guru Member

    Did you have afterburner enabled along with frame burst? Why a transmit power of 28 and not 42?

    My own tinkering initially lead me to believe the router was slower than 1.25, mainly because I had to set my lower limits on my qos/mac limiter for the inbound to make it effective than I had previously. After several days of playing about I'd drawn the conclusion that it's simply bugged/broken but it sadly seems to be a bit of both. It is slower to react than 1.25, but is also bugged*.

    If I have qos disabled, and enable mac limiting it works as it should. However if I then enable qos mac limiting sometimes fails. It's as if the processes are being killed then restarted occasionally, although I have no way of checking (most I've ever codded was traffic lights when I was at school :p)

    Regardless, with was other have said about slower speeds I'm leaning towards the idea that this may be the case. I wonder though if this is because of a bug or two, or if it is simply because the updating/addition of so many features is simply taking it's toll on these aging routers?

    * My log is still filled with these errors, however after a bit of googleing I've come to the conclusion these are simply warning that the difference between some qos values may be too small?

    Code:
    Sep 26 14:07:50 router user.debug kernel: vlan1: dev_set_allmulti(master, 1)
    Sep 26 14:07:50 router user.err igmpproxy[9327]: Vif #1 was already upstream. Cannot set VIF #2 as upstream as well.
    Sep 26 14:07:50 router user.debug kernel: vlan1: dev_set_allmulti(master, -1)
    
     
  53. jsmiddleton4

    jsmiddleton4 Network Guru Member

    I certainly understand the sentiment as I have come to depend on my 54G-TM and 54GL but at some point we have to move on. The cost of an Asus MIPSR2 router is really not that bad.
     
  54. Victek

    Victek Network Guru Member

    Yes, I agree too, changes in ethernet and wireless driver make this drop in performance, pity. I keep old RAF 1.25.8x available in my server. Go to test some changes.
     
  55. Azuse

    Azuse LI Guru Member

    Ah, so it's just age then :) not bad considering how long ago the WRT54G was created :biggrin:

    Unfortunately it's £95-100 here in the uk. That's about 150USD :tongue: and I don't believe the mispr2 version has vpn.
     
  56. landa

    landa LI Guru Member

    I dont have afterburner enabled. 28 mW because is the factory default for WRT54GL.

    For the moment I am happy with the transfer speed and functionality that gives me WRT54GL. In addition to this, I tend to think it's more stable than the new routers.

    Thanks for confirmation. Initially I thought there was something wrong with my setup.
     
  57. Azuse

    Azuse LI Guru Member

    I know, I'm just curious why, after enabling frameburst, you would turn it down from tomatos default of 42. The minor distortion at 42 shouldn't slow transfer speed, should it?

    Edit: Has anyone else noticed changing certain settings while the rotuer is under-load causes the wan to reset? Or crash possibly, the cpu was just sitting at 3.66, with throughput halved.

    Edit: Oh dear. Since changing my transmit power the cpu has hasn't dropped below 0.95, averaging 1.15 :S

    Now 9.53 :confused:
     
  58. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "That's about 150USD"

    Ouch.
     
  59. landa

    landa LI Guru Member

    Because I have not noticed any difference between 28 and 42. And because the default is 28, I set it that way.
     
  60. premudriy

    premudriy LI Guru Member

    So, what does this mean in general: something wrong with my init script or what? I just don't understand why init script is executed so many times?
     
  61. FattysGoneWild

    FattysGoneWild LI Guru Member

    So from a performance stand point as a whole. And with the older hardware like the WRT54GL. Will 1.25 always have the better performance over 1.28 including newer versions?

     
  62. Victek

    Victek Network Guru Member

    From my point of view and related to WAN-LAN performance, yes. Wireless section have some incompatibilities with Intel cards. I have to test more deeper, but in case of WAN-LAN throughput I have to recognize RAf 1.25 and Zarate's 1.28 have better performance. Just my opinion.
     
  63. Badders44

    Badders44 LI Guru Member

    I'm on 20M/700k cable and am currently downloading a Ubuntu torrent at a steady 2.2Mb (uTorrent) or 19805kb (Tomato/Bandwidth/Real-time). I'm happy with this and more than happy with the new features and updated components of this firmware.

    I can't see the point of investing in an N router (and adapters) when I can't max out my current internet connection. At some point it will be worth moving over but hopefully the prices will have dropped to the current level of the 'G's. When will that day be? Who knows. But in the meantime, lets hope this firmware continues to be maintained and continues to be the best around.
     
  64. FattysGoneWild

    FattysGoneWild LI Guru Member

    The prevent dns rebind attack. Anyone know what other command it is using besides the following?

    stop-dns-rebind

    Someone mentioned another command it uses in this firmware. But I cant find the post? If I go back to 1.25 I assume we put these command in the dnsmasq box correct?
     
  65. LanceMoreland

    LanceMoreland Network Guru Member

    I checked my nvram from Teddy_Bears USB version and found this:

    dns_norebind=1

    Is that what you are looking for?
     
  66. FattysGoneWild

    FattysGoneWild LI Guru Member

    Hmm. Possibly? If I remember correctly. The second script said something about localhost. Ugh wish I could find the post again! Thanks. Do you are anyone else know how to find it again in Victek's firmware?

     
  67. Toastman

    Toastman Super Moderator Staff Member Member

    Azuse, what is going on with your router? 0.95, 3.66, 9.53 ... is it calculating the square root of infinity?
     
  68. Badders44

    Badders44 LI Guru Member

    rebind-localhost-ok? It could be used in the earlier firmware so long as the version of DNSmasq used supports it - which I'm not sure.
     
  69. Azuse

    Azuse LI Guru Member

    Changed the transmit from 42 to 28, the cpu kept climbing while the router became less and less responsive. I assume it was a glitch because rebooting fixed it. I will however continue to prod things until I break something else :)

    More interested in these errors frankly. My qos settings were initially identical to 1.25, which had no errors and tweaking has failed to prevent them :(
     
  70. FattysGoneWild

    FattysGoneWild LI Guru Member

    If Zarate's 1.28 and 1.25 RAF is better performance wise. Then why is 1.28 RAF not? Is it because the newer features and updates are requiring that much more performance from dated hardware? WRT54GL as an example cannot keep up any more with 1.28 RAF? Don't take the post as an insult. Just curious about my question that is all. RAF is my favorite flavor.

     
  71. Badders44

    Badders44 LI Guru Member

    ...and it's not. rebind-localhost-ok was implemented in DNSmasq 2.53 so will not be in Victek 1.25 (which used DNSmasq 2.49)
     
  72. premudriy

    premudriy LI Guru Member

    How would I go about deleting some ftp file? Is it even possible with current set of tools included in 1.28 RAF std? I feel that it's not possible (only wget and ftpput related to ftp), but I would be glad if someone proves me wrong :)
     
  73. sppmaster

    sppmaster Networkin' Nut Member

    Is this firmware compatible with Linksys WRT54G v. 2.2. Core revision=7
    Thanks.

    Edit: Please delete this post.
     
  74. sppmaster

    sppmaster Networkin' Nut Member

  75. phuklok1

    phuklok1 Network Guru Member

    it might work for a bit, but then become dodgy and wireless drops off completely. That's what I experienced. I'm hoping Victek releases a non-ND version in the future when he has some time.
     
  76. petm

    petm Networkin' Nut Member

    in this thread was talk about a script that copies bandwith usage data to an ftp on shutdown and retrieves it on startup. did i understand that correctly?

    if i did, i still wonder why that is necessary? does the "save on shutdown" option in the bandwidth monitoring config not do exactly this? or is the point of these scripts to use ftp instead of jffs2 or cifs?
     
  77. v4npro

    v4npro Addicted to LI Member

    Is there a way to save bandwidth usage to ftp server? Easy to do?
     
  78. fubdap

    fubdap Addicted to LI Member

    @Azuse or anyone
    How do you reduce the cleaning threshold to zero? My unused rules are building up.


     
  79. polilla

    polilla LI Guru Member

    Connect-On-Demand problem exist.

    And what is this:
    Sep 29 21:55:49 Linksys user.info init[1]: Linksys WRT54G/GS/GL
    Sep 29 22:00:01 Linksys user.info rcheck[14251]: Activating rule 2
    Sep 29 22:00:01 Linksys syslog.info root: -- MARK --
    Sep 29 22:00:01 Linksys user.err rcheck[14251]: Iptables command failed. Retrying in 15 minutes.
    Sep 29 22:15:01 Linksys user.info rcheck[14347]: Activating rule 2
    Sep 29 22:15:01 Linksys user.err rcheck[14347]: Iptables command failed. Retrying in 15 minutes.
    Sep 29 22:17:09 Linksys daemon.notice pppoe[14110]: Connected.
     
  80. tmr250z

    tmr250z LI Guru Member

    Under Portforwarding-> UPnP/NAT-PMP-> Settings, just change the value in the Cleaning Threshold box from 20 redirections to 0 redirections. That way your unused rules will be removed every 10 minutes.

    [​IMG]
     
  81. fubdap

    fubdap Addicted to LI Member

    Thanks.

     
  82. Badders44

    Badders44 LI Guru Member

    I would have thought your 5:30am "service upnp restart" would have cleared them. isn't that the point of it? Are you saying they're not being cleared down?
     
  83. premudriy

    premudriy LI Guru Member

    I have ran into another problem. I use magicjack for my phone and ever since I updated to 1.28 every other incoming call didn't go through and was going straight to the voicemail. At first I didn't even think that this might be related to router and jumped though hoops (changed priority of magicjack, forwarded ports, even reinstalled windows completely) trying to figure out what's wrong.

    Then I flashed back to 1.25 RAF and problems went away. So, I started to compare what's different between 1.25 and 1.28 RAF using two routers. I found that magicjack connects to a proxy on port 5070 using UDP. When I went to QOS->View Details on both routers I've noticed that 1.25 keeps UDP connection to magicjack constantly, but 1.28 kills the UDP connection every 10 seconds. So, magicjack connects for 10 seconds to proxy, then connection is killed, then it connects again etc., etc. and when someone calls during disconnected period he/she goes directly to voicemail and phone doesn't ring.

    So, I went to Advanced->Conntrack/Netfilter and that's where the main difference was: 1.28 RAF has dramatically different timeouts. 1.25 had "UDP unreplied" 30 sec timeout and "UDP assured" 180 sec timeout. 1.28 has both "UDP unreplied" and "UDP assured" timeouts set to 10 seconds and that's why magic jack was loosing connection (when idle/on-hook) with its proxy and incoming calls were missed.

    Now I would like to ask people experienced at VOIP and magicjack in particular: What are the optimal values for UDP timeouts (maybe even other timeouts) when using VOIP/MagicJack?
     
  84. Toastman

    Toastman Super Moderator Staff Member Member

    Change on of the timeouts to 20 and then see how long it takes before the connections is killed. Then we will see which setting is responsible. I guess it will be the assured one, but let's see. Maybe someone will suggest a better setting. 180 would really allow a huge amount of P2P connections to build up, though.
     
  85. Cynsick

    Cynsick Addicted to LI Member

    I used 30 for Unreplied and 90 for Assured. I don't use VoIP, but like Toastman said 180 allows for a huge amount of P2P connections to build up. Yeah that section got "revamped" in 1.28. I take a screenshot of every screen before a "major" build upgrade like this and I manually put the settings back, and that's one screen that definately changed.
     
  86. Toastman

    Toastman Super Moderator Staff Member Member

    Yes, it originated in my QOS rules, which are intended mostly to control zillions of anonymous users lurking in their caves in my residential buildings. The idea being to quickly expire connections that aren't being used. A little too quickly for your VOIP - it appears. I wonder if you have the time to experiment, to find the shortest time that works for you at least? That would probably be a better figure to use as a default.
     
  87. premudriy

    premudriy LI Guru Member

    I think I will use 20 and then 30 second for both, test it for a few days, and post back.

    [EDIT]: I just found by experiment that the troublesome timeout setting for magicjack is the "UDP Unreplied". Setting it to 10 sec makes the connection to proxy get lost on regular basis.
     
  88. premudriy

    premudriy LI Guru Member

    Ok, there's no need to run lengthy test to see if a certain timeout works for my voip. Turns out it is simpler to check than I thought. I've setup a log server on another computer and set tomato to send all outgoing connection logs to my log server (used WallWatcher as server).

    So, turns out that magicjack makes outgoing udp connections on port 5070 to proxy precisely every 20 seconds.

    Therefore, setting UDP Unreplied timeout should be >20 seconds. Phone still works with 20 seconds timeout, but this is probably right on the edge, so problems might occur. I think a value of 25 or 30 seconds should ensure flawless VOIP experience with MagicJack.

    I hope this info will also help other people with magicjack. I almost thought of reverting back to 1.25 RAF because of this problem, but curiosity took control of me :biggrin: and now I'm glad it was such a simple thing as UDP timeout settings, so I will joyfully stick with 1.28 RAF(Really Advanced Features, lol).
     
  89. Toastman

    Toastman Super Moderator Staff Member Member

    That's fantastic, thanks for coming back with your findings! Maybe I will hardcode that into the build next time, to avoid problems for people in future.
     
  90. premudriy

    premudriy LI Guru Member

    After more tests I had to bump "UDP Assured" to 40 seconds and left "UDP Unreplied" on 30 seconds. This seems to be the optimal timeouts for my MJ setup. When I had both on 30 seconds, then every now and then (every few hours) I still had magicjack loosing connection to proxy.

    Also, (just curiosity) does anyone know what are the default values for timeouts (both TCP and UDP) are on original Linksys firmware? Is there some sort of RFC standard for timeouts that all manufacturers use when they make routers or are the standards adjusted differently by different manufacturers?
     
  91. fubdap

    fubdap Addicted to LI Member

    DHCP/DNS Question

    Sorry if this question has been asked before. I have opendns - used mainly for parental control. I am confused as to what to check or uncheck in the DHCP/DNS menu. Below is my current setting. Any input will be appreciated.

    Thanks.

    [​IMG]tomata 1_28 by fubdap, on Flickr
     
  92. bogderpirat

    bogderpirat Network Guru Member

    those settings are for the internal dns server only - if you want to use one of opendns' servers, enter them under basic -> network as "Static DNS".
     
  93. fubdap

    fubdap Addicted to LI Member

    Thanks for the response. I already have that done before my posting. With that in mind, do I need to make any changes to my current DHCP/DNS menu?
     
  94. Azuse

    Azuse LI Guru Member

    Nothing you need to make that work. Although a lot of people increase from the puny 150 entries to the max (10000).

    e.g.

    cache-size=10000
    log-async=5

    The log entry's not essential but it came in useful, once, so I left it in. 5's quite low however, so if you actually make use of the logs something like 25 would be a better value. Remember to reboot.
     
  95. arafey

    arafey Addicted to LI Member

    Sorry if I should have posted this in a new thread but will there ever be a victek 1.28.8025 release (for corerev < 7 only routers)?

    I'm not asking for him to build one, I just need to know so that I can update to regular 1.28 or keep waiting for the victek build.
     
  96. FattysGoneWild

    FattysGoneWild LI Guru Member

    I asked about it and he never responded. Who knows.

     
  97. phuklok1

    phuklok1 Network Guru Member

    I'm hoping for a non-ND version, too.
     
  98. Victek

    Victek Network Guru Member

    Who knows ... :rolleyes::rolleyes:
     
  99. arafey

    arafey Addicted to LI Member

    I appreciate the sense of humor, but I would really like to update my routers to 1.28. I'd prefer your build, Victek, but if you're not making one, then I'd have to use stock or another mod.
     
  100. Victek

    Victek Network Guru Member

    Ok, Will do .. but please don't make any donation, I don't know what to buy ..:wink:
     

Share This Page