[Solved] hosts file with ipv6 disabled

Hello community!
So I have disabled ipv6, as it was causing various issues and Comcast has not yet implemented ipv6 in my area.  Disabling was no problem, but nowhere can i find information regarding whether or not to keep the ipv6 line in the hosts file.  Should I comment it out? 
For clarity I am referring to the ::1 line.  Will commenting it out be problematic, or will keeping it be problematic, or does it not really matter?  I know having an improperly configured hosts file can cause all sorts of network issues, so I am very curious. 
Right now I have it commented out, and I have not noticed any real problems, but I also have a Realtek wireless card using rtl8192ce, which is not the most stable driver/connection.  Thus my connection is kind of intermittently crappy.  So I am curious if I am making my connection crappier than it was before.
Thanks in advance!
Edit:  Of course as soon as I posted this, I found an answer.  The Debian wiki recommends commenting it out when completely disabling ipv6.  So to those who at least read my post, thanks!
Last edited by WonderWoofy (2012-08-19 20:19:44)

@WonderWoofy,
Do you have a link for the Debian wiki? I'd like to understand the reasoning.
To be honest, I didn't even realise that line was for ipv6. Since I've disabled it in sysctl.conf, I should probably consider commenting it out, too. Right now, I seem to be loading firewall modules for ipv6, mind, which seems like slightly more security than can be strictly necessary if the thing is disabled...
@ghen,
It isn't, that I know of, a matter of "figuring it out correctly". Having ipv6 enabled can screw up ipv4 connections. Having it enabled prevents me from connecting to the internet at all on one of the networks I use. As I understand it, a properly configured network shouldn't do this but when the official IT support people say the problem is that you have ipv6 enabled, you don't have much choice. (And it isn't as if there's anything to be gained by having it enabled.)

Similar Messages

  • Unable to modify/replace/unlock hosts file with admin account

    Hi all,
    I'm having a serious issue when trying to modify the hosts file in Yosemite 10.10.3
    I already tried through the terminal with sudo commands, Get Info window, editing the file externaly and then trying to replace the original hosts with the new but nothing works. Already repaired the disk permisions in case it had to be with the issue but didn't help.
    I'm using an account with admin privileges but it seems I'm not allowed to unlock the file.
    Here is a screenshot of how the GetInfo windows looks like for the hosts file:
    And here is what I get when trying to save from sudo nano /private/etc/hosts
    Any help will be highly welcomed.

         sudo chflags nouchg /private/etc/hosts
    and relock it when you've finished
         sudo chflags uchg /private/etc/hosts
    It's locked for a reason.
    C.

  • HT201210 I have done all of the things on this list, to include editing the hosts file with no the same error each time (3194).  I am trying to restore my iphone 4 ios 6 to get it unlocked.  Diagnostics show no issue communicating with apple. Help.

    I am trying to restore my iphone 4 ios 6 to acheive unlock.  hit restore and it unloads software, confirms with apple then displays the 3194 error.  I have turned off my virus scanner, unplugged all usb except for iphone, edited the hosts file and run diagnostics which showes communication with apple is fine.  What do I need to do to get my ipone to restore?

    There is nothing wrong with the OS update.
    Delete ALL your email accounts.
    Restart Playbook
    Put the accounts back and ensure they are all set with PUSH ON.  Manual (push off) will burn battery.
    Similarly delete your wifi connections and add back when required. 
    Turn off wifi is not connected to wifi. 
    Any "hunting for connection" in email or wifi will burn up battery.

  • Cannot use hosts file with 10.5.1

    Hi,
    Not sure when this problem creeped in, I think it is since my upgrade to Leopard.
    The problem is that whatever I put into my /etc/hosts file is not used. Restards, cache flushes do not help.
    If I have in the hosts file
    xx.xx.xx.xx anotherHost
    nslookup anotherHost fails
    What I think is the root cause is that the resolver is hardwired only to DNS and does not read the hosts file. Unfortunatelly I cannot find a way how to change the resolving order in Leopard. lookupd is gone and was replaced by what ?
    Reproducable on colleague's macbook.
    So short summary :
    * how do I make my resolver use hosts file
    * how do I control the lookup sequence of my resolver
    Regards,
    Georgi

    As described by others NSLOOKUP looks up onto the name server not the host file
    Samba instead would use your host file first then an NSLOOKUP then WINS and finally broadcast
    So what kind of service do you want to use your host file for?

  • [Solved] Removing files with space in name.

    Hello!
    I have files named Feh wallpaper (exactly with space in name) and I was trying to remove it but i don't have any file manager and I remove files by rm.
    I was try rm -r feh_wallpaper and rm feh wallpaper and rm can't remove it
    Last edited by SpeedVin (2009-06-30 04:23:29)

    sHyLoCk wrote:
    SpeedVin wrote:Hello again i have a question how to copy files with space in neme i was trying /file but no succes and i have () in the name of file that's are a problem
    I can't rename it i got the same error when i want copy this file
    Did you try with quotes? and it is \file "\" is an escape sequence.
    Ohh thanks option with quotes work
    Last edited by SpeedVin (2009-07-15 11:23:16)

  • Hosting files with Creative Cloud webBasics

    I have Creative Cloud webBasics, can I host files for users to download through my Business Catalyst web site? or will I have to upgrade to a paid plan?

    Anyone who signs up for the Creative Cloud can share files. You do not need to be a Creative Cloud member to view a shared file, only to do the sharing.
    Adobe Bridge does not see the files unless you use Creative Cloud Connection to sync the files to your local computer.
    There is no version control yet. It is on our road map.
    Being in Australia should not be an issue, but I will let other customers from Australia comment.

  • [SOLVED] Overwrite files with pacman.

    Hello all
    I know that pacman, as a design feature, does not overwrite files by default. I've read the post and the wiki about it.
    But I've a situation where I would need to overwrite dozens of files, in different directories, and it would be very nice, If possible, to make an exception to this rule.
    I dont know how, but I've messed up an Kdemod upgrade. It stopped working and I cant uninstall it, because pacman doesnt find the appropriate groups (Kdemod-complete and Kdemod-uninstall).
    On the other hand, I cant simply reinstall it, or kde[extra], because pacman gives dozens "leftover file" messages in different directories, and refuses to overwrite them.
    I just want a way to reinstall KDEmod, at least to try to remove everything with "pacman -Rd kdemod-uninstall" and start from scratch, if it doesnt work. And, I would like to escape manually removing all the files in different directories or a full system reinstall.
    Any Ideas?
    Thanks in advance for any help.
    Last edited by Raws (2009-12-09 03:44:51)

    falstaff_ch wrote:
    Just in case someone Googles this Thread, nowadays its
    # pacman -S --force <package>
    Moderator comment:  That is true as far as the synatax of Pacman command is concerned -- BUT -- using 'force', unless you know exactly what you're doing, is not recommended.  It can cause serious breakage.
    In fact, the -f flag was deliberately deprecated in favor of --force specifically to make it less likely that someone will try using it.
    Closing this old thread....

  • [SOLVED]Is my hosts file functioning as it should?

    I'm using this script to update my hosts file with ad blocking settings.
    #!/bin/bash
    # Hosts file updater
    HFSERVER="http://hostsfile.mine.nu.nyud.net"
    HFILE="hosts.zip"
    ORIGFILE="/etc/hosts.original"
    clear
    echo "-------------------------------------------------------------"
    echo "This script will update your Hosts file to the latest version"
    echo "Your original Hosts file will be renamed to $ORIGFILE"
    echo "-------------------------------------------------------------"
    echo ""
    if [ ! -f "$ORIGFILE" ] ; then
    echo "Backing up your previous hosts file.."
    cp -v /etc/hosts $ORIGFILE # I like verbose file operations. Can be less verbose if necessary.
    fi
    echo "Retrieving $HFILE from $HFSERVER"
    echo ""
    wget -O /tmp/$HFILE $HFSERVER/$HFILE
    unzip -p /tmp/$HFILE | dos2unix > /tmp/hosts
    if [ 'grep -c "banner" /tmp/hosts' ];then
    echo "Downloaded and unpacked $HFILE OK"
    echo "Appending host list to original content" # which was probably there for a reason, like to make sure localhost worked, and possibly even more stuff if part of a corporate LAN
    #cp -f -u /tmp/hosts /etc/hosts
    cat $ORIGFILE >/etc/hosts
    echo "" >>/etc/hosts # to make sure the original file ends in a new-line so that 2 entries don't end up on the same line, either causing unexpected behavior or not working at all
    cat /tmp/hosts >>/etc/hosts
    rm -fv /tmp/hosts* # again, I like verbose file operations. I like to know what my system is doing.
    echo "Update process complete"
    #echo "-------------------------------------------------------------"
    echo "As a side-effect of this script, any changes you wish to make"
    echo "persistent in the hosts file should be made to $ORIGFILE"
    echo "because /etc/hosts will be respawned from that file and the "
    echo "newlist from the server each time this script runs."
    exit
    else
    echo "Update failed"
    fi
    http://hostsfile.mine.nu/downloads/updatehosts.sh.txt
    And my hosts file now looks like this:
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    # End of file
    # The Hosts File Project http://hostsfile.mine.nu
    # Global Advert Servers Blocklist - Personal Edition
    # Release 13/09/2008
    # Servers Verified as up and running 13/09/2008 (by dns exploration)
    # Updated sorted and maintained by Andrew Short (sh0rtie)
    # Contact: [email protected]
    # A big thank you to all contributers (too many to mention)
    # who really have made this project a success, well done :)
    # Licensed under the LGPL a copy of the license may be viewed at
    # http://www.gnu.org/licenses/lgpl.txt
    # WARNING:
    # This file is *extremely comprehensive* and some sites might be
    # included here that you wish to visit, if this is the case you can
    # deactivate the block on that site by placing a # (octothorpe)symbol
    # before its entry, this will deactivate blocking on that server
    # so for example #127.0.0.1 foobar.com
    # will enable you to visit foobar.com or you can just simply delete
    # the line that contains the site you wish to visit.
    # NB:
    # For some computer software updates you may need to disable
    # this file in order to perform the update, if you have problems
    # rename this file from "hosts" to "hosts.txt" reboot then perform
    # the update and then rename this file back to "hosts" to re-enable it
    # You must keep the below lines
    127.0.0.1 localhost
    127.0.0.1 pop3.norton.antivirus
    127.0.0.1 pop3.spa.norton.antivirus
    127.0.0.1 admintds.megatds.com
    127.0.0.1 ads.game.net
    127.0.0.1 ads.tokgajah.com
    127.0.0.1 dl.downloadhosting.com
    127.0.0.1 game.treeloot.com
    127.0.0.1 gw1.celticfestival.org
    127.0.0.1 incestlove.info
    127.0.0.1 klickcash.com
    127.0.0.1 loomia.cachefly.net
    127.0.0.1 pornoexit.com
    127.0.0.1 privacy.virtumundo.com
    127.0.0.1 redirect.virtumundo.com
    127.0.0.1 tds.megatds.com
    127.0.0.1 telebizz.org.uk
    127.0.0.1 the2all.info
    127.0.0.1 treeloot.com
    127.0.0.1 ultraload.net
    127.0.0.1 ultratds.com
    127.0.0.1 v1.cc
    127.0.0.1 virtumundo.com
    # etc...
    The thing i'm unsure of is this section:
    # You must keep the below lines
    127.0.0.1 localhost
    Since localhost is already stated here:
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost pote
    For now I've deleted the redundant localhost entry, since it seems to be there for windows compatability.
    Is there any harm in leaving that entry?
    Last edited by verve (2008-11-29 04:08:29)

    Not as far as I know.
    It probably just re-encounters the localhost hostname and either dumbly re-adds it to the internal table or ignores it. In any case, no logically discernible harm done.
    -dav7

  • Unable to edit Hosts file in Win7 Home Prem 64bit.

    Clean install.  Administrator account.  Unable to edit the permissions of the hosts file. There is one in the drivers\etc file, which I cannot edit. There is supposed to be one in %systemroot% \SysWOW64\drivers\etc   but there is no etc folder in the drivers folder.
     Turned off DNS Server. gpedit.msc not found when calling it in "run".  This is the first time I've used 64bit anything, so a bit of a newb in that respect. 
    Any ideas?

    Hi,
    As you would know, some of the Windows 7 users can’t save the host file how they like it. The host file itself will simply vanish what the user had done with it.
    In my scenario, I was unable to fix this even after all the instructions provided in above posts. Hence, I have come up with my own idea and luckily it
    worked.<o:p></o:p>
    For those users who experience this problem, here are the instructions to fix it.
    First of all, you should have the administrative privileges to edit the host file. In normal case, if an admin user directly go to the host file in system 32 and add his preferences
    and then save it, it should keep the changes. However, in some wicked scenarios, it will not. I had done a detailed research on this through all the available online forums and even contacted Microsoft several times with no luck.
    So, here you go with a correct solution for this problem.
    Note: If you are not comfortable with Windows OS and don’t know what you are doing, this process can mess up things.
    Hence, do not attempt if you are not 100% sure you can make it.
    Login to an administrator account.
    In the run command (Windows key + R) type, “control folders” and hit enter.
    Click on the tab called view.
    Select the radio button for Show hidden files, folders and drivers –ON.
    Uncheck the ‘Hide extension for known file types-ON
    Click on Apply and then OK.
    Type “drivers” in run command and hit enter. It will take you to where the folder “drivers” located in System 32.
    From the “drivers” folder, double click the folder named “etc.”
    Now you can see the “host” file along with others.
    Now, in the search area in start menu, type “notepad.exe” and open the notepad.exe as administrator. (In order to do this, you can right click on the notepad.exe shown and select
    “Run as Administrator.” If UAC prompted, click YES/OK)
    Now, you will have a notepad open with administrative privileges.
    At the top left side of the notepad click on “file” and then select “Open.”
    A box will appear which will allow you select the file to open. Carefully, navigate to the location where the “host” file is located. To do that, select the drive where you
    installed Windows. If you have the Windows installed in C: select ‘Local Disk (C :)’ > Windows > System 32 > drivers > etc. At this point, you might not have another option to proceed or select from. The window would be empty. To proceed further,
    select the option “All files” from the drop down menu which is located above the “Open” and “Cancel” button. You can now see all the files located in etc folder.
    Select “hosts” from the menu and click on “Open.” Note: You can either click on open or double click on the file.
    Now, you will have the host file information open in the notepad which you had already initiated before with administrative privileges.
    Make whatever changes you as you wish. (Example: If you need to block a web site called
    www.block123.com you can type 127.0.0.1
    www.block123.com right under the local hosts.
    Make sure you do not change any other letters or characters which are already saved in host file.
    This will completely mess up your computer. For more information on the information about host file, refer the Microsoft web site:
    http://support.microsoft.com/kb/972034 . If you
    have accidently delete/edit anything from host file, please delete the complete information stored in host file and copy and paste the host file information from Microsoft which is appropriate for your Operating System.)
    Click on “file” again and select “Save as” and save it in etc. If the path is showing correct to etc folder, save it to etc. If it is navigated to somewhere else, follow the
    instructions provided above and select etc folder and then save it.
    Now, go back to the actual host file location which is in System32 > Drivers > etc (You would have it already open if you had followed the instructions just like the way
    I have provided)
    There you can see 2 host files. One which has already been there and the other one you just saved.
    Among the two, one is called “hosts” and the ‘type’ would be ‘file.’ This is the original host file. The other which you have just saved will be named as “hosts.txt” with the
    file type as ‘Text Document.’
    Right click on the original host file and select rename. You can even click on that file and press F2. This will enable the option to rename the file. Rename the original host
    file as “hostold” and hit enter.
    Now, select the second host file which we have saved as a text document and rename it as “hosts.” Make sure that you DELETE the .txt file extension in order to change the type
    “Text Document” to “File” and hit enter.
    Now, you have successfully saved the host file with your preferences.
    You can now delete the file which we renamed as “hostold.”
    We are done. You would need to do this process all over if you need to edit the host file again. I know it is difficult, however, it is our own requirement and we have to invest
    few minutes on this.
    Enjoy your computer with a great feeling that you have finally edited the host file as per your wish and take it from here. Wish you luck.
    Should you have any questions, please feel free to ask.

  • Loop back adapter host file configuration issue?

    i did not exactly follow the following instructions :
    Add a line to the C:\winnt\system32\drivers\etc\hosts file with the following format, right after the localhost line:
    IP_address hostname.domainname hostname
    instead I have the following in my host file
    IP_address hostname
    that should be fine too right?

    i have actually reintalled oracle infra and then mid tier and it installed fine this time... I was able to log in to the portal at first with the the url
    http://localhost:7778/pls/portal
    but then I changed the portal database password with the command since I could not log into it
    alter user portal account unlock;
    alter user portal identified by password
    and I am getting the following error in the web page:
    Servlet Error
    An unexpected servlet error was encountered.
    Please check the log file for more details.
    where are the log files I looked in the server.log at C:\OraHome_midtier\j2ee\OC4J_Portal\log\OC4J_Portal_default_island_1 one of them and they say:
    java.lang.NullPointerException
         at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    06/04/09 15:11:15 Internal server error
    java.lang.NullPointerException
         at com.evermind.server.rmi.RMIServer.run(RMIServer.java:464)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    what does this is going wrong

  • HT201442 I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    I am got error while trying to restore,, but i just only error file with 3194. I try many step by install lastest version and fix host file, but still fail. Anybody can give me any key point to solve this problem? Thank you

    Error 3194:
    This device isn't eligible for the requested build
    It means that Apple has stopped signing the version of iOS that you have, try downloading the latest iOS version, then try Restore again.

  • How can I solve error 3194? My hosts file is clean!

    Hi, I try to restore my iPhone and iPad which both are a jailbroken iOS 5.1.1 to a clean 5.1.1 (and no, I don't want to update to iOS 6).
    Now when I am restoring them with shift+click restore and choose the correct and clean iOS 5.1.1 ipsw it gives me error 3194 after extracting.
    Error 3194 can be solved by cleaning the hosts file in system32,drivers,etc folder BUT my hosts file is clean and I can ping gs.apple.com . Deactivating Firewalls didn't help. I don't think it's a connection problem between my PC and gs.apple.com . Some say you get this if you have a jailbroken device. Well thanks, now I know why I'm getting it, but not how to solve it
    So. How can I restore my phone and get rid of error 3194?
    Even a clean iTunes on a friends PC couldn't restore my iOS devices. My iPod nano restored w/o any problem.
    Thanks

    Reboot and see whether it goes away.

  • Working with virtual host & hosts files on a local network

    I'm setting up a small local web and production server here in my office running Leopard.
    I'm setting up virtual hosts for users on the network to review and comment on websites in development. Ideally they'd access it as:
    host1.webserver.local
    host2.webserver.local
    host3.webserver.local
    Problem is, users on the network can see webserver.local just fine, but the subdomains need to be registered with hosts file on each computer.
    Is there a way I can manage all computers hosts file easily? I was thinking of an SVN repository, but this still requires going to each computer to update the file.
    Any suggestions here would be great.
    Thanks
    Rich

    Hi jscher2000
    Thank you for your interest.
    I am using "manual prxoy configuration" option in firefox with port 8080. I have tried the option of "Use system proxy settings" but it doesn't help.

  • Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Can't update iOS 8 on my iPhone5 through iTunes on Windows 8 (error 3004, 3194). Updated host file, opened port 80, 443; turned off security system and firewall, etc. But nothing works. How to solve this problem?

    Hi the_mad_movies,
    It seems like this article will be the best option for addressing this issue:
    Error 3194, Error 17, or "This device isn't eligible for the requested build"
    http://support.apple.com/kb/ts4451
    Thanks for coming to the Apple Support Communities!
    Cheers,
    Braden

  • SOLVED: Some files not being picked up with File: protocol

    Hello all,
    I'm doing some testing of the B2B server on a laptop and seeing some weird behaviour. I have the B2B server set up much like the 850 inbound scenario for the tutorial, except that I am using AS2 over generic exchange with a FILE: transport server. I have "Shoppers" set up as the remote trading partner.
    Now for the weirdness. If I put a file in the incoming directory called "ACME_850_4010_1_12345.edi" (it's the one I used for the tutorial, it is picked up fine by the B2B server; it errors out (as expected) because I don't have a trading partner called "ACME" in my setup. However, if I drop a file in the incoming directory called "Shoppers_850_4010_1_12345.edi" with the same exact content as the ACME file - the B2B server never picks up the file to process it. The other weird thing - after putting the Shoppers file in the directory, the B2B server just stops picking up files from that directory altogether until I restart the B2B server.
    Any ideas?
    DOH - files were not exactly the same. Missing carriage return at the end of the file. Adding it seems to have solved the issue.
    Best regards,
    John

    Hello John,
    Trading Partner identification by default is based on the Exchange protocol and in your case of Generic Exchange , it is based on name of the file or the Directory name depending on the following property.
    Property:           oracle.tip.adapter.b2b.allTPInOneDirectory
    Type:           boolean
    Default Value:      false
    Description:
    If set to true, enables the identification of all files dropped into a particular directory with the trading partner name identified by the directory name: Example: E:\Partners\Acme
    The default is to identity each file by prefixing the file with the Trading Partner name Example: Acme_orders.xml
    To debug this issue, please enable transport trace and go through the log.
    Rgds,Ramesh

Maybe you are looking for