Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > Help with Proxy

Forgot Password?
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-30-2009   #1 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 4
Help with Proxy

I recently posted this on the YDL Forums but theres no activity going on there so I decided to see if I can get help here. I have Yellow Dog Linux and here is what I posted at the YDL Forums:
I'm somewhat new to linux here but here is my problem. I can only connect to dialup in my area and i need to share my internet with my desktop server and my ps3 running yellow dog linux. So I tried everything and came up with a solution. I setup a proxy on my laptop to share the dialup connection to my desktop so I can use certain programs to run that require internet. But I cant figure how to make YDL on my PS3 connect to the proxy.
The connection is perfect as I can setup the proxy in firefox on YDL but I need the entire OS to connect to the proxy.
Heres a model to show my setup:
hxxp://xxx.shareapic.com/pfiles/41647/Help.jpg - without hxxp:// and change xxx to www
I desperately need help with this so if you don't understand my setup please see the image above.
yourevilmonkey is offline  


Reply With Quote
Old 06-30-2009   #2 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
You can set the proxy in an environmental variable. If it works you can then set it permanently in /etc/profile so that it's loaded each logon.
Code:
export http_proxy=127.0.0.1
http://www.linuxforums.org/forum/arc...xy-client.html
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 06-30-2009   #3 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 4
Can you help me with this. I dont know what an environmental variable is? My proxy is setup on my windows laptop and called anologx. I'm new in linux and i have no clue what a environmental variable is or how to make one.
yourevilmonkey is offline   Reply With Quote
Old 06-30-2009   #4 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
No problem, but I will say up front that I found this solution here on the forum and have only briefly played with proxies in the past

Environmental variables are set on Windows too...you can check them either on the command line or in the Advanced tab of System Properties. Generally speaking it is a placeholder for important information that can be accessed from any application or by the operating system itself. Your path variable says where to look for executables when a command is run. In Windows, open cmd.exe and run
Code:
echo %path%
In Linux or other Unix-like systems run
Code:
echo $PATH
If you were to type ping.exe in Windows the operating system would look first in C:\Windows\system32 and you should see that location in the path variable. The equivalent in Linux would likely be /bin/ or /usr/bin/

Now that you have the hang of variables we'll set your proxy variable. If you're using some kind of authentication or require passwords this may be a little bit more complicated. Open a terminal such as konsole or gnome-terminal and run the following command, replacing the IP address with the IP of your proxy server and 8080 with the port number you are using if it is different.
Code:
export http_proxy=127.0.0.1:8080
Once that's done try to connect to the internet. If you've configured Firefox to use one you can temporarily remove that setting and try from there.

If you get that far post back and let us know how you got on.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 06-30-2009   #5 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 4
Still nothing. Thanks for the help though.
yourevilmonkey is offline   Reply With Quote
Old 06-30-2009   #6 (permalink)
Just Joined!
 
Join Date: Jun 2009
Posts: 4
Is there anything else I can do to set this up? I can still get on my other windows computer normally. I use a program called proxifier which forces all applications to use the proxy. Is there any applications that can do this? If not than is anyone able to help with the environmental variable to get it working?
yourevilmonkey is offline   Reply With Quote
Old 06-30-2009   #7 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
I know it can be easily done, but I'm sorry I don't really have the experience myself in this area. I hope one of the other forum members can jump in to help
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:44 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2