![]() |
#136 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 63118
Join Date: May 2018
Device: Kobo Aura One
|
Quote:
![]() ![]() Another thing: htop doesn't show any processes, is that also just me? |
|
![]() |
![]() |
![]() |
#137 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
Quote:
That was strange... |
|
![]() |
![]() |
Advert | |
|
![]() |
#138 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The default config is setup for a dark color theme (e.g., Solarized Dark). Things may be "invisible" in some configurations; try switching the color theme from within htop itself (F2 > Colors).
Extremely exotic (and/or broken) terminal emulators may exacerbate the issue, too (e.g., broken/missing terminfo). (Or stuff that blatantly lies about/break the TERM env var). Anything xterm compatible should behave, though, and I don't recall any issues in pactice with common terminal emulators on *nix (pretty much all the things that identify as xterm, which is effectively nearly everything these days), macOS (iTerm, Terminal) & Windows (PuTTY). Last edited by NiLuJe; 01-16-2021 at 12:18 PM. |
![]() |
![]() |
![]() |
#139 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80
Karma: 63118
Join Date: May 2018
Device: Kobo Aura One
|
Thanks for the fast replies. I am using the regular linux terminal. It's not the colors though, I just tried all of them. I can see the text just fine but the processes list is empty. top works as expeted. Very strange
![]() Last edited by OfficerAction; 01-16-2021 at 12:26 PM. |
![]() |
![]() |
![]() |
#140 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's... weird, but then there's something wonky going on with the tree view on Kobos since a few htop commits that I haven't had the time to look into...
Does it behave in list view? (F5). |
![]() |
![]() |
Advert | |
|
![]() |
#141 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Hmm, might be yet another O_PATH shenanigan because of stupidly old kernels.
I'll double-check... Soon(TM). |
![]() |
![]() |
![]() |
#142 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 507
Karma: 2390534
Join Date: Jun 2020
Location: Somewhere in the Universe
Device: Kobo Libra, Glo HD, Touch C/B, Mini, Glo, Aura SE, Clara HD, KT
|
|
![]() |
![]() |
![]() |
#143 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Yeah, it'd be broken on kernels between 2.6.39 and roughly 3.6~3.12.
On Kobo, that means Mk. 6. (Mk. 5 is "safe" because it doesn't support O_PATH at all (2.6.35), and Mk. 7 is safe because it supports O_PATH everywhere. In between, O_PATH itself is supported in open, but breaks a number of fun and useful syscalls if they're fed an O_PATH fd). Last edited by NiLuJe; 01-16-2021 at 08:17 PM. |
![]() |
![]() |
![]() |
#144 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Okay, the latest round of updates should have fixed the htop issue on Mk. 6 (and a potentially similar one with libarchive).
Speaking of htop, sorting behaves properly again, too. |
![]() |
![]() |
![]() |
#145 |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
|
Problems with ssh over usbnet
hi,
When I try and connect to SSH over wifi it works perfectly, but it's slow due to my poor wifi connection, so I'd like to use the USB network. When I toggle USBnet the device shows up on my (linux) PC as "ethernet connection 2" in networkmanager, and it shows a successful message on the kobo display. This didn't work immediately so I manually added the 192.168.2.* addresses to this interface in networkmanager, and now I can ping my kobo over USB on 192.168.2.2. However, if I try and SSH into the kobo over USB, I get a message "ssh root@192.168.2.2 port 22: connection refused". over wifi I can connect fine. |
![]() |
![]() |
![]() |
#146 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,751
Karma: 730681
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
If you're combining that with the SSH currently shipped with KOReader, keep in mind the port (2222) and such.
|
![]() |
![]() |
![]() |
#147 |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#148 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Nope, if it works over Wi-Fi, it works over USBNet.
Which would just imply NM screwed the pooch. I can't tell you much about that, I've never used NM, I just throw an ifconfig at it. I'm not at my usual box right now, so I don't have it on hand, but the Kindle docs may help figure this out. Be warned that it's probably using a completely different subnet in the examples ^^. The legacy Kindle docs should be using the same subnet, though, but the docs themselves may be less verbose ![]() Last edited by NiLuJe; 02-02-2021 at 04:42 PM. |
![]() |
![]() |
![]() |
#149 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
|
Quote:
I tried disabling NM and doing it manually with the ip command (arch considers ifconfig deprecated, but I used the equivalent commands) and I can ping 192.168.2.2 and get a response, which I then don't get if I turn off USBnet on the kobo (so I am assuming that means the kobo is responding to pings and visible on my USB network) however I still get a "connection refused" when trying to connect over SSH or telnet. I get the same if I try and connect to koreader's SSH over usbnet. (this is the same as what happened with NM). I've also tried running ssh as root and that also didn't change anything, so I'm really not sure what is going on here. |
|
![]() |
![]() |
![]() |
#150 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Is, per chance, you actual real network on the same subnet? Because that would screw things up...
|
![]() |
![]() |
![]() |
Tags |
ssh, telnet, tools |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Package with console tools | CGarces | Development | 0 | 09-06-2013 05:04 PM |
Combined Tools Package | Lizj1 | Plugins | 5 | 01-11-2013 10:32 AM |
USBNetwork USB Driver & Telnet on Windows XP SP3 | namati | Kindle Developer's Corner | 0 | 02-24-2012 01:20 AM |
Instruction to get root on 60x/90x + remote telnet & FTP | mamaich | PocketBook | 17 | 08-27-2011 07:41 PM |