From owner-freebsd-questions Mon Jan 3 0: 1:57 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rdc3.on.home.com (ha1.rdc3.on.home.com [24.2.9.68]) by hub.freebsd.org (Postfix) with ESMTP id 85DB314BC5 for ; Mon, 3 Jan 2000 00:01:55 -0800 (PST) (envelope-from a.genkin@utoronto.ca) Received: from tea.thpoon.com ([24.114.152.71]) by mail.rdc3.on.home.com (InterMail v4.01.01.02 201-229-111-106) with ESMTP id <20000103075941.UIQJ7552.mail.rdc3.on.home.com@tea.thpoon.com> for ; Sun, 2 Jan 2000 23:59:41 -0800 Received: from antipode by tea.thpoon.com with local (Exim 2.05 #1 (Debian)) id 1252R5-0000SX-00; Mon, 3 Jan 2000 03:01:51 -0500 To: freebsd-questions@freebsd.org Subject: Re: @home cable modem installation using dhcp on freebsd References: X-Face: 0=A/O5-+sE[Tf%X>rYr?Y5LD4,:^'jaJ!4jC&UR*ZrrK2>^`g22Qeb]!:d;}2YJ|Hq"LHdF OX`jWX|AT-WVFQ(TPhFVak)0nt$aEdlOq=1~D,:\z5QlVOrZ2(H,mKg=Xr|'VlHA="r Organization: Wgaf From: Arcady Genkin Date: 03 Jan 2000 03:01:50 -0500 In-Reply-To: Daniel L Quigley-Skillin's message of "Mon, 3 Jan 2000 02:48:04 -0500" Message-ID: <87puvjy45t.fsf@tea.thpoon.com> Lines: 41 User-Agent: Gnus/5.0802 (Gnus v5.8.2) XEmacs/21.1 (Bryce Canyon) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Daniel L Quigley-Skillin writes: > @Home actually needs the host name of the machine to issue it an IP > address. I tried to get this information a couple of days ago to help out, > but you know how things go. :/ > > >From here you have two options. > > First: Find out your stack info and set the stack static. <--- My > favorite option as @Home doesn't switch your IP very often, in fact, my IP > has never changed in 3 years. > > Second: Invoke dhcp using the -h flag. Similar to this. > > /sbin/dhcpcd -h CRxxxxxx-A -c /etc/sysconfig/network-scripts/ifdhcpc-done eth0 I didn't know dhcpcd was ported to FreeBSD. In any case, my stock 3.4-R system doesn't have it, and it is not in ports. I'd assume that the original poster's system doesn't have it either. > CRxxxxxx-A being your propper host name, given by @Home. Your script > locations may vary, but you get the main point of it. A correction -- client ID, not host name. @home's hostnames are in form crxxx.wave.tor.on.home.com, while client ids are in form that you quoted. > You should be able to get your host name and or stack info from the member > services page in the @Home content. > > I'd only use the dhcp option if you really feel you have to. @Home DHCP > servers are know to die. I've heard about this too. Although, in my 4 months with @home I've never had problems with their dhcp servers. In any case, if dhclient cannot obtain a lease from a server, it automatically tries to fall back to last IP that it had before -- pretty fail-safe feature. -- Arcady Genkin http://www.thpoon.com "'What good is my pity? Is not the pity the cross upon which he who loves man is nailed?..'" (Zarathustra - F. Nietzsche) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message