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
would be a session only setting.
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