View previous topic :: View next topic |
Author |
Message |
Florianbur Tux's lil' helper
Joined: 02 Sep 2004 Posts: 83
|
Posted: Sun Sep 19, 2004 1:11 pm Post subject: Newbie: Automatic proxy configuration (.pac) |
|
|
Hey, just installed my gentoo, first time linux
Still in the process of setting everything up for the first time, so have your patience please....
Until now, I have always used Windows to connect to my wireless access point. There are two ways to do it:
1. Using an automatic proxy configuration script (blabla.pac)
2. Using the Cisco VPN Client and a static proxy
So, I still have no X Server running, only console so far, and have just gotten ipw2100 to work. Since I want to bother with the VPN Client later on, I'd like to get the first method to work first.
Now how do I connect to the internet under linux using the pac file? I bring up eth1, dhcp me my adress, and then?
I thought of two possibilites:
1. Download the pac file, view it, and enter the proxy per hand. I did download it, but I don't know how to view it... the browser I am using must know the proxy, but I can't get it out (firefox)
2. Use the pac file under linux. Don't know how though...
And after that I do have a further question: using the automatic script under windows, I always get a login box, which I need to fill with info. Will that also needed if I enter the proxy manually? Or is it only needed to access the .pac file?
Pretty please help me please! |
|
Back to top |
|
|
m.b.j. Guru
Joined: 12 Sep 2003 Posts: 407 Location: Germany (Essen)
|
Posted: Sun Sep 19, 2004 9:42 pm Post subject: |
|
|
in firefox, go to the connection configuration and just fill in the pac url in the field "proxy auto configuraion url" or somthing like that.
if you want wget work with the proxy your have to type
Code: | # export http_proxy="[yourproxy]:[your proxyport]"
# export ftp_proxy="[yourproxy]:[your proxyport]"
|
my pac file
function FindProxyForURL(url, host) {
if (isPlainHostName(host) || dnsDomainName(host, ".mbjnetwork") )
return "DIRECT";
else return "PROXY 10.0.1.254:3128";
}
so the proxy for me is 10.0.1.254:3128
you have to enter
Code: |
# export http_proxy="10.0.1.254:3128"
|
hope it helps _________________ root@mbj # echo "sys-pizza/calzone -tunfish" >> /etc/paludis/use.conf
root@mbj # paludis -i calzone --dl-blocks discard |
|
Back to top |
|
|
Florianbur Tux's lil' helper
Joined: 02 Sep 2004 Posts: 83
|
Posted: Mon Sep 20, 2004 6:19 am Post subject: |
|
|
Well, it would have, as it is really usefull info, but that I didn't have problems with...
The thing I didn't manage to, which is probably pretty simple, is to open the pac file... Which program do I use for that? Which program did you use? |
|
Back to top |
|
|
Florianbur Tux's lil' helper
Joined: 02 Sep 2004 Posts: 83
|
Posted: Mon Sep 20, 2004 6:27 am Post subject: |
|
|
Oh nevermind, it is just a simple text file
Thanks! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|