Le 19/09/2013 16:51, [email protected] a écrit : > El lunes, 9 de septiembre de 2013 17:24:38 UTC+2, Keven Kuo escribió: >> Hi! Francisco, >> >> >> >> For using "tc", some kernel config need to be enabled. For example, >> >> >> >> CONFIG_NET_SCHED=y >> >> CONFIG_NET_SCH_CLK_JIFFIES=y >> >> CONFIG_NET_SCH_HTB=y >> >> CONFIG_NET_SCH_SFQ=y >> >> CONFIG_NET_QOS=y >> >> CONFIG_NET_CLS=y >> >> CONFIG_NET_CLS_FW=y >> >> >> >> It depends on what tc rules you will use. >> >> >> >> -- >> >> Keven >> >> >> >> [email protected] 於 2013/9/9 下午8:29 寫道: >> >> >> >>> Hello, >> >>> >> >>> I'm trying to install the "tc" (traffic control) binary in the Keon device. >>> I had previously installed tcpdump and netcat by simply pushing the two >>> binary files that I found here >>> (https://wiki.mozilla.org/images/4/4d/Nc-tcpdump.zip) to the Keon device >>> via the adb shell. >> >>> >> >>> The tc binary belongs to the iproute2 packet and Im not sure either if I >>> could simply install it the same way as I installed tcpdump or netcat. >> >>> >> >>> I tried to install the arm version of tc that I got from the debian >>> official site but it doesn't work. Do I need to compile the binary myself? >>> if so, how could I do that? >> >>> >> >>> Thank you, >> >>> >> >>> Regards, Francisco >> >>> _______________________________________________ >> >>> dev-b2g mailing list >> >>> [email protected] >> >>> https://lists.mozilla.org/listinfo/dev-b2g > > HI Keven, thank you for your answer. > > I finally managed to get a tc binary that works for my Keon device (armv7) > and after launching it I get the following output: > > [1] + Stopped (signal) tc > > ...and then a segmentation fault. I guess it may me because of the kernel as > you told me some configuration is needed. > > Could anybody help me and tell me how to configure the kernel in FxOS Keon > device so that I can run the tc command?
You have the kernel sources in the github repo, so you just have to tune the .config file to enable what you want. > > My goal is to provide QoS, maybe there is another way else than tc? > > Thank you, > > Regards > > Francisco > _______________________________________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-b2g > _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
