<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Help setting TTL on a rooted Android.</title>
		<link>http://www.allegro.cc/forums/view/614960</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Sat, 10 Jan 2015 11:38:31 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I got a tablet, &amp; I wanna share the internet with it. Unfortunately when I tether internet, the provider redirects me to authentication offering me cut the speed in half(&amp; well, I need to agree to it). I don&#39;t all that much care about the speed(although wtf, I paid for what I paid. They didn&#39;t warn me. Yes it was in small text somewhere.. Oh well).</p><p>The issue was easily worked around on my desktop PC- set TTL from default 64 to 65, and viola! No warnings, no speed cuts. I even used it once when I had an internet outage &amp; it was a nice backup. No one interupteh my stock tradeh!</p><p>Now with phone.. Well, I don&#39;t have the understanding of linux to find the right config and change it. Any help? <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><p>Thanks.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 06 Jan 2015 04:43:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s the same kernel, the same ttl settings aught to work. somewhere in /sys or /proc I assume.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 06 Jan 2015 09:56:00 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>What should be the config filename?<br />Or what tool should I be using while searching for what parameter in the file content?<br />Unfortunately most of my text epxerience with linux is either yum install or sudo apt-get <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 06 Jan 2015 10:01:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code">cat <span class="s">"foo"</span> <span class="k3">&gt;</span> <span class="k3">/</span>path<span class="k3">/</span>to<span class="k3">/</span>magic<span class="k3">/</span>file</span></p><p>in a rc.local file, or maybe there&#39;s a /etc/sysctl.conf file you can modify the net settings in.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 06 Jan 2015 10:14:59 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>/proc/sys/net/ipv4/ip_default_ttl</p><p>Was 64,set to 65. Reboot- doesn&#39;t work, check it again- it&#39;s 64 :S
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 06 Jan 2015 11:08:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Yeah, it won&#39;t save across boots. you need to set it via a boot up script, like /etc/rc.local (plain shell script) or /etc/sysctl.conf (config for sysctl)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 06 Jan 2015 11:13:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Interstingly.. Without a reboot I can&#39;t connect to a WiFi, can&#39;t get ip address. :S</p><p>Another thing. Wether or not it is possible to force the tablet not decrease TTL? My router for example has such a featre despite any lack of need in one.</p><p>To what script shoult I add it, and what should the line look like?<br />Also how can I ensure it&#39;s updated before read(well I guess need a place for script to exec first).</p><p>Append:<br />I don&#39;t have either of the &quot;files&quot;(if it&#39;s or anything else in this tree is even a file) you mentioned. If I create one, it is to be executed?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 06 Jan 2015 11:19:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I honestly don&#39;t know. I&#39;m sure theres something you can change. but I&#39;ve not played with it. I assume google will know.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Tue, 06 Jan 2015 12:03:47 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Thanks. Well, google has to know.. But kind of complex to find, without your hint on location of the file to edit I couldn&#39;t google where it can be. Looks like nobody cares about TTL on android <img src="http://www.allegro.cc/forums/smileys/sad.gif" alt=":(" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Tue, 06 Jan 2015 22:43:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I think maybe search for places to set sysctl values, or places to put startup scripts or commands.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Wed, 07 Jan 2015 09:59:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>ATM changing TTL disables wifi connectivity. Do you think there&#39;s chance it will work if value set on boot?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Thu, 08 Jan 2015 09:41:34 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It might, since it would be set before wifi comes up. I give no guarantees though.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Thu, 08 Jan 2015 10:01:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I bricked it. SPent half night repairing it, it didn&#39;t wanna get flashed because of.. The USB port. I mean it. It could do SOME tasks via the usb, including all filetransfer &amp; charging. But not flashing.</p><p>I&#39;ll try to get some boot-time cmd run <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Fri, 09 Jan 2015 18:09:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If you can&#39;t flash via usb, then maybe your phone got relocked? Could you enter recovery (the screen that lets you wipe stuff and re-flash) at all?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Fjellstrom)</author>
		<pubDate>Fri, 09 Jan 2015 19:46:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>No, no.. It&#39;s flashed with default ROM &amp; rerooted. It was bricked at some point in time. There are two debugging modes: fastboot, &amp; flashmode. Fastboot requires unlocking, flashmode doesn&#39;t. Fastboot is kind of a little bit more limited with flashing, although it was enough to brick the phone after i flashed an inappropriate kernel or something.</p><p>And the whole flashmode just wasn&#39;t working from start, although it should be. The solution has <span class="cuss"><span>fuck</span></span>ing killed me. Changing USB port on my PC. Why did everything but specific flashmode was working I&#39;ve no clue. The fact has taken couple hours of my life, although there was some bonus in shape of very interesting experience.</p><p>Append:<br />Made it work with <a href="https://play.google.com/store/apps/details?id=org.segin.ttleditor">this</a> app. It didn&#39;t immediately work because of lack of a tutorial. It couldn&#39;t set any settings, but it did set&#39;em with order to set on boot. Also weirdly it does see all connections, but nevertheless you have to type the needed one manually.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (type568)</author>
		<pubDate>Sat, 10 Jan 2015 11:38:31 +0000</pubDate>
	</item>
</rss>
