My company's firewall enforces NTLMv2 proxy authentication, which kinda sucks for some Linux hosts since I can't pass that authentication directly on the command line. Maybe I'm dumb, but every command format I found didn't work. But this did work...
1. Install CNTLM package: apt-get install cntlm
2. Configure username/password in /etc/cntlm.conf.
3. Restart cntlm service: /etc/init.d/cntlm restart
4. Try this format: http_proxy='http://127.0.0.1:3128/' apt-get update
CNTLM does the authentication for you, so you can relax and think about more important things.
NOTES
* Enable remote hosts in cntlm.conf to allow other hosts to use this child proxy.
Related Articles
Why Linux is Cool
Linux proudly sits in a very special place in the heart of the IT world. Watching Linux pros clack away at the command line inspires a sense of awe and ador...
Kingston USB Drive Not Working...
I upgraded to MacOS El Capitan and to my chagrin my Kingston USB drive no longer works. I get some stupid "Unable to start DTXX application" or "ERR_COULD_NOT_...
Sony PRS-505 Ebook Reader
Having recently been in the market for an ebook reader, I researched just about every current and soon-to-be-released brand and model. I narrowed my search dow...
Running Adobe Illustrator with...
Here's a quick one. I've been struggling with getting Adobe Illustrator (Creative Cloud) to run properly with user-level privileges. It would often freeze and...