Please walk me through, how log in to OpenWRT-Linux-shell on RM551E-GL and enable OpenSSHD and LuCi web interface?

Hi @keven.wu-q @silvia @iamromulan ,

Can you walk me through this:

  1. How do I log in to the shell on the OpenWRT-Linux that runs inside the RM551E-GL, and, once logged in,

  2. How do I enable the OpenSSHD server on port 22, and

  3. How do I enable the OpenWRT LuCi web interface?
     

For 1., I believe I need to connect via UART. Is this correct, or is there another way.

Once I have the connection to the Linux login, is the username “root”?

On the RM551E-GL what is the default password supposedly.
 

For 2., for OpenSSHD:

opkg update
opkg install openssh-server
echo Port 22 >> /etc/ssh/sshd_config
echo PermitRootLogin yes >> /etc/ssh/sshd_config
echo PasswordAuthentication yes >> /etc/ssh/sshd_config
/etc/init.d/sshd start
/etc/init.d/sshd enable

Alternatively “dropbear” SSH server:

uci set dropbear.@dropbear[0].Port=22
uci set dropbear.@dropbear[0].RootPasswordAuth='on'
uci commit dropbear
/etc/init.d/dropbear restart

 

opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

 

Above are my guesses. Please clarify how to do the above. Many thanks.

The module you get is a standard cellular module. Although it runs OpenWrt, it is not a development board. You can only use it as a modem and connect it to a Linux Host SoC.

If you must develop a router based on RM551E, please contact the salesperson and develop based on RG651E. Quectel will release the SDK for RG651E.

Or you could break into the OpenWRT system on the RM551E-GL via ADB and then do whatever you want. We may not have the SDK but these things are not too hard to figure out. The firmware is just ubi images, can easily edit them and rebuild. The kernel we may not have the source but we have the image from the firmware and it’s an android kernel. There’s plenty of tools out there like Android image kitchen, may even be able to edit the kernel command line that way.

I broke into the OpenWRT system, set-up a proper overlay file system, added the init scripts for uhttpd and dropbear and made my own firmware in the end. Works great in AP modes. :+1: