From owner-freebsd-questions@FreeBSD.ORG Thu Jul 10 11:32:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC3EB37B401 for ; Thu, 10 Jul 2003 11:32:33 -0700 (PDT) Received: from mailf.telia.com (mailf.telia.com [194.22.194.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5181443F3F for ; Thu, 10 Jul 2003 11:32:32 -0700 (PDT) (envelope-from webmaster@swedehost.com) Received: from thor.swedehost.com (h129n2fls33o804.telia.com [217.209.211.129]) by mailf.telia.com (8.12.9/8.12.9) with ESMTP id h6AIWVFB002365 for ; Thu, 10 Jul 2003 20:32:31 +0200 (CEST) X-Original-Recipient: From: Hasse Organization: The Valhalla Project To: questions@freebsd.org Date: Thu, 10 Jul 2003 20:32:35 +0200 User-Agent: KMail/1.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200307102032.35225.webmaster@swedehost.com> Subject: dhclient filling up my logfile. Help needed. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 18:32:34 -0000 Hi everybody. Need help. Running FreeBSD 4.8, all files are up to date, cvsuped yesterday, and I'm connected to the net via ADSL. Dynamic IP, but hardly ever change. dhclient is filling up my /var/log/messages. Every 10th minute it makes a new request and logging it. I've tried to request a longer lease time in my dhclient.conf without any luck, and I've tried to get it to log to another logfile named dhclient, resulting in it logging to two files. dhclient and /var/log/messages. I've tried to talk to my ISP about this problem, without any luck. I think most of the computers connected to this network are win-boxes, and they don't seem to have this problem. ( Don't log this kind of info ) How can I keep the program from logging all this info ? Not really a problem, but very annoying. -------- Jul 10 20:03:26 odin dhclient: DHCPREQUEST on xl0 to 10.0.113.1 port 67 Jul 10 20:03:26 odin dhclient: DHCPACK from 10.0.113.1 Jul 10 20:03:26 odin dhclient: New Network Number: 217.209.211.0 Jul 10 20:03:26 odin dhclient: New Network Number: 217.209.211.0 Jul 10 20:03:26 odin dhclient: New Broadcast Address: 217.209.211.255 Jul 10 20:03:26 odin dhclient: New Broadcast Address: 217.209.211.255 Jul 10 20:03:26 odin dhclient: bound to 217.209.211.129 -- renewal in 542 seconds. Jul 10 20:12:28 odin dhclient: DHCPREQUEST on xl0 to 10.0.113.1 port 67 Jul 10 20:12:28 odin dhclient: DHCPACK from 10.0.113.1 Jul 10 20:12:28 odin dhclient: New Network Number: 217.209.211.0 Jul 10 20:12:28 odin dhclient: New Network Number: 217.209.211.0 Jul 10 20:12:28 odin dhclient: New Broadcast Address: 217.209.211.255 Jul 10 20:12:28 odin dhclient: New Broadcast Address: 217.209.211.255 Jul 10 20:12:28 odin dhclient: bound to 217.209.211.129 -- renewal in 495 seconds. -------- My dhclient.conf : timeout 60; retry 60; reboot 10; select-timeout 5; initial-interval 2; script "/sbin/dhclient-script"; media "-link0 -link1 -link2", "link0 link1"; send host-name "odin.swedehost.com"; send dhcp-client-identifier 00:01:02:f7:7d:e8; send dhcp-lease-time 7200; supersede domain-name "swedehost.com"; prepend domain-name-servers 127.0.0.1; request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers, host-name; require subnet-mask, domain-name-servers; ------------ My /var/db/dhclient.leases : lease { interface "xl0"; fixed-address 217.209.211.129; medium "-link0 -link1 -link2"; option subnet-mask 255.255.255.0; option time-offset 3600; option routers 217.209.211.1; option dhcp-lease-time 1200; option dhcp-message-type 5; option domain-name-servers 127.0.0.1,10.0.0.1,10.0.0.2; option dhcp-server-identifier 10.0.113.1; option broadcast-address 217.209.211.255; option domain-name "swedehost.com"; renew 4 2003/7/10 18:12:28; rebind 4 2003/7/10 18:20:56; expire 4 2003/7/10 18:23:26; } lease { interface "xl0"; fixed-address 217.209.211.129; medium "-link0 -link1 -link2"; option subnet-mask 255.255.255.0; option time-offset 3600; option routers 217.209.211.1; option dhcp-lease-time 1200; option dhcp-message-type 5; option domain-name-servers 127.0.0.1,10.0.0.1,10.0.0.2; option dhcp-server-identifier 10.0.113.1; option broadcast-address 217.209.211.255; option domain-name "swedehost.com"; renew 4 2003/7/10 18:20:43; rebind 4 2003/7/10 18:29:58; expire 4 2003/7/10 18:32:28; } -------- Regards Geir Svalland.