Grommish has joined #openwrt-devel
<owrt-snap-builds> Build [#141](https://buildbot.openwrt.org/master/images/#builders/51/builds/141) of `ramips/rt3883` completed successfully.
Grommish has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
dorf has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
<KGB-1> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (98.2% images and 98.2% packages reproducible in our current test framework.)
<owrt-snap-builds> Build [#133](https://buildbot.openwrt.org/master/images/#builders/17/builds/133) of `ramips/rt305x` completed successfully.
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
tohojo has quit [Ping timeout: 480 seconds]
tohojo has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
snh has quit [Quit: ZNC - http://znc.in]
snh has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
valku has quit [Quit: valku]
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#139](https://buildbot.openwrt.org/master/images/#builders/49/builds/139) of `mvebu/cortexa53` failed.
mcarroll76 has joined #openwrt-devel
rmilecki has joined #openwrt-devel
<mcarroll76> Anyone awake that's involved with all the container stuff that's landing in 21.02?
<mcarroll76> I've been having a play with it in the RC and spotted an issue.
<mcarroll76> We have the Docker Daemon and it's container runtime runc, but they're horribly bloated. I would far prefer to use Podman.
<mcarroll76> The Podman and conmon packages are in the feed for 21.02, but not crun.
<mcarroll76> You can use Podman with runc, but that kinda defeats the object.
<mcarroll76> crun has been in master for a couple of months.
<mcarroll76> Would probably be a good idea to get it cherry-picked back to the 21.02 branch, or it's kinda pointless having podman there.
<mcarroll76> I know that there is work to get an openwrt native solution with uxc, but aiui, it doesn't work with podman yet. I couldn't get it to work, anyway.
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<owrt-snap-builds> Build [#138](https://buildbot.openwrt.org/master/images/#builders/19/builds/138) of `ramips/mt7621` completed successfully.
Rentong has joined #openwrt-devel
slh_ is now known as slh64
<owrt-snap-builds> Build [#141](https://buildbot.openwrt.org/master/images/#builders/54/builds/141) of `ramips/mt7620` completed successfully.
Rentong has quit [Ping timeout: 480 seconds]
<mangix> mcarroll76: you should post on the packages git repo
tapper has joined #openwrt-devel
decke has joined #openwrt-devel
<philipp64> aparcar[m]: anything I can help with?
<aparcar[m]> philipp64: seems to be a bigger thing... May need OpenSSL for that...
<mangix> openssl for what?
rejoicetreat has joined #openwrt-devel
<mcarroll76> mangix: you mean a pull request, or is there something I'm missing?
<mcarroll76> I didn't think a PR was the way to go with something that's already committed to master.
<mangix> mcarroll76: issue
<mangix> ask for a 21.02 backport
mcarroll76 has quit [Remote host closed the connection]
nitroshift has joined #openwrt-devel
dorf has joined #openwrt-devel
SamantazFox has quit [Quit: Bye]
SamantazFox has joined #openwrt-devel
goliath has joined #openwrt-devel
feriman has joined #openwrt-devel
romany has quit [Quit: Ping timeout (120 seconds)]
romany has joined #openwrt-devel
<owrt-snap-builds> Build [#157](https://buildbot.openwrt.org/master/images/#builders/2/builds/157) of `layerscape/armv7` completed successfully.
Rentong has joined #openwrt-devel
<owrt-snap-builds> Build [#145](https://buildbot.openwrt.org/master/images/#builders/24/builds/145) of `ramips/rt288x` completed successfully.
Rentong has quit [Ping timeout: 480 seconds]
<owrt-snap-builds> Build [#136](https://buildbot.openwrt.org/master/images/#builders/42/builds/136) of `ramips/mt76x8` completed successfully.
danitool has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 98.2% packages reproducible in our current test framework.)
robje has quit [Quit: "system.engine.restart"]
<karlp> greearb: doesn't just "git diff" do that?
robje has joined #openwrt-devel
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
SamantazFox has quit [Quit: Bye]
SamantazFox has joined #openwrt-devel
SamantazFox has quit []
SamantazFox has joined #openwrt-devel
SamantazFox has quit []
SamantazFox has joined #openwrt-devel
<xback> rmilecki: ping
<rmilecki> xback: pong
<xback> rmilecki: I just had some time to check if the MAC assigned was already fixed in master now
<xback> it seems it is .. but with a ceaveat
<xback> caveat*
<xback> the correct MAC is being applied to the bridge interface (br-wan .. br-lan) but not to the interfaces themselves (eth0 eth1)
<rmilecki> what MAC src do you see on connected clients?
<xback> rmilecki: the correct one
<rmilecki> great
<xback> the problem is that the behaviour changed. The actual interface should also have the correct one assigned
<rmilecki> changed after my refactoring?
<xback> yeah. looks like it. before it. both interfaces (bridge an real IF) had random MAC's assigned
<rmilecki> sounds weird, unlikely i'd say
<rmilecki> well, i'll check that
tapper has quit [Ping timeout: 480 seconds]
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
<jow> xback rmilecki: is this related to board specific default network config?
lucenera has joined #openwrt-devel
<xback> jow: I think "yes" as i'm seeing this issue on rb922 (ath79 - mikrotik)
<xback> this is one of the very few boards actually specifying a custom MAC on boot
<xback> Initially. all was wel. The first round of changes then broke the MAC assigned. which was reported. The changes after that seem to have fixed it, but only on bridge interfaces. not the actual real interfaces which are slaved in the bridge
<jow> xback: how did the config look originally?
<jow> xback: ah yes, e002179a6d2eea8640e262160030336bea54ec26
<jow> a clear behaviour change
<jow> before, untyped device sections were created for each bridge port
<jow> and the bridge simply inherited the lowest
<jow> *the lowest mac
<jow> now we create a single typed device section declaring a bridge and its mac, leaving the port macs undefined
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
<jow> I think the previous looping behaviour should be removed
<xback> The problem is that many people (and application like LLDP) take the mac from the interface itself
<jow> erm restored
<jow> and the mac handling removed fro mthe bridge declaration itself
<jow> so that on a typical setup we'd end up with 5-6 device sections
<jow> one for each port, setting the mac
<jow> plus one additional one declaring the bridge
lucenera has joined #openwrt-devel
<rmilecki> uh
<rmilecki> that generate_network() is a mess
<rmilecki> because of those magical bridges (generate_bridge)
<rmilecki> bridges can be defined separately in board.json and then they are magically referenced in network setup (assuming some relation)
<jow> xback: can you pastebin the board.json of an affected device?
<xback> sure. sec
<rmilecki> jow: i suppose we could restore that code setting MACs in the for port in $ports; do uci add_list network.@device[-1].ports="$port"; done
<rmilecki> ?
<rmilecki> jow: so it's clear at least what is it doing (setting MAC per port)
<jow> xback: two wan ports in a bridge?
<rmilecki> xback: oh, what isthat wna?
<rmilecki> *wan
<jow> rmilecki: it affects lan as well (which is forced into a bridge)
<xback> jow: rmilecki: yes. the 2nd port in WAN is from me. I manually added the SFP interface as a WAN interface
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
<rmilecki> jow: i understand
<rmilecki> i thought of something like (UNTESTED) https://pastebin.com/AnQpRBsp
lucenera has joined #openwrt-devel
<jow> rmilecki: won't work, it breaks the relative -1 addressing
<jow> rmilecki: you need a separate loop
<jow> rmilecki: but in principle I agree, the fix would be like that, just in a separate loop before or after the existing one
<rmilecki> ahh, i see -1 problem
<jow> rmilecki: and I think you should remove the mac address setting from the bridge itself
<jow> by defualt, the bridge will assume the lowest mac of all of its port interfaces
<rmilecki> oh
<rmilecki> jow: xback: https://pastebin.com/1yQLTfVQ
<jow> almost
<jow> now you need to wrap the uci operations into a cat <<-EOF .. EOF block
<jow> but structure wise it is fine
Rentong has joined #openwrt-devel
<rmilecki> ah, UNTESTED, right
<rmilecki> xback: this should hopefully work https://pastebin.com/mRpgq2EY
<rmilecki> xback: could you test it?
<xback> ok. ill test it
<jow> that one should behave exactly as the old implementation
romany4 has joined #openwrt-devel
<jow> rmilecki: I think there's an undandled case yet though, mac addresses for plain non-bridge interfaces
<jow> rmilecki: ah nevermind, it's fine
Rentong has quit [Ping timeout: 480 seconds]
romany has quit [Ping timeout: 480 seconds]
romany4 is now known as romany
Monkeh has quit [Quit: No Ping reply in 180 seconds.]
<xback> rmilecki: something is wrong
<xback> there are no interfaces after boot
<xback> I took a while as I had to solder uart to it to check it out
<jow> xback: can you pastebin the generated network config?
<xback> I'll first quickly build a native openwrt master
<jow> aparcar[m]: do you recall how the "ABIVersion: " tag in the package feed files is used exactly?
<xback> I applied the patch to my custom board where sfp is added to wan etc
Monkeh has joined #openwrt-devel
dorf_ has joined #openwrt-devel
<xback> building. results should be here in 30 minutes or so
dorf has quit [Remote host closed the connection]
<rmilecki> xback: oh, i thought you can test it more easily
<rmilecki> xback: i didn't know you don't have some nice development unit there
valku has joined #openwrt-devel
<xback> rmilecki: Depending on what you call nice :-) everything is automated here through scripting
<rmilecki> xback: something you can soft-brick and easily recover ;)
<rmilecki> something with UART ready
<xback> it automatically fetches openwrt. apply customizations, apply configs .. extract imagebuilder .. customize over there .. add versioning etc
<xback> It's all done with a single command. but specific testing is a bit harder due to that
<jow> nbd: https://git.openwrt.org/?p=openwrt/staging/jow.git;a=commitdiff;h=8da62ccd03ca588c813f4a6b4b7093058ad2b567
_lore_- has joined #openwrt-devel
<jow> nbd: regarding the abi suffix formatting
<nbd> jow: LGTM
_lore_ has quit [Ping timeout: 480 seconds]
tapper has joined #openwrt-devel
feriman has quit [Ping timeout: 480 seconds]
_lore_- is now known as _lore_
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<xback> rmilecki: jow: https://pastebin.com/raw/cRYgbatu
<xback> MAC's match the stickers
<rmilecki> i see interface is there
<rmilecki> so what's the problem?
<rmilecki> [14:18] <xback> there are no interfaces after boot
<xback> Which is the reason for a quick test on native OpenWrt
<rmilecki> sorry, I don't understand
<xback> There was a customization happening on the /etc/config/network file in which "device" was not known yet
<xback> rmilecki: plain and simple. the fix is OK
<xback> MAC's are ok now on the interfaces
<rmilecki> ok great
<rmilecki> thanks for testing
<rmilecki> i'll push later today
<rmilecki> unless someone wants to
<rmilecki> (i was planning to give it a try on bcm53xx juse in case)
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
nitroshift has quit [Quit: Gone that way --->]
djStolen has joined #openwrt-devel
<djStolen> Hi guys. Me again. Wasn't able to reconnect but now I am back. Regarding my question, I would like to publish information I have gotten regarding Xiaomi 3C, since I started my research around the device as a consequence of bricking it with the Breed bootloader currently linked there even though I did as described. Also noticed that picture is correct but data about HW parts are not corresponding to the pic/HW parts I see on
<djStolen> my device.
TheOne has joined #openwrt-devel
TheOne has quit []
feriman has joined #openwrt-devel
<xback> jow: https://git.openwrt.org/?p=openwrt/staging/xback.git;a=commit;h=8e595949263dd1bd7967a04f2a9503e48a7da66c
<xback> jow: patch 0006 was a fixed from you (thanks for that!) Can I kindly ask to polish it? SoB etc :-)
<Slimey> anyone familar with this cpu / target https://www.nxp.com/docs/en/fact-sheet/T1023WLANFS.pdf
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
rejoicetreat has quit [Remote host closed the connection]
rejoicetreat has joined #openwrt-devel
decke has quit [Quit: Leaving.]
Rentong has quit [Ping timeout: 480 seconds]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
Rentong has quit [Remote host closed the connection]
<Slimey> i have source from manf and can send unit to a dev
Rentong has joined #openwrt-devel
JohnA has quit [Ping timeout: 480 seconds]
Rentong has quit [Ping timeout: 480 seconds]
<PaulFertser> djStolen: hey, please tell me your desired wiki name and e-mail and I'll create you an account.
<PaulFertser> djStolen: does it look like xiaomi changed the device without even altering the hw revision number?
<PaulFertser> djStolen: it would be really useful to have new proper pictures and description on the wiki so that the others with the same xiaomi (damn it!) device would suffer less than you.
Rentong has joined #openwrt-devel
feriman has quit [Quit: WeeChat 3.1]
feriman has joined #openwrt-devel
JohnA has joined #openwrt-devel
JohnA has quit [Ping timeout: 480 seconds]
dorf_ has quit [Remote host closed the connection]
<owrt-snap-builds> Build [#141](https://buildbot.openwrt.org/master/images/#builders/37/builds/141) of `sunxi/cortexa7` failed.
Rentong has quit [Remote host closed the connection]
djStolen has quit [Ping timeout: 480 seconds]
djStolen has joined #openwrt-devel
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
<zorun> just got my first DFS event: "hostapd: wlan1: DFS-RADAR-DETECTED freq=5280 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5270 cf2=0"
<aparcar[m]> jow: it allows you to know the real package name without a suffix
<aparcar[m]> Does it cause any issues or why do you ask?
<nick[m]4> zorun: what? Did I missed something? Openwrt is supporting DFS?
<zorun> nick[m]4: yes
<nick[m]4> Just read the wiki. Thanks. Not sure why, but I read on some Mailingliste often that openwrt does not. Thanks.
dorf has joined #openwrt-devel
<jow> aparcar[m]: I asked because I restored some original behaviour that was broken by refactoring before you added this field
<jow> aparcar[m]: the field may now contain the abi version value prefixed with a dash in some cases
<aparcar[m]> jow: err why the dash?
<jow> aparcar[m]: e.g. for libevent2 it will now be "ABIVersion: -7"
<jow> because the final pacakge name is "libevent2-7", not "libevent27"
<aparcar[m]> So whenever there is a number at the package end a dash is added
<jow> right, and I basically wanted to know if whatever process consuming this field is just performing a naive substring
<aparcar[m]> Great. And we know for sure that no package is ever called foobar2-3-4?
<jow> or if it is somehow interpreting the value
<aparcar[m]> The abi Version is cut off via rpc-sys
<aparcar[m]> So the dash should break anything
<jow> you can always get the proper basename by removing the exact value of the ABIVersion: field from the end of the package name
<aparcar[m]> But please keep the field in palce for now
<jow> I do not intend to remove it
<aparcar[m]> Okay perfect
<jow> just wanted to make sure that stuff is not breaking
dorf has quit [Remote host closed the connection]
Rentong has joined #openwrt-devel
feriman has quit [Quit: WeeChat 3.1]
feriman has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Slimey has quit [Remote host closed the connection]
<rmilecki> jow: can you check https://i.imgur.com/ZRq5jYJ.png please?
<rmilecki> that auto is default value after fresh install
<rmilecki> # uci show network.globals
<rmilecki> network.globals=globals
<rmilecki> network.globals.ula_prefix='auto'
<Habbie> are there plans for openwrt to update to musl 1.2, with 64 bit time_t on 32 bit platforms?
<rmilecki> xback: jow: c8d8eb9d13fc ("base-files: set MAC for bridge ports (devices) instead of bridge itself") pushed to the master
Borromini has joined #openwrt-devel
<rmilecki> jow: ynezz: one more security question: could we have uci-defaults changing "redirect_https" from "1" to "0" IF there is no certificate? AKA: https was probably never used at all)
<jow> rmilecki: that auto value is supposed to be substituted by a uci-defualts script on boot afair
<jow> rmilecki: it should never end up in luci, setting a value of "auto" later is invalid afair
<philipp64> mangix: for APK
<rmilecki> jow: oh, i'll check for uci-defaults handling that
<owrt-snap-builds> Build [#140](https://buildbot.openwrt.org/master/images/#builders/49/builds/140) of `mvebu/cortexa53` completed successfully.
Rentong has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
feriman has quit [Quit: WeeChat 3.1]
<jow> rmilecki: regarding security question; no since the certificates are generated by the uhttpd intit script on first start, way later than uci-defaults
wulfy23 has joined #openwrt-devel
<wulfy23> rmilecki: are we missing some funds? [ -n "macaddr" ]
wulfy23 has quit [Quit: Page closed]
danitool has joined #openwrt-devel
Borromini has quit [Quit: leaving]
_whitelogger has joined #openwrt-devel
Slimey has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
<aparcar[m]> jow: from my undrestanding the dash shouldn't break anything, afaik it's only used here https://git.openwrt.org/?p=project/rpcd.git;a=commitdiff;h=ccb75178cf6a726896729c6904bd623636aa0b29;hp=d3f2041f4363e76fda57dd6b581eb71cf1a0e114
<hauke> rmilecki: /buffer 3
<hauke> rmilecki: I think we can set redirect_https to 0 in case no key was generated
rejoicetreat has quit [Ping timeout: 480 seconds]
<rmilecki> hauke: jow answered me that on new firmware key generation will happen before uci-defaults
<rmilecki> so we can't use uci-defaults for that
<rmilecki> we probably could push that check somewhere else but that would get hacky i'm afraid
djStolen has quit [Read error: Connection reset by peer]
<hauke> rmilecki: ok
rmilecki has quit [Ping timeout: 480 seconds]
Tapper has quit [Quit: Tapper]
guerby has quit [Remote host closed the connection]
guerby has joined #openwrt-devel
<digitalcircuit> Brief update on https://bugs.openwrt.org/index.php?do=details&task_id=3099#comment9793 - I've just made a build of OpenWRT 21.02-rc3 + CPU governor patches ( https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=6e411b8416388a9c8be1b2291be9b5adeeb07784 ) + debug info, will commence testing!
djStolen has joined #openwrt-devel
JohnA has joined #openwrt-devel
linusw has joined #openwrt-devel
Tusker has joined #openwrt-devel
Rentong has joined #openwrt-devel
djStolen has quit [Remote host closed the connection]
Rentong has quit [Ping timeout: 480 seconds]
Namidairo has joined #openwrt-devel
<owrt-snap-builds> Build [#166](https://buildbot.openwrt.org/master/images/#builders/7/builds/166) of `armvirt/32` failed.
<owrt-snap-builds> Build [#143](https://buildbot.openwrt.org/master/images/#builders/51/builds/143) of `ramips/rt3883` failed.
<owrt-snap-builds> Build [#159](https://buildbot.openwrt.org/master/images/#builders/2/builds/159) of `layerscape/armv7` failed.
<owrt-snap-builds> Build [#158](https://buildbot.openwrt.org/master/images/#builders/8/builds/158) of `x86/64` failed.