LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 15
Squid Proxy Server on Ubuntu and WPAD - Proxy Auto Detection


Hi

Currently my DHCP Server is working
now
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 192.168.50.0 netmask 255.255.255.0 {
option routers 192.168.50.1;
option subnet-mask 255.255.255.0;
# option domain-name-servers 192.168.50.88, 210.14.32.21, 210.14.32.22;
option domain-name "local.dns.com";
# option wpad-url code 252 = text;
# option wpad-url "http://192.168.50.101/wpad.dat";
# option custom-proxy-server code 1 = proxy;
# option local-pac-server code 252 = text;
# option local-pac-server "http://192.168.50.101/wpad.dat";
option custom-proxy-server "http://192.168.50.101/wpad.dat";
option ip-forwarding off;
default-lease-time 21600;
max-lease-time 43200;
}


Errors:
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 https://www.isc.org/software/dhcp/
/etc/dhcp3/dhcpd.conf line 15: unknown option dhcp.custom-proxy-server
option custom-proxy-server "http://192.168.50.101/wpad.dat"
^
Configuration file errors encountered -- exiting
root@firewall-desktop:~#



please help


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

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


Reply


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


All times are GMT -5. The time now is 11:01 AM.

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