OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Critical
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by nouman8 - 08.06.2017
Last edited by Mathias Kresin - 13.07.2017

FS#830 - No SSH Access to Device TP-Link MR3420 V2 (even in failsafe)

Yesterday i reported bug #828 which was fixed few hours later so i build toolchain from git trunk sources successfully on my Archlinux machine. on make menuconfig i selected profile tp link mr3420 v2 and only changed gcc toolchain version to 7.x and images were build successfully. i flashed sysupgrade image and lost ssh access to the router i could ping but when trying ssh root@ it shows “ssh: connect to host port 22: Connection refused” and even in FAILSAFE mode it shows the same error..
so i opened the router for serial access and run top command process “dropbearkey -t rsa -f /tmp/d” was running non stop with 100% cpu utilization...after that i reboot into the bootloader and flashed daily snapshot for mr3420v2 which restored ssh access.

Closed by  Mathias Kresin
13.07.2017 07:29
Reason for closing:  Duplicate
Additional comments about closing:  


Arjen de Korte commented on 08.06.2017 11:19

This is a known problem with dropbear and GCC7 (see  FS#814 ).

Kevin Darbyshire-Bryant commented on 08.06.2017 11:22

There's a known 'disagreement' between gcc 7, mips, dropbear & '-Os' optimisation. You could: Not compile with gcc 7. Or compile with gcc 7 but set the target optimisation flags from '-Os' to '-O2'.

Whether this is a gcc 7 bug, or a bug in an older 'libtommath/crypt' exposed by gcc 7 isn't clear.

nouman8 commented on 08.06.2017 11:27

how to set -Os flag to -O2 ?

nouman8 commented on 08.06.2017 12:44

off-topic: will ar71xx devices get 4.9 kernel anytime soon?


Available keyboard shortcuts


Task Details

Task Editing