![]() |
#151 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
|
Quote:
I also tried installing net-tools and using the kindle guide for USBnet setup, and I'm getting exactly the same "connection refused" error. Last edited by nihilazo; 02-03-2021 at 04:03 AM. |
|
![]() |
![]() |
![]() |
#152 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
FWIW:
Host: dmesg Code:
[33787.400487] usb 1-9: new high-speed USB device number 5 using xhci_hcd [33787.538536] cdc_ether 1-9:1.0 usb0: register 'cdc_ether' at usb-0000:00:14.0-9, CDC Ethernet Device, ee:49:00:03:70:31 [33787.843570] cdc_ether 1-9:1.0 enp0s20f0u9: renamed from usb0 Code:
ifconfig enp0s20f0u9 192.168.2.1 Code:
enp0s20f0u9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.2.1 netmask 255.255.255.0 broadcast 192.168.2.255 ether ee:49:00:03:70:31 txqueuelen 1000 (Ethernet) RX packets 3234 bytes 1870022 (1.7 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 3695 bytes 1626036 (1.5 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 enp0s31f6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.42 netmask 255.255.255.0 broadcast 192.168.1.255 ether aa:bb:cc:dd:ee:ff txqueuelen 1000 (Ethernet) RX packets 5122938 bytes 7671700702 (7.1 GiB) RX errors 0 dropped 1 overruns 0 frame 0 TX packets 2658698 bytes 222992024 (212.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 memory 0xf7f00000-f7f20000 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 loop txqueuelen 1000 (Local Loopback) RX packets 141631 bytes 78854242 (75.2 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 141631 bytes 78854242 (75.2 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 Code:
ssh root@192.168.2.2 Code:
eth0 Link encap:Ethernet HWaddr FF:EE:DD:CC:BB:AA inet addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:39 errors:0 dropped:0 overruns:0 frame:0 TX packets:30 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:3801 (3.7 KiB) TX bytes:3098 (3.0 KiB) usb0 Link encap:Ethernet HWaddr EE:19:00:03:70:31 inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:32195 errors:0 dropped:0 overruns:0 frame:0 TX packets:41648 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7026138 (6.7 MiB) TX bytes:13935004 (13.2 MiB) Code:
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 851/inetd tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 857/dropbear tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 851/inetd udp 0 0 0.0.0.0:68 0.0.0.0:* 20632/dhcpcd ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#153 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2019
Device: Kobo Aura HD
|
Quote:
Huh, that seems mostly similar to mine. I'm starting to wonder if iptables is involved in this madness. I need to experiment more. UPDATE: disabling iptables doesn't change anything, as doesn't disabling nm, so I'm assuming they're not messing stuff up UPDATE UPDATE: magically it works now. Last edited by nihilazo; 02-05-2021 at 07:55 AM. |
|
![]() |
![]() |
![]() |
#154 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
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
|
@NiLuJe
tried to download the Stuff for a newly-factory-reset Mini this morning, seems that the link has been moved or is dead... could you fix it please? thanks |
![]() |
![]() |
![]() |
#155 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@NiMa: Oops. Fixed it, thanks
![]() When in doubt, the snapshots thread is usually up to date. And when I *also* mess that us, the bare-bones listing link in there *will* be, since that one's automated and not dynamic ^^. That probably didn't help ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#156 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 477
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:
|
|
![]() |
![]() |
![]() |
#157 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Well, when I said that the URLs would be stable, I did not account for the possibility of the datacenter burning down...
Packages have been uploaded to a different DC, so stuff should now be back up, but, this had an unfortunate consequence for the update-kobostuff script, since it was kinda assuming that the URL would pretty much stay put ![]() Anyway, you can either update via the KoboRoot package, or you can simply fix the URL with this trivial patch: Code:
--- /usr/local/stuff/lib/libotautils.ori +++ /usr/local/stuff/lib/libotautils @@ -62,7 +62,7 @@ } ## Quick'n dirty OTA index parsing... -OTA_BASE_URL="https://storage.sbg.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public" +OTA_BASE_URL="https://storage.gra.cloud.ovh.net/v1/AUTH_2ac4bfee353948ec8ea7fd1710574097/mr-public" # We'll want to work in a tmpfs OTA_WORKDIR="/tmp/stuff" OTA_INDEX="${OTA_WORKDIR}/ota.html" |
![]() |
![]() |
![]() |
#158 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,788
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
![]() Maybe consider dedicating a subdomain of your domain to redirects to make the links storage-agnostic? |
|
![]() |
![]() |
![]() |
#159 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
I did that for the KOReader OTA mirrors, but that works because HTTP.
Things get a bit more annoying when SSL enters the fray because I obviously only control one of the domains involved ;o). (I think?) |
![]() |
![]() |
![]() |
#160 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,788
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
If you're using Let's Encrypt for SSL, you shouldn't have an issue with that as long as you either control TXT records or the website root dir.
|
![]() |
![]() |
![]() |
#161 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 869
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
One would probably need to use either a reverse proxy, or a redirector to create a link under ones control. |
|
![]() |
![]() |
![]() |
#162 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And then that would have to go through the dedicated server, which is arguably a bigger potential point of failure than OVH's OpenStack infra
![]() (In this specific case, where I could get away with getting only the *index* from somewhere else, that was the same concern that made me choose *not* to use the "local" copy ^^) |
![]() |
![]() |
![]() |
#163 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,788
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
![]() |
![]() |
![]() |
#164 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,788
Karma: 6990707
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
OTOH, if it's down, you can change the DNS and/or use Cloudflare. Also, I think Netlify can do redirects if you don't want to use a dedicated server.
|
![]() |
![]() |
![]() |
#165 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,492
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
The same server also happens to be hosting the authoritative NS for that domain ^^.
(I did mention that I was doing things old school, right? ^^). |
![]() |
![]() |
![]() |
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 |