QoS Class names

Discussion in 'Tomato Firmware' started by paped, Mar 1, 2012.

  1. paped

    paped LI Guru Member

    Hi, I am running Victek RAF VPN firmware (2.4 kernel) on a WRT54GL. I have one slight annoyance in that the QoS class names are things like Game, Mail, Service etc. Is there a way to change it back to the original Tomoto names i.e. highest, high, normal, low etc etc?

    As QoS is working fine but its not very intuitive and a bit annoying compared to the original naming convention when you are fault finding....
  2. Planiwa

    Planiwa Network Guru Member


    nvram export --set | grep classnames

    change it, run it.

    if you like it, commit it.
  3. Toastman

    Toastman Super Moderator Staff Member Member

    There should be an option under the QOS setup page to change them in the GUI. Change them to something a bit more intuitive, for example, "Lowest" is not the lowest class - that would be Class"E". Changing the names don't affect the rules in any way so choose some names that seem helpful to you.
  4. paped

    paped LI Guru Member

    Thanks for the help but.....

    Re Toastman's GUI Change suggestion - I am running Tomato RAF Firmware v1.28.8525 _RAF ND VPN and this seems to have the old style Tomato QoS GUI which does not include the option to change the class names on any of the QoS Pages.

    Re Planiwa's suggestion - Again possibly because of the version I am running if I run "nvram export --set | grep classnames" in either the GUI terminal or in an SSH session I get nothing back. Also if I do "nvram export --set" to get the full config and go through it line by line there is no mention of the "Classname" or the individual service names?

    The after doing a bit of searching the only place I have found the Classnames seems to be in the QoS .asp files under the WWW directory but I am not sure if or how to change these?

    The alternative of course is to use another Tomato version I did try Victek K2.6 version but it did not seem to play well with my WRT54GL's I had webpages that would not display, odd looking routing tables (in the GUI) etc but it did have the more intuative classnames by default.... However is there any other Tomate versions that do [Open]VPN, are stable, and show the QoS names correctly or allow the changes noted above (just need basic Tomato functionality + OpenVPN really)? As changing the firmware may be the way forward possibly to allow me to change the settings I need to do this as I assume that the above works on certain firmwares just not the one I am running currently?

    Thanks in advance for any further assistance or recommendation re firmware.....
  5. Planiwa

    Planiwa Network Guru Member

    :; nvram export --set|grep qos_classnames
    nvram set qos_classnames="Service VOIP/Game Media Remote WWW Mail Messenger Download P2P/Bulk Crawl"
    :; grep -i qos_classnames /www/q*
    /www/qos-classify.asp://<% nvram("qos_classnames,qos_enable,qos_orules"); %>
    /www/qos-classify.asp:var abc = nvram.qos_classnames.split(' ');// Toastman - configurable class names
    /www/qos-detailed.asp://<% nvram('qos_classnames,lan_ipaddr,lan1_ipaddr,lan2_ipaddr,lan3_ipaddr,lan_netmask,lan1_netmask,lan2_netmask,lan3_netmask,t_hidelr'); %>
    /www/qos-detailed.asp:var classNames = nvram.qos_classnames.split(' ');
    /www/qos-graphs.asp:// <% nvram("qos_classnames,web_svg,qos_enable"); %>
    /www/qos-graphs.asp:var classNames = nvram.qos_classnames.split(' ');// Toastman - configurable class names
    /www/qos-settings.asp://<% nvram("qos_classnames,qos_enable,qos_ack,qos_syn,qos_fin,qos_rst,qos_icmp,qos_udp,qos_default,qos_pfifo,qos_obw,qos_ibw,qos_orates,qos_irates,qos_reset,ne_vegas,ne_valpha,ne_vbeta,ne_vgamma"); %>
    /www/qos-settings.asp:var classNames = nvram.qos_classnames.split(' ');// Toastman - configurable class names
    /www/qos-settings.asp:fom.qos_classnames.value = qos.join(' ');
    /www/qos-settings.asp:<input type='hidden' name='qos_classnames'>
    /www/qos-settings.asp:if ((v = nvram.qos_classnames.match(/^(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)\s+(.+)$/)) == null) {
    :; cat /etc/motd
    Tomato v1.28.7494 MIPSR2-Toastman-VLAN-RT K26 USB VPN-NOCAT
    In your firmware, are these classnames hard-coded, rather than taken from the nvram?
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice