libremesh / network-profiles

Set of profiles for the networks using LibreMesh
https://libremesh.org/development-network_profiles.html
43 stars 41 forks source link

asu error whis bmx7 #81

Open der-nele opened 2 years ago

der-nele commented 2 years ago

hello everybody. my issue is. if i try to use one of the freifunk profile whith bmx7 "profile-freifunk-80211s-sae-bmx7-batadv" or "profile-freifunk-80211s-sae-bmx7-only" it say "asu.build.PackageSelectionError" if i uns the profile "profile-freifunk-80211s-sae-batadv-only" works fine! https://chef.libremesh.org/?version=21.02.2&target=ath79%2Fgeneric&id=tplink_tl-wdr3600-v1 i wont to use bmx7 so there is my problem.

der-nele commented 2 years ago

i think after i had a look it can be the "=" behinde PROFILE_DEPENDS: whish is i the tow profiles whith are not working and not in the other

include $(TOPDIR)/rules.mk

PROFILE_DESCRIPTION:=Use 802.11s with SAE for mesh, route with bmx7 and batman-adv PROFILE_DEPENDS:=+wpad-mesh-wolfssl +wpa-cli +bmx7 +bmx7-iwinfo +bmx7-json +bmx7-sms +bmx7-table +bmx7-tun +bmx7-uci-config +lime-proto-batadv +bmx7-auto-gw-mode +lime-proto-bmx7 +lime-proto-anygw +uhttpd-mod-lua +shared-state +shared-state-dnsmasq_hosts +shared-state-dnsmasq_leases +shared-state-bat_hosts +wifi-unstuck-wa

include ../../profile.mk

ilario commented 2 years ago

I think that the problem arises from an incompatibility of wpad-basic-wolfssl and wpad-mesh-wolfssl (just because their makefile indicates this, I don't think they are actually incompatible...). So that none of those profiles should compile if you add them to the default packages list there. Weird that the batadv-only is already compiledand available there. Try removing wpad-basic-wolfssl from the list and including the profile's content explicitly to see of there are other packages that caise trouble. @FreifunkUFO can you also have a look?

der-nele commented 2 years ago

if this ist one mistake than ther have to be an other. i removed this wpad-basic-wolfssl and add profile-freifunk-80211s-sae-bmx7-batadv but still asu.build.PackageSelectionError.

part from log

..... Downloading https://feed.libremesh.org/profiles/Packages.sig Signature check passed. Collected errors:

PROFILE_DEPENDS: (=) -wpad-basic-wolfssl... +wpad-mesh-wolfssl +wpa-cli +bmx7 +bmx7-iwinfo +bmx7-json +bmx7-sms +bmx7-table +bmx7-tun +bmx7-uci-config +lime-proto-batadv +bmx7-auto-gw-mode +lime-proto-bmx7 +lime-proto-anygw +uhttpd-mod-lua +shared-state +shared-state-dnsmasq_hosts +shared-state-dnsmasq_leases +shared-state-bat_hosts +wifi-unstuck-wa

ilario commented 2 years ago

Ok, so try to replace dnsmasq in the default list of packages with dnsmasq-dhcpv6. @g10h4ck is that dependency still needed when using OpenWrt 21.02?

der-nele commented 2 years ago

yes this works. so how can the profile or chef can be change that this is working out of the box. can the chef check packets and choose the right packetes? or can the profile be written in a way "always" works?

ilario commented 2 years ago

I don't know. @aparcar @G10h4ck @FreifunkUFO ?