1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WPAD entry

Discussion in 'Tomato Firmware' started by kripz, Mar 20, 2008.

  1. kripz

    kripz LI Guru Member

    From my understanding, to get WPAD working, i need to create a DNS entry for "wpad" pointing to the server.

    Is this possible on my WRT54GL?

    If not can i configure WPAD using DHCP?

    Heres the steps for setting it up on a Windows DHCP server:

     
  2. HennieM

    HennieM Network Guru Member

    I dunno how to formulate it in the DHCP setup that Tomato uses, but, in general, you would add an entry like this to /etc/dhcpd.conf:

    option proxy-auto-detect code 252 = text;

    and then, under your shared-net definition

    option proxy-auto-detect "http://your.server.name/wpad.dat:80";

    However, you may not need to do that; Browsers, and I dunno if it's ALL browsers, but I think so, should go looking for http://wpad.whatever.your.domainname/wpad.dat when they are set to auto detect proxy. Therefore, you need to make sure your http server has the alias or name wpad, and that a file called wpad.dat (which contains proxy.pac scripting) exist in the root of your web.

    From http://www.wpad.com/

     
  3. kripz

    kripz LI Guru Member

    How does it know what domain name to look up?
     
  4. kripz

    kripz LI Guru Member

    BUMP
     
  5. HennieM

    HennieM Network Guru Member

    The domain of the computer the browser is running on - hardcoded into the network settings, or obtained via DHCP.

    I guess if the computer does not have a domain assigned, the browser may just go looking for "http://wpad/wpad.dat", i.e. the computer with the name "wpad".
     

Share This Page