Project

General

Profile

Característica #343

Include by default luci-app-qos in Alix and/or x86, it works

Added by guifi pedro almost 5 years ago. Updated about 2 years ago.

Status:
Tancat
Priority:
Normal
Category:
-
Target version:
-
Start date:
02/04/2015
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:

Description

I'm trying to use an Alix (without wifi antenna) and luci-app-qos.
I know it works with barrier breaker.

This is an important issue, limit the bandwidth is fundamental to perform tunnels between qMp networks in our homes!

[Image issues]

1
Is not working (no openwrt moment with 192.168.1.1, do the restart):
http://fw.qmp.cat/Releases/archive/3.1-Clearance/Alix-qMp-Guifi_master-factory-20150118_1829.bin

2
It works (starts with openwrt 192.168.1.1 continues with the reset and reconfiguration to 172.30.22.1)
http://fw.qmp.cat/Releases/archive/3.1-Clearance/x86-qMp-Guifi_master-factory-20150118_1834.bin

[Kernel issues with 2]

Start here with fresh image

opkg update

Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_base.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/b6m/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_b6m.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/libremap_agent/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_libremap_agent.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_luci.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/nc/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_nc.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/oldpackages/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_oldpackages.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/openwrt_routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_openwrt_routing.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_packages.
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/qmp/Packages.gz.
Updated list of available packages in /var/opkg-lists/clearance_qmp.

opkg install luci-qos-app

Unknown package 'luci-qos-app'.
Collected errors:
 * opkg_install_cmd: Cannot install package luci-qos-app.
root@qMp-a7f8:~# opkg install luci-app-qos
Installing luci-app-qos (0.12+git-14.328.38210-ea67bd1-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/luci/luci-app-qos_0.12+git-14.328.38210-ea67bd1-1_x86.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qos:
 *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) * 
 * opkg_install_cmd: Cannot install package luci-app-qos.

opkg install luci-qos-app --force-depends

Installing luci-app-qos (0.12+git-14.328.38210-ea67bd1-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/luci/luci-app-qos_0.12+git-14.328.38210-ea67bd1-1_x86.ipk.
Installing qos-scripts (1.2.1-6) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/qos-scripts_1.2.1-6_all.ipk.
Installing tc (3.15.0-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/tc_3.15.0-1_x86.ipk.
Installing kmod-sched-core (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-sched-core_3.10.49-1_x86.ipk.
Installing kmod-sched-connmark (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-sched-connmark_3.10.49-1_x86.ipk.
Installing kmod-ipt-conntrack-extra (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-ipt-conntrack-extra_3.10.49-1_x86.ipk.
Installing kmod-ifb (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-ifb_3.10.49-1_x86.ipk.
Installing iptables-mod-filter (1.4.21-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/iptables-mod-filter_1.4.21-1_x86.ipk.
Installing kmod-ipt-filter (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-ipt-filter_3.10.49-1_x86.ipk.
Installing kmod-lib-textsearch (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-lib-textsearch_3.10.49-1_x86.ipk.
Installing iptables-mod-ipopt (1.4.21-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/iptables-mod-ipopt_1.4.21-1_x86.ipk.
Installing kmod-ipt-ipopt (3.10.49-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/kmod-ipt-ipopt_3.10.49-1_x86.ipk.
Installing iptables-mod-conntrack-extra (1.4.21-1) to root...
Downloading http://fw.qmp.cat/3.1_openwrt-x86-generic/packages/base/iptables-mod-conntrack-extra_1.4.21-1_x86.ipk.
Configuring kmod-sched-core.
kmod: failed to insert /lib/modules/3.10.49/cls_fw.ko
kmod: failed to insert /lib/modules/3.10.49/cls_route.ko
kmod: failed to insert /lib/modules/3.10.49/cls_flow.ko
kmod: failed to insert /lib/modules/3.10.49/cls_tcindex.ko
kmod: failed to insert /lib/modules/3.10.49/cls_u32.ko
kmod: failed to insert /lib/modules/3.10.49/em_u32.ko
kmod: failed to insert /lib/modules/3.10.49/act_mirred.ko
kmod: failed to insert /lib/modules/3.10.49/act_skbedit.ko
Configuring kmod-ipt-conntrack-extra.
Configuring kmod-sched-connmark.
kmod: failed to insert /lib/modules/3.10.49/act_connmark.ko
Configuring kmod-lib-textsearch.
Configuring kmod-ipt-filter.
Configuring tc.
Configuring kmod-ifb.
Configuring iptables-mod-filter.
Configuring kmod-ipt-ipopt.
Configuring iptables-mod-ipopt.
Configuring iptables-mod-conntrack-extra.
Configuring qos-scripts.
Configuring luci-app-qos.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for luci-app-qos:
 *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) *     kernel (= 3.10.49-1-29a3575fd70c46f5f5a73229f0797221) * 

/etc/init.d/qos restart

/etc/init.d/qos restart
Command failed: Not found
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 a reboot, it appeared, I put it on (with 3000 limit for upload and download)
saved changes and

/etc/init.d/qos restart

Command failed: Not found
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: No such file or directory
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
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: Protocol wrong type for socket.
iptables: Protocol wrong type for socket.
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.
iptables: No chain/target/match by that name.
iptables: Protocol wrong type for socket.
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: No such file or directory
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
RTNETLINK answers: Operation not supported
We have an error talking to the kernel
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: Protocol wrong type for socket.
iptables: Protocol wrong type for socket.
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.
iptables: No chain/target/match by that name.
iptables: Protocol wrong type for socket.

Now, a checking with OpenWrt image:
http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/openwrt-x86-generic-combined-squashfs.img

opkg update

Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_base.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/luci/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_luci.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_packages.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/routing/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_routing.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/telephony/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_telephony.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/management/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_management.
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/oldpackages/Packages.gz.
Updated list of available packages in /var/opkg-lists/barrier_breaker_oldpackages.

opkg install luci-app-qos

Installing luci-app-qos (0.12+svn-r10530-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/luci/luci-app-qos_0.12+svn-r10530-1_x86.ipk.
Installing qos-scripts (1.2.1-7) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/qos-scripts_1.2.1-7_all.ipk.
Installing tc (3.15.0-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/tc_3.15.0-1_x86.ipk.
Installing kmod-sched-core (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-sched-core_3.10.49-1_x86.ipk.
Installing kmod-sched-connmark (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-sched-connmark_3.10.49-1_x86.ipk.
Installing kmod-ipt-conntrack-extra (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-ipt-conntrack-extra_3.10.49-1_x86.ipk.
Installing kmod-ifb (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-ifb_3.10.49-1_x86.ipk.
Installing iptables-mod-filter (1.4.21-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/iptables-mod-filter_1.4.21-1_x86.ipk.
Installing kmod-ipt-filter (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-ipt-filter_3.10.49-1_x86.ipk.
Installing kmod-lib-textsearch (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-lib-textsearch_3.10.49-1_x86.ipk.
Installing iptables-mod-ipopt (1.4.21-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/iptables-mod-ipopt_1.4.21-1_x86.ipk.
Installing kmod-ipt-ipopt (3.10.49-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/kmod-ipt-ipopt_3.10.49-1_x86.ipk.
Installing iptables-mod-conntrack-extra (1.4.21-1) to root...
Downloading http://downloads.openwrt.org/barrier_breaker/14.07/x86/generic/packages/base/iptables-mod-conntrack-extra_1.4.21-1_x86.ipk.
Configuring kmod-sched-core.
Configuring kmod-ipt-conntrack-extra.
Configuring kmod-sched-connmark.
Configuring kmod-lib-textsearch.
Configuring kmod-ipt-filter.
Configuring tc.
Configuring kmod-ifb.
Configuring iptables-mod-filter.
Configuring kmod-ipt-ipopt.
Configuring iptables-mod-ipopt.
Configuring iptables-mod-conntrack-extra.
Configuring qos-scripts.
Configuring luci-app-qos.

(qos disabled)
/etc/init.d/qos restart

Command failed: Not found
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.

also is not appearing in luci, so I rebooted.

Later, I enabled limiter to 3000 in upload/download

/etc/init.d/qos restart

Command failed: Not found

But it works...
disabled it, again, qos restart, and it works.

Alix-qMp_master-sysupgrade-20150205_0135.bin (10.3 MB) guifi pedro, 02/06/2015 01:29 PM

History

#1 Updated by guifi pedro almost 5 years ago

  • File Alix-qMp_master-sysupgrade-20150205_0135.bin added
  • Tracker changed from Suport to Característica
  • Subject changed from Issues with Alix and luci-app-qos (please fix it!) to Include by default luci-app-qos in Alix, it works

I compiled myself qMp with luci-app-qos and it works. It is a nice feature. Why not include by default in Alix builds?

#2 Updated by guifi pedro almost 5 years ago

  • Subject changed from Include by default luci-app-qos in Alix, it works to Include by default luci-app-qos in Alix and/or x86, it works

#3 Updated by guifi pedro almost 5 years ago

Alix-qMp_master-sysupgrade-20150205_0135.bin is the image I compiled myself with qMp + QoS features

#4 Updated by Roger Pueyo Centelles about 2 years ago

  • Status changed from Nou to Resolt
  • Assignee set to Roger Pueyo Centelles
  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h

The way images are compiled now, either with qmpfw or qmp-cooker, the package can be downloaded and installed without dependencies' versions mismatch.

#5 Updated by Roger Pueyo Centelles about 2 years ago

  • Status changed from Resolt to Tancat

Also available in: Atom PDF