Help with setting up a raspberry PI to work through the network

Hello,
I’m hoping anyone can assist me with setting up a raspberry PI to work. I initially had to configure the /etc/network/interfaces file and /etc/resolv.conf and give it a static IP as it couldn’t configure itself when connected by Ethernet. When trying to run apt-get update or apt-get install cntlm, my connection times out which I believe has something to do with being behind the proxy firewall.

I have even tried including a /etc/apt/apt.config with the following code;

Acquire::http::Proxy "http://username:password@proxynet.uct.ac.za:8080/";

Which gave out the following readout even when I had included my username and password when I tried apt-get install cntlm;

Err <a href="http://mirrordirector.raspbian.org/raspbian/" title="http://mirrordirector.raspbian.org/raspbian/">http://mirrordirector.raspbian.org/raspbian/</a> wheezy/main cntlm armhf 0.92.3-1
407 Proxy authentication required ( forefront TMG requires authorization to fulfill the request. Access to the web proxy filter is denied. )  [IP: 137.158.153.187 8080]

Have run outta ideas, any and all are welcomed

Solution?

Hey,

Have you gotten help with the problem yet?

Sorry for the necropost, but

Sorry for the necropost, but anyone stumbling across this might benefit from a solution.

CNTLM (and many packages) are available on the LEG FTP site. Since this is hosted at UCT, no proxy is needed to access it. You can browse to http://ftp.leg.uct.ac.za/debian/dists/wheezy/ or set the mirror location to something similar in /etc/apt/sources.list.

Once CNTLM is installed and configured, that can be configured to install other packages as described in the question post.

If binaries for the architecture are not available on the mirror, a kluge is to host the file in a similar directory on a machine with a HTTP daemon and add an entry to the /etc/hosts file. As long as the package lists don’t need to be updated before installing the package, it should install that way.

Alternately, if accessing eduroam is a possibility, the proxy is not needed for downloads on that network segment.

Syndicate content