Edit hostfile ipod touch
How can i edit the hostfile of the ipod touch.
in a standard computer you can edit the hostfile by editing the .txt file.
for example how can i add this in to that file?
192.168.0.100 testserver
Ipod, iOS 4
Ipod, iOS 4
Dieterfom wrote:
fun, and how can i arrange thet the ipod goes to that address?
Dieter
Simple solution:
the hostfile is located at: /etc/hosts
To edit this file you need to SSH into your device, If you know how to do this directly just use vi, or nano to edit the file. From windows use WinSCP to access the file system via FTP(SSH). Then simply navigate to /etc/hosts download the file to your desktop, right click and open it with note pad, add your resolver to the last line "192.168.0.100 testserver", save, and replace the original file with the new one.
/etc/host -- example config
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.168.0.100 testserver
*To SSH into an ipod it must have OpenSSH installed, usually this requires a jailbreak.
Edit hostfile ipod touch