Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 502  / 2 Years ago, fri, november 4, 2022, 1:14:21

i have a public wifi network which has wep security. it requires a key to establish connection and a username and password when i open a browser to surf.



but in software center there is no demand of username and password hence i can't use it to install anything on my ubuntu 12.04 LTS.



please give solution for this.


More From » wireless

 Answers
5

Well i found the answer...
just open the terminal(ctrl+Alt+t) and type:



sudo gedit /etc/apt/apt.conf


enter your password if required.
Now this will open the apt.conf file in /etc/apt folder, here you can see your proxy
and port settings. in my case it is:



Acquire::http::proxy "http://<a>172.18.0.1:3128/</a>";
Acquire::https::proxy "https://<a>172.18.0.1:3128/</a>";
Acquire::ftp::proxy "ftp://<a>172.18.0.1:3128/</a>/";
Acquire::socks::proxy "socks://<a>172.18.0.1:3128/</a>";


now you have to just edit it by inserting your username and password for the network
like this:



Acquire::http::proxy "http://username:[email protected]:port/";
Acquire::https::proxy "https://username:[email protected]:port/";
Acquire::ftp::proxy "ftp://username:[email protected]:port/";
Acquire::socks::proxy "socks://username:[email protected]:port/";


now save this....and you are done!!!



HappyUbuntu


[#31205] Saturday, November 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iedncommon

Total Points: 200
Total Questions: 95
Total Answers: 132

Location: Tonga
Member since Mon, Aug 2, 2021
3 Years ago
iedncommon questions
Sat, Jun 4, 22, 18:20, 2 Years ago
Mon, Apr 4, 22, 08:10, 2 Years ago
Tue, Jul 6, 21, 15:11, 3 Years ago
;