dhcp + wpad + firefox

Eduardo Henrique dupotter at gmail.com
Tue Aug 21 14:49:59 UTC 2007


I don't known, look this:

In the server apache in port 80 (dchpd,conf with link for wpad in the
port 80 too), the PC with IE works:
access.log for apache:
192.168.1.34 - - [21/Aug/2007:11:47:12 -0300] "GET /wpad.dat HTTP/1.1"
200 125 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Win32)

with Firefox, no registers.

regards,
Eduardo Henrique.

2007/8/21, Eduardo Henrique <dupotter at gmail.com>:
> Look my /var/log/messages:
>
> The PC 192.168.1.34:
>
> Aug 21 11:35:06 aroeira dhcpd: DHCPREQUEST for 192.168.1.34 from
> 00:17:31:0d:e2:9d via eth0
> Aug 21 11:35:06 aroeira dhcpd: DHCPACK on 192.168.1.34 to
> 00:17:31:0d:e2:9d via eth0
> Aug 21 11:35:06 aroeira dhcpd: DHCPREQUEST for 192.168.1.34 from
> 00:17:31:0d:e2:9d via eth0
> Aug 21 11:35:06 aroeira dhcpd: DHCPACK on 192.168.1.34 to
> 00:17:31:0d:e2:9d via eth0
>
>
> In the access.log of /var/log/httpd/ does not have registers.
>
> (sorry for my english)
>
> regards,
> Eduardo Henrique.
>
> 2007/8/21, Glenn Satchell <Glenn.Satchell at uniq.com.au>:
> > 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)
> > >
> > >
> > >
> >
> >
>


-- 
Eduardo Henrique (dupotter)


More information about the dhcp-users mailing list