-
Постов
2 505 -
Зарегистрирован
-
Посещение
-
Победитель дней
54
Тип контента
Профили
Форумы
Галерея
Загрузки
Блоги
События
Весь контент TheBB
-
т.к. индекс отсутствует для тестовых пакетов, всё ставится руками, в том числе и зависимости ~ # opkg install http://bin.entware.net/mipselsf-k3.4/test/ulogd-mod-nflog_2.0.7-9999_mipsel-3.4.ipk Downloading http://bin.entware.net/mipselsf-k3.4/test/ulogd-mod-nflog_2.0.7-9999_mipsel-3.4.ipk Unknown package 'ulogd-mod-nflog'. Collected errors: * pkg_hash_fetch_best_installation_candidate: Packages for ulogd-mod-nflog found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package ulogd-mod-nflog. ~ # ~ # opkg install http://bin.entware.net/mipselsf-k3.4/test/libnetfilter-log_1.0.1-3_mipsel-3.4.ipk Downloading http://bin.entware.net/mipselsf-k3.4/test/libnetfilter-log_1.0.1-3_mipsel-3.4.ipk Installing libnetfilter-log (1.0.1-3) to root... Installing libnfnetlink (1.0.1-3) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libnfnetlink_1.0.1-3_mipsel-3.4.ipk Installing libmnl (1.0.4-2) to root... Downloading http://bin.entware.net/mipselsf-k3.4/libmnl_1.0.4-2_mipsel-3.4.ipk Configuring libmnl. Configuring libnfnetlink. Configuring libnetfilter-log. ~ # opkg install http://bin.entware.net/mipselsf-k3.4/test/ulogd-mod-nflog_2.0.7-9999_mipsel-3.4.ipk Downloading http://bin.entware.net/mipselsf-k3.4/test/ulogd-mod-nflog_2.0.7-9999_mipsel-3.4.ipk Installing ulogd-mod-nflog (2.0.7-9999) to root... Installing ulogd (2.0.7-6) to root... Downloading http://bin.entware.net/mipselsf-k3.4/ulogd_2.0.7-6_mipsel-3.4.ipk Configuring ulogd. Configuring ulogd-mod-nflog. ~ #
-
1. угу, перед этим ядерный модуль загружать 2. нет, если не хотите логировать 3. пересобрал, залил ~ # iptables -L -t filter | grep LOG ~ # ~ # iptables -w -t filter -I INPUT 2 -j NFLOG iptables: No chain/target/match by that name. ~ # ~ # lsmod | grep LOG ~ # ~ # insmod /lib/modules/4.9-ndm-4/xt_NFLOG.ko ~ # ~ # lsmod | grep LOG xt_NFLOG 720 0 - Live 0x877f5000 nfnetlink_log 6322 1 xt_NFLOG, Live 0x872da000 ~ # ~ # iptables -w -t filter -I INPUT 2 -j NFLOG ~ # ~ # iptables -L -t filter | grep LOG NFLOG all -- anywhere anywhere ~ #
-
Буквально. Создать файл "ftpd" в каталоге "/opt/etc/xinet.d/" со следующим содержимым: service tftp { flags = REUSE socket_type = dgram protocol = udp instances = 30 wait = yes user = root server = /opt/sbin/tftpd-hpa server_args = -s /tmp/mnt/1TB/tftpboot cps = 100 2 log_on_success = HOST PID log_on_failure = HOST disable = no } естественно, "server_args=" будет свой (в примере, "1ТВ" - метка диска/флешки) Нет, не обязательно, можно выдернуть нужные файлы из архива syslinux (версия на выбор) Из примера выше - "/opt/tftpboot/"
-
Если cross, Makefile выше, если нативно (на устройстве), тогда начинать отсюда.
-
https://forum.keenetic.net/topic/1288-самостоятельная-сборка-пакетов
-
Да, "хотели как лучше, а получилось как всегда"... В OpenWrt завезли таки adguarghome, но... Подход к сборке go-пакетов в OpenWrt отличается от сборки go-пакетов в Entware. Собсна, пакет переименован, адаптирован(?) для сборки под разн. архитектуры (arm, x86, ... ). В репах версия одна - 0.104.3 (`opkg install --force-overwrite adguardhome-go`)
-
Makefile: pkg: dnsproxy_v0.33.7-1_mipsel-3.4.ipk
-
- 257 ответов
-
- 2
-
-
- web-сервер
- nginx
- (и ещё 5 )
-
см. https://github.com/mysteriumnetwork/node/blob/master/install.sh#L99 (надо исправить)
-
скрипт запуска кривой. можно и "классический" SysV слепить при желании ))) типа:
-
угу, можно добавить в сборку (пакет есть в OpenWrt) выполнить https://github.com/Entware/Entware/wiki/Self-installation-of-python-modules и (если пропустили) https://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation (для mipsel - `wget -qO- http://bin.entware.net/mipselsf-k3.2/include/include.tar.gz | tar xvz -C /opt/include`) ~ # pip3 install bcrypt Collecting bcrypt Downloading bcrypt-3.2.0.tar.gz (42 kB) |████████████████████████████████| 42 kB 155 kB/s Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: cffi>=1.1 in /opt/lib/python3.9/site-packages (from bcrypt) (1.14.4) Requirement already satisfied: six>=1.4.1 in /opt/lib/python3.9/site-packages (from bcrypt) (1.15.0) Requirement already satisfied: pycparser in /opt/lib/python3.9/site-packages (from cffi>=1.1->bcrypt) (2.20) Building wheels for collected packages: bcrypt Building wheel for bcrypt (PEP 517) ... done Created wheel for bcrypt: filename=bcrypt-3.2.0-cp39-cp39-linux_mips.whl size=30606 sha256=5867d826400dc12ad6437152f26c6c9a19c4d442efd4172bbc92071e9992e3bd Stored in directory: /opt/root/.cache/pip/wheels/9a/0b/a2/2c559982bbee4bd184557267e5760e114de3e9ba826fe8d691 Successfully built bcrypt Installing collected packages: bcrypt ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts. We recommend you use --use-feature=2020-resolver to test your packages with the new resolver before it becomes the default. homeassistant 2020.12.0 requires bcrypt==3.1.7, but you'll have bcrypt 3.2.0 which is incompatible. Successfully installed bcrypt-3.2.0 WARNING: You are using pip version 20.2.3; however, version 20.3.3 is available. You should consider upgrading via the '/opt/bin/python3 -m pip install --upgrade pip' command. ~ #
-
opkg install http://bin.entware.net/mipselsf-k3.4/test/HA/python3-bcrypt_3.1.7-4_mipsel-3.4.ipk
-
CLI => copy (config)> copy Usage template: copy {source} ({destination} | {destination}) Choose: flash:/ temp:/ proc:/ sys:/ ndm:/ debug:/ storage:/ ... (config)> copy default-config hdd:/tmp/df-cnf (config)> exit Core::Configurator: Bye. ~ # ls -1 /opt/tmp/df-cnf /opt/tmp/df-cnf ~ #
- 4 ответа
-
- 1
-
-
opkg install nginx php7-fastcgi php7-mod-ctype php7-mod-curl php7-mod-dom \ php7-mod-exif php7-mod-fileinfo php7-mod-gd php7-mod-gettext php7-mod-iconv \ php7-mod-intl php7-mod-json php7-mod-mbstring php7-mod-mysqli php7-mod-pdo \ php7-mod-pdo-mysql php7-mod-session php7-mod-simplexml php7-mod-sockets \ php7-mod-xml php7-mod-xmlreader php7-mod-xmlwriter php7-mod-zip \ php7-pecl-mcrypt mariadb-server-extra mariadb-client-extra
- 257 ответов
-
- web-сервер
- nginx
- (и ещё 5 )
-
нет больше пакета "php7-mod-hash", расширение (модуль) "hash" теперь является частью бинарника php.
- 257 ответов
-
- web-сервер
- nginx
- (и ещё 5 )
-
Можно! ))) `opkg update && opkg upgrade` (я, для экономии времени, НА сносил и ставил заново ( 0.116.* => 0.117.* => 0.118.* )). Посмотреть на "масштаб разрушений" обновления можно так: `opkg list-upgradable | sort`. Возможно надо ("для страховки") переустановить всего python`a, типа: `opkg list-installed | sort | grep ^pyt | cut -f1 -d' ' | xargs opkg install --force-reinstall` скорее всего. Адресуйте вопрос разработчикам прошивки.
-
https://github.com/openwrt/packages/commit/0f10c8c84135eb222b26f0c6dfe561c0b4cefb94
- 257 ответов
-
- 1
-
-
- web-сервер
- nginx
- (и ещё 5 )