Re: dhcp boot was: Re: diskless workstation

2000-11-06 Thread John Hay
> In message <[EMAIL PROTECTED]>, Doug Ambrisko writes: > >| to the kernel's output. I had a look at the pxe code in > >| /sys/boot/i386/libi386/pxe.c where pxeboot is built from and in > >| /sys/i386/i386/autoconf.c which is the kernel side and it looks like > >| they don't do anything about swap

Re: dhcp boot was: Re: diskless workstation

2000-11-05 Thread Ian Dowse
In message <[EMAIL PROTECTED]>, Doug Ambrisko writes: >| to the kernel's output. I had a look at the pxe code in >| /sys/boot/i386/libi386/pxe.c where pxeboot is built from and in >| /sys/i386/i386/autoconf.c which is the kernel side and it looks like >| they don't do anything about swap. There is

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Doug Ambrisko
John Hay writes: | > | > You don't, it is done via the bootp or dhcp record option 128 for example | > | > option option-128 "192.168.2.254:/usr/work/netboot"; | > | > You then have to make the swap file in that directory of format | > | > swap. | > | > Use dd to create the file by

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Mike Smith
> Yes, you are right. Putting the ip number in the root-path cures the > pxeboot failure. But is still only configure the NFS ROOT according > to the kernel's output. I had a look at the pxe code in > /sys/boot/i386/libi386/pxe.c where pxeboot is built from and in > /sys/i386/i386/autoconf.c which

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread John Hay
> | > You don't, it is done via the bootp or dhcp record option 128 for example > | > option option-128 "192.168.2.254:/usr/work/netboot"; > | > You then have to make the swap file in that directory of format > | > swap. > | > Use dd to create the file by copying /dev/zero for the

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Doug Ambrisko
John Hay writes: | > You don't, it is done via the bootp or dhcp record option 128 for example | > option option-128 "192.168.2.254:/usr/work/netboot"; | > You then have to make the swap file in that directory of format | > swap. | > Use dd to create the file by copying /dev/zero f

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Danny Braniss
In message <[EMAIL PROTECTED]>you write: } [...] }The option-128 confuse the pxeboot program. If I put } }option root-path "/export/diskless"; }option option-128 "10.1.2.3:/export/shark"; } }in the dhcpd.conf file, pxeboot tries to mount /export/sharkM-^[^B-i=FF }as the root filesystem. Removing t

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Mathew KANNER
On Nov 04, John Hay wrote: > > John Hay writes: > > | > > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not > > | > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and > > | > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever. > > |

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread John Hay
> John Hay writes: > | > > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not > | > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and > | > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever. > | > > | > You don't need those; you c

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread Doug Ambrisko
John Hay writes: | > > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not | > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and | > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever. | > | > You don't need those; you can get them

Re: dhcp boot was: Re: diskless workstation

2000-11-04 Thread John Hay
> > the dhcp.xxx stuff is easy, the problem is that the DHCP options are not > > enough, so im trying to look into defining a FBSDclass ala PXEClient, and > > supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever. > > You don't need those; you can get them out of /etc/fstab. In part

Re: dhcp boot was: Re: diskless workstation

2000-09-25 Thread Mike Smith
> }> what's in a name ;-) > }> the dhcp.xxx stuff is easy, the problem is that the DHCP options are not > }> enough, so im trying to look into defining a FBSDclass ala PXEClient, and > }> supplying stuff like usr-ip/usr-path swap-ip/swap-path or whatever. > } > > ok, so now i can setenv(dhc.xxx,

Re: dhcp boot was: Re: diskless workstation

2000-09-25 Thread Paul Saab
Danny Braniss ([EMAIL PROTECTED]) wrote: > In message <[EMAIL PROTECTED]>you write: > }Danny Braniss ([EMAIL PROTECTED]) wrote: > }> ok, so now i can setenv(dhc.xxx, val). > }> > }> I would very much like to make them available as sysctl dhcp.xxx, the only > }> problem, is that the sysctl interfa

Re: dhcp boot was: Re: diskless workstation

2000-09-25 Thread Danny Braniss
In message <[EMAIL PROTECTED]>you write: }Danny Braniss ([EMAIL PROTECTED]) wrote: }> ok, so now i can setenv(dhc.xxx, val). }> }> I would very much like to make them available as sysctl dhcp.xxx, the only }> problem, is that the sysctl interface is prety much static, so has anybody }> lookeed in

Re: dhcp boot was: Re: diskless workstation

2000-09-25 Thread Paul Saab
Danny Braniss ([EMAIL PROTECTED]) wrote: > ok, so now i can setenv(dhc.xxx, val). > > I would very much like to make them available as sysctl dhcp.xxx, the only > problem, is that the sysctl interface is prety much static, so has anybody > lookeed into making it 'dynamic'?, ie: malloc'ing structs

Re: dhcp boot was: Re: diskless workstation

2000-09-25 Thread Danny Braniss
In message <[EMAIL PROTECTED]>you write: }> In message <[EMAIL PROTECTED]>you write: }> }> }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

Re: dhcp boot was: Re: diskless workstation

2000-09-21 Thread Matt Dillon
:You can specify swap paritions with dhcpd just fine, just use :the the numerical IP: : :option root-path "999.999.99.99:/"; :option option-128 "999.999.99.99:/images/swap"; : : -Matt You know, my written english is getting *really

Re: dhcp boot was: Re: diskless workstation

2000-09-21 Thread Matt Dillon
:> In message <[EMAIL PROTECTED]>you write: :> :> }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 esta

Re: dhcp boot was: Re: diskless workstation

2000-09-21 Thread Danny Braniss
In message <[EMAIL PROTECTED]>you write: }> In message <[EMAIL PROTECTED]>you write: }> }> }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

Re: dhcp boot was: Re: diskless workstation

2000-09-21 Thread Mike Smith
> In message <[EMAIL PROTECTED]>you write: > > }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 establishe

dhcp boot was: Re: diskless workstation

2000-09-21 Thread Danny Braniss
In message <[EMAIL PROTECTED]>you write: }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 alre