rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
Tapper1 has quit [Ping timeout: 480 seconds]
minimal has quit [Quit: Leaving]
philipp64 has joined #openwrt-devel
<hanetzer> blerg.
amaumene has joined #openwrt-devel
Misanthropos has quit [Ping timeout: 480 seconds]
<hanetzer> hrm. seems like there's a root password hash in more than one tp link device that's the same
srslypascal_ has joined #openwrt-devel
srslypascal is now known as Guest1745
srslypascal_ is now known as srslypascal
srslypascal is now known as Guest1748
Guest1748 has quit [Read error: Connection reset by peer]
srslypascal has joined #openwrt-devel
srslypascal has quit [Remote host closed the connection]
srslypascal has joined #openwrt-devel
Guest1745 has quit [Ping timeout: 480 seconds]
<Namidairo> well if you can call service start on them you could probably change the password anyway so not the end of the world
<hanetzer> Namidairo: readonly fs :)
<Namidairo> I assumed something vaguely modern
<hanetzer> eap660hd. also one of the eap2xx-wall's if google is to be believed
<Namidairo> or is /etc/shadow something that does not overlay
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<hanetzer> vendorwrt-ish.
<Namidairo> should be fine so long as you don't manage to wipe u-boot in terms of that uart lol
<hanetzer> yeh. I wonder about the fw upgrade mechanism. there's a header/footer on the vendor fw
<hanetzer> SupportList: EAP660 HD(TP-Link|UN|AX3600-D):1.0 or similar on the ass end.
<hanetzer> dts says there's a spi nor flash but I can't see it in /dev or on the board itself.
danitool has quit [Ping timeout: 480 seconds]
<Namidairo> are you sure that's active though
<Namidairo> I've seen spi-nor nodes just lying around in nand devices
<hanetzer> yeh.
<hanetzer> possible.
<hanetzer> cliclientd stopcs exists/'works' on it.
<hanetzer> I'm really curious who figured that out in the first place :P
feng has joined #openwrt-devel
feng has quit []
cbeznea has joined #openwrt-devel
Pepes has quit [Quit: WeeChat 3.4]
lelux has joined #openwrt-devel
lelux_ has quit [Read error: No route to host]
ekathva has joined #openwrt-devel
valku has quit [Quit: valku]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
danitool has joined #openwrt-devel
lelux has quit [Quit: ZNC - https://znc.in]
rua has quit [Ping timeout: 480 seconds]
lelux has joined #openwrt-devel
rua has joined #openwrt-devel
pepe2k has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
robimarko has joined #openwrt-devel
Tapper has joined #openwrt-devel
<aparcar[m]> ynezz: please have a look https://gitlab.com/ynezz/openwrt-ci/-/merge_requests/11
danitool has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
<rsalvaterra> We should backport this, no?
<rsalvaterra> Or it should have been cc'd to stable, actually.
shibboleth has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
f00b4r0 has joined #openwrt-devel
Tapper has joined #openwrt-devel
arthur_melo has joined #openwrt-devel
minimal has joined #openwrt-devel
<hanetzer> hrm. is it possible to use tplink-safeloader without the partition-table/etc? the vendor factory image *looks* similar but its missing those.
<ynezz> pepe2k: hi, have you decided yet? :) https://patchwork.ozlabs.org/project/openwrt/patch/20220329063441.20595-1-ynezz@true.cz/ ("build: target: improve UX of CONFIG_TARGET handling")
Tapper has quit [Ping timeout: 480 seconds]
<pepe2k> ynezz: didn't I reply?
<pepe2k> I did!
<ynezz> ok, so to make it more clear, it would be nice to have `CONFIG_TARGET=platform|target|subtarget|env` ?
<pepe2k> that was my initial idea, but you preferred to fix the wiki instead? I'm OK with both tbh
<pepe2k> that "platform" thing there comes from the old build code I think
<ynezz> ok, makes sense
<ynezz> BTW wondering about following cargo cult for kernel modules: AUTOLOAD:=$(call AutoLoad,99,selftests)
<ynezz> I mean, shouldn't it be just fine to leave available in the filesystem and let kernel decide when to load it?
<ynezz> if it's not needed, then it's probably just wasting memory etc. right?
<ynezz> ah, well, it's probably due to missing depmod
<pepe2k> ynezz: regarding the UX of CONFIG_TARGET, if we decide to make some changes (e.g. add target==platform) then also the 'subtarget_platform' should be extended to support also 'subtarget_target' keyword... probably dropping 'platform' is not a good idea because of backward compatibility reasons?
<pepe2k> on the other hand, sounds about right time to 'fix' that naming convention there (platform vs. target)? not that sure really
<ynezz> pepe2k: so something like http://sprunge.us/FUmIbZ ?
<pepe2k> ynezz: yeah, perfect, do you mind sending it to ml for others to look at?
<ynezz> done
ekathva has quit [Remote host closed the connection]
Tapper has joined #openwrt-devel
<mrkiko> anyone sendt messages for my nick?
<mrkiko> I don't know how to use irssi to search for these things still
<neggles> hurricos: i thought the whole point of bcache was writeback
<neggles> though shouldn't you be using the 'aio' io engine?
rua has quit [Ping timeout: 480 seconds]
<karlp> mrkiko:nothign I can see. (hve you tried ctrl-r? I can't remember what irssi bindings are anymore, using weechat now)
<mrkiko> karlp: I am really grateful for you to search for me; well, I was playing with lastlog
<mrkiko> /lastlog -hilight and so on
<neggles> hanetzer: all the EAPs can be SSH'd into when they've been factory reset then set up in standalone mode
<neggles> and proper ipq807x support requires kernel 5.15 so it can probably come back soon
<hanetzer> neggles: I don't understand what you're replying to :)
<neggles> that is fair
<neggles> the EAP660 HD stuff
<hanetzer> yes.
<neggles> also do you have that root password hash because I suspect I know what it is
<hanetzer> I don't have it, I do have the hash tho
<neggles> $1$L7U9pADK$J2ysnqYWnBsWYHCUuuFKV/:HWOmada
<hanetzer> nope.
<neggles> what's the hash?
<neggles> my RTX2080 is bored.
<hanetzer> $1$$zZDeYPLChILP8Yf3nwYY.1
<neggles> omg it's unsalted
<hanetzer> yeh
<schmars[m]> RTX2080 should be finished cracking by now? :D
<Namidairo> someone already ran it past a big dictionary
<Namidairo> presumably it's some terrible leetspeek variation of a tp-link related phrase that you'd have to generate yourself
<hanetzer> yeh.
<hanetzer> stintel: hey. about the EAP615-Wall. You patched the tplink-safeloader.c for it, and said `.first_sysupgrade_partition = "os-image",`, but I don't see an "os-image" in your partition table?
valku has joined #openwrt-devel
<hanetzer> hrm... slh seems the tree you pointed me at is having compile difficulties for firmware-utils
<neggles> blergh yeah not a known hash
<neggles> well
<hanetzer> actually nvm.
<Slimey> heh whats this we brute forcen'?
<Slimey> i had to do the same against adtran bluesocket root account
<hanetzer> Slimey: a few tp-link eap* devices seems to have that above zZDeY hash
<neggles> the $$ is weird
<neggles> but meh
<hanetzer> the $'s are delimiters of a sort.
<hanetzer> $type$salt$hash
<neggles> yeah
<hanetzer> $type$$hash << no salt
<neggles> but mkpasswd et al. don't like doing empty salt
<Namidairo> it's unsalted so you could probably just feed in the converted md5
<Namidairo> unless crypt did things like "we ran it through 10000 rounds" or similar...
<Namidairo> ah, it's 1000 iterations.
<hanetzer> hrm.... yeah. slightly different tplink-safeloader format ehre.
<Slimey> i think i ran the adtr pass thur rockyou rule with word dictionary it was that simple of a pass
<hanetzer> heh
<Slimey> because who doesnt like bandwidth
<Slimey> ¬_¬
<hanetzer> so normally, tplink-safeloader is size:md5:filler:fwup-ptn:partition-table:SupportList:firmare/fit-image; this image appears to be size:md5(same salt?):some-stubbed-out-thing-with-just'support-list and soft-version':ubi:SupportList
<hanetzer> (the ubi contains the kernel and rootfs)
<neggles> aaaaaaand let me just go wake up the third one
<hanetzer> more or less the same image alignments and theoretically the same algos. this'll be fun.
<hanetzer> on that note. is there a quick'n'dirty way I can run the md5 algo for the tplink-safeloader to check it?
<Slimey> heh nice
<Slimey> too bad i cant use distributed hashcat on lab classrooms here :(
<hanetzer> _NSAKEY
<neggles> i'm impressed with how zippy this laptop A3000 is
<neggles> doesn't quite keep up with the 2080 but it's not as far behind as it ought to be
<hanetzer> someone try shoadmin against it.
<hanetzer> ugh. I wish opencl wasn't such dix to get runnin :P
<neggles> lol yeah
<neggles> i dunno how to test md5crypt() without a salt
<neggles> everything wants a salt
<neggles> i guess i could throw it a one-word wordlist
<hanetzer> yeh. did dat. no joy tho
<neggles> its possible that it's salted and they just deleted the salt
<neggles> making it effectively disabled
<neggles> but that'd be mean and they're not generally that clever
<hanetzer> ahhh, I know what I'll do. I'll just bodge src/md5.{c,h} into a standalone executable :P
<robimarko> Nah, TP-Link aint that clever
<hanetzer> robimarko: oh hey, it you. I have an ipq807x device :)
<neggles> hanetzer: it's not quite that simple
<neggles> crypt() uses base64 with a custom character set for output encoding >:(
<robimarko> hanetzer: Which one?
<neggles> he done got an EAP660 HD
<hanetzer> yee
<robimarko> Oh, that one is nice
<hanetzer> neggles: I meant for checking the firmware out, not for the password thing :)
<neggles> ohhhh
<hanetzer> robimarko: would be nicer if they didn't leave out three jumper resistors on tx/rx/pwr of the presumptive uart tho :P
<robimarko> If it wasnt TP-Link I would be surprised
<neggles> did they just leave out the 0R or are they 1.8V IO?
<robimarko> But they have been pulling that for a decade
<robimarko> IPQ807x is 1.8V
<hanetzer> anyone know offhand which binary actually flashes the the vendor firmware on tp links?
<robimarko> So make sure your UART adapter is 1.8V, otherwise its gonna be costly
<hanetzer> robimarko: k, with that said, what resistors should I use? :P
<robimarko> 0 Ohm should be fine
<neggles> 0-ohm and a 1.8V CP2102/FTDI/etc
<robimarko> Or just bridge it with solder
<neggles> all these blasted FSM99xx chips are 1.8V too grr
<hanetzer> I'm using a blackpill running blackmagic firmware tbh.
danitool has quit [Quit: Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos]
<hanetzer> my ttl died recently :P
<neggles> hanetzer: that will kill it.
<robimarko> For me the knockoff FT232R are best
<robimarko> Been using them for years
<neggles> those are 3.3V
<hanetzer> neggles: figured.
<neggles> i've become a CP2102N guy lately
<neggles> cause you can get 'em for about three bucks
<hanetzer> anywho, focus. which binary flashes updates? :P
<neggles> there's a couple of good 5/3.3/2.5/1.8V FTDI breakouts
<hanetzer> I'll grab some.
<neggles> aliexpress <3
<neggles> hanetzer: it's probably entirely dependent on the specific platform
<neggles> but if cliclientd stopcs works that should kill the signature check like with eap615
<hanetzer> well, it 'works' in that the command exists and it returns 0 :P
<neggles> robimarko: if you're wondering what an FSM9900 is, "LTE femtocell chip aka an APQ8064 with a cubic assload of HEXAGON"
<robimarko> It seems that everybody has got LTE cells these days
<neggles> *AND THEY ARE ALL QUALCOMM FSM9900*
<neggles> I have disassembled no fewer than *eight* different models and if FCC internals are anything to go by
<neggles> it's FSM9910, FSM9916, FSM9900, and the occasional "actually we used an Analog Devices frontend and a Zynq UltraScale"
<neggles> also they basically run android kernels.
<neggles> and expose ADB. so that's neat.
<neggles> 5G ones are FSM10k and now I am going the heck to bed before I rant about LTE in the wifi router software development channel again heh.
<neggles> (my fav thus far has been the sprint magicbox 544/587, both of which contain three independent SoCs for really dumb reasons that boil down to "Qualcomm Sucks". ok night y'all)
goliath has quit [Quit: SIGSEGV]
<hanetzer> robimarko: so, your openwrt tree/ipq branch. you taking prs for that? :P
<robimarko> Yeah, off course
<robimarko> Most boards there were contributed by users via PR
<hanetzer> so apparently the runtime dts differs significantly from the on-disk one :P
<robimarko> Thats bootloaders fault
<hanetzer> for instance, the nand partitions are not listed unless its a live system.
<robimarko> They are patching it via the bootloader
<robimarko> You can use the SMEM parser instead
<hanetzer> splain :)
<robimarko> Those partitions are just parsed out of SMEM by the bootloader
<robimarko> And then it will patch those in
<robimarko> And in a really nasty way if there is a partitions subnode
<robimarko> You can just use the in-kernel SMEM parser to populate the partitions
<hanetzer> ah, so don't bother putting them in the dts manually?
<robimarko> Yeah
<robimarko> I mean, you could used fixed-partitions
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_sunxi.html has been updated. (0% images and 99.6% packages reproducible in our current test framework.)
<robimarko> But then you have to use the trick I used in AX9000 with the fake disabled partitions node
<hanetzer> tbqh i'm a bit miffed. quite a lot of the tplink-safeloader using images specify 'os-image' as the first partition but don't evne have it listed in their list of partitions
<robimarko> For anything IPQ807x related, jump in the AX3600 thread or make a new one in the forum
<hanetzer> well, its not ipq per se. its just a safeloader image that's not quite the same as others :P
<robimarko> I meant in general regarding that device
<robimarko> Anybody else having issue with building the gpio-button-hotplug?
cbeznea has quit [Quit: Leaving.]
cbeznea has joined #openwrt-devel
shibboleth has quit [Quit: shibboleth]
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
<ynezz> with 5.15?
<ynezz> robimarko: ^
<robimarko> Yeah
<robimarko> It fails on the No rule to make target
<robimarko> Nothing more usefull than that
<ynezz> it works fine here with armvirt/64 and CONFIG_ALL_KMOD=y
<ynezz> imx is fine as well, sunxi too
<robimarko> Lets try cleaning again
<rsalvaterra> robimarko: Building fine here too in both targets I've tested (ramips/mt7621 and mvebu/cortexa9)…
<robimarko> OK, its gotta be a dirty buildroot issue(Though I distcleaned today)
<rsalvaterra> It's possible. The weirdest errors I've seen happened when musl was bumped.
<robimarko> Yeah, that is why I distcleaned after rebasing since musl update was there
<robimarko> But I know why it failed
<robimarko> I ran make clean
<robimarko> And then tried building mac80211
<robimarko> But the kernel wasnt built
<rsalvaterra> Oh, chicken and egg… :)
<Tapper> Hi people. Can any one test that they can make a new env for me pleas? I did a distclean and ./scripts/feeds update and then install are working for me, but ./scripts/env will not work.
<Tapper> tapper@TappersPC:~/openwrt$ ./scripts/env new r7800
<Tapper> error: unknown switch `b'
<Tapper> ./scripts/env: Failed to initialize the environment directory
<Tapper> I am using Ubuntu on WSL2 windows 11.
<Tapper> If some one can let me know that it is working for them then I will know that my wsl install is fucked!
pepe2k has quit [Remote host closed the connection]
<hanetzer> what even is scripts/env ?
<karlp> using git to magically have multiple config trees in the same build root
sorinello has quit [Ping timeout: 480 seconds]
<hanetzer> ah
indy has quit [Ping timeout: 480 seconds]
lelux_ has joined #openwrt-devel
ekathva has joined #openwrt-devel
lelux has quit [Ping timeout: 480 seconds]
<mrkiko> robimarko: hi, can you help me out with the gl-b2200 DSA conversion?
<robimarko> Not right now
<mrkiko> robimarko: np
<robimarko> Send me a PM on the forum or something, will reply when I have time
<mrkiko> robimarko: is IRC ok for you?
<robimarko> Better forum PM
<mrkiko> robimarko: :(
<robimarko> Cause, I will forget the IRC PM for sure
<mrkiko> robimarko: can understand, maybe I'll send you an e-mail directly
<robimarko> That works as well
<robimarko> Even better
<mrkiko> robimarko: sahrtura address, thanks
<robimarko> Better on my private email: robimarko@gmail.com
<mrkiko> fine, thanks!!
<hanetzer> question, how can one definitively tell the difference between ipq807[0-9] devices?
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_omap.html has been updated. (11.1% images and 100.0% packages reproducible in our current test framework.)
dangole has joined #openwrt-devel
<svanheule> hanetzer: I was the one who figured out "cliclientd stopcs" exists. Cost me quite a few nights of staring a decompiled code >_>
<hanetzer> svanheule: many thanks, then. what exactly does it achieve? still need the tplink-safeloader header?
<svanheule> hanetzer: firmware layouts in tplink-safeloader usually concat "os-image" and "file-system" into one "firmware" partition
<svanheule> hanetzer: the image generator then just takes the first 64kB of the unified firmware partition, and calls that the "os-image" partition, the rest is put in "file-system" IIRC
<svanheule> and since flash layout is contiguous, that results in a working device :)
danitool has joined #openwrt-devel
<svanheule> hanetzer: the stopcs disables the signature check, but there were other checks on total file size. So something with the size of a signature still needed to be present
<hanetzer> ahhh
<svanheule> I was actually worried TP-Link would insta-plug that stopcs hole allowing unsigned FW-s to be uploaded; but it seems they don't care
<hanetzer> so, this device is a 'dual boot' with ubi :P
<hanetzer> "Them fuckin' nerds will just figure something else out" or something :)
<hanetzer> but yeah. this device has something akin to a tplink-safeloader header, but its split into a header and a footer, and the header part is a bit different :P
<svanheule> you should have a look at the commit messages for the EAP245v1/EAP225v1. Those are older FW-s where stopcs didnt' exist yet
<svanheule> are there already other NAND devices supported by tplink-safeloader?
<hanetzer> not that I've found yet.
<hanetzer> but yeah. its 0x1814 header, ubi(kernel+rootfs), and a footer
<svanheule> I've been following the EAP6xx device releases, but so far they've all turned out to be ipqXXXX :(
<svanheule> except for the EAP615-Wall, of course
<hanetzer> yee. this one is ipq807x
<svanheule> I think there's also ipq60xx devices; the SoC (family) name is the filename of the available GPL archives
<hanetzer> yeh
<hanetzer> the eap660 gpl archive is incomplete. where linux-4.4 should be, it just has a broken symlink lmao
<svanheule> there is *an* archive, that's already a step up from some other vendors :P
<hanetzer> but yeah. what one would think of as the partition list partition is ... nonstandard, and the 'SupportList:\r\nFoobar' bits are at the end of the firmware :P
srslypascal has quit [Quit: Leaving]
rua has joined #openwrt-devel
<svanheule> the safeloader format doesn't require any particular order to the included partitions
Borromini has joined #openwrt-devel
<svanheule> hanetzer: oh, great fun, they changed the safeloader partition table format :(
<hanetzer> svanheule: yeh.
<hanetzer> got it up in kaitai right now.
<svanheule> hanetzer: I think the table format is: name [0x10 bytes], offset (starting from 0x1814) [UINT32_BE], size [UINT32_BE], partition type (?) [UINT32_BE] for entries. It starts with the UBI payload size, "0x00000002" (partition count?), "0x00000000" (delimiter?)
rua has quit [Ping timeout: 480 seconds]
<hanetzer> that's what I was getting at, yeah
<stintel> hanetzer: check the reviews on the ML, I believe there's something about that
<hanetzer> stintel: hmm? remind me what you're replying to :P
<stintel> eap615 partition
<stintel> I'm in the middle of nowhere with sporadic access to irc :P
<hanetzer> ah
<hanetzer> kk
<Tapper> hanetzer If you do builds for more than one router it is verry good.
<Borromini> is something amiss with the EAP615??
<Borromini> just when I'm about to get mine :( :(
rua has joined #openwrt-devel
ekathva has quit [Quit: Leaving]
<svanheule> Borromini: no need to get startled, everything's fine with the EAP615-Wall
<Borromini> <3
<stintel> thanks to svanheule's reviews ;)
<hanetzer> Borromini: yeah, just gathering info on its cousin
<Borromini> which is?
<hanetzer> eap660-hd
<Borromini> ok :)
<hanetzer> ipq807x
<hanetzer> it has a ~tplink-safeloader header, but not quite :)
<Borromini> lovely :P
mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
mangix has joined #openwrt-devel
<stintel> how is it a cousin if it's qca :P
<hanetzer> stintel: wifi 6 and same manuf :P
<hanetzer> reminds me of count olaf
<stintel> I read that as cunt
<Tapper> stintel hahaha
<hanetzer> hrm. google isn't turning up any kaitai struct data for ubifs :P
<Slimey> heh
c0sm1cSlug_ has joined #openwrt-devel
<hanetzer> well, I'm glad I got introduced to it. its neat.
lmore377 has quit [Quit: No Ping reply in 180 seconds.]
lmore377 has joined #openwrt-devel
<hanetzer> yep. first three releases of their firmware all have the same exact size and the same exact starting uint32_t at the start :)
c0sm1cSlug has quit [Ping timeout: 480 seconds]
srslypascal has joined #openwrt-devel
<hanetzer> and, the difference between the whole image size and the size given in the first four bytes is 128 for each image.
cbeznea has quit [Quit: Leaving.]
<svanheule> hanetzer: that would be the file's appended signature
<hanetzer> at the very end? (I'm assuming the hashing skips the first 4+16 bytes)
arthur_melo has quit []
arthur_melo has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (96.2% images and 100.0% packages reproducible in our current test framework.)
<rsalvaterra> Hmm… I wonder if nbd's bridger will also work as a replacement for trelay… https://github.com/nbd168/bridger
pepe2k has joined #openwrt-devel
<hurricos> neggles: the whole point is writeback, yes, it's just not as performant as I'd like apparetnyl
<hurricos> odd. Looks like it's all defaulting to psync (and looks like psync is much faster)
<hurricos> perf shows me most of the work is going into __bch_cache_cmp
<hurricos> I'm on an older kernel (Ubuntu 20.04) so that might be contributing
<hanetzer> svanheule: see, I'm not sure about your hypothetical definition of the new part table, because 0xe80000 is exactly the length between UBI# and SupportList:
<hanetzer> wait a minute.
T-Bone has joined #openwrt-devel
f00b4r0 has quit [Ping timeout: 480 seconds]
goliath has joined #openwrt-devel
shibboleth has joined #openwrt-devel
Borromini has quit [Quit: leaving]
pepe2k has quit [Remote host closed the connection]
xes_ has quit [Quit: bye..]
xes has joined #openwrt-devel
robimarko has quit [Quit: Leaving]
<russell--> if i modify network.wan.dns with uci on a temporary basis (not committed) what do i reload so that the new value is respected? after a few minutes my /tmp/resolv.conf.d/resolv.conf.auto is reverting to the commited values
<Habbie> russell--, if i recall correctly, .auto is written by the dhcp client in most setups
<jow> russell--: ifup wan should do the trick
<russell--> that's tricky, because i'm remote and i don't want to lose access
<jow> russell--: you might want to set network.wan.peerdns=0 too
<russell--> jow: that's set already
<jow> russell--: in that case: (ifup wan; sleep 60; reboot) &
<russell--> is ifup wan idempotent?
<jow> yes
<russell--> ah, cool
<jow> at least it is supposed to, quality might vary slightly depending on the involved proto handler
shibboleth has quit [Quit: shibboleth]
<jow> in any case, it might make sense to start a "reboot -d 60 &" before working on the wan config
<jow> if stuff continues working after "ifup wan", do a killall reboot
<russell--> i did some testing locally, it seems to work
<russell--> fwiw, i'm diagnosing a dns poisoning
<jow> hmm
<russell--> so i'm pushing resolution through a management vpn
<jow> as ins dnsmasq serving wrong replies?
<russell--> but to set up the vpn, i need regular dns, lol
<russell--> something upstream is feeding me 0.0.0.0 replies to things like time.apple.com
<russell--> it's local to the particular network
<russell--> that is, same isp elsewhere works fine
<minimal> russell: a pi-hole (or similar) I'd guess
Misanthropos has joined #openwrt-devel
<minimal> I've done that myself for time.apple.com in my local network
<russell--> the replies appear to come from 8.8.8.8 in tcpdump
<russell--> gateway.fe.apple-dns.net is another victim
<russell--> jow: ifup wan worked fine, thank you!
arthur_melo has quit []
<hanetzer> yeah there's something fucky going on here.
rua has quit [Ping timeout: 480 seconds]
<hanetzer> think I got it...
<russell--> minimal: does pi-hole forge dns?
Pepes has joined #openwrt-devel
rua has joined #openwrt-devel
<hanetzer> svanheule: yeah I misread what you meant. so basically there's a 12-byte description of the actual ubi firmware, then two 44 byte support-list and soft-version 'partition entries' which come $fw_size and ($fw_size + $support-list-size) after the start of the firmware?
<dwfreed> russell--: trace the mac address? assuming you have access to the network devices comprising the LAN
<Pepes> Guys, I would like to ask as I was told that next month in Hungary there is going to be Free Software Conference, where is going to be OpenWrt community and even some OpenWrt devs. What is the truth about this thing?
<Pepes> (my fault, I posted this first to #openwrt)
<minimal> russell: pi-hole is used to "blackhole" some dns names to point instead to something like "127.0.0.1" or "0.0.0.0" (not sure which it uses)
goliath has quit [Quit: SIGSEGV]
Grommish has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
Grommish has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
<russell--> minimal: yeah, but how does it work? do clients need to ask it, or is it doing something else?
<hurricos> If <mii dump 1 1> gives e.g. <(796d) -- PHY status register -->, why doesn't `mii write 1 1 0x796d` do anything?
<minimal> its used as DNS server by machines
<minimal> I've done the same myself when using dnsmasq where I have a local "/etc/hosts"-style file with some FQDN entries mapped to blacklist them
<russell--> dwfreed: macaddr matches the upstream router, but of course the macaddr is forgable too.
<dwfreed> russell--: can you tcpdump on the upstream router? Or if a network device in between can SPAN
<russell--> no, the upstream router is out of my control
<dwfreed> or even just use DoT; you can use something like socat to do the cross-translation
rua has joined #openwrt-devel
<hanetzer> man. I wish vendors would just use sysupgrade :P
<hanetzer> they already crib so much open source, what's another piece of software?
dangole_ has joined #openwrt-devel
Tapper has quit [Quit: Tapper]
dangole has quit [Ping timeout: 480 seconds]
dangole has joined #openwrt-devel
dangole_ has quit [Remote host closed the connection]
<hanetzer> https://paste.centos.org/view/2268fb47 wll, it works.
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
philipp64 has quit [Quit: philipp64]
Tapper has joined #openwrt-devel
<dwfreed> hanetzer: your e key doesn't, though
* dwfreed ducks
<hanetzer> *quack*
rua has quit [Ping timeout: 480 seconds]
romany1 has joined #openwrt-devel