Modify

Opened 3 years ago

#19764 new defect

qos-script init script fails with default config (possible fix included)

Reported by: mista.tapas@… Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: qos qos-script Cc:

Description

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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.