Re: [leaf-user] diskwait continuing

2006-06-13 Thread Joep Blom
Charles Steinkuehler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joep Blom wrote:

  

Charles,
Thanks for your reply. I haven't looked at the code as I could solved it 
using diskwait the way it was intended. I think however to use an 
USB-stick with the packages as the old system I use has an USB (1.1) 
interface. However it's not that modern that you can boot from it so I 
have to do something with first installing th USB-drivers and LINUXRC 
from floppy  and then loading the packages from /dev/usb0.When it works 
like I want I will mention it to the list as another method to install a 
leaf firewall..



This should be fairly straight-forward...just grab the kernel and
initial ramdisk images from the USB Bering release and load them with
syslinux on your floppy.  The kernel won't care *HOW* it got loaded into
memory (ie: via floppy, usb-stick, or alpha-particle radiation :), and
once loaded will happily start talking directly to your USB controller
(and hence to your attached USB media).

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjd9MLywbqEHdNFwRAkkHAJwIWB4/2dvXPKY7UKCLMyXuLmT7owCgmQIL
J6IO+mtq9uCfYvK24nVKDrA=
=tToL
-END PGP SIGNATURE-



leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

  

Charles,
Thanks! That's a good idea. I was wondering how I could implement it  
but is is already been done. I'll try it as soon as I have solved a 
little problem with my service provider.
Joep




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait continuing

2006-06-12 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joep Blom wrote:
 Hi, Eric,
 I have played somewhat with diskwait and I have some problems with it.
 First, diskwait=yes works in syslinux.cfg  but in leaf.cfg you need to 
 use KMCD_diskwait=yes.
 Furthermore, I had the idea that diskwait looked first at the original 
 disk and when it didn't find any packages than asked for the second disk 
 and if this was not sufficient it did it again until all packages were 
 loaded.
 I tested diskwait the following way:
 On the first disk I have the necessary files + root,lrp and libcrpto.lrp 
 as they are large. This disk is 1.34 MB. On the second disk I have the 
 rest which is 1.45 MB.
 diskwait in syslinux gave: insert 2nd disk immediately after starting 
 LINUXRC.
 I then tried diskwait in leaf.cfg but that didn't work. I then set 
 KMCD_diskwait in leaf before the LRP= line(s). That gave the same result 
 as diskwait in syslinux.cfg.
 Setting KMCD_diskwait after the LRP= line didn't do anything ( and was 
 skipped in the parsing of the leaf.cfg script).
 I therefore have a problem as I want to load all packages together. Of 
 course I can install packages later and copying them from another system 
 but I think that a solution to load Bering_uclib using multiple floppies 
 with packages would be very welcome.
 USB could be a solution but old systems (often used for firewalls) do 
 miss then.
 Hope you can help me out..  .

It's been a *LONG* time since I looked at the diskwait code, but IIRC,
the functionality you're describing is what it was setup to do (ie: load
the kernel and initial ramdisk (AKA: root.lrp) from the first floppy,
then load packages from the second disk).

I don't think anyone's implemented support for what you seem to want
(ie: load some packages off the first disk, then wait for a diskchange
and load more packages).

It ought to be fairly easy to implement, however, with a fake package
name that caused the init scripts to wait for you to swap disks.  You'd
have to manually insure proper package order in syslinux/leaf.cfg.  Make
sure you unmount (and re-mount) the floppy before asking the user to
swap it, however!

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjXthLywbqEHdNFwRAnByAJ4+6B/hd0fa9CZI6AnCFBO4OHukUQCg3Xfx
ceGe9R2u2SBzZpyn/TEbs2k=
=u3Qa
-END PGP SIGNATURE-



leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait continuing

2006-06-12 Thread Joep Blom
Charles Steinkuehler wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joep Blom wrote:
  

It's been a *LONG* time since I looked at the diskwait code, but IIRC,
the functionality you're describing is what it was setup to do (ie: load
the kernel and initial ramdisk (AKA: root.lrp) from the first floppy,
then load packages from the second disk).

I don't think anyone's implemented support for what you seem to want
(ie: load some packages off the first disk, then wait for a diskchange
and load more packages).

It ought to be fairly easy to implement, however, with a fake package
name that caused the init scripts to wait for you to swap disks.  You'd
have to manually insure proper package order in syslinux/leaf.cfg.  Make
sure you unmount (and re-mount) the floppy before asking the user to
swap it, however!

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjXthLywbqEHdNFwRAnByAJ4+6B/hd0fa9CZI6AnCFBO4OHukUQCg3Xfx
ceGe9R2u2SBzZpyn/TEbs2k=
=u3Qa
-END PGP SIGNATURE-



leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

  

Charles,
Thanks for your reply. I haven't looked at the code as I could solved it 
using diskwait the way it was intended. I think however to use an 
USB-stick with the packages as the old system I use has an USB (1.1) 
interface. However it's not that modern that you can boot from it so I 
have to do something with first installing th USB-drivers and LINUXRC 
from floppy  and then loading the packages from /dev/usb0.When it works 
like I want I will mention it to the list as another method to install a 
leaf firewall..
Joep.





leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait continuing

2006-06-12 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joep Blom wrote:

 Charles,
 Thanks for your reply. I haven't looked at the code as I could solved it 
 using diskwait the way it was intended. I think however to use an 
 USB-stick with the packages as the old system I use has an USB (1.1) 
 interface. However it's not that modern that you can boot from it so I 
 have to do something with first installing th USB-drivers and LINUXRC 
 from floppy  and then loading the packages from /dev/usb0.When it works 
 like I want I will mention it to the list as another method to install a 
 leaf firewall..

This should be fairly straight-forward...just grab the kernel and
initial ramdisk images from the USB Bering release and load them with
syslinux on your floppy.  The kernel won't care *HOW* it got loaded into
memory (ie: via floppy, usb-stick, or alpha-particle radiation :), and
once loaded will happily start talking directly to your USB controller
(and hence to your attached USB media).

- --
Charles Steinkuehler
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEjd9MLywbqEHdNFwRAkkHAJwIWB4/2dvXPKY7UKCLMyXuLmT7owCgmQIL
J6IO+mtq9uCfYvK24nVKDrA=
=tToL
-END PGP SIGNATURE-



leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] diskwait continuing

2006-06-11 Thread Joep Blom
Hi, Eric,
I have played somewhat with diskwait and I have some problems with it.
First, diskwait=yes works in syslinux.cfg  but in leaf.cfg you need to 
use KMCD_diskwait=yes.
Furthermore, I had the idea that diskwait looked first at the original 
disk and when it didn't find any packages than asked for the second disk 
and if this was not sufficient it did it again until all packages were 
loaded.
I tested diskwait the following way:
On the first disk I have the necessary files + root,lrp and libcrpto.lrp 
as they are large. This disk is 1.34 MB. On the second disk I have the 
rest which is 1.45 MB.
diskwait in syslinux gave: insert 2nd disk immediately after starting 
LINUXRC.
I then tried diskwait in leaf.cfg but that didn't work. I then set 
KMCD_diskwait in leaf before the LRP= line(s). That gave the same result 
as diskwait in syslinux.cfg.
Setting KMCD_diskwait after the LRP= line didn't do anything ( and was 
skipped in the parsing of the leaf.cfg script).
I therefore have a problem as I want to load all packages together. Of 
course I can install packages later and copying them from another system 
but I think that a solution to load Bering_uclib using multiple floppies 
with packages would be very welcome.
USB could be a solution but old systems (often used for firewalls) do 
miss then.
Hope you can help me out..  .
Joep



leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait continuing

2006-06-11 Thread Eric Spakman
Hello Joep,

I hardly have any experience with the diskwait command, AFAIK this
specific code didn't change since it was introduced in Dachstein years
ago.

I hope someone on this list which actually uses this feature can tell
something more about it. I think it's primary goal was to support a rescue
disk, looking at the code it doesn't seem to be possible to get the
functionality you are looking after. What is possible is to use a second
floppy drive and add both device in the PKGPATH, this way all packages
from both floppies are loaded.

Eric

 Hi, Eric,
 I have played somewhat with diskwait and I have some problems with it.
 First, diskwait=yes works in syslinux.cfg  but in leaf.cfg you need to
 use KMCD_diskwait=yes. Furthermore, I had the idea that diskwait looked
 first at the original disk and when it didn't find any packages than asked
 for the second disk and if this was not sufficient it did it again until
 all packages were loaded. I tested diskwait the following way:
 On the first disk I have the necessary files + root,lrp and libcrpto.lrp
 as they are large. This disk is 1.34 MB. On the second disk I have the rest
 which is 1.45 MB. diskwait in syslinux gave: insert 2nd disk immediately
 after starting LINUXRC.
 I then tried diskwait in leaf.cfg but that didn't work. I then set
 KMCD_diskwait in leaf before the LRP= line(s). That gave the same result
 as diskwait in syslinux.cfg. Setting KMCD_diskwait after the LRP= line
 didn't do anything ( and was skipped in the parsing of the leaf.cfg
 script). I therefore have a problem as I want to load all packages
 together. Of course I can install packages later and copying them from
 another system but I think that a solution to load Bering_uclib using
 multiple floppies with packages would be very welcome. USB could be a
 solution but old systems (often used for firewalls) do miss then. Hope you
 can help me out..  . Joep



 
 leaf-user mailing list: leaf-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/leaf-user
 Support Request -- http://leaf-project.org/







leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait

2006-06-05 Thread Mike Noyes
On Sat, 2006-06-03 at 07:48, Joep Blom wrote:
 I want to use the old fashioned floppy but in the 
 single-floppy-multiple-diskway.
 (actually multiple=2). The system is much too old for more modern things 
 like USB-sticks.
 Originally we had the command diskwait=yes but is that supported in 
 the current version of Bering-uclib? It had to be set in syslinux.cfg.
 Something like:
 default linux initrd=initrd.lrp init=/linuxrc re root=/dev/ram0 
 LEAFCFG=/dev/fd0u1680 diskwait=yes

Joep,
These two google strings may provide you with the information you
desire:

site:leaf.sourceforge.net inurl:doc diskwait
site:leaf.sourceforge.net inurl:doc multiple floppies

-- 
Mike Noyes mhnoyes at users.sourceforge.net
http://sourceforge.net/users/mhnoyes/
SF.net Projects: leaf, phpwebsite, phpwebsite-comm, sitedocs




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait

2006-06-05 Thread Eric Spakman
Op Zo, 4 juni, 2006 12:56 am schreef Joep Blom:
 Eric Spakman wrote:


 Hello Joep,


 Yes, that is still supported. From the linuxrc file:

snip

 Eric,
 Thanks. I'll follow your example to the letter as it's quite different
 as it was before. I assume it has to be set in syslinux.cfg. Where can I
 find a description of the command structure as used in syslinux? Joep

Please don't, it was a snippet from the source to show how it is
supported. It should be enough to just set diskwait=yes in syslinux.cfg or
leaf.cfg.

Eric





leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait

2006-06-05 Thread Joep Blom
Mike Noyes wrote:

On Sat, 2006-06-03 at 07:48, Joep Blom wrote:
  

I want to use the old fashioned floppy but in the 
single-floppy-multiple-diskway.
(actually multiple=2). The system is much too old for more modern things 
like USB-sticks.
Originally we had the command diskwait=yes but is that supported in 
the current version of Bering-uclib? It had to be set in syslinux.cfg.
Something like:
default linux initrd=initrd.lrp init=/linuxrc re root=/dev/ram0 
LEAFCFG=/dev/fd0u1680 diskwait=yes



Joep,
These two google strings may provide you with the information you
desire:

site:leaf.sourceforge.net inurl:doc diskwait
site:leaf.sourceforge.net inurl:doc multiple floppies

  

Mike thanks.
I know it exists but I didn't know it works also in the new setup as the 
current method with a syslinux.cfg (as old) and a leaf.cfg instead of a 
lrcfg.cfg maybe didn't support it. I am very cautious when upgrading my 
Leaf firewall as several times it failed with a 'kernel panic' message 
and no clue what the reason was (therefore I still work with 2.1!). But 
now I'll try again but restoring my old settings is a lot of work.
Joep




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


Re: [leaf-user] diskwait

2006-06-05 Thread Joep Blom
Eric Spakman wrote:

Op Zo, 4 juni, 2006 12:56 am schreef Joep Blom:
  

Eric Spakman wrote:




Hello Joep,


Yes, that is still supported. From the linuxrc file:

  

snip

  

Eric,
Thanks. I'll follow your example to the letter as it's quite different
as it was before. I assume it has to be set in syslinux.cfg. Where can I
find a description of the command structure as used in syslinux? Joep



Please don't, it was a snippet from the source to show how it is
supported. It should be enough to just set diskwait=yes in syslinux.cfg or
leaf.cfg.

Eric


  

Yes, thanks for your advice.
 After I wrote the e-mail, I realized that it couldn't be part of a 
configuration file. But it was already late..):
Joep




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/


[leaf-user] diskwait

2006-06-03 Thread Joep Blom
Hi,
I want to use the old fashioned floppy but in the 
single-floppy-multiple-diskway.
(actually multiple=2). The system is much too old for more modern things 
like USB-sticks.
Originally we had the command diskwait=yes but is that supported in 
the current version of Bering-uclib? It had to be set in syslinux.cfg.
Something like:
default linux initrd=initrd.lrp init=/linuxrc re root=/dev/ram0 
LEAFCFG=/dev/fd0u1680 diskwait=yes
Thanks,
Joep




leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/