From owner-freebsd-hackers Thu Sep 21 9:54:28 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-177-115.dsl.snfc21.pacbell.net [63.202.177.115]) by hub.freebsd.org (Postfix) with ESMTP id 4DE8337B424 for ; Thu, 21 Sep 2000 09:54:22 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id XAA02252; Wed, 20 Sep 2000 23:48:47 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200009210648.XAA02252@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Danny Braniss Cc: freebsd-hackers@freebsd.org Subject: Re: diskless workstation In-reply-to: Your message of "Thu, 21 Sep 2000 09:37:16 +0300." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 20 Sep 2000 23:48:46 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > }> }I think this is correct, actually. Danny, can you confirm that you're > }> }using one of the class A address spaces (eg. 10.*.*.*?) > }> } > }> my net is class B. 132.65.0.0 > } > }Gotcha. What's your netmask? I bet it disagrees one way or the other > }with the "canonical" netmask this code assumes. > it's the host part 132.65.80.247, the 247 is 0xF7 and hence class C :-) > my netmask is 255.255.0.0 for the time being till we go vlan. Hmm, I would expect this to be rejected by the offending code, so your original fix is actually wrong, rather it's a bug in the code insisiting that you ought to be using a class C netmask. > }> }Actually, IMO the code around this is entirely wrong; we should always > }> }respect the mask supplied by the server, and only use the canonical mask > }> }if we don't get one at all. > }> } > }> my man! > }> > }> im cleaning up bootp and will let you know. > } > }You could make yourself *really* popular and teach it about DHCP, you > }know. 8) > } > what have you in mind? it already knows some DHCP, the leasing stuff is > yet a gray area with me (i dislike it totaly, but then i own a class B ;-) > i've added hostname though. suggestions? Mostly I guess I'd really like it to simply save *all* of the DHCP response in the environment. Just "dhcp.xxx" where xxx is the parameter value would probably do it, or we can argue about names for everything if there aren't established names already. There should be no real problems with the lease, as most leases are more than long enough to boot the system anyway, so I wouldn't bother with that. > on a different subject, but related: > on my nfsroot client, im now stuck - again -, ls -ls /dev/null shows > strange minor/major: 0, 0x00020002 instead od 2,2 > which of course ruins rc.diskless. Do you have NFSv3 mounts for any of your filesystems listed in /etc/ fstab? The loader only does v2 NFS, and that's the way / is mounted. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message