_znullptr has joined #openwrt-devel
znull_ has quit [Read error: Connection reset by peer]
minimal has joined #openwrt-devel
znull_ has joined #openwrt-devel
_znullptr has quit [Read error: Connection reset by peer]
_znullptr has joined #openwrt-devel
znull_ has quit [Read error: Connection reset by peer]
hanetzer3 has joined #openwrt-devel
hanetzer2 has quit [Ping timeout: 480 seconds]
_znullptr has quit [Read error: Connection reset by peer]
Znullptr has joined #openwrt-devel
hanetzer4 has joined #openwrt-devel
minimal has quit [Quit: Leaving]
hanetzer3 has quit [Ping timeout: 480 seconds]
bluew has quit [Remote host closed the connection]
bluew has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Znullptr has quit [Ping timeout: 480 seconds]
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
csrf has quit [Remote host closed the connection]
csrf has joined #openwrt-devel
csrf has quit [Quit: Leaving]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_tegra.html has been updated. (100.0% images and 99.6% packages reproducible in our current test framework.)
MaxSoniX has joined #openwrt-devel
cbeznea has joined #openwrt-devel
digitalcircuit has quit [Quit: Signing off from Quassel - see ya!]
digitalcircuit has joined #openwrt-devel
Tapper has joined #openwrt-devel
torv is now known as Guest403
torv has joined #openwrt-devel
Guest403 has quit [Ping timeout: 480 seconds]
indy has joined #openwrt-devel
aleksander has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
indy has quit [Ping timeout: 480 seconds]
indy has joined #openwrt-devel
robimarko has joined #openwrt-devel
indy has quit [Ping timeout: 480 seconds]
danitool has joined #openwrt-devel
gladiac has joined #openwrt-devel
Lynx- has joined #openwrt-devel
<Lynx-> mrkiko as you can see from the ModemManager mailing list the updated ModemManager from master indeed not informs netifd of the disconnect, but the 'ModemManager' protocol of netifd just sits there doing nothing following the interface/link having gone down. I think there should be an option in netifd 'ModemManager' that is called 'autoconnect', which would then immediately bring the interface back up. Does this make sense?
<Lynx-> *now informs
<Lynx-> this would complete the circle I think
<Lynx-> In fact aleksander just imagined that netifd would bring it back up, but from my testing it doesn't. Unless I'm missing an undocumented option in /etc/config/network, then I think this functionality still needs to be implemented.
robimarko has quit [Quit: Leaving]
robimarko has joined #openwrt-devel
robimarko has quit []
<stintel> so I'm hitting this in 22.03: https://github.com/openwrt/packages/issues/18877
<stintel> there is a fi in master but it went in after some version bumps that aren't in 22.03 ... backport and fi conflict or backport all version bumps too and have clean backports?
<stintel> grr damn laptop keyboard
indy has joined #openwrt-devel
<jow> stintel: minor version bumps?
robimarko has joined #openwrt-devel
<Lynx-> Hey jow any chance of getting ModeManager updating in 22.03 to include aleksander's patch that updates netifd of connection loss, and is there a way to tell netifd in 'ModemManager' protocol that it should autoconnect? At the moment users seem to be all implementing their own DIY hacks to deal with this disconnect/reconnect issue for wireless wan connections, which are on the up.
<jow> Lynx-: I have no experience in this area, no use-case and no hardware to test on. Someone else has to take the initiative
<Lynx-> Ah, sorry. Could you suggest an individual?
<Lynx-> I thought you were the netifd guy
<Lynx-> It was apparently a chat with you that led to the patch in question
<jow> no, I just happen to be the guy that makes the mistake to answer questions :)
goliath has joined #openwrt-devel
<jow> yeah I suggested a potential implementation. But I have no means to test or verify it
<Lynx-> I have evidence of said chat here :https://lists.freedesktop.org/archives/modemmanager-devel/2022-January/009075.html
<Lynx-> Well jow I tested it and it works
<stintel> jow: 5.16 to 5.18
<jow> stintel: then backport
<stintel> jow: thanks
<jow> stintel: 5.x -> 6.x would be bad
<jow> also strace is a leaf package, so slightly more wiggle room for updates
<Lynx-> What I did was to install the new ModemManager from master in my 22.03 install and it worked in that now netifd sees the disconnect and the interface is brought down so ifstatus is correct. But this cool solution only shifted the problem to netifd. Now netifd is the problem, because it doesn't actually do anything.
<Lynx-> My guess is that netifd 'ModeManager' protocol should have an 'autoconnect' option to bring interface back up when it goes down
<jow> does it state "Interface xxx has lost connection" ?
<stintel> jow: makes sense, I'll just bring in sync with master then
<Lynx-> yes, two seconds
<stintel> also fixes the CPE ID
<Lynx-> Wed Nov 2 20:38:54 2022 daemon.notice netifd: Interface 'wan' has lost the connection
<Lynx-> but then it sits there doing nothing
<Lynx-> so it's like the solution is only a partial fix, to complete the circle, netifd should reconnect
<jow> it usually observes the link state of the lower netdev
<Lynx-> I am thinking 'autoconnect' option in /etc/config/network
<jow> terminates the l3 protocol on link loss
<jow> and restarts it on link
<Lynx-> when I tested it did nothing?
<jow> I guess in the case of MM it's a catch-22
Piraty has quit [Quit: --]
<jow> no link without netifd starting mm
<jow> netifd not starting mm without link
<Lynx-> so if I manually type 'ifup wan' it works again
Piraty has joined #openwrt-devel
<jow> yeah sure, but that's not relevant
<Lynx-> The problem before was netifd didn't even know that the link had gone down, but now it does. But now it does, it doesn't do anything.
<jow> question would be more like if an "ip link set up dev wwan0" would restore it
<Lynx-> I can test and report back
<Lynx-> I can simulate ISP disconnect by disconnecting bearer
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
<jow> I did not really look how the latest implementation of the MM proto works
<jow> but I guess it's still mm running unsupervised
<jow> and doing event dispatching via hook scripts
<Lynx-> jow someone suggested just using hotplug on ifdown to bring ifup?
<Lynx-> that seems like a hack?
<jow> netifd expects a different working model though
Bhuvanesh has joined #openwrt-devel
<jow> it wants a daemon process to hold onto
<jow> if that process terminates, it tears down all related interface stuff
<jow> and restarts the daemon (unless restart is blocked by the proto handler for reasons, e.g. bad auth)
<Lynx-> But doesn't ModemManager stay active the whole time
<jow> modemmanger violates this operating principle
<jow> it basically tells netifd "hey, make the interface down now"
<jow> netifd states "okay, removing it"
<jow> but then nobody tells netifd to restart it
<Lynx-> ah, you are saying ModemManager should tell netifd to bring it back up?
<jow> yeah
<Lynx-> is only 50% of the solution
<Lynx-> ModemManager should not only a) tell netifd, but it should also b) restart connection
<jow> correct
<Lynx-> the author of that patch is under the mistaken impression netifd would handle it
<jow> netifd would handle it if it would have a process it supervises
<jow> assuming things need to be restarted if the process exists
<Bhuvanesh> Hi,i want to port a new device and don't have clue on where to start. how time is this process gonna take https://openwrt.org/docs/guide-developer/add.new.platform
<Lynx-> aleksander0m who authored the patch writes: "Unless I'm missing something, the reconnection would be done if the wwan configuration in /etc/config/network is set to automatically connect."
<Lynx-> but there is no such 'autoconnect' line
<Lynx-> or option
<jow> well telling to netifd to shutdown an interface means it should shutdown it
<jow> not shutdown and immediately bring back on
<jow> otherwise we>'d eventually need a "really sutdown" event
<jow> so wahtever instructs netifd to down an interface should also instruct it to bring it back on
<Lynx-> with ModemManager now supporting these dispatcher scripts would it just be a case of adding a new such script
<jow> yes, I suppose you'd need to add a complementary 11-report-up script
<Lynx-> so I admit I'm confused
<Lynx-> I mean if I manually type ifup ... doesn't that mean netifd asks ModemManager to bring it back up
<Lynx-> which suggests to me netifd has the capability
<jow> sure it has
<Lynx-> Isn't the connection sequence that netifd instructs ModemManager to bring it up, ModemManager connects, then passes netifd the connection specifics
<jow> yes
<Bhuvanesh> Hi,i want to port a new device and don't have clue on where to start. how time is this process gonna take https://openwrt.org/docs/guide-developer/add.new.platform
<Lynx-> so logically if conneciton went down, shouldn't netifd then instruct ModemManager to bring it back up again
<jow> and then mm eventually states to netifd "ok, interface is down now"
CN_SZTL has joined #openwrt-devel
<jow> and does nothing anymore
CN_SZTL_ has joined #openwrt-devel
<jow> so why should netifd bring it back up? it has been instructed by mm that the interface is down/gone now
<Lynx-> it's like I switch my computer on, and it then tell me it shut itself down but I really want it on all the time, then shouldn't I switch it back on
<jow> no it's like typing "shutdown" and expecting it to immediately power back on
<Lynx-> because in netifd I tell it I want a connection with APN settings etc
<jow> if you want to reboot it, then instruct it to reboot
<jow> not to shut down
<Lynx-> in /etc/config/network when I put APN settings in I want a connection
<jow> yeah sure
<Lynx-> I don't say I want a connection until disconnect
<jow> then fix the mm integration
<jow> because right now it says: "netifd, please mark the interface down and keep it this way"
CN_SZTL_ has quit []
<jow> it does the user equivalent of "ifdown wwan"
<jow> why should an "ifdown wwan" immediately invoke "ifup wwan"
<jow> that wouldn't make sense at all
<Lynx-> autoconnect = 1
<jow> so you say an "ifdown foo" on an interface setting "option autoconnect 1" should immediately invoke "ifup foo" ?
Bhuvanesh has left #openwrt-devel [#openwrt-devel]
indy has quit [Ping timeout: 480 seconds]
philipp64 has quit [Ping timeout: 480 seconds]
<Lynx-> proto_init_update $INTERFACE 0 <--- so that translates to 'ifdown' ?
<jow> it translates to something along the lines of: ubus call network.interface notify_proto '{ "action": 0, "interface": "wan", "ifname": "wwan0", "link-up": false }'
<Lynx-> so the fix here is as simple as changing the 0 to 1?
<jow> no
<jow> the fix would be sending another update with updates address info once the connections comes back on
<jow> essentially a complementary 10-report-up script
<jow> reacting on ${STATE} = connected
<Lynx-> ah
<Lynx-> but then also there is needed a change to ModeManager to automatically reconnect
<jow> doing proto_init_update $INTERFACE 1
<jow> proto_add_ipv4_address ...
<jow> proto_add_...
<jow> proto_send_update $CFG
<jow> yes
<Lynx-> ah so we have a recipe
aiyion_ has quit [Remote host closed the connection]
<jow> seems modemmanager currently is instructed to connect once but not reconnect
CN_SZTL has left #openwrt-devel [https://quassel-irc.org - Chat comfortably. Anywhere.]
aiyion_ has joined #openwrt-devel
<jow> since modemmanager is the driver of the interface here, the responsibility to reconnect should be on the mm side
CN_SZTL has joined #openwrt-devel
<jow> and to stop/shutdown a wwan connection, netifd's proto handler would kill modemmanager
<Lynx-> jow someone else proposed change to netifd qmi protocol to reconnect
<Lynx-> basically wwan in openwrt is broken at the moment owing to this issue
<jow> it's always been broken
<Lynx-> most people have DIY hacks like reboot router
<jow> can't remember a time where it was really robust ootb
<Lynx-> honestly it's robust but for this issue from my perspective with Zyxel NR7101
<nick[m]12> Is there some option to build in-kernel wireless driver and mac80211?
Tapper has joined #openwrt-devel
<Lynx-> jow could there a case with netifd QMI protocol to have netifd manage the reconnection?
<Lynx-> see this pull request: https://github.com/openwrt/openwrt/pull/10906
<Lynx-> I don't like that solution because it uses polling
<Lynx-> but it's another attempt to fix this issue
<Lynx-> but the author of these patches also imagines netifd handling the reconnect
<Lynx-> (for ths QMI protocol)
<jow> maybe. problem is that neither mm nor uqmi really fit into netifd's expected process model
<jow> what netifd really needs is:
<jow> a process it starts in order to create/configure/keep running a network device
<jow> when the process dies, the network device dies along with it
<jow> this holds true for pppd, openvpn and various other tunnel protocols
<jow> there's also protocols using one-shot commands (ip link ... or ip tunnel ...) to set things up
bluew has quit [Ping timeout: 480 seconds]
<jow> but those will usually not be reconnect-able, not link state aware
<jow> it's basically fire and forget setups
<Lynx-> What I keep coming back to in my mind though is that in /etc/config/network I enter APN settings to tell netifd to bring connection up. I want it to keep it up! So if netifd knows it has gone down, then it seems to make sense to have it bring it up rather than do nothing.
<jow> so what would be needed in the mm and uqmi case is a monitor process per interface
<jow> this process needs to end on disconnect
<Lynx-> wwan is really a special case isn't it since disconnections occur regardless of the ISP
<jow> when netifd notices the process termination, it will restart the process which in turn restarts the interface
<Lynx-> in my case Vodafone UK forcible disconnect at exactly 48 hours, and they are super generous. Other ISPs work with e.g. 6 hours
<jow> (unless the process termination was due to a logical interface shutdown, ifdown foo, in this case it is stopped, the netdev remainders deconfigured if needed and kept down)
<jow> if MM would work in a way that it brings up the wwan0 and exits if wwan0 disconnects due to a network event, then things would be way smoother
<jow> but MM wants to be a long-running supervision process itself that outlives disconnecting device
<jow> s
<Lynx-> why would the self-termination help?
<jow> because then it could be changed from independently running to spawned-by-netifd
<jow> and the auto-reconnect logic would just work
<Lynx-> ahh
<Lynx-> you know what I don't like modemmanager anyway it's super bloated
<Lynx-> it would be nicer to have qmi protocol handle this situation
<jow> but iirc MM's operating model does not really allow for that as it could theoretically manage multiple devices
<Lynx-> basically like this https://github.com/openwrt/openwrt/pull/10906/files but without polling
<jow> and you'd need to spawn one MM instance per device
<jow> I could imagine a theoretical "uqmi monitor" subcommand
<Lynx-> so what should happen is netifd creates its own monitoring process to wait for event from modem, and then on event from modem it reacts accordingly
<jow> it will start a daemon process that subscribes to events from thje given device
<Lynx-> nobody likes ModemManager since it uses dbus and all these extra packages and it's really a big elephant
<jow> and if it catches a disconnection event, it will exit(0) itself
<jow> this "uqmi montor" daemon process could then be launched by netifd
<Lynx-> uqmi on its own works with netifd 'qmi' protocol, but for this disconnect/reconnect isue
<Lynx-> ah yes
<Lynx-> do you know if uqmi can work with proxy
<jow> no idea
<Lynx-> since a problem is if deaemon monitors the modem then it may block commands
<jow> I see
aiyion has joined #openwrt-devel
<jow> what's so bad about polling though?
<Lynx-> jow this guy is really trying here: https://forum.openwrt.org/t/rfc-wwan-uqmi-revamp/141506?u=lynx but it seems a bit beyond skill level
<Lynx-> as bmork wrote: "Polling is bad. Constantly closing and reopening the /dev/cdc-wdmX device because we start a new uqmi process for every poll session makes it even worse. Lots of work for both driver and modem firmware for absolutely no reason at all."
<Lynx-> also one wants immediate reconnect
<Lynx-> in my Huawei B81-263 it reconnected within a second
<jow> then the only way forward is a monitor process
<Lynx-> indeed
<Lynx-> arg is there someone who would write this for money?
aiyion_ has quit [Ping timeout: 480 seconds]
<jow> I mean uqmi oneshot commands could be redesigned in a way that they firs try to communicate through the monitor process if one is found active for the device it is attmepting to talk to
<jow> and falling back to the old way of doing things
<Lynx-> ah yes
<Lynx-> there are proxy type things like this: https://github.com/scintill/qmiserial2qmuxd
<jow> as a stop-gap solution I suggest developing an mm-connect script
<jow> to complement the disconnect one
<Lynx-> made sense to me and I could write that myself probably
<Lynx-> but I wouldn't know how to get ModemManager to auto reconnect
<schmars[m]> i'm building package feeds using the sdk. are all targets' sdks basically the same, given the same underlying architecture? example: for the arm_cortex-a7_neon-vfpv4 feed, i can use the sdk of bcm27xx/bcm2709, ipq40xx/generic, and a few others
<schmars[m]> just worrying about the unknown :)
<jow> for that, the various prcoedures here: https://github.com/openwrt/packages/blob/master/net/modemmanager/files/modemmanager.proto#L196 should likely be moved into a shared helper script which can be included from both the proto handler and the mm connection.d scripts
<jow> then invoke one of the modemmanager_connected_method_*() methods on connection events
<Lynx-> could you or someone here by convinced to patch modemmanager in this way
<jow> no need to patch MM
<Lynx-> the dispatcher scripts are enough?
<jow> yes
<Lynx-> so at the end of the report down script there is a reconnect call, and there is a further report up script
<jow> I think they should be independent
<Lynx-> report down, reconnect, report up scripts
<jow> I would assume MM tries to reconnect, then invokes a connection.d script with STATE=connected
<Lynx-> sadly I don't think it does
<Lynx-> it just remains in state 'registered' but not 'connected'
<Lynx-> so then I think there is needed report up script and also patch to ModeManager to reconnect
<Lynx-> or if reconnect process can be called then reconnect script to catch disconnect and call the reconnect function
<Lynx-> if you think the latter might be possible
<jow> why is patching needed for modemmanager? I thought it's entire purpose is keeping devices alive and dealing with network side disconnections
<Lynx-> I thought so too, but following event: "Mon Oct 31 17:37:46 2022 daemon.info [2719]: <info> [modem0/bearer1] verbose call end reason (6,36): [3gpp] regular-deactivation" it just remains in state 'connected'
<Lynx-> sorry in state 'registered'
<jow> why is it even needed then?
<jow> For harware support I presume
<Lynx-> yes I'd like to dispense with it it seems junk
<Lynx-> but at least it informs netifd that disconnection happened whereas with qmi netifd doesn't even know and ifstatus is wrong following disconnect
<Lynx-> different levels of brokenesss :)
CN_SZTL has left #openwrt-devel [https://quassel-irc.org - Chat comfortably. Anywhere.]
<Lynx-> it seems the way forward might be qmi protocol fix along the lines of the above like you suggested, but how to make this happen
<Lynx-> do you think someone would code it up for a few hundred euros or dollars
<Lynx-> jow seems like aleksander0m is the ModemManager developer,could you be convinced to respond to his post here: https://forum.openwrt.org/t/calling-on-all-4g-qmi-experts-wan-ip-refresh-issue/140893/18?u=lynx and correct this misunderstanding: "Unless I'm missing something, the reconnection would be done if the wwan configuration in /etc/config/network is set to automatically connect." since clearly the problem is the ModemManager dev expects netifd to
<Lynx-> reconnect but it seems this logic is wrong and ModemManager should rather reconnect?
<Lynx-> maybe that would move help move the needle
<Lynx-> nbd you just weiged in on this I seehere: https://forum.openwrt.org/t/rfc-wwan-uqmi-revamp/141506/15?u=lynx
<Lynx-> :)
minimal has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
Lynx- has quit [Remote host closed the connection]
Lynx- has joined #openwrt-devel
<Lynx-> jow just another question, the modem itself has an autoconnect feature and so I wonder if there is a way in OpenWrt to set up an LTE-ETHERNET IP passthrough / bridge mode?
hexa- has quit [Quit: WeeChat 3.5]
hexa- has joined #openwrt-devel
floof58 has quit [Quit: floof58]
floof58 has joined #openwrt-devel
<aleksander> oh wow, I missed a long discussion
<aleksander> MM doesn't automatically reconnect, MM does not have any logic for that, it's not a connection manager
<aleksander> MM only acts on what the upper layer connection manager requests to do, be it connect or disconnect
<aleksander> MM will monitor network initiated disconnections, and report the disconnection to the upper layers so that they decide what to do
<aleksander> jow, not sure if I understood it correctly, but are you suggesting triggering the reconnection from within the MM dispatcher script when it reports a disconnection? that's a bit convoluted
<jow> aleksander: problem is that netifd regards mm to be the connection manager as it is not supervised by netifd
<aleksander> "nobody likes ModemManager since it uses dbus and all these extra packages and it's really a big elephant" MM was never targeting devices with estremely low amount of memory, but a lot of openwrt devices have tonds of memory available and MM is not such a big elephant there
<aleksander> jow, there's no connection management done by MM itself though, it's all done at netifd and protocol handler level
<jow> aleksander: I don't want to repeat all the discussion again
<jow> but in essence, netifd only does reconnections for supervised proto handler processes
<aleksander> jow, the dispatcher script called by MM on disconnect (.e.g when a network initiated disconnect happens) was supposed to notify netifd that the "underlying" connection is down, so that netifd can report the iface as down
<aleksander> ah, wrongly assumed that then
<aleksander> what needs to happen to have it a supervised proto handler process? is that something that can be developed in the proto handler implementation itself?
<jow> maybe you can get away with a simple brute force approach of simply calling ubus call network.interface down '{ "interface": "$CFG" }' && sleep 1 && ubus call network.interface up '{ "interface": "$CFG" }'
<jow> in that disconnect notify script
<jow> aleksander: basically you need some sort of process that exits when the underlying device loses connection
<aleksander> doing that breaks the purpose of the disconnect notify script though
<jow> aleksander: netifd will then kill the netdev, restart that process and await proto updates
<aleksander> we could have a watcher process launched on a connect, and have that process killed by the disconnect dispatcher script
<jow> yep
<jow> netifd will restart the watcher process
<aleksander> that's doable and clean, because the watcher process would be launched within the protocol handler
<jow> but it is also assumed that this "watcher process" is also the "setup process"
<aleksander> that's fine
<jow> so the watcher would also need to do all the necessary things to initiate a connection, fetch details, trigger a proto update notify
danitool has quit [Remote host closed the connection]
<aleksander> yes, yes, that's doable I think
<jow> you will also only need this watcher process for non-ppp connection types
<jow> for ppp, the proto handler already does proto_run_command /usr/sbin/pppd ...
<jow> which has the required semantics
<aleksander> yep
<jow> (while looking at it: https://github.com/openwrt/packages/blob/master/net/modemmanager/files/modemmanager.proto#L159 - $username and $password should be quoted)
<jow> nvm, they don't need to
<aleksander> oh well, already did this: https://github.com/openwrt/packages/pull/19811
<aleksander> want me to close that?
<jow> keep it open, it does not hurt
Tapper has quit [Ping timeout: 480 seconds]
soxrok2212 has quit [Read error: Connection reset by peer]
danitool has joined #openwrt-devel
Tapper has joined #openwrt-devel
soxrok2212 has joined #openwrt-devel
cbeznea has quit [Quit: Leaving.]
Znullptr has joined #openwrt-devel
aleksander has quit [Quit: Leaving]
MAbeeTT3 has joined #openwrt-devel
MAbeeTT2 has quit [Ping timeout: 480 seconds]
danitool_ has joined #openwrt-devel
<Lynx-> I wonder if that watcher process would be MM specific or generic such that it could also work with the 'qmi' protocol
cmonroe_ has quit [Ping timeout: 480 seconds]
danitool has quit [Ping timeout: 480 seconds]
<jow> MM specific
<jow> uqmi currently has no means to notify about a network side disconnect
<jow> since nothing is continuously monitoring / polling the modem
<hgl> jow, would you be able to merge this? PR in openwrt/packages is already merged, hope uhttpd change could be in the same openwrt release: https://github.com/openwrt/openwrt/pull/11076
<jow> hgl: done
<hgl> hmm, doesn't seem to be merged?
<jow> we don't merge PRs directly
<hgl> oh, ok
<hgl> cool, thanks
<\x> robimarko https://lore.kernel.org/linux-wireless/87leotff0e.fsf@kernel.org/T/#t i think this is it on 2.7 firmware with ath11k
<\x> ath11k: avoid deadlock during regulatory update in ath11k_regd_update()
<\x> i get this on ipq6018
floof58 is now known as Guest431
floof58 has joined #openwrt-devel
<robimarko> \x: Hard to tell, but it looks like could happen on any FW
Guest431 has quit [Ping timeout: 480 seconds]
SherlockDomes has joined #openwrt-devel
<SherlockDomes> Hi all, I'm trying to understand how netifd wireless subsystem works so I'm walking through an example. I understand that wifi command essentially executes ubus call network.wireless up $dev. And that runs the script in /lib/netifd/wireless/$wirelessdriver.sh with configuration parameters. I'm studying the script, and I'm worndering what is the purpose of wireless_set_up which executes ubus call network.wireless
<SherlockDomes> notify? Is the notify to explain setup is compelete is there anything else? Looking at netifd code it looks like it can track processes, I'm guessing something like hostapd
<SherlockDomes> Sorry ignore that, I didn't realise there are multiple different commands to notify. Now I realise that set_up uses the "up" command which makes more sense. I'll proceed studying the code
<aparcar[m]> how should we deal with this issue here? There is a code solution but I'm not seeing a real patch suggested anywhere: https://github.com/openwrt/openwrt/issues/7352#issuecomment-1040314349
gladiac is now known as Guest433
gladiac has joined #openwrt-devel
Guest433 has quit [Ping timeout: 480 seconds]
Ansuel has joined #openwrt-devel
<Ansuel> i should really rejoin IRC
<aparcar[m]> Ansuel: yea join the party
<robimarko> Welcome back, its always fun here
goliath has quit [Quit: SIGSEGV]
Lynx-- has joined #openwrt-devel
Lynx- is now known as Guest435
Lynx-- is now known as Lynx-
<Ansuel> i should really find a way to implement quassel in an alwasy on server and just connect as client or use better irc alternative
<robimarko> Hexchat has been working fine for me
Guest435 has quit [Ping timeout: 480 seconds]
Lynx-- has joined #openwrt-devel
Lynx- is now known as Guest436
Lynx-- is now known as Lynx-
Guest436 has quit [Ping timeout: 480 seconds]
<olmari> Personally I'm glad I can join here with matrix, even if for ircers it sometimes shows up meh...
<Ansuel> i'm consider matrix but my main problem is that i will get disconnected
<Ansuel> as soon as i try some code on my router and that means Ansuel_ Ansuel__ Ansuel_________________________________
<f00b4r0> irc forever :)
<Ansuel> robimarko btw i also forgot... the wifi patch!
Lynx- has quit [Read error: Connection reset by peer]
Lynx-- has joined #openwrt-devel
Lynx-- is now known as Lynx-
indy has joined #openwrt-devel
srslypascal is now known as Guest438
srslypascal has joined #openwrt-devel
Guest438 has quit [Ping timeout: 480 seconds]
Tapper has quit [Ping timeout: 480 seconds]
Piraty has quit [Remote host closed the connection]
Piraty has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_kirkwood.html has been updated. (100.0% images and 99.6% packages reproducible in our current test framework.)
<jow> Ansuel: a low tech solution I sue here is simply running irssi in a screen session
<jow> *use
<jow> you can connect with anything that has a working terminal and ssh
<Lechu> but I think the issue is where to host that
<jow> ah
<jow> I use some 5 EUR / month edius.at vserver
<Lechu> I'm lucky enough to have bigass VPS in local hackerspace
<Ansuel> i should really consider a vserver since it looks to be the only sane way to handle this
<hauke> I have the same setup hosted in the hetzner cloud
<Lechu> It's useful to have one, if only to act as a VPN reflector, for example
<hauke> you can also use the free oracle cloud
<hauke> they give you 4 core aarch64 for free
<jow> imap filtering is another potential use case
<Ansuel> hauke free for how much time?
<hauke> forever or if they decide otehrwise
<Lechu> IRC client isn't really critical infrastructure, so +1 for oracle cloud
<Ansuel> interesting solution
<Lechu> wouldn't trust them with anything more important, but for IRC should suffice
goliath has joined #openwrt-devel
<hauke> yes you should be prepared that they cancel your account
<Lechu> Maybe for VPN reflector, but only zero-knowledge one, like "socat udp-listen:2137 udp-listen:2138", with two Wireguards pointed at it.
<Ansuel> my idea would be use that free service and just run a quassel bridge on it
<Ansuel> no idea if it's available for aarch64 but i assume i can conpile it
danitool_ has quit [Remote host closed the connection]
cbeznea has joined #openwrt-devel
cbeznea has quit []
<tmn505> there are also free shell accounts. First time I used IRC was through sdf-eu.org verified account with irssi+tmux. Take look at https://www.reddit.com/r/commandline/comments/8bfxq4/comment/dx6hw6u/?utm_source=reddit&utm_medium=web2x&context=3, maybe that'll tickle your fancy.
Tapper has joined #openwrt-devel
danitool has joined #openwrt-devel
Borromini has joined #openwrt-devel
Lynx- has quit [Quit: Going offline, see ya! (www.adiirc.com)]
gladiac has quit [Quit: k thx bye]
goliath has quit [Quit: SIGSEGV]
dansan has joined #openwrt-devel
<Mangix> Ansuel: big brain idea: use a cfarm machine and run irssi or quassel on that.
<slh> I haven't really followed the market, but a while ago there have been low-end (usually IPv6-only) vservers around for really cheap (as in less than a dollar per month), plenty for screen+irssi
<Lechu> I recall mikr.us project, but not sure if they're still around
srslypascal is now known as Guest446
srslypascal has joined #openwrt-devel
Guest446 has quit [Ping timeout: 480 seconds]
srslypascal has quit [Quit: Leaving]
srslypascal has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
Borromini has joined #openwrt-devel
floof58 has quit [Remote host closed the connection]
floof58 has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
floof58 has quit [Remote host closed the connection]
floof58 has joined #openwrt-devel
Borromini has joined #openwrt-devel
<KGB-0> https://tests.reproducible-builds.org/openwrt/openwrt_x86.html has been updated. (100.0% images and 99.6% packages reproducible in our current test framework.)
Borromini has quit [Quit: Lost terminal]
<Ansuel> ok this is golden
<Ansuel> softirq: huh, entered softirq 7 SCHED (ptrval) with preempt_count 00000100, exited with c1c5217c?
<Ansuel> a so rare error even the kernel jokes about it as it's so wrong AHAHAH (me having fun with krait ant cache)
<slh> :(
<Ansuel> it's interesting tho.... the fact that if i hammer the cache mux results always in cache corruption
<Ansuel> it's a good case to try to fix it
<Ansuel> i mean this is the real problem of ipq806x...
<slh> yeah. weird thing (perhaps not really), it mostly happens while no one is really using internet, so the router being mostly idle, with just some background traffic happening
<Ansuel> and that is probably when the router scale the clk a lot
<slh> probably, yes
<robimarko> Hm, it could be a HW errata that if those muxes are configured often they may get corrupted or noisy
<robimarko> There may be some required time between changes to settle
<Ansuel> robimarko well a way to test that is to hammer cache to the hell and check when it brok and increment delay
<Ansuel> an overkill idea would be have something tha validate data in the cache while scaling