Open everloop2 opened 3 years ago
other options would be:
The 2nd option mentioned by @everloop2 seems also very "bloaty", as it will require to add a lot of excludes the the common packagelists. I assume the listed packages are included by upstream per default, but should not interfere with normal operation (beside of additional RAM-usage). As our buildsystem is not supporting board-specific packagelists / package-excludes I'm favour of leaving this installed packages as the are.
The 1st option (changing the defauit from PPP-uplink to DHCP-uplink) seems the most practical. As this is very likely the most common usecase and the wizard don't support other uplink-types (#601).
P.S: A prototype to use board specific packages, in addition to the generic packagelists, can be discussed in #765
@everloop2 can you post the relevant section of the uci-config?
disadvantage i've seen so far: xDSL drivers are loaded and DSL_boxes try to get/search DSL signal (expected behavior) -> results in xDSL connection loop spamming syslog about pppxx and ?wasting some power (cpu / ram..)?
disabling WAN at boot does stop xDSL connection loop
and together with https://github.com/freifunk-berlin/firmware-packages/pull/213 syslog is not spammed by dnsmasq bothering about br-wan and ffuplink_wan
gluon: lantiq-xrx200: remove modem packages from image #2087: https://github.com/freifunk-gluon/gluon/pull/2087
~1MB less images, no xDSL connection loop, no software to run on blobbed xDSL hardware (only some paranoia / "less is more")
all related packages to exclude can be put bottom in /firmware/packagelists/xxx.txt - if they dont exist for specific targets they will be ignored - "doesnt hurt".
@everloop2 can you post the relevant section of the uci-config?
think this is good place:
# setup wan as bridge, set wan to dhcp (prevents xDSL wan not configurable due missing pppxx packages)
uci set network.wan.type=bridge
uci set network.wan.proto=dhcp
PR #863 should fix the issue by adding the required packages for the relevant boxes only.
Firmware Version:
master: Freifunk Berlin Development 91b6ae0 -> think all others too
What is the problem?
boxes got a DSL port (FritzBox 7360x, 3370..) -> WAN not configurable via LuCI due missing packages:
What is the expected behaviour?
WAN should be configurable via LuCI - expecially to switch: DSL_WAN to LAN_WAN
(OpenWRT stable/snapshot needed packages are not missing)
Workaround/Solutions:
direct use of DSL_uplink is not done in most cases and setting it up not k.i.s.s. .
or set it via Freifunk wizard.
/firmware/packagelists/..