[Berlin-wireless] python auf router

Sven Roederer freifunk at it-solutions.geroedel.de
Do Mai 5 18:50:56 CEST 2016


Ist der path zum tc-binary richtig gesetzt (variable TCPATH)?

Am 5. Mai 2016 18:38:19 MESZ, schrieb Holger <gonzo.d at web.de>:
>
>
>
>
>Am 05.05.2016 um 17:30 schrieb Sven Roederer:
>> Nimmst du einfach die originalen Pakete von openwrt.
>> Findest du unter downloads.openwrt.org (oder so), für kathleen 0.1.2
>: barrier-breaker (14.xx) ; für Kathleen 0.2.0: chaos-calmer (15.05.1)
>> Und dann entsprechend eintragen unter /etc/opkg/xxx (vorhandene Datei
>ändern oder neue anlegen)
>>
>> Na malm sehen ...
>
>/tmp/tcviz-master# ./tcviz.py eth0
>Traceback (most recent call last):
>   File "./tcviz.py", line 72, in <module>
>     sys.exit(main())
>   File "./tcviz.py", line 17, in main
>     (q, c, f) = [ readTc([type, 'show', 'dev', sys.argv[1]]) for type 
>in ('qdisc', 'class', 'filter') ]
>   File "./tcviz.py", line 44, in readTc
>     return subprocess.Popen([TCPATH] + args, stdout = 
>subprocess.PIPE).communicate()[0]
>   File "/tmp/usr/lib/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>File "/tmp/usr/lib/python2.7/subprocess.py", line 1249, in
>_execute_child
>     raise child_exception
>OSError: [Errno 2] No such file or directory
>
>
>rrr, mag er wohl nicht. :(
>
>alternativ könnte ich die files verarbeiten:
>OR
>If you want to feed tcviz with offline data:
>./tcviz.py <qdiscs file> <classes file> <filters file>
>
>dafür gibt's files?
>Ick geh mal lieber raus!
>
>bis später h
>
>_______________________________________________
>Berlin mailing list
>Berlin at berlin.freifunk.net
>http://lists.berlin.freifunk.net/cgi-bin/mailman/listinfo/berlin
>Diese Mailingliste besitzt ein ffentlich einsehbares Archiv



Mehr Informationen über die Mailingliste Berlin