Can someone assist me in flashing OpenWrt onto my Edgerouter X? I've read the wiki and read through a lot of posts on the forum and I'm still confused. I'm a complete noob when it comes to these kind of things and reading bits and pieces from different posts on how to do it the correct way has left me confused.
I found a link to instructions here (http://www.makikiweb.com/ipv6/edgerouterx_openwrt.html), this sounds a lot easier than what I've been reading on this forum. Could someone confirm if i follow this exactly it will work? It mentions loading a file into the edgeos which no one has mentioned in any of the posts from what i've seen (they all start off with CLI commands). One thing I do recall is people having issues loading/upgrading to the 19.07 version but the link above makes it sound so easy?
If you do not trust a built image by a "3rd party". Then you could make the image mentioned under 2nd by your own also. The steps for this are described within the 3rd referenced link.
Thank you. I've read those pages and was confused, that's why I posted here hoping someone told me the exact steps/commands to type. I'm also guessing I do this via PuTTY in Windows?
For step 1 and 2 you do not need any command line tools like putty. Even for the 3rd step you would probably have a GUI available (don't know for sure). If not just start putty, connect to 192.168.1.1 on port 22 with username "root". Connect your router to internet before also and type in:
Strange. If I click on the link the file is getting loaded. Maybe you can try another browser or use a download manager? If you work with command line for step 3 you don't need to download the file before because "wget" is doing this.
Ok so i've loaded the initramfs file but the only way i can connect to the router via putty is if i give myself a 192.168.1.* IP address which disables my internet connection so i can't use the wget command. Any idea?
I also opened a command prompt and tried to follow what the other page mentioned but got this error
pscp openwrt-19.07.4-ramips-mt7621-ubnt-erx-squashfs-sysupgrade.bin 'root@[192.168.1.1]/tmp/'
Local to local copy not supported
i've tried a few combinations of the above and get different errors
More than one remote source not supported
ssh_init: Network error: Cannot assign requested address
More than one remote source not supported
I've also tried connecting to my phone's hotspot while connected to the router via putty and the wget command returns the error
Thank you. Yes I loaded the initramfs through edgeos but every pscp command I tried gave me an error. I then tried your scp command above and it seems to have transferred it even though i'm on windows.
I followed your sysupgrade command and some error popped up about the session being closed and the ssh session says Commencing upgrade. closing all shell sessions.
Is this correct? How long do I have to wait - should i power off the Edgerouter now and power it back? it's been like 2 minutes.
Normally there is no need to power cycle the device. You should be able to access the device over your Webbrowser (http://192.168.1.1) after a while (2 minutes sounds good).
Don't forget to setup ethernet on your PC again if necessary.