{"id":651,"date":"2014-03-18T17:51:53","date_gmt":"2014-03-18T21:51:53","guid":{"rendered":"http:\/\/cyclops.creed3.com\/?p=651"},"modified":"2014-04-04T20:54:18","modified_gmt":"2014-04-05T00:54:18","slug":"the-mac-firewall-saga","status":"publish","type":"post","link":"https:\/\/tech.creed3.com\/?p=651","title":{"rendered":"The Mac Firewall Saga &#8211; updated"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.cyclops.creed3.com\/images\/stories\/MacNetwork\/firewall_250.jpg\" alt=\"firewall\" width=\"250\" align=\"left\" border=\"0\" style=\"margin: 0 4px 4px 0;\" \/>Well, &#8216;saga&#8217; may be over stating it a bit, but it was a day of frustration, which began with me just tweaking a few settings and installing some upgrades. &nbsp;For the record, I&#8217;m running OS X 10.8.5. &nbsp;The next day, after being online for perhaps an hour, I suddenly had no network connection. &nbsp;After verifying that our connection was still live, a quick check of my network settings revealed an IP address that started with 169. &nbsp;Okay, that&#8217;s simply wrong as our home network is 198.<!--more--><\/p>\n<p>Time to put on the Sherlock Holmes hat. &nbsp;For the time being, I opted to ignore trying to figure out why it suddenly changed without warning, and just get the thing connected again to the rest of the world. &nbsp;First off I tried renewing the DHCP lease, get a new IP from the router, that should fix it. &nbsp;Nope. &nbsp;How about a fixed IP address, set manually without DHCP, something I use with a few computers and servers at home. &nbsp;Nope. &nbsp;At this point I could wrangle miles of network cable to see if that&#8217;s the problem, oh but wait, just turn on AirPort and connect via wireless. &nbsp;Nope. &nbsp;Reboot the network hub, maybe it took a power surge. &nbsp;Nope. &nbsp;Try different ports in the hub. &nbsp;No again. &nbsp;This process went on for a while with no positive results.<\/p>\n<p>At the time this reared it&#8217;s ugly head I was in the process of transferring my long running OS X 10.6.8 system and files (from a bootable USB drive I use at work and home so I can leave the laptop at home) into the fresh and new world of OS X 10.8.5. &nbsp;So I reboot the computer from the 10.6.8 drive and &#8230; PRESTO! &nbsp;Networking that works as it should. &nbsp;That means this isn&#8217;t a cable or hardware failure, but a software issue in the 10.8.5 setup that just occurred in the past day. &nbsp;ugh.<\/p>\n<p>As I mentioned I was updating some software. &nbsp;Now I&#8217;m generally very careful about these sort of things, not wanting to invite a virus or some other nefarious bit of code into my computing world, but I suppose the inevitable can happen. &nbsp;And while it&#8217;s extremely rare on a Mac, I couldn&#8217;t rule that out. &nbsp;So run the scanner, and while that&#8217;s going start nosing around online. &nbsp;The virus scan can back empty (thankfully) but so did my search efforts, which seemed strange as I can almost always find something. &nbsp;<\/p>\n<p>During this time I tried all of the following: changed settings and disabled the firewall; disabling TCPBlock and GlimmerBlocker, both preference panes that control what goes in and out of your machine; reset the hosts file; deleted the plist files for network settings; looked at iptables and dns records; rebooted numerous times checking each change, all to no avail.<\/p>\n<p>Eventually through countless rewording of my search terms I one forum that said an IP starting with 169 is a self assigned IP which is only caused when the machine has no network connection. &nbsp;I already know the connection and hardware is good. &nbsp;So modifying the search again to add &#8220;self assigned IP&#8221; I found another forum confirming this and with several possible suggestions, among them a link to an article on cnet: <a href=\"http:\/\/reviews.cnet.com\/8301-13727_7-20075509-263\/addressing-self-assigned-ip-addresses-after-installing-os-x-10.6.8\/#ixzz1oc3WF3mw\" target=\"_blank\">Addressing self-assigned IP addresses after installing OS X 10.6.8<\/a>. &nbsp;Not exactly the same version of the OS but here he says the culprit is a corrupt firewall settings file and deleting it will resolve the problem. &nbsp;This preference file is named <em>com.apple.alf.plist.<\/em> and can be located in the <em>\/Macintosh HD\/Library\/Preferences\/<\/em> folder. &nbsp;Reboot after deleting the file.<\/p>\n<p>SUCCESS!<\/p>\n<p>That was it. &nbsp;Network restored AND another lesson under my belt on computer troubleshooting. TY Mr. Kessler and cnet!<\/p>\n<p>Quick update: it happened again! &nbsp;The solution also worked again. &nbsp;So clearly there is something going on that needs some further examination.<\/p>\n<p>Another update: the problem continued to reappear and so my search for an answer continued. &nbsp;I eventually discovered in the advanced network settings that there were proxies enabled, of which the web proxy specified a self-assigned IP number. &nbsp;Could it be&#8230;? &nbsp;I disabled all proxies, and it&#8217;s been stable for a week now, even after rebooting a couple of times just to see if I could trip things up again. &nbsp;So I feel reasonably sure that was the culprit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Well, &#8216;saga&#8217; may be over stating it a bit, but it was a day of frustration, which began with me just tweaking a few settings and installing some upgrades. &nbsp;For the record, I&#8217;m running OS X 10.8.5. &nbsp;The next day, after being online for perhaps an hour, I suddenly had no network connection. &nbsp;After verifying [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,19,16],"tags":[],"class_list":["post-651","post","type-post","status-publish","format-standard","hentry","category-online","category-mac","category-technology"],"views":2319,"_links":{"self":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/651","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=651"}],"version-history":[{"count":0,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=\/wp\/v2\/posts\/651\/revisions"}],"wp:attachment":[{"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.creed3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}