Fresh install, can't LUCI, noob questions

I Finally managed to make my Ubiquiti Edge router run openwrt, I have it installed (old version, part of a work around), but I cant use LUCI for some reason. The router answers my ping, and I can SSH it, but no Luci.

Any way to fix it? I can upgrade to the latest version via ssh, but I will need some hand holding, cause
with the newcomers guide I still couldn't figure it out
Here is the ssh start page:


  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------------------------------
 |                                                                           |
 | OpenWrt 18.06-SNAPSHOT, r7911-f65330d27d                                  |
 |                                                                           |
 | Build time: 2019-11-17 19:04 CET                                          |
 | Cezary Jackiewicz (obsy), http://eko.one.pl                               |
 |                                                                           |
 -----------------------------------------------------------------------------
 | Machine: UBNT-ERX-SFP                                                     |
 | Uptime: 0d, 00:08:11                                                      |
 | Load: 0.06 0.04 0.00                                                      |
 | Flash:                                                                    |
 | Memory: total: 247.9MB, free: 229.7MB, used: 7%                           |
 | WAN:                                                                      |
 | LAN: 192.168.1.1, leases: 1                                               |
 -----------------------------------------------------------------------------
 === WARNING! ================================================================
 There is no root password defined on this device!
 Use the "passwd" command to set up a new password
 in order to prevent unauthorized SSH logins.
 -----------------------------------------------------------------------------
root@OpenWrt:~#

You have installed a snapshot image. Read the link for instructions how to install Luci, which is not installed by default in snapshots.

Alternatively, use the command line sysupgrade to upgrade to 19.07.10 or 21.02.3 (the latest OpenWrt versions -- 21.02 preferred).

Embarrassing. Didn't noticed.
So I have to upgrade via ssh not right?

Yes, you'll need to use ssh to do the firmware update. It's not hard -- the instructions are in the 2nd link.
Update to one of the stable releases and it'll include LuCI.

The first step threw me off:

"upgrade files must be placed in /tmp, as the sysupgrade procedure unmounts flash storage during the upgrade process. If the upgrade file is not in /tmp, sysupgrade will NOT perform any upgrade and only reboot the system."

How do I move the latest version to the /tmp folder?

If you download the firmware to your computer first, you can copy it via scp to /tmp/. On a Mac or Linux system, you can use scp directly from the linux command line. On Windows, PuTTY is the common app for this function.

if you use an ssh session and wget to do this, you can simply change to the /tmp directory before you run wget.

Command Line instructions are here:

Then run sysupgrade by pointing to the file in /tmp.

On top of that, luci or using sysupgrade with the firmware URL will do so automatically.

1 Like

It will have to be the firmware URL on the command line via ssh because you will not be able to install LuCI while running an old snapshot.

Thanks psherman for all the help. I'll try wget tommorow.
Openwrt has the best support forum I have ever used.

Cheers

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.