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) 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,"**")) { return "DIRECT"; }
  else if (shExpMatch(url,"*.0600013n.*")) { return "DIRECT"; }
  else if (url.substring(0,5)=="http:") {return "PROXY"; }
  else if (url.substring(0,6)=="https:") {return "PROXY"; }
  else if (url.substring(0,4)=="ftp:") {return "PROXY"; }
  else if (url.substring(0,7)=="gopher:") {return "PROXY"; }
  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!