Zaba2 has quit [Quit: Leaving.]
rejoicetreat has quit [Remote host closed the connection]
goliath has quit [Quit: SIGSEGV]
dorf_ has quit [Remote host closed the connection]
Grommish has joined #openwrt-devel
<philipp64> anyone around who contributes much to the Wiki? I have a question...
<philipp64> I've got a question about the correct way to handle deprecated functionality and the wiki page that covers it...
valku has joined #openwrt-devel
dorf_ has joined #openwrt-devel
<plntyk> greearb__, there is an open ticket for "which" issue on Fedora: https://bugs.openwrt.org/index.php?do=details&task_id=3809
<plntyk> replacing "which" include/prereq.mk with "env which" might work
JohnA has quit [Remote host closed the connection]
Tusker has joined #openwrt-devel
<mangix> i think using command -v needs to be reinvestigated
rmilecki has joined #openwrt-devel
jlsalvador has quit [Quit: jlsalvador]
jlsalvador has joined #openwrt-devel
dedeckeh has joined #openwrt-devel
nitroshift has joined #openwrt-devel
valku has quit [Quit: valku]
<jow> nick[m]4: no, not really.
<nick[m]4> jow: k. Thanks.
<jow> rmilecki: never seen an "igmp_v3" option
tapper has joined #openwrt-devel
<jow> rmilecki: and a grep -r in the netifd sources reveals no hits either, I would omit this option fro mthe migration, it appears to be something proprietary
<rmilecki> jow: ack
<rmilecki> jow: https://forum.openwrt.org/t/openwrt-21-02-0-second-release-candidate/98026/26 my own comment: "I can't find any code handling igmp_v3 option at all."
<rmilecki> i forgot about it
<rmilecki> but I had the same conclusions
<rmilecki> jow: regarding mwlwifi ( https://forum.openwrt.org/t/fixed-21-02-0-rc2-wrt3200acm-wireless-is-broken/98719/33 ) - problem is fixed by doing nothing
<rmilecki> first user said it's the old /etc/config/wireless (pre 21.02) that copied to the 21.02 fixes the stability
<rmilecki> then it has appeared false
<jow> maybe we should consider forcibly disabling 11w for mwlwifi
<jow> if it is known to be broken
<jow> by forcibly disabling I mean somehow filtering it in mac80211 if the driver of the phy is detected to be mwlwifi
<jow> *mac80211.sh to be specific
Borromini has joined #openwrt-devel
Tusker has quit [Quit: Time wasted on IRC: 2 hours 28 minutes 57 seconds]
<nitroshift> jow, rmilecki, 11w *is* broken on mwlwifi
<nitroshift> tested on 3200acm and 1900ac v1
<rmilecki> can that be fixed in the mwlwifi driver? so it drops whatever needs to be ignored?
<rmilecki> nbd: ?
<plntyk> patching the feature flag in the driver ? https://www.spinics.net/lists/hostap/msg05431.html seems to mention one
feriman has joined #openwrt-devel
<rsalvaterra> nbd: Do we really have to depend on iwinfo for this? https://github.com/openwrt/openwrt/commit/e1d57d4d4349efaa0d0cb4246456d1433b71ce7e
<mangix> rsalvaterra: that commit seems subtly broken. There's no +iwinfo to DEPENDS
<rsalvaterra> mangix: That commit bloated my image, because now they depend in iwinfo, whereas they didn't before.
<rsalvaterra> *images
<rsalvaterra> And iwinfo requres libiwinfo, of course.
<mangix> i wonder there intel's AP daemon is
<mangix> Not that one
<mangix> that one's mostly client mode
<rsalvaterra> Hm… they have a complete AP implementation?
<rsalvaterra> I thought hostapd was the only game in town.
<mangix> They have one. I don't know if open source yet
feriman has quit [Quit: WeeChat 3.1]
<rsalvaterra> Ok, now I see the motivation for the mac80211.sh change… https://git.openwrt.org/?p=project/iwinfo.git;a=commitdiff;h=dd6d6d2dec3515e26847e6ff8e8950d71745d560
<barhom> Hey, I got a routing dilemma that I can't seem to be able to solve. I got two routers that are MESH'd and bridged to LAN. Only One router has DHCP server running and that router has two uplinks. On the main router (the one doing the routing) I use physdev to see if packets come from SSID1 or SSID2 to route packets differently.
<barhom> The issue is that on the mesh'ed router I do not find a way to route packets differently. I can't differentiate packets coming into the main router (i.e. to know which SSID it used on the mesh'ed sub-router)
<mangix> rsalvaterra: https://youtu.be/cfpCQY0FThw 26:56
<rsalvaterra> I believe it's required to support DBDC devices.
<rsalvaterra> mangix "Wi-Fi on Linux still sucks", well… I'm sure it sucks faster than on other systems, though. :P
<nitroshift> rsalvaterra, guess who's to blame for that :p
<mangix> rsalvaterra: i don't know if you've seen the Linux Sucks series
<rsalvaterra> mangix: Bryan Lunduke's? Of course I have! ;)
<mangix> right. it's the same idea
<mangix> actually speaking of him he's gotten crazy recently
<rsalvaterra> nitroshift: Closed-source firmware doing stupind things. :(
<rsalvaterra> *stupid
<mangix> I have iwd running locally. cool.
<rsalvaterra> mangix: Crazy is fine.
<rsalvaterra> Oh, and bonus points for the Monkey Island slides. ;)
<mangix> rsalvaterra: crazy as in: linux is doomed.. kernel is too big. whoo de whoo
<rsalvaterra> mangix: Kernel is too big… really? How many times does this argument need to be debunked…?
Borromini has quit [Ping timeout: 480 seconds]
<mangix> i don't know. it's not like any of the other ones are smaller...
rejoicetreat has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (0% images and 97.1% packages reproducible in our current test framework.)
decke has joined #openwrt-devel
Zaba2 has joined #openwrt-devel
Zaba2 has quit [Quit: Leaving.]
Borromini has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
_lore_ has joined #openwrt-devel
feriman has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
<russell--> is there a convenient way of telling an mr24 not to send pause frames? "[18668.943990] eth0: link is up, 1000 FDX, pause enabled", apparently coming from drivers/net/ethernet/ibm/emac/core.c
<rsalvaterra> russell--: Not through UCI yet. It's a huge pet-peeve of mine, not being able to enable/disable pause frames in UCI, especially now that we have a nice L2 configuration system.
goliath has joined #openwrt-devel
<rsalvaterra> It needs to be implemented in netifd first.
<russell--> is there a sysfs knob?
<rsalvaterra> russell--: Not that I know of. You have to use ethtool.
ecloud has quit [Ping timeout: 480 seconds]
ecloud has joined #openwrt-devel
feriman has quit [Quit: WeeChat 3.1]
rejoicetreat has quit [Ping timeout: 480 seconds]
tapper has quit [Ping timeout: 480 seconds]
<barhom> jow, you're always helpful with openwrt-style-firewall rules. Is this supported in openwrt-style-configs, "iptables -t mangle -A FORWARD -i br-lan -m physdev --physdev-in wlan0-1 --physdev-out mesh -j DSCP --set-dscp 63" ?
<Larhzu> Hello! There seems to be a tiny bug in 21.02.0-rc2 in /lib/netifd/hostapd.sh: hostapd_common_add_bss_config() lacks "config_add_int bss_load_update_period chan_util_avg_period" and thus setting them via uci doesn't work.
dorf_ has quit [Remote host closed the connection]
dorf_ has joined #openwrt-devel
<dorf_> when no updates are found in LuCI, might be better to display "No updates available" instead of "No information available".
nitroshift has quit [Quit: Gone that way --->]
feriman has joined #openwrt-devel
floof58 has quit []
floof58 has joined #openwrt-devel
decke has quit [Quit: Leaving.]
tapper has joined #openwrt-devel
floof58 has quit []
floof58 has joined #openwrt-devel
tapper has quit [Ping timeout: 480 seconds]
minimal has joined #openwrt-devel
tapper has joined #openwrt-devel
valku has joined #openwrt-devel
rmilecki has joined #openwrt-devel
tapper has quit [Ping timeout: 481 seconds]
feriman has quit [Quit: WeeChat 3.1]
tapper has joined #openwrt-devel
ecloud has quit [Ping timeout: 480 seconds]
djStolen has joined #openwrt-devel
<djStolen> hi guys, i bricked my xiaomi router 3c even though i followed the instructions https://openwrt.org/toh/xiaomi/mir3c
<djStolen> does anyone has experience with unbricking?
<djStolen> i already opened the case, soldered pads and connected with FTDI232H on a devel board UM232HQ https://www.ftdichip.com/Support/Documents/DataSheets/Modules/DS_UM232H.pdf
ecloud has joined #openwrt-devel
<djStolen> 1st tested the FTDI chip connection via RX->TX connection. works
<djStolen> now i connected with the router. it seams like it is connected but no reception from the router
Borromini has quit [Ping timeout: 480 seconds]
<djStolen> in the instructions for the device i sent above, it actually says that it is one way.
<djStolen> so i wonder what i should send now to the router in order to restore the bootloader
<djStolen> luckily, i backed it up prior to flashing
goliath has quit [Quit: SIGSEGV]
<djStolen> can i for example do something like this?
<djStolen> cat u-boot.asc > /dev/ttyUSB0
<djStolen> just with original bootloader, or https://breed.hackpascal.net/breed-mt7688-reset38.bin (if it should work, but for some reason this specific flashing procedure got corrupted)
rejoicetreat has joined #openwrt-devel
<blogic> djStolen: if the bootloader is gone, then JTAG is you only real option
<djStolen> blogic: ok, got it. so no possibility for bootloader recovery as i have seen some devices have.
<djStolen> is there some information on this mediatek mt7628nn on jtag?
rmilecki has quit [Read error: No route to host]
tapper has quit [Ping timeout: 481 seconds]
<djStolen> blogic: ok, got it. http://vonger.cn/upload/MT7628_Full.pdf
minimal has quit []
<djStolen> also for ddr2
<PaulFertser> djStolen: are you sure something went wrong when you were overwriting the bootloader?
<PaulFertser> djStolen: btw, another option is to program SPI NOR directly.
<PaulFertser> djStolen: for JTAG I've seen a patch sent to the OpenOCD review system for many mtk SoCs, authored by the fellow who wrote that breed bootloader.
<djStolen> PaulFertser: it doesnt respond to anything. neither when i try to boot it with reset button pressed, nor normal. so i assume it got corrupted.
<PaulFertser> djStolen: and never prints anything on its own?
<djStolen> nope
<PaulFertser> djStolen: "Serial port works in one-way only (no input going through pin4)." what does this mean? They mark pin 4 as Tx and say no input goes there and provide boot logs?
<djStolen> what makes me doubtful is that in the comment in the page i sent above it says that tha
<djStolen> exactly
<PaulFertser> djStolen: are you sure pin 4 is not Rx?
<PaulFertser> Because that would explain it.
<djStolen> actually, i asked that myself, and swapped the pins .-)
<djStolen> :-)
<djStolen> but still nothing
<PaulFertser> djStolen: I think direct SPI flash programming (might be possible without desoldering even) is the way to go then.
<djStolen> jup. seems like it.
<djStolen> with OpenOCD, you would recommend?
<karlp> some boards have some 0 ohm resistors not placed in the rx/tx paths as "protection from hacking"
<PaulFertser> djStolen: no, OpenOCD doesn't program flash directly, you'd use flashrom.
<PaulFertser> karlp: in xiaomi case it feels like they just lock down bootloader and host OS on software level, it just doesn't take any input unless you change some u-boot variable...
<karlp> that too,
<karlp> pcb doesn't look like it has any obvious pads like this, but the pictures not real great.
<djStolen> PaulFertser: ok. got it.
<PaulFertser> After seeing Xiaomi doing that nastiness (plus selling a completely different device as "mir3v2") I'm not recommending anything from them to anybody.
<djStolen> karlp: actually, there are 2 empty spots near J1 4 x holes
<djStolen> karlp: R87 and C1071
<djStolen> and its connected to the TX line, if its to trust the above page
<djStolen> PaulFertser: what do u mean by nastiness?
<karlp> does one pad of r87 go to eithe rpin 2 or 4 of J1? you could _try_ shorting it, but... that's on you ;)
<PaulFertser> djStolen: locking bootloader and abusing device names.
<djStolen> karlp: R87 pin 1(lets name it like that) goes to TX, the other pin 2 goes to pin of C1071 and from there to J1-PIN1 (a.k.a. VCC)
<djStolen> PaulFertser: so u have to change that u-boot var via hardware access to unlock it, to be able to do anything. did i get u right?
<PaulFertser> djStolen: or via software exploit
<djStolen> oh yes, that one with stok
<djStolen> to access terminal via ncap
<djStolen> ok, got flash spec in case needed
matteo_ has joined #openwrt-devel
goliath has joined #openwrt-devel
matteo_ has quit [Quit: Page closed]
Zaba2 has joined #openwrt-devel
netprince_ has joined #openwrt-devel
anxy has joined #openwrt-devel
anxy has quit []
anxy has joined #openwrt-devel
<anxy> Hello, it is possible to create LuCi app which will replace "section"?
<anxy> For example admin/status/overview?
tapper has joined #openwrt-devel
rejoicetreat has quit [Ping timeout: 480 seconds]
rmilecki has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
<djStolen> does anyone know minax007, editor of this page https://openwrt.org/toh/xiaomi/mir3c?do=revisions. i have couple of questions i would like to clarify regarding the page
tapper has quit [Read error: Connection reset by peer]
tapper has joined #openwrt-devel
<dorf_> anxy: entirely possible. check the repo.
<anxy> Thank you very much for your reply!
<anxy> So far I have not been able to figure out how to do this.
<anxy> I see: uhttp => luci CGI => SGI => httpdispatch => look up node => node contains information about the action (call function, write template).
<anxy> I tried to get nodes via dispatcher.node, but as I understood, this method only returns my nodes (nodes added by my app/module).
rankin has joined #openwrt-devel
<rankin> Hello, anybody knows OpenWRT in here? I want to be able to upgrade the firmware while running inht e OpenWRT OS
<rankin> any OpenWRT people in here?
<rankin> I have OpenWRT runing on Raspberry PI, but i need to be able to reflash a new version of OpenWRT while running on the pi itself
<rankin> anybody knows how to do it? by writing new OS to the Sd card then rebooting
<aparcar[m]> rankin: please check out #openwrt, this channel here is for development
<rankin> yes im doing development
<aparcar[m]> rankin: please proceed and don't mind me
<rankin> ok thanks you sir
<rankin> so where is the developers?
<rankin> who are all those people on the right --->>>>>
<rankin> bots?? --------->>>>>
rankin has quit [Remote host closed the connection]
<aparcar[m]> jow: can I go ahead and merge this? https://github.com/openwrt/openwrt/pull/4211
rmilecki has joined #openwrt-devel
<philipp64> all: is it worth having an openwrt-doc channel? Or an openwrt-doc mailing list?
danitool has joined #openwrt-devel
rmilecki has quit [Ping timeout: 480 seconds]
rmilecki has joined #openwrt-devel
<mangix> aparcar[m]: know anything about this? https://github.com/openwrt/packages/pull/15821
<aparcar[m]> mangix: im sure it comes from best intentions but please don't merge it
<aparcar[m]> philipp64: sure would be rad. Please write to adm
<aparcar[m]> The adm list
rejoicetreat has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 98.1% packages reproducible in our current test framework.)
<mangix> aparcar[m]: no I mean where is this from? who set it up?
dedeckeh has quit [Remote host closed the connection]
rmilecki has quit [Ping timeout: 480 seconds]
rejoicetreat has quit [Ping timeout: 480 seconds]
<aparcar[m]> mangix: it's an automatic feature
anxy has quit [Quit: Page closed]
<greearb__> what part of the logic names network devices 'lan1, lan2, ...' ? I'd prefer they be called 'eth1, eth2, ...' for my application.
Borromini has joined #openwrt-devel
<Pepes> aparcar[m]: Well, I think mangix knows that it is automatic feature, but his question was rather, who enable it, etc. We know that we should not merge it.
<aparcar[m]> Pepes: it's a service of GitHub which is enabled per default for every repository hosted on GitHub
<Pepes> I would not say that it is enabled by default, though. It is configurable in settings.
<Pepes> No, it is not enabled by default - https://github.blog/2020-06-01-keep-all-your-packages-up-to-date-with-dependabot/#:~:text=To%20enable%20Dependabot%20security%20updates,already%20enabled%20on%20most%20repositories and of course I know what is dependabot as I am using it for my repositories.
<Pepes> So, the still the question remains that who set it up, I see that was good intention, but maybe letting know others about that would be nice, tbh. And it is question if it is somehow usable for packages repository, but we will see.
Borromini has quit [Quit: Lost terminal]
tapper has quit [Quit: Tapper]
<greearb__> isc-dhcp-server-ipv4 is no longer in menu-config as far as I can tell. Any idea how to get it back?
<greearb__> ahh, have to enable bind-client and bind-server to get it to show up
Zaba2 has quit [Quit: Leaving.]
djStolen has quit [Remote host closed the connection]