<hurricos>
Does anyone here have any experience simulating wireless networks within qemu?
<hurricos>
I know the malta image comes with a mac80211_hwsim interface by default, but I'm wondering whether it's possible to actually simulate e.g. a batman-adv when you only have one machine.
<hurricos>
I'm guessing that some mesh protocols will be easier to simulate than others.
Tusker has quit [Read error: Connection reset by peer]
Tusker has joined #openwrt-devel
<hurricos>
(without some sort of inter-machine wmediumd, which I have not been able to find)
philipp64 has quit [Quit: philipp64]
philipp64 has joined #openwrt-devel
Tusker_ has joined #openwrt-devel
philipp64 has quit []
Tusker has quit [Ping timeout: 480 seconds]
Tusker_ has quit [Read error: Connection reset by peer]
Tusker_ has joined #openwrt-devel
philipp64 has joined #openwrt-devel
philipp64 has quit []
KGB-2 has quit [Remote host closed the connection]
KGB-2 has joined #openwrt-devel
Strykar has quit [Quit: /quit]
Strykar has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
Tusker_ has quit [Read error: Connection reset by peer]
Tusker_ has joined #openwrt-devel
Tusker_ is now known as Tusker
fda has quit [Read error: Connection reset by peer]
<dansan>
Hello! I have a package that has DEPENDS +dnsmasq-full, but I also need to select PACKAGE_dnsmasq_full_tftp if it isn't already select, how do I do that? I'm currently using "+dnsmasq-full @PACKAGE_dnsmasq_full_tftp", but this only hides my entry if the later isn't selected.
<stintel>
ok, odroid c2 + 5.10 built with gcc8 also doesn't build. could give it another try with gcc 10 but I suspect it might just be something in the kernel
<stintel>
this is going to be painful to figure out
<PaulFertser>
abiliomarques: you'll be the OpenWrt general performance hero :)
<stintel>
I'm using perf regularly
<abiliomarques>
I tried it with my port, but the only thing I get is "Segmentation fault" :(
<abiliomarques>
I will try to get out of that state, but I was wondering if there were better tools available
<PaulFertser>
stintel: on mips?
<abiliomarques>
yep
<abiliomarques>
wait, I had a collapsed window, misread the stintel part
<stintel>
PaulFertser: I'm pretty sure I've done it on mips at some point, but not recently
nitroshift has quit [Ping timeout: 480 seconds]
<abiliomarques>
PaulFertser? why the question specifically about MIPS?
<PaulFertser>
abiliomarques: for segfaults you can consider using gdbserver and scripts/remote-gdb
<PaulFertser>
abiliomarques: just in case, perf might be doing something low-level enough so that it's target specific in some aspects.
<rmilecki>
abiliomarques: oprofile is something ooold, I think it uses some abonded kernel api
<rmilecki>
abiliomarques: perf should work fine
<rmilecki>
abiliomarques: on arm it requires some interrupts specified in a DT I think
<abiliomarques>
rmilecki: thanks for the comments. Any idea about MIPS?
<stintel>
historically perf, strace, gdb, were often failing to build, I remember being bitten by that all the time, so I've ended up disabling them in many of my configs
<stintel>
as such, I currently can't test on mips devices
<stintel>
scratch that, octeon (mips64) master build from 5.4.117 #0 SMP Thu May 13 13:24:01 2021 mips64 GNU/Linux has working perf top
<rmilecki>
abiliomarques: i think i used perf on MIPS last time in the 2013
<rmilecki>
so my experience is worthless today ;)
<abiliomarques>
you make it sound worse than working with an 8051 ;)
<mrkiko>
abiliomarques: on what device are you working?
<abiliomarques>
a QCA4531
<mrkiko>
abiliomarques: :D great! Good luck.
<mrkiko>
abiliomarques: have you seen my mail about R6100? I'm stuck on the switch part
<abiliomarques>
not in the mailing list
<mrkiko>
abiliomarques: oh... I sent it there. Mhm.
wulfy23 has joined #openwrt-devel
<abiliomarques>
are you talking about the netgear? are you porting it to the latest OpenWRT?
<wulfy23>
used perf for flamegraphs bcm2711 and ipq806x no problems
<mrkiko>
abiliomarques: basically, tying to port R6100 to ath79 - ar9344 SoC. Can get icmp replies back (tcpdump sees them but ping not due to timing / corruption maybe).
<mrkiko>
abiliomarques: it seems like there is interest for the device still, but no one ported it. I'm trying but no luck so far with the switch. Ping -s 2 works :D but you know, ssh is difficult with such an mtu
<abiliomarques>
good luck, I'm still porting to 19.07, from a very outdated qualcomm fork from 2015 (QSDK)
<mrkiko>
abiliomarques: so youre dealing with ar71xx / C ?
<abiliomarques>
yeah
<mrkiko>
abiliomarques: when you feel like it, may I ask for some comments / help' Since I guess you'll be able to can the details mof the r6100 C code very much
<abiliomarques>
for now ... I started the port for openwrt 18 a while ago, in order to learn. got it to boot, get stable network and got busy with other stuff... I resumed recently, want to go to 21, but decided it would be easier to finish ironing the issues in 19
<PaulFertser>
abiliomarques: are you porting to ath79 or ar71xx ? If the latter then you better stop :)
<mrkiko>
PaulFertser: I guess he sees it as an intermediate step to make things easier
<mrkiko>
And, BTW- there was some rumors around the code for the internal ar9344 switch being droppped. In my opinion this isn't true. But would like to know from you folks
<abiliomarques>
PaulFertser: I already had the port to ar71xx, it was up and running back in 2018 ... I plan to move to ath79, but I know it will be a breaking change, so I'm using ar71xx to learn... it helped to find the issue with MUSL being slow on syscalls
<PaulFertser>
abiliomarques: with ath79 you'll have to write the DTS from scratch, your machine file will only be useful as a reference.
<mrkiko>
ehehe, yes.
nitroshift has joined #openwrt-devel
<abiliomarques>
whoa, this is going to be fun ... compiled gdb, ran perf with a breakpoint on the first line of main, it crashes before :)
<PaulFertser>
abiliomarques: but you can still see "backtrace" right?
<abiliomarques>
says "no stack"
<PaulFertser>
abiliomarques: was perf built some normal way or is there anything tricky about the binary you're trying to run?
<abiliomarques>
I'm just calling "perf"
Tusker has quit [Quit: Time wasted on IRC: 13 hours 12 minutes 51 seconds]
<abiliomarques>
without any arguments
aiyion_ has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
_lore_- has joined #openwrt-devel
_lore_ has quit [Read error: Connection reset by peer]
Tapper has quit [Ping timeout: 480 seconds]
_lore_ has joined #openwrt-devel
_lore_- has quit [Read error: Connection reset by peer]
rsalvaterra has joined #openwrt-devel
aiyion_ is now known as aiyion
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
swegener has quit [Quit: leaving]
swegener has joined #openwrt-devel
<abiliomarques>
I got it running!, though I did in another MIPS, with 128 MB of RAM
<PaulFertser>
What was the culprit?
minimal has joined #openwrt-devel
rsalvaterra has quit [Quit: Leaving]
<abiliomarques>
RAM
<abiliomarques>
does anyone know if there is a way to do perf remotely (like one does with gdb)
<abiliomarques>
64 MB are not enough these days ;)
<stintel>
I would suggest not spending too much time on 64MB devices these days
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
<abiliomarques>
I know, but for me is a device to learn the tricks of the trade... is what I have at hand that is not one of my home routers
<abiliomarques>
and without luci, there is still plenty of ram for things like mosquitto
hitech95 has joined #openwrt-devel
<hitech95>
mkresin: ping
<hitech95>
Who is the current maintainer of ltq? I have a question about falcol
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
dangole has quit [Ping timeout: 480 seconds]
rejoicetreat has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
<mkresin>
hitech95: pong
<mkresin>
hitech95: falcon is more or less unmaintained and incomplete.
<hitech95>
YEa, I've seen. Is it due to the lack of omci binaries and kernel modules? Any chances that max linear release something for 10 years onld hw?
<hitech95>
mkresin ^^^
<mkresin>
MxL != lantiq. I do not see any interest in open source
fda- has joined #openwrt-devel
<hitech95>
mkresin: didnt Mxl buy lantiq hw from intel? All died after Intel bought Ltq :( My w8970 with 16MB flash mod is till rocking on a remote location (runnin LEDE) ... that was really good HW!
<Habbie>
i suggest you stop digging yourself into that hole ;)
rua has quit [Ping timeout: 480 seconds]
Slimey has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
rua has joined #openwrt-devel
Rentong has joined #openwrt-devel
jbowen has quit [Ping timeout: 480 seconds]
AndyCap has joined #openwrt-devel
jbowen has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
jlsalvador has quit [Read error: Connection reset by peer]
jlsalvador has joined #openwrt-devel
dangole has joined #openwrt-devel
foxtrot has quit [Server closed connection]
foxtrot has joined #openwrt-devel
Borromini has quit [Quit: leaving]
rsalvaterra has joined #openwrt-devel
dangole has quit [Remote host closed the connection]
dangole has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
rmilecki has quit [Ping timeout: 480 seconds]
valku has joined #openwrt-devel
chkdsk has joined #openwrt-devel
Rentong has joined #openwrt-devel
chkdsk has quit [Quit: Page closed]
Slimey has joined #openwrt-devel
Rentong has quit [Ping timeout: 480 seconds]
Tapper has joined #openwrt-devel
Shiz has quit [Server closed connection]
Shiz has joined #openwrt-devel
<rsalvaterra>
tohojo: Sent you a pull replacing which with command -v in sqm-scripts, as we're trying to eventually disable the which applet in BusyBox.
<tohojo>
Alright, I'll take a look :)
<rsalvaterra>
Great, thanks! :)
rejoicetreat has quit [Remote host closed the connection]
indy_ has quit [Ping timeout: 480 seconds]
abiliomarques has quit [Ping timeout: 480 seconds]
rsalvaterra has quit [Read error: No route to host]
rsalvaterra has joined #openwrt-devel
indy has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
rsalvaterra has quit [Quit: Leaving]
dwmw2_gone has quit [Server closed connection]
<mrkiko>
May someone help me find a direct link for Netgear R6100 GPL tar from netgear? I know the page but can't get the link