Jump to content

TheBB

Moderators
  • Posts

    2,410
  • Joined

  • Last visited

  • Days Won

    51

TheBB last won the day on September 6 2023

TheBB had the most liked content!

Converted

  • Interests
    Флудерастия
  • Occupation
    Тролль

Equipment

  • Keenetic
    DSL G2 O2 U2 VOX(exp.) | KO(KN-1410) KS(KN-1110) KDSL(KN-2010)

Recent Profile Visitors

8,519 profile views

TheBB's Achievements

Honored Flooder

Honored Flooder (5/5)

1.1k

Reputation

3

Community Answers

  1. Дублирование записей. Исправьте (удалите лишние записи) в файле "/opt/etc/opkg.conf". Удалите всё в "/opt/var/opkg-lists" (`rm /opt/var/opkg-list/*`) и обновите списки пакетов (`opkg update`).
  2. Ну, что, дамы и господа, будем ждать owrt`шников или займёмся экстримом? ~ # ~ # python --version Python 3.12.2 ~ # hass --version 2024.4.3 ~ # Не ищите - не выложено.
  3. Тут можно меня смело пинать и дать в глаз... подготовил, но пропустил-забыл. Если не критично - можно подождать до следующей синхронизации. Или? Будет так: ~ # file Example1.png Example1.png: PNG image data, 1337 x 1067, 8-bit/color RGB, non-interlaced ~ # ~ # php fileinfo.php; echo image/png ~ #
  4. KN-2710 в режиме extender-ретранслятор (как и ZKU2 выше) ~ # ndmc -c show rc ppe config, name = ppe: engine: hardware ~ # ~ # ndmc -c show rc ppe config, name = ppe: no: enabled: no engine: hardware ~ #
  5. на всякий случай - из ZyXEL Keenetic Ultra II ~ # ndmc -c show rc ppe config, name = ppe: engine: hardware ~ # ~ # ndmc -c show rc ppe config, name = ppe: no: enabled: no engine: hardware ~ #
  6. KN-2110: root@Keenetic_Duo:~# ndmc -c show version | grep -E '(release|title)' release: 4.02.A.3.0-0 title: 4.2 Alpha 3 root@Keenetic_Duo:~# disabled root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -s localhost:79/rci/show/rc/ppe [ { "engine": "software" }, { "enabled": false, "engine": "hardware" } root@Keenetic_Duo:~# ndmc -c show rc ppe | grep -B1 hard | grep enabled enabled: no root@Keenetic_Duo:~# root@Keenetic_Duo:~# if [ -z "$(ndmc -c show rc ppe | grep -B1 hard | grep enabled)" ]; then echo "hardware enabled"; else echo "hardware disabled"; fi hardware disabled root@Keenetic_Duo:~# enabled root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -s localhost:79/rci/show/rc/ppe [ { "engine": "software" }, { "engine": "hardware" } ]root@Keenetic_Duo:~# root@Keenetic_Duo:~# ndmc -c show rc ppe | grep -B1 hard | grep enabled root@Keenetic_Duo:~# root@Keenetic_Duo:~# if [ -z "$(ndmc -c show rc ppe | grep -B1 hard | grep enabled)" ]; then echo "hardware enabled"; else echo "hardware disabled"; fi hardware enabled root@Keenetic_Duo:~#
  7. на встроенной не тестировал (кажись, не помню) запустить `ldconfig` для обновления кеша библиотек.
  8. Надо owrt`шникам "в глаз плюнуть", версии обновляют, а за содержимым не следят. https://github.com/openwrt/packages/blob/master/utils/mariadb/Makefile#L464-L467 --- собрано ➜ ls -l *check* | cut -d' ' -f-2,4- -rwxr-xr-x 1 3620128 фев 23 11:32 innochecksum -rwxr-xr-x 1 3861704 фев 23 11:32 mariadb-check lrwxrwxrwx 1 13 фев 23 11:36 mysqlcheck -> mariadb-check упаковано ➜ ls -l *check* | cut -d' ' -f-2,4- lrwxrwxrwx 1 10 фев 23 11:36 mariadbcheck -> mysqlcheck -rwxr-xr-x 1 3730088 фев 23 11:36 mysqlcheck
  9. Не оно? ~ # opkg list | grep zigpy python3-bellows - 0.38.1-1 - bellows is a Python 3 library implementation for the zigpy project to add Zigbee radio support for Silicon Labs EM35x ("Ember") and EFR32 ("Mighty Gecko") based Zigbee coordinator devices using the EZSP (EmberZNet Serial Protocol) interface. python3-zigpy - 0.63.4-1 - zigpy is a hardware independent Zigbee protocol stack integration project to implement Zigbee standard specifications as a Python 3 library. python3-zigpy-deconz - 0.23.1-1 - zigpy-deconz is a Python 3 implementation for the Zigpy project to implement deCONZ based Zigbee radio devices. python3-zigpy-xbee - 0.20.1-1 - zigpy-xbee is a Python implementation for the Zigpy project to implement XBee based Zigbee radio devices from Digi. python3-zigpy-zigate - 0.12.0-1 - zigpy-zigate is a Python 3 implementation for the Zigpy project to implement ZiGate based Zigbee radio devices. python3-zigpy-znp - 0.12.1-1 - zigpy-znp is a Python library that adds support for common Texas Instruments ZNP (Zigbee Network Processors) Zigbee radio modules to zigpy, a Python Zigbee stack project. ~ # или метапак ha-component-zha - 2024.3.1-1 - Zigbee Home Automation
  10. из телеги https://t.me/entware установить пакеты: `opkg install coreutils-df procps-ng-free procps-ng-uptime` править по вкусу (удалить, добавить, изменить вывод)
  11. Пакеты собраны для изучения процесса сборки (кросс-компиляции) проектов, написанных на языке программирования Rust, на официально не поддерживаемых архитектурах, и тестирования в различных конфигурациях. Для тестирования нужно установить пакет aarch64 - `opkg install http://bin.entware.net/aarch64-k3.10/test/arti_1.2.0-1_aarch64-3.10.ipk` mips - `opkg install http://bin.entware.net/mipssf-k3.4/test/arti_1.2.0-1_mips-3.4.ipk` mipsel - `opkg install http://bin.entware.net/mipselsf-k3.4/test/arti_1.2.0-1_mipsel-3.4.ipk` и настроить кофиг, активировав действующие мосты (bridges) (самостоятельно) и др. параметры, напр., для запуска от root`a - allow_running_as_root = true или указать путь к каталогу кэша - cache_dir = "/opt/var/cache/arti" Для того, чтобы вывести требуемые параметры запуска, необходимо запустить с ключом "help", или "-h", или "--help" (последние две также и для подпрограмм). Пример запуска (после настройки) root@Keenetic_Duo:~# root@Keenetic_Duo:~# arti proxy -c /opt/etc/arti/arti-config.toml 2024-04-02T10:20:08Z INFO arti: Starting Arti 1.2.0 in SOCKS proxy mode on localhost port 9150 ... 2024-04-02T10:20:08Z INFO arti_client::client: Using keystore from "/opt/var/lib/arti/keystore" 2024-04-02T10:20:35Z INFO tor_dirmgr: Marked consensus usable. 2024-04-02T10:20:37Z INFO tor_dirmgr: Loaded a good directory from cache. 2024-04-02T10:20:37Z INFO arti: Sufficiently bootstrapped; system SOCKS now functional. 2024-04-02T10:20:37Z INFO arti::socks: Listening on [::1]:9150. 2024-04-02T10:20:37Z INFO arti::socks: Listening on 127.0.0.1:9150. 2024-04-02T10:20:40Z INFO tor_guardmgr::guard: We have found that guard [185.x.x.x:9001+ ed25519:Bf…] is usable. 2024-04-02T10:20:42Z INFO tor_guardmgr::guard: We have found that guard [5.x.x.x:143 ed25519:ty…] is usable. 2024-04-02T10:20:43Z INFO tor_dirmgr: Marked consensus usable. 2024-04-02T10:20:44Z INFO tor_dirmgr: Directory is complete. attempt=1 ... или запуск в фоне root@Keenetic_Duo:~# root@Keenetic_Duo:~# arti proxy -c /opt/etc/arti/arti-config.toml > /dev/null 2>&1 & root@Keenetic_Duo:~# или написать стартовый скрипт. Пример проверки (с интервалом 5-10 минут) root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo {"IsTor":true,"IP":"171.25.193.80"} root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo {"IsTor":true,"IP":"171.25.193.80"} root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo {"IsTor":true,"IP":"109.70.100.70"} root@Keenetic_Duo:~# root@Keenetic_Duo:~# curl -x socks5h://127.0.0.1:9150 -s https://check.torproject.org/api/ip; echo {"IsTor":true,"IP":"192.42.116.220"} root@Keenetic_Duo:~#
  12. python3-fnvhash использовался как пример, применимо и для других пакетов. Видимо, что-то не обновилось.
  13. Расшифровка - запустить программу opkg с командой info для вывода информации о пакете polipo Ищите на своё устройство
  14. root@Keenetic-6065: /opt/root $ root@Keenetic-6065: /opt/root $ opkg info polipo Package: polipo Version: 1.1.1-2 Depends: libc, libssp, librt, libpthread Status: unknown ok not-installed Section: net Architecture: mipsel-3.4 Size: 96074 Filename: polipo_1.1.1-2_mipsel-3.4.ipk Description: Polipo is a small and fast caching web proxy (a web cache, an HTTP proxy, a proxy server). While Polipo was designed to be used by one person or a small group of people, there is nothing that prevents it from being used by a larger group. root@Keenetic-6065: /opt/root $
×
×
  • Create New...