some friend gave me an archer c7 v2 with an old version of openwrt (I think 2016 or 17) but it has no gui or luci... I just enter using putty and I have no idea how to use it and I want to update it to the latest version of Openwrt WITH GUI AND LUCI above all.
My friend used it without problems to extend his wired internet but I want to use it as the main router and apparently, it is configured as dumb-ap and also seems to have an ips conflict with my modem because when it is connected by cable from the lan port to My laptop can only enter by putty (this is what I mean when I say that it does not have gui or luci) using 192.168.1.1 and root but if I connect the modem cable to the router's lan input and another cable from another router's lan to My laptop already has internet but I disconnect from putty ... it stops working because my modem is 192.168.1.1 ...
I do not know what to do, someone helps me install the latest version of openwrt by ssh to this poor archer c7 and not die trying, please?
Download the 19.07 or 21.02 sysupgrade to your PC and save on the disk. Then disconnect the PC from any wired or wifi networks.
Boot up the router not connected to any network. After the power light stops flashing, reset OpenWrt to defaults by holding down the reset button for 5 seconds then release, and wait for all the lights to flash out and reboot.
Connect one of the LAN ports to the Ethernet port of the PC. PC should obtain a DHCP address 192.168.1.X. ssh to the router at 192.168.1.1. If you have ssh'd to anything at 192.168.1.1 before, you will need to forget the host key in your ssh client and remember the new key. There will be a rather dire warning that you may be sshing to a malicious site, but actually it is just a new device which you can trust since you know it is the only thing reachable on your network.
In another window scp the firmware to 192.168.1.1:/tmp. Be sure to specify the /tmp directory, or you will either just make a copy on your local disk, or crash the router by overflowing the flash chip.
Back to the ssh window you can optionally run sha256sum on the firmware file and compare the result to the web page. Then run sysupgrade -n -F /tmp/openwrt-....-sysupgrade.bin. Since the new version is ath79 and the old builds were ar71xx, you will need to force the upgrade with -F. Since -F will flash anything including a potential brick, be absolutely certain you're using the right file, and it is sysupgrade not factory.
next in the wiki says this and here im stuck... i got the file in my pc but dont know how to upload it to the router sorry sorry hundren times sorry but These things from the console or terminal confuse me a lot, I'm not good at this ...
On Windows 10, open a command prompt (does not need to be powershell) and execute
scp openwrt-19.07.7-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin firstname.lastname@example.org:/tmp
Then go back the ssh window and confirm that the file is now in the routers /tmp directory (which is a RAM disk, it will only stay there until the next reboot). You can then run sha256sum again on the router to check the file copied correctly.