05-17-2024, 08:51 PM | #1321 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
You can always check that the device is secure by trying to use telnet or FTP when you haven't enabled them. You should get a message along the lines of "connection refused" or a timeout.
|
05-17-2024, 09:04 PM | #1322 |
Connoisseur
Posts: 94
Karma: 3160
Join Date: Apr 2024
Device: none
|
My fault. Poor idiom. I mean going out and connecting to a public wifi at coffee shop or in a public library needed in a pinch to use the web browser.
Last edited by shyhermit; 05-17-2024 at 09:07 PM. |
05-17-2024, 09:18 PM | #1323 |
Bibliophagist
Posts: 39,423
Karma: 153780470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
In which case a reboot before connecting would do the job. OTOH, using a web browser on an eInk device qualifies as cruel punishment.
|
05-18-2024, 12:56 AM | #1324 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
On a Kobo it does, anyway. Boox devices have a tolerable browsing experience, but they have much faster CPUs and extra refresh modes specifically designed to enhance performance (at the cost of PQ).
|
05-18-2024, 12:37 PM | #1325 |
Bibliophagist
Posts: 39,423
Karma: 153780470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
On the only Boox I've got to play with (Boox Tab Colour???), the web browser was a pain. Possibly since the pages the owner of the Boox was browsing used quite a few animated graphics and then they tried to show me show it looked with a YouTube video. Even using the Fast setting for the screen, it was not great. Much like the web browsers on my eInk device collection, I felt it was for emergency use only.
OTOH, the owner loves it and since their main reading is comics, the Kaleido 3 screen looks pretty good with them. |
05-18-2024, 03:29 PM | #1326 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
Yes, the performance on video is still terrible (~12 FPS), but the fast refresh settings are good enough that you can read and scroll through web articles more or less normally. I've never tried the browser on my Libra 2, as I suspect that with a single-core CPU and no control over refresh speed, even navigating a simple website would require a lot of sitting and waiting.
|
05-23-2024, 09:10 PM | #1327 | |
Grand Sorcerer
Posts: 12,602
Karma: 74358024
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
I've cone up with a modified FTP and Telnet definition for NickelMenu that is a true toggle of either one; ie if not running it will enable it; if running it will disable it. Code:
menu_item :main :IP Address :cmd_output :500:/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}' menu_item :main :Telnet (status) :cmd_output :500:quiet: /usr/bin/pgrep -f "^/usr/bin/tcpsvd -E 0.0.0.0 2023" chain_success :dbg_toast :Telnet active on port 2023 chain_failure :dbg_toast :Telnet inactive on port 2023 menu_item :main :Telnet (toggle) :cmd_output :500:quiet: /usr/bin/pgrep -f "^/usr/bin/tcpsvd -E 0.0.0.0 2023" chain_success:skip:5 chain_failure :cmd_spawn :quiet :/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; } chain_success :cmd_spawn :quiet :exec /usr/bin/tcpsvd -E 0.0.0.0 2023 /usr/sbin/telnetd -i -l /bin/login chain_success :dbg_toast :Started Telnet server on port 2023 chain_failure :dbg_toast :Error starting Telnet server on port 2023 chain_always:skip:-1 chain_success :cmd_spawn :quiet :/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 2023" chain_always :dbg_toast :Stopped Telnet server on port 2023 menu_item :main :FTP (status) :cmd_output :500:quiet: /usr/bin/pgrep -f "^/usr/bin/tcpsvd -E 0.0.0.0 1021" chain_success :dbg_toast :FTP active on port 1021 chain_failure :dbg_toast :FTP inactive on port 1021 menu_item :main :FTP (toggle) :cmd_output :500:quiet: /usr/bin/pgrep -f "^/usr/bin/tcpsvd -E 0.0.0.0 1021" chain_success:skip:4 chain_failure :cmd_spawn :quiet :exec /usr/bin/tcpsvd -E 0.0.0.0 1021 /usr/sbin/ftpd -w -t 30 /mnt/onboard chain_success :dbg_toast :Started FTP server for KOBOeReader partition on port 1021 chain_failure :dbg_toast :Error starting FTP server on port 1021 chain_always:skip:-1 chain_success :cmd_spawn :quiet :/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1021" chain_always :dbg_toast :Stopped FTP server on port 1021 |
|
05-23-2024, 10:13 PM | #1328 |
Connoisseur
Posts: 94
Karma: 3160
Join Date: Apr 2024
Device: none
|
Peter,
What beautiful lines of code you wrote! They worked perfectly. I did not use the toggle to check status, as the switch alone is sufficient in telling me each time whether I am turn on or off my FTP or Telnet access. |
05-23-2024, 10:24 PM | #1329 |
Grand Sorcerer
Posts: 12,602
Karma: 74358024
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
The majority came from the original documentation. My main change was to use pgrep to look for the process, rather than the classic ps | grep approach
Sent from my Pixel 7a using Tapatalk |
05-23-2024, 11:15 PM | #1330 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
Now if only there were a reliable way to block firmware updates so I could safely enable Wi-Fi for telnet and FTP.
|
05-24-2024, 03:52 AM | #1331 |
the rook, bossing Never.
Posts: 12,249
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
My router can block all Internet access for selected devices.
But a FW update on a Kobo isn't as big an issue as on Kindle. |
05-24-2024, 04:15 AM | #1332 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
No, but it's still a problem. I have no desire to downgrade and re-patch every time I want to FTP a file, so I just keep Wi-Fi off and use USB for everything.
|
05-24-2024, 04:20 AM | #1333 |
Zealot
Posts: 105
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
This does the job for me:
Patch: libnickel.so.1.0.0 -- Always show confirmation dialog before upgrading. |
05-24-2024, 04:03 PM | #1334 |
Wizard
Posts: 1,364
Karma: 16297052
Join Date: Sep 2022
Device: Kobo Libra 2
|
The patch will allow me to decline the update, but won't it start continually nagging me to update once it learns that an update is available?
|
05-25-2024, 11:50 AM | #1335 |
Zealot
Posts: 105
Karma: 37418
Join Date: Jan 2013
Device: Kobo Glo, Aura, H2OE2, Libra 2
|
I can only say that I've not seen any nagging to update but I do tend to manually update within a few days, once the patches are released.
|
Tags |
kobo, launcher, ldpreload, nickel |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo eReaders and Heat | PeterT | Kobo Reader | 13 | 08-02-2014 04:35 AM |
kobo arc launcher not working | lana loves books | Kobo Tablets | 8 | 03-21-2014 06:40 AM |
Orginization on kobo ereaders | crochetgeek2010 | Kobo Reader | 7 | 09-03-2013 02:13 PM |
Kobo Announces eReaders Available for Purchase on Kobo.com in Canada and US | markemark | News | 1 | 04-02-2013 01:46 PM |
Ereaders with Integrated Dictionary | poohbear_nc | Which one should I buy? | 4 | 04-08-2010 06:42 AM |