Przejdź do treści forum
eko.one.pl
OpenWrt, Linux, USB, notebooki i inne ciekawe rzeczy
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
Aktywne tematy Tematy bez odpowiedzi
Opcje wyszukiwania (Strona 1 z 10)
Strony 1 2 3 … 10 Następna
@batorencjusz
Wypchnąłem zmianę: Update Domoticz version to 2025.1 rev. 16732
Chodź na co dzień używam wersje: Update Domoticz version to 2024.7 rev. 16342
To bardzo robocza wersja. Nowe biblioteki zaznacz jako moduły i później:
make package/picojson/{clean,compile} V=s -j16
make package/jwt-cpp/{clean,compile} V=s -j16
make package/domoticz-ng/{clean,compile} V=s -j16
np: Makefile dla ebusd dla 24.10:
[openwrt_2410]$ cat feeds/packages/utils/ebusd/Makefile
include $(TOPDIR)/rules.mk
PKG_NAME:=ebusd
PKG_RELEASE:=1
PKG_SOURCE_URL:=https://github.com/john30/ebusd.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2022-11-14
PKG_SOURCE_VERSION:=bc3e6110c7f6e12d9912e09d061c9dd5f335de39
PKG_FIXUP:=autoreconf
include $(INCLUDE_DIR)/package.mk
define Package/ebusd
SECTION:=net
CATEGORY:=Network
TITLE:=eBUS daemon
URL:=https://github.com/john30/ebusd
DEPENDS:=+libpthread +librt +libstdcpp +libmosquittopp +libopenssl
endef
define Package/ebusd/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/ebusd/ebusd $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tools/ebusctl $(1)/usr/bin
endef
$(eval $(call BuildPackage,ebusd))
daje wynik:
mkdir -p /home/openwrt/openwrt_2410/dl
SHELL= flock /home/openwrt/openwrt_2410/tmp/.ebusd-2022.11.14~bc3e6110.tar.zst.flock -c ' /home/openwrt/openwrt_2410/scripts/dl_github_archive.py --dl-dir="/home/openwrt/openwrt_2410/dl" --url="https://github.com/john30/ebusd.git" --version="bc3e6110c7f6e12d9912e09d061c9dd5f335de39" --subdir="ebusd-2022.11.14~bc3e6110" --source="ebusd-2022.11.14~bc3e6110.tar.zst" --hash="x" --submodules || ( echo "Checking out files from the git repository..."; mkdir -p /home/openwrt/openwrt_2410/tmp/dl && cd /home/openwrt/openwrt_2410/tmp/dl && rm -rf ebusd-2022.11.14~bc3e6110 && [ \! -d ebusd-2022.11.14~bc3e6110 ] && git clone https://github.com/john30/ebusd.git ebusd-2022.11.14~bc3e6110 && (cd ebusd-2022.11.14~bc3e6110 && git checkout bc3e6110c7f6e12d9912e09d061c9dd5f335de39) && export TAR_TIMESTAMP=`cd ebusd-2022.11.14~bc3e6110 && git log -1 --format='\''@%ct'\''` && echo "Generating formal git archive (apply .gitattributes rules)" && (cd ebusd-2022.11.14~bc3e6110 && git config core.abbrev 8 && git archive --format=tar HEAD --output=../ebusd-2022.11.14~bc3e6110.tar.git) && tar --ignore-failed-read -C ebusd-2022.11.14~bc3e6110 -f ebusd-2022.11.14~bc3e6110.tar.git -r .git .gitmodules 2>/dev/null && rm -rf ebusd-2022.11.14~bc3e6110 && mkdir ebusd-2022.11.14~bc3e6110 && tar -C ebusd-2022.11.14~bc3e6110 -xf ebusd-2022.11.14~bc3e6110.tar.git && (cd ebusd-2022.11.14~bc3e6110 && git submodule update --init --recursive -- && rm -rf .git .gitmodules) && echo "Packing checkout..." && tar --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name ${TAR_TIMESTAMP:+--mtime="$TAR_TIMESTAMP"} -c ebusd-2022.11.14~bc3e6110 | zstd -T0 --ultra -20 -c > /home/openwrt/openwrt_2410/tmp/dl/ebusd-2022.11.14~bc3e6110.tar.zst && mv /home/openwrt/openwrt_2410/tmp/dl/ebusd-2022.11.14~bc3e6110.tar.zst /home/openwrt/openwrt_2410/dl/ && rm -rf ebusd-2022.11.14~bc3e6110; ); '
ebusd-2022.11.14~bc3e6110.tar.zst: Download from https://github.com/john30/ebusd.git failed
ebusd-2022.11.14~bc3e6110.tar.zst: Requires sha256sum for verification
Checking out files from the git repository...
Cloning into 'ebusd-2022.11.14~bc3e6110'...
remote: Enumerating objects: 18807, done.
remote: Counting objects: 100% (1492/1492), done.
remote: Compressing objects: 100% (356/356), done.
remote: Total 18807 (delta 1224), reused 1349 (delta 1135), pack-reused 17315 (from 1)
Receiving objects: 100% (18807/18807), 10.02 MiB | 6.05 MiB/s, done.
Resolving deltas: 100% (11858/11858), done.
Note: switching to 'bc3e6110c7f6e12d9912e09d061c9dd5f335de39'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at bc3e6110 use real min/max value for exp and do not check input against it
Generating formal git archive (apply .gitattributes rules)
make[2]: *** [Makefile:30: /home/openwrt/openwrt_2410/dl/ebusd-2022.11.14~bc3e6110.tar.zst] Error 2
make[2]: Leaving directory '/home/openwrt/openwrt_2410/feeds/packages/utils/ebusd'
time: package/feeds/packages/ebusd/compile#1.23#0.47#2.90
ERROR: package/feeds/packages/ebusd failed to build.
make[1]: *** [package/Makefile:179: package/feeds/packages/ebusd/compile] Error 1
make[1]: Leaving directory '/home/openwrt/openwrt_2410'
make: *** [/home/openwrt/openwrt_2410/include/toplevel.mk:248: package/ebusd/compile] Error 2
Podobnie miałem dla oscam
Witam,
Mam podobne błędy: "Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions"
wiec już nie zakładałem nowego wątku. Czy one są niepokojące na przyszłość ?:
[ 0.000000] Linux version 6.6.57 (MojeBuild@OnServer) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27892-1306885968) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Tue Oct 22 19:13:26 2024
[ 0.000000] Board has DDR2
[ 0.000000] Analog PMU set to hw control
[ 0.000000] Digital PMU set to hw control
[ 0.000000] SoC Type: MediaTek MT7620A ver:2 eco:6
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[ 0.000000] MIPS: machine is Xiaomi MiWiFi Mini
......................
[ 0.790425] printk: bootconsole [early0] disabled
[ 0.819966] spi spi0.0: force spi mode3
[ 0.824739] spi-nor spi0.0: w25q128 (16384 Kbytes)
[ 0.829782] 7 fixed-partitions partitions found on MTD device spi0.0
[ 0.836374] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.843883] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.851663] Creating 7 MTD partitions on "spi0.0":
[ 0.856633] 0x000000000000-0x000000030000 : "u-boot"
[ 0.865896] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.874061] 0x000000040000-0x000000050000 : "factory"
[ 0.881884] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[ 0.889809] 0x000000050000-0x000000fd0000 : "firmware"
[ 0.898298] 2 uimage-fw partitions found on MTD device firmware
[ 0.904446] Creating 2 MTD partitions on "firmware":
[ 0.909524] 0x000000000000-0x00000027420b : "kernel"
[ 0.914603] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[ 0.925788] 0x00000027420b-0x000000f80000 : "rootfs"
[ 0.930897] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[ 0.942838] mtd: setting mtd5 (rootfs) as root device
[ 0.948183] 1 squashfs-split partitions found on MTD device rootfs
[ 0.954525] 0x000000810000-0x000000f80000 : "rootfs_data"
[ 0.962619] 0x000000fd0000-0x000000fe0000 : "crash"
[ 0.970347] 0x000000fe0000-0x000000ff0000 : "reserved"
[ 0.978367] 0x000000ff0000-0x000001000000 : "Bdata"
[ 1.024299] gsw: setting port4 to ephy mode
[ 1.028850] mtk_soc_eth 10100000.ethernet: mdio-bus disabled
[ 1.034963] mtk_soc_eth 10100000.ethernet: loaded mt7620 driver
[ 1.041889] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
Cześć, nie wiem co chcesz uzyskać ale kiedyś bawiłem się w takie rozwiązanie https://forum.openwrt.org/t/wireguard-v … cast/39405
Hej. Pozbierałem z różnych lokalizacji aktualizacje do wersji v19 i wrzuciłem do swojego repo:
https://github.com/kofec/openwrt_1907/commits/master/
Aby dać na ile to możliwe drugie życie dla 4M flash i 32M RAM
Można sobie zbudować z najnowszym dostępnym wireguard, statystykami, relayd ale np bez iptables, IPv6.
Wrzuciłem przykładowe 2 diffconfig_*
Ale wireguard wystarczy odpalić raz - sprawdza siec domowa i gdzieś to sobie odznaczają ze jest OK. Ja później nie musiałem odpalać przez jakiś miesiąc. Teraz ostatnio odezwało się drugi raz.
Ja mój NSA310 (chodzi na nim openwrt) budze ponizszym poleceniem na routerze z openwrt:
etherwake -i br-lan 00:00:00:00:00:30
tu jest troszke informacji: https://niziak.spox.org/wiki/hw:nsa310:debian
"Wake-on-lan will work only with fake MAC '00:00:00:00:00:30' "
Czy masz moze jeszcze Makefile dla wmbusmeters ? Skompilowałbym sobie pod inna platformę i inna wersje openwrt
Z gory dzieki
A moze samo ESP8266 lub ESP32 ? https://tasmota.github.io/docs/Range-Ex … #with-napt
Nie wiemy co ma się dziać dalej z tym polaczeniem ?
Swojego czasu ktoś zgłosił że wyłączenie IPv6 nie działa poprawnie i była odpowiedź, że tak ma być. Gdyż minęły już czasy bez IPv6 i jest zbyt dużo zależności.
Jako że sam używam domoticz na tym sprzęcie to przede wszystkim extroot trzeba zrobić bo inaczej się nie mieści. A mam pytanie. Czy oficjalnie trwają jakieś prace żeby wykorzystać pełny flash tego urządzenia?
To pozwolę się dopytać czy ktoś może bawił się bonding = ethernet (kabelek) + WDS ?
To pozwolę sobie dodać że DNS Google działa ale to nie znaczy że zawsze się pinguje. Nawet takie issue miał mwan3 i chyba zmienił pingowany adres. Możliwe że Google zabezpiecza się przed nadmiarem pakietów ICMP
I mam jeszcze repozytorium git'a z interfejsem www
No niestety jest więc zabawy ale też prawie nieograniczone możliwości. Ja np.mam domoticz - automatyka domowa. Wireguard połączone 3 x NSA310 w różnych lokalizacjach i synchronizują się ze sobą - rsync. Czasem rozłącza wireguard i tu mam zaprzęgniętego watchcat.
Jakie jest zużycie pamięci takiego dockera ?
HA za bardzo wymagający. Nie wiem jakie masz wymagania/oczekiwania ale ja używam na kilku routerach domoticz. Poczytaj może wystarczy
Czyli rozumiem, że się udało ?
Ale widze ze nie zaktualizowales sie do ostaniej wersji. Bo wlasnie byla poprawka na to:
https://github.com/kofec/Domoticz-Openw … 39ab975337
usunieta linijka: TARGET_LDFLAGS += -lpython3.9
Znalezione posty: 1 do 25 z 240
Strony 1 2 3 … 10 Następna