dhcp + wpad + firefox
Eduardo Henrique
dupotter at gmail.com
Mon Aug 20 19:25:37 UTC 2007
==========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