Saturday, 22 August 2015

Software Center Settings / Configuring Internet access on Linux Terminal

1- How to run Ubuntu/Linux Software Center or configuring Internet access on Linux Terminal  using an internet with WPA/WPA2 type proxy authentication (say our college network) ??

Ans : Have a sudo user login (root preferred) , usually to easily allow permissions issue with .conf files.
Now , go to /etc/apt directory --
Create a file named apt.conf in this directory.
In case the file already exists before ,you just need to modify the existing file.
Now write the following to the apt.conf file --

Acquire::http::proxy "http://username:password@proxyserver:port/";
Acquire::https::proxy"https://username:password@proxyserver:port/";
Acquire::socks::proxy "socks://username:password@proxyserver:port/";
Here,the proxyserver stands for your proxy network address while the port signifies the designated proxy port.
Save the file and restart your ethernet/WiFi again. That's all , your software center and internet access on terminal and other apps should work now !! .
Snapshots of the task :: 


1 comment: