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. Victek

    Victek Network Guru Member

    The question is how to configure lighty, then.. It will be a simple webserver with some modules intended to work with external storage (usb) and openssl, don't expect a dedicated webserver please. ;)
     
  2. kardzzz

    kardzzz Addicted to LI Member

    V, i've been reading a guide written by 'Rocky' which looks straight forward to follow...
    http://rockydog.homedns.org/index.php?page=Router_Webserver_Overview.html&Page_Name=Overview Setup Lighttpd on Router

    At the very least i think the end user must be able to partition and format their USB stick with a LinuxSwap and Ext2/3 partition, named 'swap' and 'opt'.

    From there onwards I think you could probably integrate the scripts into Tomato do the following:
    1) Mount the Ext2/3 and linux partitions.
    2) Install and configure Optware
    3) Install lighttpd and php.
    Now the 'lighttpd.conf' will be pretty much static other than a 'hostname' which will be whatever we use for our ddns service?
    4) Open firewall ports for 80 & 443.

    End user will then need to add their own www directory to complete the install.
     
  3. kardzzz

    kardzzz Addicted to LI Member

    also maybe possible to use Cherokee instead of lighttpd, the i hope you can utilise the Chrokee GUI to setup the webserver?
     
  4. Victek

    Victek Network Guru Member

    And when you install a new firmware.. ? You will perform again all the steps to install it? ... some people is not cli/gparted/vi etc/fstab commands familiar.. :rolleyes:
    I try to make a user friendly router.. not a jukebox.
    I would like to use Apache, Cherokee, Ginx, MSS, httpd, or... (stop). I will use lighty cause has been tested in Openwrt (the router) and comments about the system load seems reasonable.

    Thanks for your comments..
     
  5. zong

    zong Serious Server Member

    dear Victek. Again to VLAN and BW limiter. Good to see that Philes is also pointing to this :)
    you wrote--> Hi philes, thanks for the comments, my answers:
    _ Yes, BW limiter was conducted to run one interface.. we have to extend it to others subnets. I'm working on it.

    In case you start spending some effort in this -you may also think to enhance some features in combination to "access restriction".
    As pointed out, also "access restriction" could not be selected to "subnet/VLAN" only to MAC/IP. I think quit complex to update/enhance on this section.

    Coming back to the guest/kids-network on Multi-SSID (VLAN), it would be great to define in BW limiter not only a "reduced bandwith" for all time (24/7 hours).
    The Idea would be to ALSO define "zero bandwith/or very low" from a specific time (like 18:00 to xxx) and/ or after "online and consuming bandwith" for "3 or xyz" hours.

    This would give a lot of parents some great control ! (counting time of consuming "higher bandwith load" to xyz hours with final time stop (like 18:00)
    I know it is easy to have ideas and somebody elso needs to spend much more time for implementation.
    I can only offer some testing :))
    Is this possible - and what you/community think about this

    br zong
     
    philess, Victek and Elfew like this.
  6. Victek

    Victek Network Guru Member

    Thanks for your thoughts zong... first I have to solve bugs (reboots) with bandwidth limiter.. ;) is your bandwidth limiter working fine? I got complaints from Beta Testers (they used also another releases of Tomato). The problem is linked with iptables rules grid space and more evident when you made VLAN where the space is splited /4. Roadkill is working now on it, not easy. This is the reason for my previous answer for VLAN BW limiter. Same bug affects to any intensive service mark-inserting iptables rules (Nocat for instance), Asus RT-N16 resists better than other models (E4200 have unexpected reboots).

    About your request to make a clock rate.. it's a great idea and old wish, I received time ago this request to create an intelligent bandwidth limiter according to some ISP's restrictions during some hours of the day (Virgin if I remember well), the target was to manage a certain amount of MB during a certain time space (Traffic Limit added) using the customer history and restrict some eager traffic sites only in this time period...(Tomato became a social-nurse-coacher-police? Psychoanalyst ? IA, Fuzzy Logic?... ). The user finally sorted it with cron schedule scripts for iptables. Your suggest it's a nice target for Tomato, but mi dedication time for Tomato is limited (imq-iptables-clock-cron combination). Maybe some other coder reading it will do?.

    If not... a hobby during holidays... ;)

    Thanks, Vic.
     
    Elfew likes this.
  7. Victek

    Victek Network Guru Member

    Elfew likes this.
  8. philess

    philess Networkin' Nut Member

    Hi Vic.I cant wait to test the next release with lighttpd included :)
    I managed to install it myself right now, but cant compile php5.3
    for Owncloud on it.

    On a side note, just noticed in the current 9013 version the option
    "Ignore DHCP requests from unknown devices" exists twice:
    Under Advanced, DHCP/DNS and in Basic, DHCP/ARP/BW.
    I cant imagine that this is on purpose :) Thanks for all your hard
    work! Looking forward to the next version!
     
  9. Victek

    Victek Network Guru Member

    Thanks for finding, we have to wipe.. btw.. I do not plan to include PHP by firmware size reasons.. I'll check.
     
    Elfew likes this.
  10. philess

    philess Networkin' Nut Member

    Yeah i wasnt expecting a included PHP, no problem :)
     
  11. Elfew

    Elfew Addicted to LI Member

    Amazing! I wish to have working BW limiter for VLANs, maybe scheduler for Vlans (ON/OFF times, now I can schedule only main wifi)...

    Is possible to add temperature of radio to the status page? (This function is in stock ASUS firmware with graph etc, but actual temperature is enough for us)

    Thank you!
     
  12. zong

    zong Serious Server Member

    @ Vic: is your bandwidth limiter working fine? I got complaints from Beta Testers.
    Sorry can't tell as never used this in your version. It was working in Shibby's version (I understood not same coding) - but now I am back with you :)
    2) to manage a certain amount of MB during a certain time space..
    This seems much more advanced :) My point is just measure if on specific network (vlan) there is an real load --> than count till defined time space.

    I know: it's all hobby -thx
     
  13. shibby20

    shibby20 Network Guru Member

    @Vic please tell me, why you did not put my name into About page? It`s really sad :(
     
  14. Edrikk

    Edrikk Network Guru Member

    Hi Vic,

    Should I take it based on your changlog that update to miniupnpd won't make it?
    Reason for ask is not so much new features (although ip6 capabilities were added since our last update in Tomato), but the many bug fixes since the last merge (based on the miniupnpd changelog).

    Thanks,
     
  15. shibby20

    shibby20 Network Guru Member

    i grabbed miniupnpd 1.6 from RMerlin to Tomato (+ fix compilation) and seems all works correct :)
     
    eahm and Elfew like this.
  16. Elfew

    Elfew Addicted to LI Member

    Better and better Shibby! I cannot send you a PM :(
     
  17. zorkmta

    zorkmta LI Guru Member

    I just brougt a Linksys E4200 V1, and want to flash to Tomato, i have read that it´s only flash using web gui? or have to flash any mini firmware.

    Please, are there any guide to get tomato on it
     
  18. Edrikk

    Edrikk Network Guru Member

    Hi Shibby,

    Version 1.6 is almost 2 years old (if it's actually the original 1.6). At best it's the same version that was already in Tomato.
    The latest version is past 1.7 already, and can be found on the miniupnpd site: http://miniupnp.free.fr/files/

    Changelog: http://miniupnp.free.fr/files/changelog.php?file=miniupnpd-1.7.20121005.tar.gz
    Source: http://miniupnp.free.fr/files/download.php?file=miniupnpd-1.7.20121005.tar.gz
     
    Elfew likes this.
  19. shibby20

    shibby20 Network Guru Member

    as you wish
     
    Edrikk, eahm, Elfew and 1 other person like this.
  20. leandroong

    leandroong Addicted to LI Member

    Could you update, in next FW release, libevent to latest version 2.0.21-stable?
    I did managed to compile it using entware buildroot w/out problem and install it as opkg optware.
    Question: Why do we have duplicate libevent? There is one under router folder already and yet upon installation of transmission, libevent optware is again being installed?
     
  21. karmacoma

    karmacoma Serious Server Member

    Hi Victek

    I have tried both 9013 and 9013 Release 1.0 with the same issue in my RT-N16, I loose connection through the web browser once I try to define serveral Static IP addresses for several devices. I have used Explorer, Firefox, Chrome, and Linux Firefox with the same results... Iyt may be just a stupid thing but I do not what may be going on...

    BTW, I have always tried after fully deleting the NVRAM as we are supposed to do

    Many thanks for your great work!
     
  22. Xenus

    Xenus Serious Server Member

    Very similar issue with 9013 on E3000. Router stops responding after about 10 secs after reboot. Will try and remove IP addresses to confirm. Backup 54G in use.
     
  23. zapoqx

    zapoqx Networkin' Nut Member

    Odd. I have 25 devices static IP set and there is no issues on my E3000 with the current 9013 R1.0.
     
  24. Xenus

    Xenus Serious Server Member

    After testing more carefully, it appears to be related to enabling jumbo frames on the router. Oddly it will work if I just connect to the router with nothing else. If I add a WAN and other devices I get the browser freeze.
    Also fails in the same way with Shibby 105 firmware. Guessing common code here.
    Should jumbo frames work on an E3000?
     
    Victek likes this.
  25. Edrikk

    Edrikk Network Guru Member

    Uhm... Shibby / Vic... miniupnpd 1.8 was just released... :)
    Main thing for a small router with limited memory:
    Fix a memory link in UPNP_GetValidIGD()
     
  26. Victek

    Victek Network Guru Member

    Hi Shibby.. I mention the owners when I include their features. You started your mods using Tomato RAF (still some post complaints in the forum about Tomato RAF for builds made by you...). Please .. read GPL, keep good relation, and stay relax .... there is life outside of Tomato, it's not a contest, it's a hobby.

    @ zapoqx, thanks for the feedback, I had the chance to monitor one router this week serving to 168 devices in static dhcp, it was very stable.
    @ Edrikk, Thanks for the info, we'll see after finishing nodogsplash integration with roadkill and lighttpd with openssl, it's in the TODO list.

    Thanks to all,
     
  27. Victek

    Victek Network Guru Member

    Thanks for the test, the issue is related with Broadcom wireless driver.. I will disable Jumbo function in E3000 because it can't work with actual drivers, the CTF is common for eth and wl driver.
    I can build one test with old eth & wireless driver, let me know by PM your e.mail and I'll send to you.

    Thanks
     
  28. karmacoma

    karmacoma Serious Server Member

    Hi Xenus/Victek

    not exactly same behaviour in my case. I load the new FW, it reboots, I clean the NVRAM Data, reboots again and I'm able to set the Network settings and apply properly. The problem comes when I try to set a single Static DHCP MAC-IP Address. I click the save button and the loose connection from the browser...

    I will try again checking th eJumbo setting in any case...

    Thanks a lot
     
  29. karmacoma

    karmacoma Serious Server Member

    Hi again

    I got an assertion in the syslog while introducing settings in the port forwarding. I can send it to you or paste it here if interested

    Thanks
     
  30. Victek

    Victek Network Guru Member

    Please do it, as much we know .. better!
     
  31. karmacoma

    karmacoma Serious Server Member

    here you have one


    Feb 7 18:27:25 ASUS- user.err kernel: KERNEL: assertion (answer_prot->slab != NULL) failed at net/ipv4/af_inet.c (317)
    Feb 7 18:27:25 ASUS- user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 00000000, ra == 801ece98
    Feb 7 18:27:25 ASUS- user.warn kernel: Oops[#1]:
    Feb 7 18:27:25 ASUS- user.warn kernel: Cpu 0
    Feb 7 18:27:25 ASUS- user.warn kernel: $ 0 : 00000000 00000077 0000ffff 00000000
    Feb 7 18:27:25 ASUS- user.warn kernel: $ 4 : 87f5c480 0000ffff 802a7f60 00000001
    Feb 7 18:27:25 ASUS- user.warn kernel: $ 8 : 00000000 87f5c481 00000000 fffffff8
    Feb 7 18:27:25 ASUS- user.warn kernel: $12 : 2acc74d8 2acda5f4 0000013d 00000000
    Feb 7 18:27:25 ASUS- user.warn kernel: $16 : 87f5c480 ffffff7c 00000011 00000000
    Feb 7 18:27:25 ASUS- user.warn kernel: $20 : 8731c380 00000002 80280000 80280000
    Feb 7 18:27:25 ASUS- user.warn kernel: $24 : 00000008 2acb9670
    Feb 7 18:27:25 ASUS- user.warn kernel: $28 : 86e98000 86e99e88 2aae0578 801ece98
    Feb 7 18:27:25 ASUS- user.warn kernel: Hi : 00000140
    Feb 7 18:27:25 ASUS- user.warn kernel: Lo : 00000118
    Feb 7 18:27:25 ASUS- user.warn kernel: epc : 00000000 Tainted: P
    Feb 7 18:27:25 ASUS- user.warn kernel: ra : 801ece98 Status: 1100bc03 KERNEL EXL IE
    Feb 7 18:27:25 ASUS- user.warn kernel: Cause : 00000008
    Feb 7 18:27:25 ASUS- user.warn kernel: BadVA : 00000000
    Feb 7 18:27:25 ASUS- user.warn kernel: PrId : 00019740
    Feb 7 18:27:25 ASUS- user.warn kernel: Modules linked in: ip6table_mangle ip6table_filter xt_IMQ imq usblp ehci_hcd hfsplus hfs vfat fat ext2 ext3 jbd mbcache usb_storage sd_mod scsi_wait_scan scsi_mod usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_sip nf_conntrack_sip nf_nat_h323 nf_conntrack_h323 wl(P) dnsmq(P) et(P) igs(P) emf(P)
    Feb 7 18:27:25 ASUS- user.warn kernel: Process httpd (pid: 1191, threadinfo=86e98000, task=81166c00)
    Feb 7 18:27:25 ASUS- user.warn kernel: Stack : 8111dc00 8027cf0c 8027cf28 0000013d 802ac908 00000002 802a85c0 00000000
    Feb 7 18:27:25 ASUS- user.warn kernel: 8731c380 86e99f20 00000000 7fc5aeac 80172c38 2aab1527 80082d78 80082d50
    Feb 7 18:27:25 ASUS- user.warn kernel: 80091be0 00000000 7fc5ae50 7fc5aef0 7fc5aea8 7fc5aef0 7fc5ae50 00000003
    Feb 7 18:27:25 ASUS- user.warn kernel: 80172dd0 7fc5ade8 800832ec 7fc5ae28 80091d68 80010abc 00000000 803aa180
    Feb 7 18:27:25 ASUS- user.warn kernel: 80172fec 800819a8 00000000 00000000 00000009 7fc5ade8 2aacf000 7fc5ade8
    Feb 7 18:27:25 ASUS- user.warn kernel: ...
    Feb 7 18:27:25 ASUS- user.warn kernel: Call Trace:[<80003204>]
    Feb 7 18:27:25 ASUS- user.warn kernel: Code: (Bad address in epc)

    I have some more if you wish....
     
  32. eahm

    eahm LI Guru Member

    Victek, do you like RT drivers better than RT-N on the E3000?
     
  33. Victek

    Victek Network Guru Member

    @ karmacoma .. what firmware are you using? I don't see traces of my id.. what version? It's debug 8? Thanks.
    @ eahm ... I like both RT are more 'open' and widely used, RT-N is a 'black packet' it's the main reason.
     
  34. mito

    mito LI Guru Member

    hi Vic, what do I have to understand about "black packet" in terms of firmware?
    gracias;)
     
    Victek likes this.
  35. Xenus

    Xenus Serious Server Member

    Thanks for the quick reply. I can live without jumbo frames for the moment, just trying to get a little more speed between the local computers.
    I'm trying out the Shibby 105 at the moment as I really wanted DNScrypt but haven't turned it on yet.....
    Was running classic TomatoUSB 9054 up until now, it was old reliable.
    Added a few static IP addresses to test.
     
  36. karmacoma

    karmacoma Serious Server Member

    Hi Victek I was using 9013R1, here you have another example with the initial start included

    Jan 1 01:00:54 ASUS-RT-N16 user.debug init[1]: starting rstats.
    Jan 1 01:00:54 ASUS-RT-N16 user.info init[1]: Asus RT-N16: Tomato 1.28.9013 MIPSR2-R1.0--RAF K26 USB VLAN-VPN-NOCAT
    Jan 1 01:00:54 ASUS-RT-N16 user.debug init[1]: 182: pptp peerdns disabled
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[548]: exiting on receipt of SIGTERM
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: started, version 2.61 cachesize 1500
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: asynchronous logging enabled, queue limit is 5 messages
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq-dhcp[582]: DHCP, IP range 10.1.10.3 -- 10.1.10.26, lease time 1d
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 212.166.64.1#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.172.64.2#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 213.139.0.52#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.36.225.150#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.37.228.20#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 80.58.0.33#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.116.0.176#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.116.0.177#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 208.67.222.220#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 208.67.222.222#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: reading /etc/resolv.dnsmasq
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.14.2.1#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.42.63.52#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.42.230.24#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 212.166.64.1#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.172.64.2#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 213.139.0.52#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.36.225.150#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 62.37.228.20#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 80.58.0.33#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.116.0.176#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 217.116.0.177#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 208.67.222.220#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: using nameserver 208.67.222.222#53
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: read /etc/hosts - 2 addresses
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq[582]: read /etc/dnsmasq/hosts/hosts - 19 addresses
    Jan 1 01:00:54 ASUS-RT-N16 daemon.info dnsmasq-dhcp[582]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Feb 7 18:28:39 ASUS-RT-N16 cron.err crond[565]: time disparity of 22670967 minutes detected
    Feb 7 18:29:43 ASUS-RT-N16 user.err kernel: KERNEL: assertion (answer_prot->slab != NULL) failed at net/ipv4/af_inet.c (317)
    Feb 7 18:29:43 ASUS-RT-N16 user.debug init[1]: dnsmasq terminated unexpectedly, restarting.
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: started, version 2.61 cachesize 1500
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: asynchronous logging enabled, queue limit is 5 messages
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq-dhcp[1044]: DHCP, IP range 10.1.10.3 -- 10.1.10.26, lease time 1d
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 212.166.64.1#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.172.64.2#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 213.139.0.52#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.36.225.150#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.37.228.20#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 80.58.0.33#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.116.0.176#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.116.0.177#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 208.67.222.220#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 208.67.222.222#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: reading /etc/resolv.dnsmasq
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.14.2.1#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.42.63.52#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.42.230.24#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 212.166.64.1#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.172.64.2#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 213.139.0.52#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.36.225.150#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 62.37.228.20#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 80.58.0.33#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.116.0.176#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 217.116.0.177#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 208.67.222.220#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: using nameserver 208.67.222.222#53
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: read /etc/hosts - 2 addresses
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq[1044]: read /etc/dnsmasq/hosts/hosts - 19 addresses
    Feb 7 18:29:43 ASUS-RT-N16 daemon.info dnsmasq-dhcp[1044]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: $20 : 87236e60 00000002 80280000 80280000
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: $24 : 0df3575c 2ab2b670
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: $28 : 86dc0000 86dc1e88 00000000 801ece14
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Hi : 00000140
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Lo : 00000118
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: epc : 00000001 Tainted: P
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: ra : 801ece14 Status: 1100bc03 KERNEL EXL IE
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Cause : 00000008
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: BadVA : 00000000
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: PrId : 00019740
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Modules linked in: ip6table_mangle ip6table_filter xt_IMQ imq usblp ehci_hcd hfsplus hfs vfat fat ext2 ext3 jbd mbcache usb_storage sd_mod scsi_wait_scan scsi_m
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Process dnsmasq (pid: 582, threadinfo=86dc0000, task=8116b000)
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Stack : 8111dc00 8027cf0c 8027cf28 0000013d 802ac908 00000002 802a85c0 00000000
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: 87236e60 86dc1f20 00000002 0044db0c 80172c38 80086ab4 7f876bec 00000000
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: 80091be0 004140f0 00000000 00000002 0044e410 0044db0c 0044db0c 00000025
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: 80172dd0 00000000 802ac700 86dc1f30 00000000 80018974 00000000 24b9e910
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: 80172fec 7f876a28 00000000 0044db0c 00000000 00000002 00000000 0046f520
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: ...
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Call Trace:[<80003204>]
    Feb 7 18:29:43 ASUS-RT-N16 user.warn kernel: Code: (Bad address in epc)
    Feb 7 18:31:11 ASUS-RT-N16 authpriv.info dropbear[1153]: Running in background
    Feb 7 18:31:26 ASUS-RT-N16 authpriv.info dropbear[1161]: Child connection from 10.1.10.3:52031
    Feb 7 18:31:34 ASUS-RT-N16 authpriv.notice dropbear[1161]: Password auth succeeded for 'root' from 10.1.10.3:52031

    I also tried 9013 and R1 without VPN and I had similar behaviourm, unfortunately I have no traces....

    thanks a lot!
     
  37. kthaddock

    kthaddock Network Guru Member

    Why do you need 19 nameservers ? That isn't necessary.
     
  38. karmacoma

    karmacoma Serious Server Member

    yeah, you could be right, it's an old solution I took long ago do not even remember why but I have in .28.9011 with no problem....
     
  39. vlads

    vlads Serious Server Member

    @Victek

    I noticed a slight incompatibility between your latest build and the robocfg utility.

    Here's the readout I get from Netgear WNR3500L (loaded with build Tomato Firmware v1.28.9013 MIPSR2-R1.0--RAF K26 USB VPN-NOCAT). You will note that all connections reading 10HD are in fact 1000FD. This is more a cosmetic issue as throughput is not affected..

    root@test:/tmp/home/root# ./robocfg show
    Switch: enabled
    Port 0: 10HD enabled stp: none vlan: 2 mac: xx:xx:xx:xx:xx:xx
    Port 1: DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
    Port 2: DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
    Port 3: DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
    Port 4: 10HD enabled stp: none vlan: 1 mac: xx:xx:xx:xx:xx:xx
    Port 5: 10HD enabled stp: none vlan: 1 mac: xx:xx:xx:xx:xx:xx
    VLANs: BCM5325/535x enabled mac_check mac_hash
    root@test:/tmp/home/root#
     
  40. zapoqx

    zapoqx Networkin' Nut Member

    You know, I was just thinking about it. There is possibly one difference about the static DHCP.
    Due to how many devices and having a... somewhat organization idea of how to set them up in a specific way, it is a pain to try and get all 25 devices in. So what I did is simply copied the "NVRAM export --set" for the Static addresses on the system and pasted it in after a full nvram wipe and ensured everything would be saved. Most of everything else I did manually. I admit, I didn't have Jumbo Frames on either though, not to mention that I already did at one point I changed a mac address for an associated IP because of a device that was no longer in the household (with a replacement) and it worked fine.

    @Victek: no problem.
     
  41. koitsu

    koitsu Network Guru Member

    I think this is the result of an outdated set of robocfg code. Someone probably needs to update the robocfg code to communicate properly with the underlying PHYs (either via MII or whatever; I'd have to look at the robocfg code to see how it works).

    Edit: Sure enough I see the following:

    https://code.google.com/p/wl500g/source/browse/trunk/utils/robocfg.c

    Look at the right side of the page; you'll see there have been numerous changes to robocfg to deal with certain Broadcom chips, including some "hacky" solutions (see r3505 for example); I think the MII communication code is wrong for certain models of chips. Simply put: the robocfg binary you have may be outdated. Do you want an updated one?
     
  42. RMerlin

    RMerlin Network Guru Member

    I got 1.8`s 20120207 on GIthub if you want to get the very latest :) I'll be doing more thorough testing to it over the weekend, will push to Github if there are any other changes to it.
     
  43. vlads

    vlads Serious Server Member

    I'm using robocfg from Shibby's build 105 extras...

    Yes please!
     
  44. koitsu

    koitsu Network Guru Member

    I've looked at git and compared it to the version I linked. Shibby's version is older. Attached is the diff. These differences probably explain the bug you see in your robocfg output.

    I'm trying to figure out how to build packages under Entware, so it may take me a while. In the meantime please don't rely (or wait) on me to provide it. Hopefully someone else can.
     

    Attached Files:

  45. Victek

    Victek Network Guru Member

    Elfew likes this.
  46. Victek

    Victek Network Guru Member

    When you have to use a built module and you don't know what's inside .. for instance, I would like to know all possibilities for a wireless module (you can control all the switches and you know what you do...) instead of using an ipkg or .ko, but ...:rolleyes: as we say 'everyone likes'

    You're welcome ;)
     
  47. mstombs

    mstombs Network Guru Member

    I compiled a WL500g version of robocfg with tomato toolchain in this thread
    http://www.linksysinfo.org/index.ph...ction-speed-in-device-list.37842/#post-185069

    Not sure it is the latest, but the out-of-firmware build script I used is still there.
     
  48. RMerlin

    RMerlin Network Guru Member

    I think you meant "black box" :)
     
  49. koitsu

    koitsu Network Guru Member

    I've checked -- it is indeed the latest:

    Code:
    jdc@debian:~$ diff -uN robocfg.c.mstombs robocfg.c
    jdc@debian:~$
    
    @vlads, please try the robocfg binary mentioned in the above thread/post by mstombs.
     
  50. Gitsum

    Gitsum LI Guru Member

    Uh oh, Shibby vs. Victek... Not good.
     
  51. mito

    mito LI Guru Member

    @Vic gracias! i got it;)
    @Gitsum, agree 100%, they are our friends, hope that's it.
     
  52. vlads

    vlads Serious Server Member

    @koitsu: this build looks good...

    root@test:/tmp/home/root# ./robocfg show
    Switch: enabled gigabit
    Port 0: 1000FD enabled stp: none vlan: 2 jumbo: off mac: xx:xx:xx:xx:xx:xx
    Port 1: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
    Port 2: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
    Port 3: DOWN enabled stp: none vlan: 1 jumbo: off mac: 00:00:00:00:00:00
    Port 4: 1000FD enabled stp: none vlan: 1 jumbo: off mac: xx:xx:xx:xx:xx:xx
    Port 8: 1000FD enabled stp: none vlan: 1 jumbo: off mac: xx:xx:xx:xx:xx:xx
    VLANs: BCM53115 enabled mac_check mac_hash
    1: vlan1: 1 2 3 4 8t
    2: vlan2: 0 8t
    root@test:/tmp/home/root#
     
  53. koitsu

    koitsu Network Guru Member

    Good deal -- yup, like I said, the robocfg.c that comes with your firmware is old (doesn't properly support your chipset). Not your fault in the least. :)

    Shibby, if you're lingering or reading this thread, can you update the robocfg.c in the git repo to the one provided by the wl500g folks? Here it is:

    https://wl500g.googlecode.com/svn/trunk/utils/robocfg.c

    Thanks. :)
     
  54. shibby20

    shibby20 Network Guru Member

    I already have ths robocfg version in my local git repo. Its a part of new ethernet state feature based on RMerlin job :)

    Now i nearly finish ext4 for tomato :)

    RMerlin thx fox info about new miniupnpd :)
     
    eahm, koitsu, Xenus and 1 other person like this.
  55. karmacoma

    karmacoma Serious Server Member

    sorry zapoqx, I don not fully understand you. I know I can download the nvram settings from the GUI but how upload it later on? As I see it should be done with nvram utility but could you list the commands? kind of scary..... I any case it doesn't look like something related to dhcp static settings only since I can see similar reboots when changing others like in the Admin Access....

    many thanks for your help!
     
  56. eahm

    eahm LI Guru Member

    Victek, I saw you now make almost exclusively VLAN builds. Do you think the VLAN feature is stable enough to stop using non-VLAN/Standard builds?
     
  57. zapoqx

    zapoqx Networkin' Nut Member

    I won't post all the specifics as part of it is answered both in the firmware and on the website (and if I provided my example, its too many devices with some info about them)
    • Tools --> System
    • nvram export --set
    • Execute (wait a moment as it will take a bit)
    There is a section to look for. More specifically it says:
    nvram set dhcpd_static

    So taking an example
    nvram set dhcpd_static="11:22:33:44:55:66<192.168.1.100<Sample-Device<1>"

    When you have it, copy it...
    • Tools --> System
    • In Box, paste it
    • Execute
    You are done. I personally just try to do a soft reboot after or save one more setting and soft reboot. If you want more info on it, look up toastman's posts.
     
  58. karmacoma

    karmacoma Serious Server Member


    Hi zapoqx

    thanks, I'll do it and let you know

    regards
     
  59. karmacoma

    karmacoma Serious Server Member

    Bad news, I've tried to upgrade to 9013 again but couldn't even try the workaround since the router started rebooting right after changing the basic settings for WAN,LAN and Wireless. Couldn't even try to set up ssh or telnet connection and see the syslog....

    I may try again tomorrow
     
  60. zapoqx

    zapoqx Networkin' Nut Member

    Out of curiosity, tried the 30-30-30?
     
  61. RMerlin

    RMerlin Network Guru Member


    You might want to check what I committed to my repo today. A new switch I added to robocfg allowed me to make robocfg instantaneously report port state (by skipping vlan scanning). That way I can get rid of the parallel Ajax call, and directly query the Ethernet port state from within the actual sysinfo page. This, this and this commit. Unless you do want to also report all vlan information, in which case my patch won't be of much help to you.
     
    shibby20, Elfew, eviltone and 3 others like this.
  62. shibby20

    shibby20 Network Guru Member

    i saw that yesterday and i merged showports option few hour ago. Thank you very much :) Now eth ports state is report very faster!
     
    Elfew likes this.
  63. Victek

    Victek Network Guru Member

    New snapshots for 9013 r.1.1 .. it will take some days more since I built GUI already for Siproxd and the new Captive Portal, now working with lighttpd. Btw... sirq load reduced already, bad code in /httpd/cpuinfo.c variables sys/proc values missed....
     
    Elfew likes this.
  64. Elfew

    Elfew Addicted to LI Member

    Good, can you provide us some screenshots? Thank you
     
  65. Victek

    Victek Network Guru Member

  66. Elfew

    Elfew Addicted to LI Member

    Thank you, but new captive portal is missing in screenshots, or am I wrong? What is new in captive?
     
  67. Victek

    Victek Network Guru Member

    Captive portal is not finished yet, this is thee reason why R1.1. is not released yet.. working on it.
     
    Elfew likes this.
  68. Elfew

    Elfew Addicted to LI Member

    Thank you... keep good work man!!!
     
  69. shibby20

    shibby20 Network Guru Member

    @Victek are you sure you did upgrade Busybox from 1.18.4 to 1.20.2? I made a diff between mine busybox (Toastman has the same Busybox version as mine without 2-3 differences) and yours and there is no any differences. IMO it`s still 1.18.4 only with changed version number. I finally compiled full working busybox 1.20.2 for tomato and diff patch file takes ~2,5MB ( 73231 lines! ). Please check yourself.

    Best Regards.
     
    Elfew likes this.
  70. Victek

    Victek Network Guru Member

    Hi shibby.. yes, updated, I ncluded some tools needed .. lsof for instance.. please check. ;) .. btw .. about poor performance WAN-LAN what changed in latest repo.git to justify the big drop in BW? ...do you know?, In my previous release (9001 I obtained 450Mbps ... in 9006 the same ... in last build when I updated drivers from asus gpl it dropped? Are you suffering the same in your build, please test iperf if possible. I smell some big mess in iptables .. also sirq levels are incredible high, Do you?

    PS. I need to contact you about last modification of nocat in repo.git .. it's crashed, please give details what you or JYA did please, I don't understand rules changed and the code in repo.git is not working. I had to revert to my code done one year ago... Did you tested?

    Thanks and Best Regards.
     
  71. RMerlin

    RMerlin Network Guru Member

    What's the build date of your wireless driver? Some of Asus's recent Broadcom drivers have been a bit quirky. The very latest non-beta seemed to work decently for most people, but a few others still have better results with an older driver from their GPL 220 release (I forgot the build date of that wireless driver)
     
  72. shibby20

    shibby20 Network Guru Member

    @Vic are we talking about RT or RT-N builds?
     
  73. shibby20

    shibby20 Network Guru Member

    well sources Tomato_RAF_1.28.9013_source_code.tar are out-dated because there is no lsof tool for example.
    Same situation in tomato_RAF_9013_R1_SCode.tar
     
  74. lord_rel

    lord_rel Serious Server Member

    thanks for the firmware :)
    is this version the new stable?
    could you please add a "previous ip" field and a reconnect button to the status - overview section?
     
  75. Edrikk

    Edrikk Network Guru Member

    Hi RMerlin / Shibby,

    As I recall there were some specific (minor) Tomato alterations to the miniupnpd code for Tomato (I believe log level and a couple of external calls from memory of oooold version's code).

    That basically made it a bit more work than simply dropping the miniupnpd code from tuxfamily.org (author's site) straight into Tomato.

    A few of the minor items (such as the shell script or makefile I can't recall, along with a memory leak fix) were submitted to the author and merged into master. I'm wonder if you found / had to make other such modifications, and whether you'd consider submitting them back to the author for inclusion? If they're #ifdef'd for Tomato, then Tomato would benefit from a plug-and-play (pun intended) minipupnpd codebase when compared to the master.


    Thoughts?
     
  76. RMerlin

    RMerlin Network Guru Member

    The WL500g project did a lot of the legwork there. After wasting a whole evening trying to manually patch my existing code with manually generated diffs of 1.5, 1.6, 1.7 and 1.8, I ended up taking the straight 1.8 code, and just reapplying the Tomato/bugfix/other patches from the WL500g project on top of it. I had to manually fix a few remaining building issues afterward, but otherwise that last approach turned up to be fairly easy.
     
  77. Edrikk

    Edrikk Network Guru Member

    Thanks for the explanation!
    So now that you can do a diff between mainline and our version, do you think it makes sense to submit the diff to the miniupnpd author so that the next time there isn't as much work / headache?

    An example is the logging spam patches... that I think could be wrapped in #ifdef and submitted for sure... one less offline patch to maintain / merge no?
     
  78. RMerlin

    RMerlin Network Guru Member

    If someone wants to do it they're free to do so. Seeing how the author has already added Tomato-specific stuff in the config scripts, he might be open to also apply the other patches. Someone would have however to actually explain why these patches are necessary. The log spamming for instance might be a matter of personal preference rather than an actual bugfix/improvement, from his point of view.
     
  79. Edrikk

    Edrikk Network Guru Member

    Fair enough and true...
    Awesome work RMerlin, and keep up the great work.
    With TB leaving it looked like Tomato was going to die, but the four of you really helping save what I would consider the best firmware out there (and I include your Asus builds in this group, as it is of the same family, and the cooperation is clearly beneficial to all the users)...
    GREAT work!
     
  80. philess

    philess Networkin' Nut Member

    Hi everyone,

    quick question: I want to buy the Asus RT-N16 router for a friend but i want to be sure
    that it can do Virtual WLANs (one private, one seperate only for guests...) using VLANs and Multi-SSID.
    Can this router model do that with Victeks firmware? I just want to be sure before i order it :)
     
  81. Elfew

    Elfew Addicted to LI Member

    Yes of course... vlan,multi SSID are possible with Victek ;)
     
  82. philess

    philess Networkin' Nut Member

    Thank you Elfew! Just ordered it now :)
     
  83. Victek

    Victek Network Guru Member

    Elfew and philess like this.
  84. Elfew

    Elfew Addicted to LI Member

    really nice! keep good work...
     
  85. adlerfra

    adlerfra LI Guru Member

    Victek. This is very exciting news. V1.0 is really good....looking forward to trying V1.1.
     
  86. Elfew

    Elfew Addicted to LI Member

    List of changes? More screenshots ;)
     
  87. Victek

    Victek Network Guru Member

    Changes will be published when beta test is finished .. it may change. But I can assure you that the changes will mark another hit for Tomato.
    We have some screenshots additionally, it can be seen at my web site but it may vary a lot. Every day we think new changes or we trash everything and start again ... :mad: ... funny!
     
    zapoqx, Toastman and Elfew like this.
  88. Elfew

    Elfew Addicted to LI Member

    I am really happy that Tomato fw is not dead. I really like this community. New features, bug fixes from our developers... thank you again for your hard work!
     
    bimmerm3m5 likes this.
  89. quinezhu

    quinezhu Addicted to LI Member

    I've upgraded my Asus RT-N16 with "tomato-K26USB-1.28.9013MIPSR2-R1.0--RAF-VLAN-VPN-NOCAT.trx". And found I will get the error "invalid server address" if the sever address contains a pure digits domain name (like 3322.org) in OpenVPN Client Configuration. Any ideas? THX.
     
  90. Victek

    Victek Network Guru Member

    It's your first upgrade to Tomato RAF or did you used before with any version?
     
  91. quinezhu

    quinezhu Addicted to LI Member

    I upgraded from TomatoUSB, cleared the nvram before and after upgrade.

    One more question: there is a startup script for saving 5K of nvram with DD-WRT. Is it possbile to modify it to apply for Tomato?
    http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16
    Code:
    #!/bin/bash
    rm /opt/tmp/nvramshow
    nvram show >> /opt/tmp/nvramshow
    i=0
    while read -r line; do
    val=${line#*=}
    var=${line%*=}
    if [[ "$val" == "" ]]; then
    nvram unset $var
    fi
    i=`expr $i + 1`
    if [[ $i == 50 ]]; then
    sleep 2
    i=0
    fi
    done < /opt/tmp/nvramshow
    exit 0
     
  92. RMerlin

    RMerlin Network Guru Member

    I would advise against using such a script. The router sometimes expect a default value to be there, you could end up with unexpected results and potential issues if you start removing nvram entries. An empty value does not mean no value at all - it is a value in itself.
     
  93. FattysGoneWild

    FattysGoneWild LI Guru Member

    Bandwidth improved. I have a Linksys E4200 V1 and 100mb/5mb internet connection. Can the latest non beta not support those kind of speeds or something? I am still using the stock Linksys 1.05 firmware atm. Would like to flash and come back home to Victek Tomato. But, would need to make sure speeds would work proper with the latest firmware. Also. Can you please tell me the main difference between the 2 firmware for Linksys E4200 V1? Its been a while since I used Tomato. Last time I used it was with my WRT54GL v1.1 I even might have forgotten how to flash properly? Is this the right way?

    1. Restore Linksys firmware to defaults.
    2. Flash to Tomato.
    3. Log in admin/root and clear nvram (thorough)
    4. Configure

    Sound about right?
     
  94. Victek

    Victek Network Guru Member

    Sounds perfect..
    1st software do not include Virtual LAN just VPN and NOCAT, 2nd includes additional VLAN configuration.
     
  95. FattysGoneWild

    FattysGoneWild LI Guru Member

    I don't know what either of those are. Guess I don't need them. As for through put. Does it have issues reaching speeds of 100mb/5mb? I know you said the latest new firmware has seen improvement regarding that?
     
  96. -=XERG=-

    -=XERG=- Serious Server Member

    Yea, but not too much more on a E4200. I have 150/65 fiber. I currently am getting 135/75 (yes, 75). At the stock 480Mhz it will pull 125 down. Overclocking it to 533Mhz nets you the additional 10mbs and also speeds up the USB disk access a bit. Been running mine at 533mhz with no additional cooling since I got it a year ago. Currently running 1.28.9013. I've tested the difference with and w/o overclock thoroughly - it netted an extra 10Mbs every time I OC'd it.
     
  97. quinezhu

    quinezhu Addicted to LI Member

    thx for ur advise.
     
  98. Victek

    Victek Network Guru Member

    The router workload influences on it, if you're running many process at once then you need a more powerful CPU. Try to access router GUI while downloading/uploading at full speed, you can see how slow reacts. The improvement is not only related to new driver.. and for sure CPU overclocking is a 'dirty' solution, we have to work in a general code (use and run what is needed) and consequently an irq optimization.

    Thanks for relating us your experience.
     
  99. adlerfra

    adlerfra LI Guru Member

    Vic. For the RT-N16, is the WAN-LAN performance better with your 9006 version than with 9013 R1.0 ?
     
  100. Victek

    Victek Network Guru Member

    I did some test weeks ago, and yes, it was better. In my next release (I hope will be ended in two weeks) WAN-LAN is OK again.
     
    adlerfra likes this.

Share This Page