![]() |
#1 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Sep 2017
Device: PW3/4
|
Change Default TTL on PW4 permanenty? | OR where sysctl.conf
Hi,
I would like to change default TTL of PW4. When I connect to it via ssh and run: Code:
sysctl net.ipv4.ip_default_ttl=65 |
![]() |
![]() |
![]() |
#2 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047190
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
You can run a grep for sysctl in the init scripts, I *think* that's the job of one of them.
Or you can just plug that in a new custom one. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Nil adsuetudine maius
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 278
Karma: 500000
Join Date: Nov 2019
Location: US
Device: PW4
|
I can't improve upon NiLuJe's advice.
But for anyone who might pull this thread up in a future search: Code:
sysctl net.ipv4.ip_default_ttl=65 To effect a persistent change (at least on a nix box), you'd need to append the setting to sysctl.conf: /etc/sysctl.conf: net.ipv4.ip_default_ttl=65 Comments on XDA say that you need to create sysctl.conf (on some android phones). So if it's not in an init script, it might work to: touch /system/etc/sysctl.conf or touch /sys/etc/sysctl.conf Last edited by Junket; 12-10-2019 at 02:52 AM. |
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Sep 2017
Device: PW3/4
|
Quote:
![]() Creating /etc/sysctl.conf and adding net.ipv4.ip_default_ttl=65 to it didn't help. I haven't tried another paths though. Instead, I've just created default-ttl.conf inside /etc/upstart and added sysctl net.ipv4.ip_default_ttl=65 +another basic stuff that goes to /etc/upstart scripts. And it does the job. Last edited by pavel-s; 12-11-2019 at 03:37 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Default stylesheet name change | MerlinMama | Calibre | 0 | 08-29-2019 08:23 AM |
change default dictionary | tempest@de | Kobo Reader | 39 | 04-16-2014 04:02 AM |
What is the difference between framework.fiona.conf vs framework.mario.conf | kocoman | Kindle Developer's Corner | 1 | 03-19-2013 09:40 AM |
Connect Kindle 1 with TTL, can't boot.pls Help | michaelyzy | Kindle Developer's Corner | 0 | 05-12-2010 02:25 AM |
change default fonts | p3aul | Sigil | 3 | 10-18-2009 07:14 PM |