Prompt missing via SSH

Hi Experts,
i have running a relayd configuration on my Netgear EX3700/EX3800.
All is working fine, but..
If i logon via SSH (putty) to the router, prompt and welcome screen is missing:

Using username "root".
root@192.168.1.9's password:


BusyBox v1.36.1 (2024-01-29 09:41:19 UTC) built-in shell (ash)

~ #

Any ideas, whats wrong ?

issue the following command:

ubus call system board
 ubus call system board
{
        "kernel": "5.15.137",
        "hostname": "Repeater_HW",
        "system": "MediaTek MT7620A ver:2 eco:6",
        "model": "Netgear EX3700/EX3800",
        "board_name": "netgear,ex3700",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.2",
                "revision": "r23630-842932a63d",
                "target": "ramips/mt7620",
                "description": "OpenWrt 23.05.2 r23630-842932a63d"
        }
}

That's fully up to date...

what happens when you do:

cat /etc/banner
~ # cat /etc/banner
  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.2, r23630-842932a63d
 -----------------------------------------------------
~ #

It's strange ..

What happens if you reboot the device?/

Same, rebooted device 10 minutes ago ..

hmm... I'm not really sure what's going on.

Let's look at:

cat /etc/config/dropbear
~ # cat /etc/config/dropbear
config dropbear
        option PasswordAuth 'on'
        option RootPasswordAuth 'on'
        option Port         '22'
#       option BannerFile   '/etc/banner'

The option BannerFile is the prelogin Bannerfile, i have tested it, it works .., but this is not the issue

That looks the same as mine does, so I don't really see any reason there would be an issue.

I honestly don't know what is happening.

This should fix the issue.

cp /rom/etc/profile /etc/
5 Likes

You saved my day !!!

Using username "root".
root@192.168.1.9's password:


BusyBox v1.36.1 (2024-01-29 09:41:19 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 23.05.2, r23630-842932a63d
 -----------------------------------------------------
root@Repeater_HW:~#

1 Like

Cool... I was out of idea... great work @pavelgl

1 Like

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