Solved

setting up proxy in ubuntu 10.04

Posted on 2011-02-24
9
692 Views
Last Modified: 2013-11-15
Hi. Im setting up an ubuntu computer, in a etwork that is behind a proxy.
I have a windows computer where i have set up the proxy settings, addresses and ports.

Setting up the same infos in ubuntu network proxy settings does not help me connecting to the internet.

Firefox just says "connecting to www.google.dk" ad then times out.

Windows rus without problems.

What am I missing?
0
Comment
Question by:bsit
  • 6
  • 2
9 Comments
 
LVL 11

Expert Comment

by:Pieter Jordaan
ID: 34968659

Can you ping the proxy server from the Ubuntu machine?
What proxy software are you running?
Are both machines on the same subnet?
0
 

Author Comment

by:bsit
ID: 34970609
I have not tried to ping the proxy server. im really not much into proxy settings at all.

I wrote down the settings from IE on a machine, allready running in the system.

Typed the proxy settings into IE on my win machine and concluded that I managed to use the internet on my win.

Typed the proxy settings into the network-proxy settings from the settingsmenu in ubuntu, but am not able to connect to the internet (have teamviewer on the ubuntu as well, and TV cannot connect either.
0
 

Author Comment

by:bsit
ID: 34970620
Both machines connecting with DHCP from the same switch.
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 34975424
sudo vi /etc/environment
Add the line: http_proxy="http://proxy.address:port" and save the file.  Either log out and back in or type export http_proxy="http://proxy.address:port"

This should then allow the proxy server details to take effect immediately and remain across reboots.

Test with Firefox and it should work now.

Does the proxy server require authentication?  Is it transparent authentication?  If so this opens a whole new can of worms.
0
 

Author Comment

by:bsit
ID: 34977048
Thanks! I will try this.
There is no need for typing In user and passwordas far A's i know. Managed to reach the Web  in ie without anyhow. The network is not mine, so i cannot do much about the worm issue except passing on your statement.
Ill let you know if this solves my problem.
0
 

Author Comment

by:bsit
ID: 34986328
unfortunately Im still not able to see webpages or use teamviewer on the ubuntu computer.
However, I have found out that FTP upload is working.

What does that tell us?
0
 
LVL 13

Expert Comment

by:WizRd-Linux
ID: 34986706
FTP clients will use the ftp_proxy export instead of http_proxy... which you didn't set..

http://www.ubuntugeek.com/how-to-configure-ubuntu-desktop-to-use-your-proxy-server.html#more-2584

Start firefox and instead of setting a proxy server as they do in the guide set the proxy setting to "Use System Proxy Setting".  As you will see from the guide almost every application has its own settings but you have the option of using the system proxy in most applications.
0
 

Accepted Solution

by:
bsit earned 0 total points
ID: 35375538
I still have not found a solution, so I have been forced to move my ubuntu machine to another location.
Is there anyway I can close a question without acceting a solution?
0
 

Author Closing Comment

by:bsit
ID: 36439898
:-(
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question