GithubHelp home page GithubHelp logo

Comments (8)

devbis avatar devbis commented on July 23, 2024

https://openlumi.github.io/gain_root.html#gaining-root
Did you try updating dropbearmulti from the lines in the first paragraph?
Probably, you have dropbear with missing ssh server support.

from openlumi.github.io.

FloyFire avatar FloyFire commented on July 23, 2024

Thank you for replying! Unfortunately, yes. I have tried every possible option. The command "/etc/init.d/dropbear start" has no effect on the gateway.

Used and this command: "sed -i "s/#mxc0/mxc0/" /etc/inittab"
and this
"mv /usr/sbin/......", "echo -e "GET /openlumi/......", "chmod +x /usr/....."

This inscription never happened: "Starting Dropbear SSH server: Pseudo-terminal will not be allocated because stdin is not a terminal."

If you need to send something from the data, please tell me about it.

from openlumi.github.io.

devbis avatar devbis commented on July 23, 2024

Can you see the process running?
ps aux | grep dropbear

from openlumi.github.io.

FloyFire avatar FloyFire commented on July 23, 2024

Dear devbis, thanks for the feedback! I ran the command and got this result:
2

root@imx6ull14x14evk:~# ps aux | grep dropbear

root 838 0.0 0.1 1872 332 ttymxc0 S+ 23:16 0:00 grep dropbear

If I understand correctly, this command tells the terminal if dropbear is running?

P.S. I'm not sure if this information is useful, but I have used the ./reset.sh command a couple of times to reset the device to its original settings.

from openlumi.github.io.

devbis avatar devbis commented on July 23, 2024

Nope, it doesn't run at the time of screenshot, means the problem is with the start.
You could try to run it manually, like dropbear -R -F -E but I'm not sure about the correct flags. Probably clues are in /etc/init.d/dropbear

from openlumi.github.io.

FloyFire avatar FloyFire commented on July 23, 2024

Dear devbis! When I entered the command: dropbear -R -F -E, it seemed to start.

1

root@imx6ull14x14evk:/home# dropbear -R -F -E
[9425] Oct 07 15:21:32 Not backgrounding

If I understand correctly, "not backgrounding" just says that it is not a background process, but it's ok.

Tried to connect, it came up with this:

2
[9435] Oct 07 15:21:37 Child connection from 192.168.1.134:33120
[9435] Oct 07 15:21:37 Couldn't create new file /etc/dropbear/dropbear_ecdsa_host_key.tmp9435: No such file or directory
[9435] Oct 07 15:21:37 Exit before auth: Couldn't read or generate hostkey /etc/dropbear/dropbear_ecdsa_host_key

Also, I tried to create a key with the command: dropbearkey -f ~/.ssh/id_dropbear -t rsa -s 2048. It didn't work.

from openlumi.github.io.

devbis avatar devbis commented on July 23, 2024

Does /etc/dropbear/ exist? If not, create it with mkdir -p /etc/dropbear

from openlumi.github.io.

FloyFire avatar FloyFire commented on July 23, 2024

Thanks a lot, devbis! After creating the dropbear folder, SSH worked :)

from openlumi.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.