Portál AbcLinuxu, 12. května 2025 15:41

Dotaz: Automaticke nastavenie PROXY cez DHCP

26.6.2008 14:14 shepi | skóre: 6
Automaticke nastavenie PROXY cez DHCP
Přečteno: 1028×
Odpovědět | Admin
Ahojte vsetci. Neviem najst chybu preco mi odmieta moj ISC DHCP 3.1 premennu
option wpad-url code 252 = text;
option wpad-url "http://10.2.0.20/proxy.pac\n";
Ked to dopisem a restartnem dhcp server vyhlasi nasledovnu chybu.

Jun 26 14:01:16 server1 dhcpd: /etc/dhcpd.conf line 33: option definitions may not be scoped.
Jun 26 14:01:16 server1 dhcpd: ^Ioption wpad-url code
Jun 26 14:01:16 server1 dhcpd:                ^
Jun 26 14:01:16 server1 dhcpd: /etc/dhcpd.conf line 34: unknown option dhcp.wpad-url
Jun 26 14:01:16 server1 dhcpd: ^Ioption wpad-url "http://10.2.0.20/proxy.pac\n"
Jun 26 14:01:16 server1 dhcpd:                ^
Jun 26 14:01:16 server1 dhcpd: Configuration file errors encountered -- exiting
Jun 26 14:01:16 server1 dhcpd:
Jun 26 14:01:16 server1 dhcpd: If you did not get this software from ftp.isc.org, please
Jun 26 14:01:16 server1 dhcpd: get the latest from ftp.isc.org and install that before
Jun 26 14:01:16 server1 dhcpd: requesting help.
Jun 26 14:01:16 server1 dhcpd:
Jun 26 14:01:16 server1 dhcpd: If you did get this software from ftp.isc.org and have not
Jun 26 14:01:16 server1 dhcpd: yet read the README, please read it before requesting help.
Jun 26 14:01:16 server1 dhcpd: If you intend to request help from the dhcp-server@isc.org
Jun 26 14:01:16 server1 dhcpd: mailing list, please read the section on the README about
Jun 26 14:01:16 server1 dhcpd: submitting bug reports and requests for help.
Jun 26 14:01:16 server1 dhcpd:
Jun 26 14:01:16 server1 dhcpd: Please do not under any circumstances send requests for
Jun 26 14:01:16 server1 dhcpd: help directly to the authors of this software - please
Jun 26 14:01:16 server1 dhcpd: send them to the appropriate mailing list as described in
Jun 26 14:01:16 server1 dhcpd: the README file.
Jun 26 14:01:16 server1 dhcpd:
Jun 26 14:01:16 server1 dhcpd: exiting

Mam zlu verziu ? Apache mi bezi , proxy.pac mam v root dokumentoch. Dik za akykolvek typ.
Nástroje: Začni sledovat (1) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

26.6.2008 14:25 shepi | skóre: 6
Rozbalit Rozbalit vše Re: Automaticke nastavenie PROXY cez DHCP
Odpovědět | | Sbalit | Link | Blokovat | Admin
uz som to aj nasiel kde bola chyba. tato premenna nesme byt v subnet

option wpad-url code 252 = text;

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.