Giter Site home page Giter Site logo

Comments (16)

Kimbo01 avatar Kimbo01 commented on July 26, 2024 2

would this method works with g2h pro? I tried many times never had any success

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

What is your version of Aqara Camera?
What is the content of your hostname?

Please save the file 'hostname' as Unix type. You can use Notepad++ to save it.

from aqaracamerahubfw.

ostgardh avatar ostgardh commented on July 26, 2024

hostname file.
#!/bin/sh
passwd -d root
echo WITH_TELNET=y >> /etc/.config

Version : image

Have try different sdcard
Have try to chmod the host file to 777

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

can you upload the hostname file as attachment

another solution, try g2h-camera-mods

from aqaracamerahubfw.

ostgardh avatar ostgardh commented on July 26, 2024

hostname.txt
I have to rename hostname file to hostname.txt
Github not allow hostname file....

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

What is the sdcard format? Is it FAT32?

How do you use telnet? Are your pc and G2H use the same domain?

from aqaracamerahubfw.

ostgardh avatar ostgardh commented on July 26, 2024

Yes. Fat32
Format by camera.

Have try telnet check from my Debian and from putty on windows.

Same WiFi net yes.
Possibel to ping.

I have noticed that the hostname file is deleted after is have be in camera.

from aqaracamerahubfw.

eneagiuseppe avatar eneagiuseppe commented on July 26, 2024

Hi @niceboygithub I really appreciated the guide, but I tried to write the hostname (unix format) inside the sdcard (formatted FAT32 or ext4) but it doesn't work. I have last firmware 2.2.3.0001.0526. Can you support us, if is it possible?
Thanks....
.edit.
after 10 minutes I retry and telnet is opened... so unix format & FAT32 and wait some minutes it's a solution

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

The hostname way still work in 2.2.3

from aqaracamerahubfw.

the-gray-ghost avatar the-gray-ghost commented on July 26, 2024

I'm having the same problem with 2.2.3. Tried two different SDcards Fat32 format. File saved as 'hostname' no extension in Unix format with Notepad++. I am using Terminal on Mac to test 'ssh [email protected]'

ssh: connect to host 192.168.0.113 port 22: Connection refused

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

not ssh, please use telnet

from aqaracamerahubfw.

ostgardh avatar ostgardh commented on July 26, 2024

@the-gray-ghost
Have you test telnet?
I have upgrade to 2.2.3.

Put hostname file to sdcard with the code.
Same I can´t telnet.

Trying 192.168.0.160... telnet: Unable to connect to remote host: Connection refused telnet 192.168.0.160 Trying 192.168.0.160... telnet: Unable to connect to remote host: Connection refused

After run fdisk from ubuntu
And change to GTP partiton tabel.
Create fat volume.
crate hostname file on sdcard.
Wait 10 min, and re power cam, is working.. :)

from aqaracamerahubfw.

jellejans avatar jellejans commented on July 26, 2024

@niceboygithub
@ostgardh

Is the telnet method still working with 2.2.5 ? because I tried everything, but no luck ?

edit:

it's working

from aqaracamerahubfw.

MostHated avatar MostHated commented on July 26, 2024

I have a g2h pro as well and have not had any success. Firmware version is 3.4.0_0008.0004

from aqaracamerahubfw.

niceboygithub avatar niceboygithub commented on July 26, 2024

The g2h pro did not use hostname method.
G2H pro use aQRootG3 method, but it was invalid in 3.4.0.

from aqaracamerahubfw.

isra60 avatar isra60 commented on July 26, 2024

I have v2.2.6 firmware version and it seems that telnet is not getting up. Maybe Aqara has removed it in that version? The model is G2H.

The other method xiaomi mi home soft_hack. Is there any tutorial ?

from aqaracamerahubfw.

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.