Office of Secret Intelligence

Who taught you to be a spy, fucking Gallagher!?!

Posts for December, 2014

Linux Snippet: Bring Networking Back Up

It's been a while since I've posted, I've just been buried with work and life.


Yesterday I was trying to recover some things from a personal VM that went kaput for reasons completely unrelated to this post, and I found that networking was disabled, even though I had it enabled through Virtualbox.


After a little bit of digging, I found the following command did the trick:


sudo dhclient eth0

nixCraft (one of my favorite *nix knowledgebase sites) explains it best:


The dhclient command, provides a means for configuring one or more network interfaces using the Dynamic Host Configuration Protocol, BOOTP protocol, or if these protocols fail, by statically assigning an address.

Thus starts my journal (and what this blog was originally intended to be) of miscellaneous commands and algorithms that I need to keep handy.