DSchndr_ has quit [Remote host closed the connection]
minimal has quit [Quit: Leaving]
<Mangix> ping Ansuel
Slimey has quit [Ping timeout: 480 seconds]
SlimeyX has quit [Remote host closed the connection]
thejoker8814 is now known as Guest6856
thejoker8814 has joined #openwrt-devel
Tapper has quit [Ping timeout: 480 seconds]
Guest6856 has quit [Ping timeout: 480 seconds]
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #openwrt-devel
tSYS has quit [Quit: *squeak*]
tSYS has joined #openwrt-devel
<damo22> Archer MR200 login:
<damo22> how do i log in to the terminal lol
<damo22> i have serial
goliath has quit [Quit: SIGSEGV]
<owrt-images-builds> Build [#241](https://buildbot.openwrt.org/images/#/builders/4/builds/241) of `master_mvebu/cortexa53` failed.
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
muley has joined #openwrt-devel
<muley> FYI I've seen a lot of bot traffic sniffing for this luci exploit lately. Probably been patched already (?), but just in case, the requests all are similar to this: https://pastebin.com/Uz9pqE3h
<muley> just wanted to report, thx for all you do
skynet2 has quit [Ping timeout: 480 seconds]
damo22 has quit [Read error: Connection reset by peer]
madwoota has quit [Ping timeout: 480 seconds]
madwoota has joined #openwrt-devel
damo22 has joined #openwrt-devel
rua has quit [Quit: Leaving.]
damo22 is now known as Guest6867
Guest6867 has quit [Read error: Connection reset by peer]
damo22 has joined #openwrt-devel
<damo22> i found passwd.bak in /etc of the vendor firmware
<damo22> but the password i cracked doesnt work
<damo22> /etc/passwd is a symlink to /var/passwd
<damo22> woot logged in
<damo22> admin:1234
danitool has quit [Ping timeout: 480 seconds]
<damo22> ASIC 7628_MP (Port5<->None)
<damo22> ah its a Ramips
damo22 has quit [Quit: Leaving.]
damo22 has joined #openwrt-devel
SlimeyX has joined #openwrt-devel
<damo22> heh i got the dropbear password but i cant shell in
<damo22> PTY allocation request failed on channel 0
<damo22> shell request failed on channel 0
<damo22> dang, the gpios are not on /sys/class/gpio
<damo22> theres a /proc/tplink with controls for them
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_ath79.html has been updated. (98.7% images and 100.0% packages reproducible in our current test framework.)
tidalf has joined #openwrt-devel
<damo22> system type : MT7628
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<russell--> damo22: can you get a u-boot prompt on the serial console?
<damo22> not sure how to interrupt u-boot
<damo22> i am trying to figure out the layout
<damo22> im not sure how the existing split layout for mt7628an_tplink_8m-split-uboot.dtsi works, because my mtd starts at 0:20000 (boot) but i have uboot
<damo22> my flash is 16m
<damo22> is it possible the "boot" partition is not actually starting at the beginning?
<damo22> where would u-boot live?
<damo22> [04050C08][04050C0D]
<damo22> DDR Calibration DQS reg = 00008986
<damo22> Board: Ralink APSoC DRAM: 64 MB
<damo22> U-Boot 1.1.3 (May 16 2023 - 17:33:33)
<damo22> cant seem to get a uboot shell
<damo22> its too quick
<russell--> damo22: tplink devices often you have to type (or paste) "tpl" at a strategic moment
<damo22> TFTP from server 192.168.0.225; our IP address is 192.168.0.2
<damo22> Filename 'tp_recovery.bin'.
<damo22> Loading: T T T T T T T T T T
<damo22> TIMEOUT_COUNT=10,Load address: 0x80060000
<damo22> Retry count exceeded; starting again
<damo22> if i hold down the reset button and press a key on the serial
<russell--> also, recommend logging your serial console so you can review what scrolls by too fast
<damo22> yeah
<damo22> i have minicom unlimited scrollback
<russell--> can you pastebin a full bootlog somewhere?
<damo22> sure
c512l has quit [Ping timeout: 480 seconds]
<russell--> also, which version do you have?
<damo22> TP-Link Archer MR200 v6
<damo22> sorry if you want inline https://zamaudio.com/mbox2/fullboot-mr200.txt
<russell--> around the time you see "RESET MT7628 PHY!!!!!!" try spamming the serial console with '4'
<damo22> works
<damo22> !!!
<damo22> MT7628 #
<russell--> your flash layout is here: https://pastebin.com/mzseKMYf
<damo22> yeah but where does uboot live
<damo22> in boot ?
<russell--> yes
<russell--> the last three partitions are going to contain important information, be sure to preserve them somehow in case you need to restore them later
<damo22> its just that i saw a dtsi file with a split layout that had factory-uboot and boot
<russell--> also the boot partition
<damo22> this seems to be very similar to my device layout, apart from the fact its an 8m version mt7628an_tplink_8m-split-uboot.dtsi
<russell--> first step in any device hackery: SAVE EVERYTHING
<damo22> yeah so can i dump spi flash internally to somewhere i can pick it up?
<damo22> i suppose i could attach a soic8 clip would that easiest?
<russell--> if you can log in, which you apparently can, dd each of the /dev/mtdblock* files to a /tmp/mtdblockN.img and then scp them off, is one method
<damo22> oh yea
<russell--> soic8 clip is another method, or micrograbbers (soic clips can be fiddly)
<damo22> i cant shell in via ssh for some reason
<damo22> vendor dropbear is broken
<russell--> can you scp *from* the device?
<russell--> from a serial console shell prompt
<damo22> hmm i will try
<russell--> if you use an extern spi programmer, read 4 or 5 times and make sure you get the same file content every time
<russell--> external*
<damo22> yeah, and not c2 a0 c2 a0 c2 a0
<russell--> sometimes you are fighting the CPU for access to the spi pins, best is to figure out how to hold the cpu in reset, but you can sometimes get away without doing that
<russell--> i have had good luck recently using a pi pico: https://codeberg.org/libreboot/pico-serprog
<russell--> ... and flashprog
<damo22> i ported a x86 chipset using a raspberry pi 2
<damo22> /usr/bin/dbclient: No such file or directory
<damo22> lost connection
<russell--> the other classic method is to tftpboot an initramfs image (which doesn't touch the flash) and then use the openwrt tools in that running version to copy of the flash
<damo22> nc
<damo22> lol dont have that
<russell--> the slow way is to use the u-boot command md.b to dump the flash contents to a serial console and then (after light modification) convert it back to binary using xxd
<russell--> it might take hours to dump at 115200
<damo22> yeah i might just dump with a clip
<russell--> that's fastest
<damo22> so i might need to tftpboot something that doesnt touch flash when i am trying stuff out
<damo22> but i need to backup flash first
<damo22> yeah dropbear seems borked
<russell--> you need to build the equivalent of the initramfs-kernel.bin files in here: https://downloads.openwrt.org/releases/23.05.3/targets/ramips/mt76x8/
tidalf has joined #openwrt-devel
<russell--> those will be a kernel with initramfs filesystem (running out of a tmpfs), that you tftpboot, and thereby not touch flash
<damo22> perfect
<russell--> ... not modify flash, that is
<russell--> but will have the tools (dd and scp) you need to make copies
<damo22> does it have vi?
<russell--> yes
<damo22> thats handy
<damo22> the vendor image does not have rmdir
<damo22> at least rm -fr works
<russell--> what kind of filesystem are they using?
<damo22> i think its squashfs
<russell--> "mount" should tell you
<damo22> ive shut things off for today
<damo22> time to eat
<russell--> what timezone are you in?
<damo22> Australia
<damo22> +10 or +11
<russell--> careful your router doesn't fall of the bottom of the earth into space
<damo22> heh
<damo22> flat earther hey
<russell--> there are members all around the globe!
<damo22> thats good
<damo22> decentralised
<damo22> im hoping to replace my router+old phone with a single device to save power
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<damo22> but theres no way i will run a vendor firmware
<damo22> we have something called NBN national broadband network, its a complete joke, the LTE network that is being superceded soon is already faster than my old wired internet
<damo22> because fiber to my premises would be too expensive to dig a trench, and would be upward of AUD$100 per month for a decent speed
<damo22> Australia mate, where the technology is backwards
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
ptudor has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robimarko has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf has quit []
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf has quit []
hitech95 has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf has quit []
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_mpc85xx.html has been updated. (100.0% images and 99.9% packages reproducible in our current test framework.)
tidalf has joined #openwrt-devel
tidalf has quit []
Namidairo has quit [Quit: ZNC - https://znc.in]
tidalf has joined #openwrt-devel
Namidairo has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit []
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit [Remote host closed the connection]
tidalf has joined #openwrt-devel
Borromini has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
Borromini has quit [Quit: Lost terminal]
rua has joined #openwrt-devel
goliath has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tidalf has joined #openwrt-devel
zkrx has quit [Ping timeout: 480 seconds]
tidalf has quit []
Borromini has joined #openwrt-devel
hanetzer1 has quit [Quit: WeeChat 4.2.1]
tidalf has joined #openwrt-devel
tidalf has quit []
hitech95 has quit [Read error: Connection reset by peer]
c512l has joined #openwrt-devel
rua has quit [Quit: Leaving.]
tidalf has joined #openwrt-devel
tidalf has quit []
rua has joined #openwrt-devel
tidalf has joined #openwrt-devel
rua has quit [Ping timeout: 480 seconds]
rua has joined #openwrt-devel
minimal has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zkrx has joined #openwrt-devel
bluew has quit [Quit: Leaving]
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_bcm47xx.html has been updated. (100.0% images and 100.0% packages reproducible in our current test framework.)
tidalf has joined #openwrt-devel
valku has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
Borromini has joined #openwrt-devel
valku has quit [Ping timeout: 480 seconds]
bfields has joined #openwrt-devel
Borromini has quit [Ping timeout: 480 seconds]
tidalf has joined #openwrt-devel
bfields has quit [Remote host closed the connection]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
tidalf has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
tidalf has joined #openwrt-devel
tidalf has quit []
Borromini has joined #openwrt-devel
minimal has quit [Quit: Leaving]
Mangix has quit [Read error: Connection reset by peer]
robimarko has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<KGB-2> https://tests.reproducible-builds.org/openwrt/openwrt_lantiq.html has been updated. (96.8% images and 100.0% packages reproducible in our current test framework.)
Borromini has quit [Quit: Lost terminal]
c512l has quit [Remote host closed the connection]