Solved

setting up proxy in ubuntu 10.04

Posted on 2011-02-24
9
688 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
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

910 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

23 Experts available now in Live!

Get 1:1 Help Now