Web lists-archives.com

How to configure .pac proxy parameters?




Hello everyone,

I work in a high school where there is a wifi network. To connect to this network you need to enter a password, specify the proxy address (in gnome network manager) http://172.17.0.219/proxy.pac and then go to the captive portal on ac-amiens.fr to log in. I respect all these steps but systematically Chrome and Firefox show an error message "DNS_PROBE_FINISHED_NXDOMAIN". I cannot access the captive portal.

The .pac file contains:

function FindProxyForURL(url,host)
{
  if (shExpMatch(url,"*172.17.0.219*")) { return "DIRECT"; }
  else if (shExpMatch(url,"*.0600013n.*")) { return "DIRECT"; }
  else if (url.substring(0,5)=="http:") {return "PROXY 172.16.0.1:3128"; }
  else if (url.substring(0,6)=="https:") {return "PROXY 172.16.0.1:3128"; }
  else if (url.substring(0,4)=="ftp:") {return "PROXY 172.16.0.1:3128"; }
  else if (url.substring(0,7)=="gopher:") {return "PROXY 172.16.0.1:3128"; }
  else { return "DIRECT"; }
}

Whay should I do? Do I need to manually configure this proxy? Do I need to install a specific package?

Thank you for your help!