Re: [leaf-user] Installation of uClibc 5.1.2-beta1

2014-10-24 Thread Andrew
Hi.
K6 is i686-compatible, so you can run i686 image (due to SMP it can eat 
some more RAM, but it should run faster).
You should buy more RAM to use all features without OOM - SDRAM costs 
almost nothing.
CF should work ok if there is ho hw incompatibilities between CF and 
chipset (I don't know how good your chipset will work with CF - earlier 
I has troubles with NForce 570 and CF cards via CF-IDE adapter).

24.10.2014 02:26, Patrick Andersson ?:
 Hello.

 I have tried to install Bering-uClibc_5.1.2-beta1_i486_syslinux_serial19200
 to a CF card and boot an AMD K6 computer with 32 MB of memory. I have a
 video card inserted during the installation.
 I'm currently running Bering uClibc with kernel 2.4.33, can't remember the
 version, booted from a floppy disc on the same computer.
 I'm attaching the printout from the boot up.
 1) Is 32MB enough of memory? If not, what cn I do?
 2) Is the CF working OK or is there some trouble?
 3) What should I do to get it up and running on the CF?

 Best Regards
 Patrick Andersson


 --


 
 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] Upgrading Many Firewalls

2014-10-24 Thread Robert K Coffman Jr. -Info From Data Corp.
On 10/23/2014 1:45 PM, Andrew wrote:
 something like this:

 for i in `ls /mnt`; do wget ftp://.../$i; done
 mv init* linux modules.* /moddb /mnt
 apkg -u *.lrp # this update configs
 mv * /mnt


Andrew,

I'll have to trace the logic, I'm not sure exactly what that is doing.

I was thinking of targeting the configuration files I know that I 
change, and using scp as all the firewalls I need to upgrade are 
available over SSH.

I'll look this over.  Thanks!

- Bop

--

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] using LEAF to prepare compact flash

2014-10-24 Thread Erich Titl
on 23.10.2014 19:41, Andrew wrote:
 Hi.
 What bin requires libiconv?

I _believe_ it is mkdosfs

I did basically the same as Victor, but installed LEAF on partitions 2
and 3, just installed the grub boot files on partition 1, which is less
than 1 MB now. This makes it easy to have double boot on two different
partitions and clone the system to partition 3 for recovery if needed.

cheers

Erich





smime.p7s
Description: S/MIME Cryptographic 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] Upgrading Many Firewalls

2014-10-24 Thread Erich Titl
Hi Bob

on 24.10.2014 14:39, Robert K Coffman Jr. -Info From Data Corp. wrote:
 On 10/23/2014 1:45 PM, Andrew wrote:
 something like this:

 for i in `ls /mnt`; do wget ftp://.../$i; done
 mv init* linux modules.* /moddb /mnt
 apkg -u *.lrp # this update configs
 mv * /mnt

 
 Andrew,
 
 I'll have to trace the logic, I'm not sure exactly what that is doing.

 
 I was thinking of targeting the configuration files I know that I 
 change, and using scp as all the firewalls I need to upgrade are 
 available over SSH.

That will work. I am in the process of writing an update procedure for
myself, because I feel this is an area where we could still improve.

Upgrading fron 4.x should not be much of a problem, as the format of
configdb has not changed, so you can probably use your existing
configdb. All it needs is the current kernel and modules along with the
new package versions. If you are short of memory, the hardware detection
might not work. I tried Victor's trick on my wrap and it failed for me.

If you have sufficient space on the CF I would suggest to modify your
boot program to support multiboot and either install the new release on
a new partition or first clone the packages and settings to a new
partition so you always have a fallback.

cheers

Erich





smime.p7s
Description: S/MIME Cryptographic 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] Upgrading Many Firewalls

2014-10-24 Thread Andrew
24.10.2014 15:39, Robert K Coffman Jr. -Info From Data Corp. пишет:
 On 10/23/2014 1:45 PM, Andrew wrote:
 something like this:

 for i in `ls /mnt`; do wget ftp://.../$i; done
 mv init* linux modules.* /moddb /mnt
 apkg -u *.lrp # this update configs
 mv * /mnt

 Andrew,

 I'll have to trace the logic, I'm not sure exactly what that is doing.

 I was thinking of targeting the configuration files I know that I
 change, and using scp as all the firewalls I need to upgrade are
 available over SSH.

 I'll look this over.  Thanks!

 - Bop
At 1st line it grabs all required files from FTP (for v4-v5 upgrade you 
should also grab here initmod.lrp - in v4 boot-time modules are into 
intrd, in v5 modules are splitted out).
2nd line - move initrd/initmod, kernel, moddb.lrp and modules.tgz to CF
3rd line - mostly configs update (apkg -u - updates package and, if 
default config is changed and config is edited, asks for merge, in other 
case - replace default config by updated one).

Then - move all packages to CF, update syslinux.cfg (to add initmod.lrp) 
and run lrcfg  save config.

Try on some test box with cloned copy.

--

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] Installation of uClibc 5.1.2-beta1

2014-10-24 Thread Patrick Andersson
Yes. The attached file is the printout from the serial connection.
How do I readjust the memory usage during the install process?
What does I will not be able to use the find and extract modules feature
at install mean?
Everything fitted on the CF card, I think. Is there something in the
printout from the boot that suggests that?
How do I select only the required packages and necessary libraries?
I don't want to buy new hardware. The old Bering uClibc is just using 10MB.

2014-10-24 4:36 GMT+02:00 Victor McAllister victo...@sonic.net:

 On 10/23/2014 4:26 PM, Patrick Andersson wrote:
  Hello.
 
  I have tried to install
 Bering-uClibc_5.1.2-beta1_i486_syslinux_serial19200
  to a CF card and boot an AMD K6 computer with 32 MB of memory. I have a
  video card inserted during the installation.
  I'm currently running Bering uClibc with kernel 2.4.33, can't remember
 the
  version, booted from a floppy disc on the same computer.
  I'm attaching the printout from the boot up.
  1) Is 32MB enough of memory? If not, what cn I do?
  2) Is the CF working OK or is there some trouble?
  3) What should I do to get it up and running on the CF?
 
  Best Regards
  Patrick Andersson
 
 What happened when you tried to boot 5.1.2b serial? Did you monitor the
 booting through the serial port?

 I think 32MB of ram is low. It is possible to run LEAF, but you will not
 be able to use the find and extract modules feature at install unless
 you readjust the memory usage during the install process.

 https://www.mail-archive.com/leaf-user@lists.sourceforge.net/msg24737.html

 If your CF card is small, you will have to select only the required
 packages and necessary libraries etc.

 Why not pick up a low energy, used router. I bought a used three
 ethernet ALIX board with case on ebay last week just as a spare.

 Victor







 --
 
 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] Installation of uClibc 5.1.2-beta1

2014-10-24 Thread Patrick Andersson
Hello.
I couldn't boot with the i686-kernel. It was missing MMX. if I remember
correctly.
I will not buy more RAM since the motherboard can't take more than 32MB.

2014-10-24 11:21 GMT+02:00 Andrew ni...@seti.kr.ua:

 Hi.
 K6 is i686-compatible, so you can run i686 image (due to SMP it can eat
 some more RAM, but it should run faster).
 You should buy more RAM to use all features without OOM - SDRAM costs
 almost nothing.
 CF should work ok if there is ho hw incompatibilities between CF and
 chipset (I don't know how good your chipset will work with CF - earlier
 I has troubles with NForce 570 and CF cards via CF-IDE adapter).

 24.10.2014 02:26, Patrick Andersson ?:
  Hello.
 
  I have tried to install
 Bering-uClibc_5.1.2-beta1_i486_syslinux_serial19200
  to a CF card and boot an AMD K6 computer with 32 MB of memory. I have a
  video card inserted during the installation.
  I'm currently running Bering uClibc with kernel 2.4.33, can't remember
 the
  version, booted from a floppy disc on the same computer.
  I'm attaching the printout from the boot up.
  1) Is 32MB enough of memory? If not, what cn I do?
  2) Is the CF working OK or is there some trouble?
  3) What should I do to get it up and running on the CF?
 
  Best Regards
  Patrick Andersson
 
 
 
 --
 
 
  
  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/

--

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