Go Back   MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Reply
 
Thread Tools Search this Thread Display Modes
Old Mar 17, 2011, 07:52 PM   #1
legaleye3000
macrumors 6502a
 
Join Date: Jul 2007
How To Edit Hosts File? (For 4.2.1 restore)

I can't find the hosts file on my mac. I keep seeing /etc/hosts. I can't find that directory.

I need to edit the hosts file to get iTunes to let me restore my iPad to 4.2.1. Please help. Thank you.
legaleye3000 is offline   0 Reply With Quote
Old Mar 21, 2011, 11:34 PM   #2
BookEmDanno
macrumors member
 
Join Date: Nov 2010
Location: State of ~Aloha!~
Quote:
Originally Posted by legaleye3000 View Post
I can't find the hosts file on my mac. I keep seeing /etc/hosts. I can't find that directory.

I need to edit the hosts file to get iTunes to let me restore my iPad to 4.2.1. Please help. Thank you.
Hosts should be in your /etc folder. If not just create one (text format) with the following contents:


#########

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost


### ipod/iphone ###
# 74.208.105.171 gs.apple.com
74.208.10.249 gs.apple.com
# 74.208.*.* gs.apple.com
BookEmDanno is offline   0 Reply With Quote
Old Mar 22, 2011, 06:46 AM   #3
hackthatphone
macrumors 68000
 
hackthatphone's Avatar
 
Join Date: Jul 2010
Jeeze people. Instead of going through this hassle, why not just use the tinyumbrella program instead? It'll do this work for you.

http://thefirmwareumbrella.blogspot.com/


By the way, you don't just make this file from scratch, it's already on your Mac!!!!!!!!!!!!!!!

From a Terminal enter: sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
__________________
Writing Mac tutorials for the iPhone since June '07. http://modmyphone.us
hackthatphone is offline   0 Reply With Quote

Reply
MacRumors Forums > iPhone, iPod and iPad > iOS > Jailbreaks and iOS Hacks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How do I backup the Hosts file? yonyz OS X 10.8 Mountain Lion 2 Sep 24, 2013 02:18 PM
General: Can you edit the hosts file using iFunBox or other w/o jailbreak? curiosity Jailbreaks and iOS Hacks 1 Sep 21, 2013 09:33 AM
Hosts file? ifred1 OS X 10.8 Mountain Lion 12 Sep 2, 2013 02:59 PM
Editing hosts file resulted in empty file DGLauren OS X 10.8 Mountain Lion 6 Jun 22, 2013 02:37 AM
Editing hosts file not taking mknabster OS X 3 Jan 13, 2013 05:25 PM

Forum Jump

All times are GMT -5. The time now is 05:39 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC