03-23-2022, 04:17 PM | #196 |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
Thanks for the reply.
Logging in terms of what was provided by gerhaher in the github thread. The error is not fatal, but usb networking does not get enabled. Do I fix it the same way by using the KoboUSBMS.tar.gz you provided in that thread? |
03-23-2022, 06:57 PM | #197 | |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
---- I'm fairly confident the errors don't actually prevent USBNet, but I don't have an affected device, so you'll have to debug that over Wi-Fi . I'll try to push an updated script soon-ish, but it shouldn't really affect behavior. |
|
Advert | |
|
03-23-2022, 07:28 PM | #198 | |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
Quote:
I had 18838 on my Libra 2, but then I went and installed Python, which seemed to also update my build to 19086. I'll have a look at the update script to see if I can prevent the update from happening. Thanks NiLuiJe for the responses. I'll wait for your fix to be pushed. |
|
03-23-2022, 07:33 PM | #199 |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I just pushed r18901 .
Note that Core & Python (& Git) *may* all have *different* revision numbers (and they currently do, IIRC). r19086 looks like a typo, I don't even have that many revisions *at all* in the repo . |
03-24-2022, 10:18 AM | #200 | |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
Quote:
19086 is the version that's being shown on my device as shown in the attached image. |
|
Advert | |
|
03-24-2022, 10:34 AM | #201 |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
NiLuJe the new drop fixes the issue I was seeing. The script complains about a bunch of modules, but completes and usb networking is enabled.
Code:
[admin@io root]# usbnet-toggle * Switching from USBMS to USBNet . . . insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/configfs.ko': invalid module format ! Could not load configfs.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/libcomposite.ko': invalid module format ! Could not load libcomposite.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/u_ether.ko': invalid module format ! Could not load u_ether.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/usb_f_ecm.ko': File exists ! Could not load usb_f_ecm.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/usb_f_eem.ko': File exists ! Could not load usb_f_eem.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/usb_f_ecm_subset.ko': File exists ! Could not load usb_f_ecm_subset.ko (it might be built-in on your device) insmod: can't insert '/drivers/mx6sll-ntx/usb/gadget/usb_f_rndis.ko': invalid module format ! Could not load usb_f_rndis.ko (it might be built-in on your device) Thanks in advance. |
03-24-2022, 11:08 AM | #202 |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
Sorry, one more thing. If I want to enable USB networking on boot, what is the best/proper way to do this?
My thought was to modify the rcS script to add the usbnet-toggle call at the end of the script. Not sure if this is the "right" way to do it. Thanks in advance again. |
03-24-2022, 12:04 PM | #203 | |
Bibliophagist
Posts: 36,560
Karma: 146059340
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
03-24-2022, 02:20 PM | #204 |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
|
03-24-2022, 07:11 PM | #205 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
03-24-2022, 08:08 PM | #206 | |||
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Quote:
Quote:
The only thing that will kill the network connection over USB would be the device going to suspend. Quote:
You shouldn't be rebooting often enough for that to matter, to be honest. FWIW, my own setup is a NickelMenu/KFMo entry that toggles the script on demand (as well as the script itself being faved in KOReader for easy access from there). |
|||
03-29-2022, 06:12 PM | #207 |
Member
Posts: 10
Karma: 10
Join Date: Mar 2022
Device: Kobo Libra 2
|
Thanks for the advice NiLuJe.
Maybe you can explain something about the dhcpd setup for usb0? When I use "ifconfg wlan0 down", and check /etc/resolv.conf, I get the following: Code:
[admin@io root]# cat /etc/resolv.conf # Generated by dhcpcd # /etc/resolv.conf.head can replace this line # /etc/resolv.conf.tail can replace this line This differs from the result when I have wlan0 and usb0 up. Code:
[admin@io root]# cat /etc/resolv.conf # Generated by dhcpcd from wlan0 # /etc/resolv.conf.head can replace this line domain home nameserver 192.168.2.1 # /etc/resolv.conf.tail can replace this line Am I correct that the dhcp setting for usb0 isn't correct and it's the reason I cannot reach 8.8.8.8? If so, what's the best way to set the dhcp settings for usb0? One idea I saw was to add "nohook resolv.conf" to /etc/dhcpd.conf to prevent /etc/resolv.conf from being overwritten. |
03-30-2022, 07:38 AM | #208 |
BLAM!
Posts: 13,480
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
That's easy : there isn't any . The USB setup relies on fixed addresses.
|
03-31-2022, 08:05 AM | #209 |
Enthusiast
Posts: 33
Karma: 216612
Join Date: Feb 2022
Device: Kobo Nia
|
Sorry to ask what is probably a very basic question. If I want to ensure key access for dropbear, can I just follow general instructions online for OpenSSH for setting up authentication (i.e. can I treat dropbear as if it was OpenSSH)? I have little experience of using authentication for SSH in general or dropbear in particular, a password alone would suffice but using keys teaches me something new...
|
03-31-2022, 01:11 PM | #210 |
Wizard
Posts: 1,632
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
You can just stick your public key in authorized_keys, same as on any computer. It may be possible that certain types of keys don't work which would in OpenSSH though.
|
Tags |
ssh, telnet, tools |
|
Similar Threads | ||||
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 |