Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-09-2010, 08:23 PM   #1
Registered: Aug 2004
Location: Philippines
Distribution: Centos
Posts: 221

Rep: Reputation: 15
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

Old 12-10-2010, 02:49 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977Reputation: 1977
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.

Last edited by acid_kewpie; 12-10-2010 at 02:52 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
LXer: Squid Proxy Server On Ubuntu 9.04 Server With DansGuardian, ClamAV, And WPAD LXer Syndicated Linux News 0 07-03-2009 08:51 PM
Using ISA Server as Parent Proxy and want to setup Squid as dwonstream proxy tauseef1 Red Hat 1 04-09-2008 01:03 AM
Squid WPAD proxy getting TCP_DENIED/400 Invalid-request HiOctane21 Linux - Networking 0 02-07-2007 12:49 PM > Forums > Linux Forums > Linux - Networking

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration