-   Linux - Networking (
-   -   Squid Proxy Server on Ubuntu and WPAD - Proxy Auto Detection (

cheesewizz 12-09-2010 09:23 PM

Squid Proxy Server on Ubuntu and WPAD - Proxy Auto Detection

Currently my DHCP Server is working
what i want to have is auto detection of squid proxy in any browser

but I still got an error in my dhcp server when I restart it.

My Config:
# DHCP configuration generated by Firestarter
ddns-update-style interim;
ignore client-updates;

subnet netmask {
option routers;
option subnet-mask;
# option domain-name-servers,,;
option domain-name "";
# option wpad-url code 252 = text;
# option wpad-url "";
# option custom-proxy-server code 1 = proxy;
# option local-pac-server code 252 = text;
# option local-pac-server "";
option custom-proxy-server "";
option ip-forwarding off;
default-lease-time 21600;
max-lease-time 43200;

root@firewall-desktop:~# /etc/init.d/dhcp3-server restart
dhcpd self-test failed. Please fix the config file.
The error was:
Internet Systems Consortium DHCP Server V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit
/etc/dhcp3/dhcpd.conf line 15: unknown option dhcp.custom-proxy-server
option custom-proxy-server ""
Configuration file errors encountered -- exiting

please help


acid_kewpie 12-10-2010 03:49 AM

unrelated to networking. Moved to Linux - Newbie.

You've not defined what that option means, unlike the "wpad-url" option, which is 252, text. I'm sure you don't need that option, as you're already using option 252 elsewhere. it doesn't matter what the options are called, just what number they have, so only define it once.

All times are GMT -5. The time now is 06:55 PM.