Extenuating Circumstances is a weblog by Dan Hon

  • Blogroll

  • Posted
    17 May 2007 @ 9am

    Tagged
    apple, hosts, mac, niload, osx, stevejobs

    Mac Annoyances

    Okay, so this one is from our internal tech wiki. I posted on This is Mind Candy that we develop on an Apple platform (we don’t deploy to an Apple platform, though), and it appears that one of our internal wikis has sprung an Annoyances page. There’s one small rant about Firefox 2.x and tab bar close buttons, for example. Anyway. There’s this great section on Mac hosts files:

    Mac hosts file editing:

    • Edits to hosts don’t always “take”. The incantation at this point is fuck you, Jobs:
    •  sudo niload -v -m hosts . < /etc/hosts 
    • if that doesn’t work, ifconfig the ethernet interface down and up again
    • sudo ifconfig en0 down/up

    (Yes, this does mean “turn it of and turn it on again” for the networking subsystem. Isn’t OS X ”great”?)


    2 Comments

    Posted by
    tom
    18 May 2007 @ 7pm

    What’s wrong with

    lookupd -flushcache

    ?


    Posted by
    danhon
    22 May 2007 @ 4pm

    Oooh. We’ll try that.


    Leave a Comment

    Out and about: PSFK Conference London links for 2007-05-17