llandsmeer / inkvt

Experimental VT100 terminal emulator for Kobo e-readers
GNU General Public License v3.0
39 stars 5 forks source link

Kobo not providing a listen address #18

Closed abarichello closed 3 years ago

abarichello commented 3 years ago

When I launch inkvt on my local system it successfully provides an address for me to connect and send keyboard input, however when launching from my Kobo Glo HD this section is missing and I can't connect to http://mykoboip:7800 image This is a screenshot from my local system, Kobo prints everything except the 'listening on' section

NiLuJe commented 3 years ago

c.f., https://github.com/llandsmeer/inkvt#local-build--install

This is disabled by default on Kobo (--no-http), because the other methods proved to be much easier to deal with and much more reliable.

abarichello commented 3 years ago

Do you have a guide on how to enable SSH? The ones I found involve connecting to kobo using telnet but the default user/password pair isn't working for me.

NiLuJe commented 3 years ago

c.f., https://github.com/llandsmeer/inkvt/pull/2#issuecomment-605522605

abarichello commented 3 years ago

Thanks!

abarichello commented 3 years ago

btw you forgot to comment this line with a hardcoded path: https://github.com/llandsmeer/inkvt/blob/8d1355b431ba9d7b9ce61afd73b3ad1260db29d7/Makefile#L3

NiLuJe commented 3 years ago

That's a fallback assignment (?=), and that variable is set in the env by my TC scripts, so, never actually used if you use a recommended TC ;).

abarichello commented 3 years ago

It gave me an error when building and I had to comment that out. Not sure why

NiLuJe commented 3 years ago

Because you don't have CROSS_TC set in your env ;).

Which either means you're using a random TC (which I don't recommend), or you're using mine but not setup properly.

abarichello commented 3 years ago

Ah I see, I used koxtoolchain: https://github.com/koreader/koxtoolchain

NiLuJe commented 3 years ago

Then pay attention to the final comment printed on screen after a successful TC build ;).

https://github.com/koreader/koxtoolchain/blob/2440ef904d88a3d4f8bff98d97df9a61e4afd86f/gen-tc.sh#L72-L77

abarichello commented 3 years ago

Yeah, that last step gave me some errors when downloading/installing 'nettle-git', still trying to fix that.

NiLuJe commented 3 years ago

Err, no, the env setup should definitely not build anything ^^.

e.g.,

┌─(niluje@illyria:pts/19)────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────(/var/tmp/niluje)─┐
└─(0.31:72%:06:39:%)── source ~SVN/Configs/trunk/Kindle/Misc/x-compile.sh kobo env bare                                                                                                                                                                                                                                                                ──(Mon, May 17)─┘
* Setting environment up . . .

* Environment has been set up for the KOBO TC, enjoy :)
* Not using our custom sysroot! :)