-
Content Count
1,794 -
Joined
-
Last visited
-
Days Won
23
TheBB last won the day on August 13 2020
TheBB had the most liked content!
Community Reputation
627 ExcellentAbout TheBB
-
Rank
BB
- Birthday 12/03/1975
Equipment
-
Keenetic
DSL G2 O2 U2 VOX(exp.) | KO(KN-1410) KS(KN-1110) KDSL(KN-2010)
Recent Profile Visitors
4,038 profile views
-
bump to 2021.1.4 для желающих поковырять(ся), проект слил на github
- 132 replies
-
user name (login) = root passwd = keenetic port = 22 (default)
-
~ # pip install --upgrade pip==20.2.4 Collecting pip==20.2.4 Downloading pip-20.2.4-py2.py3-none-any.whl (1.5 MB) |████████████████████████████████| 1.5 MB 292 kB/s Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 Successfully installed pip-20.2.4 ~ # ~ # pip -V pip 20.2.4 from /opt/lib/python3.9/site-packages/pip (python 3.9) ~ #
- 132 replies
-
~ # cat /opt/bin/egrep #!/bin/sh exec grep -E "$@" ~ # ~ # cat /opt/bin/fgrep #!/bin/sh exec grep -F "$@" ~ #
- 58 replies
-
экранирование для "$" затерялось, исправил.
- 187 replies
-
- owncloud
- web-сервер
-
(and 3 more)
Tagged with:
-
Построчно: 1. echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf - добавляем репу, можно и не нужно, но ставить руками, с учетом зависимомтей - не того; 2. opkg update - обновляем список пакетов, т.к. новый реп добавили; 3. opkg install gcc ldd make gawk sed patch diffutils coreutils-install libffi - для нативной сборки, "голый" НА нам не нужен, а для установки интеграций пригодится; 4. opkg install python3-pip - подтянется само, во время установки НА, можно смело пропустить; 5. pip3 install --upgrade pip setuptools - см. 4, можно
- 132 replies
-
Запустить руками и посмотреть, что не так /opt/bin/hass -c /opt/var/lib/homeassistant Какая версия прошивки?
- 132 replies
-
echo "src/gz ha http://bin.entware.net/mipselsf-k3.4/test/HA" >> /opt/etc/opkg.conf opkg update opkg install homeassistant /opt/etc/init.d/S99hass start всё (почти всё, кроме https://github.com/Entware/Entware/wiki/Self-installation-of-python-modules и https://github.com/Entware/Entware/wiki/Using-GCC-for-native-compilation) засунуто в пакет "homeassistant"
- 132 replies
-
opkg install homeassistant
- 132 replies
-
и следом
- 132 replies
-
--- перемещен в prev
- 132 replies
-
iptables: No chain/target/match by that name.
TheBB replied to Joker823's question in Keenetic Community Support
т.к. индекс отсутствует для тестовых пакетов, всё ставится руками, в том числе и зависимости ~ # 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 -
iptables: No chain/target/match by that name.
TheBB replied to Joker823's question in Keenetic Community Support
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 ~ # -
create a startup script, e.g.: cat > /opt/etc/init.d/S90zerotier <<EOF #!/bin/sh ENABLED=yes PROCS=zerotier-one ARGS="-d" PREARGS="" DESC=$PROCS PATH=/opt/sbin:/opt/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin . /opt/etc/init.d/rc.func EOF and make it executable chmod +x /opt/etc/init.d/S90zerotier ~ # /opt/etc/init.d/S90zerotier start Starting zerotier-one... done. ~ # /opt/etc/init.d/S90zerotier check Checking zerotier-one... alive. ~ # /opt/etc/init.d/S90zerotier stop Checking zerotier-one... alive. S
-
TheBB started following PXE на роуторе для чайника
-
Буквально. Создать файл "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/"