#19764: qos-script init script fails with default config (possible fix included)
----------------------------+------------------------
 Reporter:  mista.tapas@…   |      Owner:  developers
     Type:  defect          |     Status:  new
 Priority:  normal          |  Milestone:
Component:  packages        |    Version:  Trunk
 Keywords:  qos qos-script  |
----------------------------+------------------------
 After flashing a TP Link 4300 with openwrt and setting up pppoe and wifi,
 I ssh'ed into the box to install the qos-script package.

 Installing it worked fine. I setup the recommended options (up, down
 bitrates, etc) and issued the command to start it which resulted in
 several error messages:

 {{{
 Configuring qos-scripts.
 root@OpenWrt:~# uci set qos.wan.upload=900
 root@OpenWrt:~# uci set qos.wan.download=15000
 root@OpenWrt:~# uci set qos.wan.enabled=1
 root@OpenWrt:~# uci commit qos
 root@OpenWrt:~# /etc/init.d/qos start
 iptables: No chain/target/match by that name.
 iptables: No chain/target/match by that name.
 iptables: No chain/target/match by that name.
 iptables: No chain/target/match by that name.
 iptables: No chain/target/match by that name.
 iptables: No chain/target/match by that name.
 }}}

 After adding some -v statements to the iptables calls in

 {{{
 /usr/lib/qos/generate.sh
 }}}

 I discovered that it had something to do with the CONNMARK target. A
 little bit more research then led me to

 {{{
 modprobe xt_connbytes
 }}}

 after which starting the qos service gives no more error messages.

--
Ticket URL: <https://dev.openwrt.org/ticket/19764>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to