Code: Alles auswählen
time.sleep(0.5)
Code: Alles auswählen
time.sleep(0.5)
Code: Alles auswählen
echo 0 | sudo tee -a /sys/module/dvb_core/parameters/dvb_powerdown_on_sleep
Code: Alles auswählen
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 570000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 578000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 586000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 594000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 602000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 610000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 618000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 626000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 634000 kHz, 256QAM
tuning failed
tuning to 634000 kHz, 64QAM
tuning failed
tuning to 642000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 650000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 658000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 666000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 674000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 682000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 690000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 698000 kHz, 256QAM
Error(16): /dev/dvb/adapter0/dvr0: Device or resource busy
tuning to 706000 kHz, 256QAM
tuning failed
tuning to 706000 kHz, 64QAM
tuning failed
tuning to 714000 kHz, 256QAM
Code: Alles auswählen
Found channels:
546000000 kHz
554000000 kHz
562000000 kHz
570000000 kHz
578000000 kHz
586000000 kHz
594000000 kHz
602000000 kHz
642000000 kHz
650000000 kHz
658000000 kHz
666000000 kHz
674000000 kHz
682000000 kHz
690000000 kHz
698000000 kHz
tuning to 546000000 Hz, 256QAM
found 251 customers until now
tuning to 554000000 Hz, 256QAM
found 347 customers until now
tuning to 562000000 Hz, 256QAM
Code: Alles auswählen
Error(75): read: Buffer overflow, stream bandwidth to high
Hallo Knidel,Knidel hat geschrieben:Das ist leider noch so ein Problem. Python kommt nicht hinterher, die Daten auszuwerten und der Buffer vom Demux läuft hin und wieder über. Auf meiner Dreambox 7080 funktioniert alles problemlos. Auf der Dreambox 7020 kommt die Meldung auch hin und wieder. Leider wird dadurch auch das Ergebnis beeinflusst.
Vermutlich wäre es wirklich am besten, das in C/C++ zu machen. Wie sind denn die Möglichkeiten, um auf dem Raspberry Pi Programme zu kompilieren? Ist bei dir beispielsweise schon g++ installiert? Sollte ja aber eigentlich keine Einschränkungen geben und über den Paketmanager installierbar sein.
Dieses Programm könnte dann auch beides machen. Die Auslastungen regelmäßig messen und die Anzahl der verschiedenen MAC-Adressen ermitteln.
Ich habe mir jetzt mal die MAC-Adressen angesehen. Beispielsweise bei den meisten Hitron-Geräten tauchen zwei MAC-Adressen auf, die sehr nah beieinander sind. Ich schätze mal, dass sich der öffentliche WLAN-Hotspot von VFKD und der eigentliche Anschluss des Kunden beim CMTS getrennt anmelden?
Die derzeit ausgegebene Zahl ist also denke ich nicht die Anzahl der Kunden. Um die Anzahl der Kunden zu schätzen, sollten vielleicht nur die ersten 5 Oktetts der MAC-Adressen betrachtet werden.
Code: Alles auswählen
Found channels:
546000000 kHz
554000000 kHz
562000000 kHz
570000000 kHz
578000000 kHz
586000000 kHz
594000000 kHz
602000000 kHz
642000000 kHz
650000000 kHz
658000000 kHz
666000000 kHz
674000000 kHz
682000000 kHz
690000000 kHz
698000000 kHz
Analyze channels:
tuning to 546000000 Hz, 256QAM
found 293 customers until now
tuning to 554000000 Hz, 256QAM
found 382 customers until now
tuning to 562000000 Hz, 256QAM
found 470 customers until now
tuning to 570000000 Hz, 256QAM
found 148 customers until now
tuning to 578000000 Hz, 256QAM
found 833 customers until now
tuning to 586000000 Hz, 256QAM
found 929 customers until now
tuning to 594000000 Hz, 256QAM
found 1006 customers until now
tuning to 602000000 Hz, 256QAM
found 1075 customers until now
tuning to 642000000 Hz, 64QAM
found 1080 customers until now
tuning to 650000000 Hz, 64QAM
found 1081 customers until now
tuning to 658000000 Hz, 64QAM
found 1082 customers until now
tuning to 666000000 Hz, 64QAM
found 1084 customers until now
tuning to 674000000 Hz, 64QAM
found 1089 customers until now
tuning to 682000000 Hz, 64QAM
found 1095 customers until now
tuning to 690000000 Hz, 64QAM
found 1099 customers until now
tuning to 698000000 Hz, 64QAM
found 1100 customers until now
CMTS MAC addresses:
00:17:10:8B:57:89
34:31:C4:87:62:47
C8:0E:14:65:9D:0B
C8:0E:14:6B:EC:DB
C8:0E:14:6A:85:A6
Code: Alles auswählen
Found channels:
546000 kHz
554000 kHz
562000 kHz
570000 kHz
578000 kHz
586000 kHz
594000 kHz
602000 kHz
666000 kHz
674000 kHz
682000 kHz
690000 kHz
698000 kHz
706000 kHz
714000 kHz
722000 kHz
Analyze channels:
tuning to 546000 kHz, 256QAM
found 241 customers until now
tuning to 554000 kHz, 256QAM
found 343 customers until now
tuning to 562000 kHz, 256QAM
found 414 customers until now
tuning to 570000 kHz, 256QAM
found 616 customers until now
tuning to 578000 kHz, 256QAM
found 796 customers until now
tuning to 586000 kHz, 256QAM
found 935 customers until now
tuning to 594000 kHz, 256QAM
found 1052 customers until now
tuning to 602000 kHz, 256QAM
found 1237 customers until now
tuning to 666000 kHz, 64QAM
found 1255 customers until now
tuning to 674000 kHz, 64QAM
found 1273 customers until now
tuning to 682000 kHz, 64QAM
found 1298 customers until now
tuning to 690000 kHz, 64QAM
found 1311 customers until now
tuning to 698000 kHz, 64QAM
found 1333 customers until now
tuning to 706000 kHz, 64QAM
found 1351 customers until now
tuning to 714000 kHz, 64QAM
found 1371 customers until now
tuning to 722000 kHz, 64QAM
found 1388 customers until now
CMTS MAC addresses:
00:01:5C:32:B0:05
00:01:5C:32:B0:00
Code: Alles auswählen
Found channels:
546000 kHz
554000 kHz
562000 kHz
570000 kHz
578000 kHz
586000 kHz
594000 kHz
602000 kHz
642000 kHz
650000 kHz
658000 kHz
666000 kHz
674000 kHz
682000 kHz
690000 kHz
698000 kHz
Analyze channels:
tuning to 546000 kHz, 256QAM
found 209 customers until now
tuning to 554000 kHz, 256QAM
found 281 customers until now
tuning to 562000 kHz, 256QAM
found 395 customers until now
tuning to 570000 kHz, 256QAM
found 486 customers until now
tuning to 578000 kHz, 256QAM
found 843 customers until now
tuning to 586000 kHz, 256QAM
found 928 customers until now
tuning to 594000 kHz, 256QAM
found 1011 customers until now
tuning to 602000 kHz, 256QAM
found 1091 customers until now
tuning to 642000 kHz, 64QAM
found 1098 customers until now
tuning to 650000 kHz, 64QAM
found 1101 customers until now
tuning to 658000 kHz, 64QAM
found 1104 customers until now
tuning to 666000 kHz, 64QAM
found 1104 customers until now
tuning to 674000 kHz, 64QAM
found 1112 customers until now
tuning to 682000 kHz, 64QAM
found 1117 customers until now
tuning to 690000 kHz, 64QAM
found 1118 customers until now
tuning to 698000 kHz, 64QAM
found 1122 customers until now
CMTS MAC addresses:
34:81:C4:DA:8B:81
34:81:C4:AF:03:0D
C8:0E:14:56:1D:48
34:81:C4:AB:49:65
00:17:10:8B:57:89
C8:0E:14:65:9D:0B