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
How to Fix the Windows Managem...
A corrupt WMI repository can mess up things like the Symantec management agent and its ability to deploy software. If you check properties of "WMI Control" in ...
MS Outlook 2010 - How to Delet...
* In Outlook, click your calendar. * Click the View tab, Change View. * Change to a List view. * Sort the list by end date. * Highlight old past events and ...
Linux - How to Mount Clonezill...
Make sure the partclone package is installed.apt-get install partcloneCreate an empty image file.touch image-file.imgRestore the clonezilla files into the image...
iPhone Mail with MS Exchange M...
PROBLEMOnce in a while I am unable to delete an email message on my iPhone. It throws an "unable to move message to trash" error message. I use the normal iPh...