From owner-freebsd-ports@FreeBSD.ORG Sun Dec 10 14:34:55 2006 Return-Path: X-Original-To: ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DCCB16A403 for ; Sun, 10 Dec 2006 14:34:55 +0000 (UTC) (envelope-from jim@csas.com) Received: from virtual.reptiles.org (virtual.reptiles.org [198.96.118.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D95A43CA0 for ; Sun, 10 Dec 2006 14:33:43 +0000 (GMT) (envelope-from jim@csas.com) Received: from [192.168.2.126](dxb-as18664.alshamil.net.ae[217.165.164.122] port=4268) (2799 bytes) by virtual.reptiles.org([198.96.118.57] port=25) via TCP with esmtp (sender: ) id for ; (dest:remote)(R=bind_hosts)(T=inet_zone_bind_smtp) Sun, 10 Dec 2006 09:34:51 -0500 (EST) (Smail-3.2.0.116-Pre 2003-Jun-18 #6 built 2004-Feb-11) Message-ID: <457C1B01.9090400@csas.com> Date: Sun, 10 Dec 2006 18:34:41 +0400 From: Jim Mercer User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Joerg.Pulz@frm2.tum.de Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: FreeBSD Port: isc-dhcp3-client-3.0.5.r2 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Dec 2006 14:34:55 -0000 using FreeBSD 6-2-PRERELEASE and this port. using the default dhclient, the system boots up, gets DCHP from the DSL provider (or in other tests a local DHCP server), and otherwise works fine. however, i couldn't figure out how to configure the default client to do dynamic DNS with TSIG, so i installed this port, as it seems to support it. after installing the port, and testing with: # killall dhclient ; sleep 10 ; /usr/local/sbin/dhclient -q sis0 i found i had a working config, which got an address, and updated my dns server. however, when i reboot the machine, and let the rc scripts start it, i get the following: Dec 10 14:13:49 <3.3> csas-uk dhclient: send_packet: Network is unreachable Dec 10 14:13:49 <3.3> csas-uk dhclient: send_packet: please consult README file regarding broadcast address. and, it doesn't initialize the network card nor get DHCP from the server. i suspect this has something to do with the dhclient attempting and/or failing to initialize the ethernet interface. i suspect the default dhclient doesn't bother testing or initializing the interface, just fires up bpf and goes to it. can you look into this, and let me know if there is a work-around? my configs: rc.conf: ----------------- ifconfig_sis0="DHCP" dhcp_program="/usr/local/sbin/dhclient" dhcp_flags="-q" ----------------- /usr/local/etc/dhclient.conf ---------------- timeout 60; retry 60; reboot 10; select-timeout 5; initial-interval 2; key csas-uk.dyn.reptiles.org { algorithm HMAC-MD5; secret ""; } interface "sis0" { request subnet-mask, broadcast-address, routers, domain-name-servers, domain-name, host-name; require domain-name-servers; #media "media autoselect"; media ""; send fqdn.fqdn "csas-uk.dyn.reptiles.org"; send fqdn.encoded on; send fqdn.server-update off; zone dyn.reptiles.org { key "csas-uk.dyn.reptiles.org"; } } ----------------