Solved

setting up proxy in ubuntu 10.04

Posted on 2011-02-24
9
685 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
 
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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now