Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

UREGNT HELP WITH SUDO COMMAND PLEASE

AppleFan22

macrumors 6502
Original poster
Jan 3, 2014
271
23
Okay, long story short, I got iTunes error 3194 and I'm attempting to fix it through Terminal, editing the hosts file in /private/etc. When opening the file in Terminal, there are a few lines of code missing from the display, which are shown in the Apple Support Forums/Communities. The lines in question are:

fe80::1%lo0 local host
# 17.151.36.30 gs.apple.com
I was tempted to add them myself, but being not that good with code I didn't want to take any risks. Is it okay to add these lines, or is there something more sensible I can do to fix this?

I'm running OS X Yosemite 10.10.4 on the 13" MacBook Pro 2012 model.

If there is another way to work around error 3194, PLEASE let me know!
 

jetlife2

macrumors regular
Apr 18, 2004
129
9
Cincinnati, Oh
Looking at the way you asked the question I think you need to read up on what this means before attempting this. The hosts file isn't code, it's a table. Any line starting with # is just a comment and does nothing. The line above is a standard localhost (note, no space) ipv6 definition that should have already been there. I do not recommend that you go down this path without some more knowledge. Sorry.
 

chrfr

macrumors G4
Jul 11, 2009
10,226
3,939
Okay, long story short, I got iTunes error 3194 and I'm attempting to fix it through Terminal, editing the hosts file in /private/etc. When opening the file in Terminal, there are a few lines of code missing from the display, which are shown in the Apple Support Forums/Communities. The lines in question are:
Detailed directions are here:
https://support.apple.com/en-us/HT201442
You do not need the gs.apple.com line, as the Apple instructions state. Do not edit any lines that include localhost.
 

AppleFan22

macrumors 6502
Original poster
Jan 3, 2014
271
23
Looking at the way you asked the question I think you need to read up on what this means before attempting this. The hosts file isn't code, it's a table. Any line starting with # is just a comment and does nothing. The line above is a standard localhost (note, no space) ipv6 definition that should have already been there. I do not recommend that you go down this path without some more knowledge. Sorry.
Well then why not try explaining to me rather than leaving me confused?

Don't bother, another user has helped fix the problem.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.