Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2000 11:18:03 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: diskless workstation
Message-ID:  <20000911111803.A80232@ringwraith.office1.bg>
In-Reply-To: <E13YAHL-0004cL-00@sexta.cs.huji.ac.il>; from danny@cs.huji.ac.il on Sun, Sep 10, 2000 at 07:48:27PM %2B0300
References:  <E13YAHL-0004cL-00@sexta.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
The following excerpt from isc-dhcp3-3.0.b1.17's dhcpd.conf works for me:

subnet 192.168.1.0 netmask 255.255.255.0 {
  range 192.168.1.193 192.168.1.208;

  filename "/tftpboot/ringnet.kernel.fd0";
  option root-path "192.168.1.2:/usr/n/ringrowl/root";

  host ringrowl {
    hardware ethernet 00:01:02:ab:50:67;
    fixed-address 192.168.1.66;
  }
  host ringcrawl {
    hardware ethernet 00:01:02:1c:7d:ef;
    fixed-address 192.168.1.67;
  }
}

This specifies the same root path for all diskless stations - the rest
is left to the rc.diskless* scripts, which look for config files in
/conf/their.ip.address/etc/; just place an rc.conf there with overrides
over /etc/defaults/rc.conf, and.. ideally, things should work :)

Hope that helps :)

G'luck,
Peter

-- 
This sentence would be seven words long if it were six words shorter.

On Sun, Sep 10, 2000 at 07:48:27PM +0300, Danny Braniss wrote:
> hi,
> i spent some time trying out diskless ws, using dhcp/pxe/tftp.
> now im stuck after loadin the kernel - via nfs - and not finding the root
> i tried putting 'host:/something/root/bar / nfs rw 0 0' in its fstab, and
> the error i get is something like: bar device not found.
> what magic am i missing?
> 
> BTW, is someone working in passing all this stuff via dhcp? im trying to come
> up with an almost zero admin diskless ws solution.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000911111803.A80232>