dhcp + wpad + firefox

Glenn Satchell Glenn.Satchell at uniq.com.au
Tue Aug 21 12:59:58 UTC 2007


Hi Eduardo

When you fire up the browser do you see anything in the dhcp and
apache server log files? You should be seeing a DHCPINFORM in the dhcp
logs, and an entry in the apache access.log.

The wpad entry point to port 8181, is Apache listening on this port?

Have you tried using snoop, tcpdump, ethereal, etc, to look at traffic
from the PC to see if it is attempting to use any of these services?

regards,
-glenn

>Date: Mon, 20 Aug 2007 16:25:37 -0300
>From: "Eduardo Henrique" <dupotter at gmail.com>
>To: dhcp-users at isc.org
>Subject: Re: dhcp + wpad + firefox
>
>==========DCHP==========================================
>look my dhcpd.conf (Distro: Linux CentOS 4.5)
>ddns-update-style interim;
>ignore client-updates;
>option wpad code 252 = text;
>authoritative;
>
>option wpad code 252 = text;
>option wpad 
"http://192.168.0.5:8181/wpad.dat\n<http://192.168.0.5:8181/wpad.dat%5Cn>
>";
>
>
>subnet 192.168.0.0 netmask 255.255.255.0 {
>
>
># --- default gateway
>       option routers                  192.168.0.5;
>       option subnet-mask               255.255.255.0;
>
>       option domain-name              " agrovale.com.br";
>#       ddns-update-style               interim;
>       option domain-name-servers       201.10.128.3, 201.10.120.3;
>
>       option time-offset              -18000; # Eastern Standard Time
>       option ntp-servers               192.168.0.10; # Define cliente dhcpd
>utilizar serv. ntp
>       option netbios-name-servers     192.168.0.10; # Define quem e o
>servidor wins
># --- Selects point-to-point node (default is hybrid). Don't change this
>unless
># -- you understand Netbios very well
>       option netbios-node-type 8; # Parametro utilizado junto com
>netbios-name-servers
>
>#       range dynamic-bootp 192.168.0.128 192.168.0.254;
>       default-lease-time 91600;
>       max-lease-time 91600;
>
>       # we want the nameserver to appear at a fixed address
>
>
>
>#****************************************************************#
>#------------------------ CPD - AGROVALE ------------------------#
>#****************************************************************#
>
>       host gilmar {
>               hardware ethernet 00:0A:5E:53:F8:1D;
>               fixed-address 192.168.0.31;
>
>=========WPAD.DAT=============================================
>
>My wpad.dat (tested with *.pac too)
>
>function FindProxyForURL(url, host) {
>if(isPlainHostName(host))
>  return "DIRECT";
>else
>  return "PROXY 192.168.0.5:3128 ";
>}
>
>=========APACHE===============================================
>My apache was not modified. just I started the service
>
>The wpad.dat is /var/www/html
>
>my url: http://192.168.0.5/wpad.dat
>
>
>PLEASE. I do not know. Some idea?
>
>Regards,
>Eduardo Henrique.
>
>
>2007/8/14, Eduardo Henrique <dupotter at gmail.com>:
>>
>> Hi,
>>
>> the mozilla firefox don't work with wpad in the dhcpd.conf.
>>
>> somebody already tested this solution?
>>
>> (my english is not very good)
>>
>>
>> Thanks,
>> Eduardo Henrique (dupotter).
>
>
>
>
>-- 
>Eduardo Henrique (dupotter)
>
>
>


More information about the dhcp-users mailing list