From owner-freebsd-questions Thu Feb 6 12:45:54 2003 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 601A037B405 for ; Thu, 6 Feb 2003 12:45:47 -0800 (PST) Received: from nyogtha.unknownkadath.net (nyogtha.unknownkadath.net [209.153.153.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26F8643F75 for ; Thu, 6 Feb 2003 12:45:46 -0800 (PST) (envelope-from asenchi@asenchi.com) Received: from temple (12-245-211-155.client.attbi.com [12.245.211.155]) by nyogtha.unknownkadath.net (8.12.6/8.12.6) with SMTP id h16KxnFF059036; Thu, 6 Feb 2003 15:59:49 -0500 (EST) From: "Asenchi" To: "Bill Moran" , "Jason Cave" Cc: Subject: RE: dhcp Date: Thu, 6 Feb 2003 15:45:05 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3E42C0E1.6010403@potentialtech.com> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG also maybe check /etc/rc.local to make sure that it isn't starting there either. If dhclient is running on startup then in your local daemons, then it will also cause this problem. Attach as bill suggested those files and this will help tons. Curt -----Original Message----- From: owner-freebsd-questions@FreeBSD.ORG [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Bill Moran Sent: Thursday, February 06, 2003 3:09 PM To: Jason Cave Cc: freebsd-questions@FreeBSD.ORG Subject: Re: dhcp Jason Cave wrote: > When I do dhclient rl0, and it doesnt give an on screen error it just > sets the ip to 0.0.0.0. Other times it spouts alot of text with this > line at the top. Feb 5 22:17:52 c68 dhclient: Can't bind to dhcp > address: Address already in use. This means there is already a dhclient running. (you can't run it twice on the same network card). That particular error is probably a result of your experimenting, and is probably not the cause of your problem. Please send your configuration information. Attach /etc/rc.conf to your next email, as well as the output of 'ifconfig -a' (while the machine is plugged in and having trouble) Please look in /var/log/messages for any dhclient errors. Actually, do this: grep 'dhclient' /var/log/messages > /some/file and attach /some/file to the next email (along with the other requested output). > My isp says its not a problem with > their system. I'll bet they're correct. > Nor is there any settings to stop the machine from using > the dhcp server. What do you mean by this? That the ISP won't change or that FreeBSD won't? The latter is definately untrue, FreeBSD can be configured to use or not use DHCP as you desire. > Thank you for all the assistance so far. Hope we get this figured out for you. > > Jason Cave > macgawd@hotmail.com > > >> From: Bill Moran >> To: Jason Cave >> CC: freebsd-questions@freebsd.org >> Subject: Re: dhcp >> Date: Thu, 06 Feb 2003 14:31:34 -0500 >> >> Jason Cave wrote: >> >>> When I do dhclient it just sets the ip to 0.0.0.0. I know it sets it >>> to this as it couldnt find the dhcp server. >> >> >> How do you know that the cause of the failure is that it can't find the >> server? Do you get an error message? What does it say? >> >>> Is there a way to have it look at a specific ip for the dhcp server? >> >> >> Not that I know of. >> >> Are you using the same NIC as when it worked? Many ISPs require you to >> register a MAC address before they will assign an IP. >> >> Is there any information in /var/log/messages about the failure? >> >>> It use to work with versions 4.5 and 4.6. I am unable to locate >>> either of these older versions on the network. Anyone know where to >>> get this the older versions? >> >> >> Behaviour has not changed in 4.7, to my knowledge. My machine here >> has been >> 4.6 and is now 4.7 and still works fine as a dhclient. >> >> You should still be able to download 4.6.2 isos from the ftp sites. >> And if >> you want to go back further, you can use cvsup to "downgrade" a 4.7 >> system. >> (just use a RELENG_4_5 tag) >> >>> All replies are appreciated. >> >> >> Hope this is helpful. >> >>> Jason Cave >>> macgawd@hotmail.com >>> >>>> From: Bill Moran >>>> To: Jason Cave >>>> CC: freebsd-questions@freebsd.org >>>> Subject: Re: dhcp >>>> Date: Thu, 06 Feb 2003 09:28:45 -0500 >>>> >>>> Jason Cave wrote: >>>> >>>>> Is there another way for FreeBSD to check for a DHCP server, like = >>>>> another program. dhclient just says >>>>> address family and protocal family are incompatable. FreeBSD use to = >>>>> work and other Linux OS's can >>>>> see it without problems. Its a connection where the DHCP server >>>>> has to = >>>>> assign the ip or the ip isnt >>>>> allowed outside the network. >>>> >>>> >>>> >>>> I've never seen dhclient have trouble with any DHCP server. >>>> >>>> What version of FreeBSD? You say it "used to work", when did it >>>> stop working? >>>> Did you upgrade? >>>> >>>> -- >>>> Bill Moran >>>> Potential Technologies >>>> http://www.potentialtech.com >>> >>> >>> >>> >>> _________________________________________________________________ >>> STOP MORE SPAM with the new MSN 8 and get 2 months FREE* >>> http://join.msn.com/?page=features/junkmail >>> >>> >>> >> >> >> -- >> Bill Moran >> Potential Technologies >> http://www.potentialtech.com > > > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message