I see very briefly "LuCI - Lua Configuration Interface" appear on the screen, then this error:
/usr/lib/lua/luci/dispatcher.lua:518: Invalid controller file found
The file '/usr/lib/lua/luci/controller/openvpn.lua' contains an invalid module line.
Please verify whether the module name is set to 'luci.controller.openvpn' - It must correspond to the file path!
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:518: in function 'createindex'
/usr/lib/lua/luci/dispatcher.lua:544: in function 'createtree'
/usr/lib/lua/luci/dispatcher.lua:220: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>
any one suggest how to resolve this, or connect to the router bypassing the error?
I work in IT, but not done much with linux nor router firmware, and nothing with LEDE / OpenWRT
Just sysupgrade to LEDE 17.01.4 (again), to write a known good image to flash.
If you feel comfortable with snapshots and installing luci yourself (the web interface isn't preinstalled in snapshot images), snapshots would enable the second CPU core, which is particularly useful if you need performance for a VPN.
Yes, that looks correct to me on how to reset the password in "failsafe" mode.
Getting into failsafe mode can be a challenge, depending on the model. If OpenWRT is running, many (most? all?) let the "reset" button during boot select failsafe mode. On my routers, TP-Link Archer C7, the first-stage bootloader does a "light check", then the power light goes off. It starts flashing quickly when OpenWRT starts loading (I assume that is what's happening). If I click the reset button during those couple of seconds, OpenWRT enters failsafe mode, with the power LED flashing even faster. (If I miss the window, the power light goes solid). Your router might be different.
Congrats! you got it in faster than I could type. Go, go, go
So I reset to normal, and let it eventually provide the 192.168.1.1 address again, and then I could connect, but again didn't know the password.
Then I rebooted the router into failsafe, got the prompt again, used the mount command, then passwd, then put too short a password in, then it seemed to terminate the session.
I'll try the process again. Didn't realise there was a minimum password length at this stage...
Since you seem comfortable with the command line, and I know you won't lose your password , it's pretty easy to install the GUI over a snapshot once you've got outside connectivity. If I were in your shoes, I'd set up the outside connectivity with the GUI, then make sure you check the "Preserve system settings" (I forget the exact wording) when you flash a new image. After that it's just a couple opkg commands to get LuCI (with TLS, if you've got enough space) up and running.