From owner-freebsd-questions@FreeBSD.ORG Wed May 26 17:28:32 2004 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 AD1EE16A4CE for ; Wed, 26 May 2004 17:28:32 -0700 (PDT) Received: from ms-smtp-01-eri0.socal.rr.com (ms-smtp-01-qfe0.socal.rr.com [66.75.162.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 771C543D2D for ; Wed, 26 May 2004 17:28:32 -0700 (PDT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.12])i4R0RW6j022312 for ; Wed, 26 May 2004 17:27:33 -0700 (PDT) Received: from socal.rr.com (localhost [127.0.0.1]) by ms-mss-01.socal.rr.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0HYC00E34JXWVX@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Wed, 26 May 2004 17:27:32 -0700 (PDT) Received: from [10.10.6.202] (Forwarded-For: [24.25.245.126]) by ms-mss-01.socal.rr.com (mshttpd); Wed, 26 May 2004 14:27:32 -1000 Date: Wed, 26 May 2004 14:27:32 -1000 From: hoe-waa@hawaii.rr.com To: Eric Crist Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: RE: ethernet card not coming up on reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hoe-waa@hawaii.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2004 00:28:32 -0000 Aloha and Mahalo Okay, that works. I dropped out of gnome and logged ina s root. I deleted all the append data in rc.conf and I deleted /usr/local/etc/rc.d/rc.local. I then rebooted. When I came back up ifconfig showed no ip address. I then did the "killall -9 dhclient" and the "sh /etc/netstart". After that completed ifconfig showed the ip address. So, what's happening? Is there a sequence problem or do I need to have a script run to kill dhclient and then run netstart? Thanks for your time helping with this problem. Robert ----- Original Message ----- From: Eric Crist Date: Wednesday, May 26, 2004 12:53 pm Subject: RE: ethernet card not coming up on reboot > Before you run the netstart command, you need to kill all processes > named dhclient. You can accomplish this with a: > > #killall -9 dhclient > > And then, #sh /etc/netstart > > Eric F Crist > President > AdTech Integrated Systems, Inc > (612) 998-3588 > > > > -----Original Message----- > From: hoe-waa@hawaii.rr.com [hoe-waa@hawaii.rr.com] > Sent: Wednesday, May 26, 2004 12:45 PM > To: Luke Kearney > Cc: Eric Crist; freebsd-questions@freebsd.org > Subject: Re: ethernet card not coming up on reboot > > > > Subject: Re: ethernet card not coming up on reboot > > > > > On Tue, 25 May 2004 20:00:12 -1000 > > hoe-waa@hawaii.rr.com spake thus: > > > > > Aloha Eric and Luke > > > > > > I am aware that sysinstall will append to rc.conf. > > > I went ahead and deleted all of the appends and rebooted. The > > > ethernet did not come up on reboot. I had to use sysinstall to get > > > an ip. And yes, it did append to rc.conf again. > > > > > > I will look into setting a static ip but I would like > > > to know why this is happening. I have 3 other boxes > > > that have FreeBSD on them and they don't have this problem. > > > > > > Robert > > > > > > ----- Original Message ----- > > > On Tuesday, May 25, 2004 8:15 pm > Luke Kearney wrote: > > > When you used /stand/sysinstall again did you reboot to get the > IP or > > did you bring up the interface by hand? I am wondering if having > only> one config line in rc.conf gives you no IP upon boot whether > or not > > having booted and go no address can you get one by using netstart or > > not? eg > > > > #sh /etc/netstart > > > > This should re-read your rc.conf file and execute the network > related> cmds. > > After "sh /etc/netstart" I get : > > hw.bus.devctl_disable: 1-> 1 > (then the lo0 printou) > dhclient already running? (pid-221) > > and ifconfig -a unchanged. have to use sysinsstall. > > > > > One more shot in the dark and believe me this is a shot in the > > dark, try > > changing the line in rc.conf to ifconfig_sk0="UP" and then through > > rc.local run dhclient as a separate script. The net effect being > that> you start the interface before trying to get an IP as a separate > > process. > > I tried this but it didn't change anything...if I did it right? I > editedrc.conf and changed the line [ifconfig_sk0="DHCP"] to > [ifconfig_sk0="UP"] and created /usr/local/etc/rc.d/rc.local to read > ifconfig_sk0="DHCP" > > When I did this I could never i initialize DHCP. Even sysinstall > failed. > as a side note, during boot, the sequence delays for over a minute > during starting DHClient. It can't initialize sk0 but sysinstall > can. Go > figure? > > > > > > > Just out of curiousity, your other three machines that don't have > this > > problem, are they all identical to the machine that does? Somehow I > > think they are probably all unique in which case we can continue to > > focus on the machine at hand. > > You are absolutely right! My other boxes are all frankenputers. > > Robert > > > > HTH > > > > LukeK > > > > -- > > Luke Kearney > > >