[leaf-devel] initial 3.0 beta feedback

2006-09-07 Thread Paul Traina
Just my random notes.  I built a leaf flash from scratch using pxeboot 
on a spare box using the CVS .lrp packages

diff.lrp is not being built?

a port of traceroute would be a good thing (feedback from burning man)
ditto iperf

not having a WRAP configdb kinda sucked... (the whole serial console 
thing was a pain in the ass again).  Could we uncomment the /dev/ttyS0 
line in the default /etc/inittab until this stuff gets hammered out?
It's much better to have to turn off a tty that you don't want than be 
unable to access an unconfigured machine.


lrpstat  friends aren't in the packages directory

webwlan was not either

should we be saving /var/lib/random-seed in configdb?

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


[leaf-devel] dynamic modules building idea

2006-09-07 Thread Paul Traina
I don't know how popular this is going to be, but I'll toss it out anyway.

For 99% of leaf users, storage is no longer ultra critical.  This idea 
is not meant to eliminate the current way of doing things (for those 
folks who really are tight on secondary storage, things stay the same), 
but I'd like to make a modest proposal.

If a file on the boot media called modules.tgz (or 
Bering-uClibC-modules-2.4.33.tar.gz for the ISO image) is present, 
extract the required modules from that file in realtime, on boot.  That 
way we're not saving  storing custom moddb.lrps if all the modules that 
would normally be in that file are already in the default distribution.

It's fairly trivial, I wrote some shell code in realtime to do it 
because I needed to populate /lib/modules for my box.  I like this idea 
better (or as an alternate to the web based stuff Arne did) because I 
know the source of my modules and keep them in exact sync with the kernel.

The code I kinda cobbled together in realtime did something like this. 
This is just for an example, it is not productized or tested...


# generate a list of module names
modules=`sed -e 's/#.*//' -e 's/[^tab ].*//' -e '/^[tab ]*$/d' 
/etc/modules`

mkdir /tmp/mods.$$
cd /tmp/mods.$$
zcat /mnt/Bering-uClibc-2.4.33.tar.gz | tar xf -
for file in $modules ; do
 fn=`find /tmp/mods.$$ -name ${file}.o`
 if [ ! -f /lib/modules/`basename $fn` ] ; then
echo -n Extracting $fn
cp $fn /lib/modules
echo .
 fi
done
cd /tmp
rm -rf /tmp/mods.$$


Obviously, it should be done with tar -X so we don't fill up /tmp with a 
bunch of memory resident crap that is just going away, but that's tbd 
only if this sounds interesting to the B-U community.

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


[leaf-devel] dynamic generation of dropbear keys if not present

2006-09-07 Thread Paul Traina
Please consider applying this patch to dropbear.  It will dynamically
create the dropbear host key files if they don't exist.  This is EXTREMELY
useful for bringup from scratch.  If you don't have access to the serial
port, at least you can ssh into the box.  I wish I had had it today.

With this change, there is no need for gendropbearkeys anymore.




rm gendropbearkeys
cvs rm gendropbearkeys

Index: buildtool.cfg
===
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/dropbear/buildtool.cfg,v
retrieving revision 1.9
diff -u -r1.9 buildtool.cfg
--- buildtool.cfg   26 Jun 2006 17:56:31 -  1.9
+++ buildtool.cfg   8 Sep 2006 04:54:58 -
@@ -17,12 +17,6 @@
   Directory = dropbear
 /File
 
-File gendropbearkeys
-  Server = cvs-sourceforge
-  Revision = HEAD
-  Directory = dropbear
-/File
-
 File dropbear.init
   Server = cvs-sourceforge
   Revision = HEAD
@@ -99,12 +93,6 @@
Type= link
/File 
File  
-   Source  = usr/bin/gendropbearkeys
-   Filename= usr/bin/gendropbearkeys
-   Type= binary
-   Permissions = 755
-   /File 
-   File  
Filename= etc/dropbear
Type= directory
Type= local
Index: dropbear.init
===
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/dropbear/dropbear.init,v
retrieving revision 1.1
diff -u -r1.1 dropbear.init
--- dropbear.init   1 Jul 2004 14:40:54 -   1.1
+++ dropbear.init   8 Sep 2006 04:54:58 -
@@ -20,10 +20,12 @@
 
 if [ -n $DB_RSAFILE ]; then
DB_OPTIONS=$DB_OPTIONS -r $DB_RSAFILE
+   test -f $DB_RSAFILE || dropbearkey -t rsa $DB_RSAFILE
 fi
 
 if [ -n $DB_DSSFILE ]; then
DB_OPTIONS=$DB_OPTIONS -d $DB_DSSFILE
+   test -f $DB_DSSFILE || dropbearkey -t dss $DB_DSSFILE
 fi
 
 if [ -n $DB_BANNER ]; then

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel


[leaf-devel] patch: enable traceroute in busybox

2006-09-07 Thread Paul Traina
? busybox-1.2.1
Index: .config
===
RCS file: /cvsroot/leaf/src/bering-uclibc/apps/busybox/.config,v
retrieving revision 1.10
diff -u -r1.10 .config
--- .config 13 Aug 2006 20:22:05 -  1.10
+++ .config 8 Sep 2006 05:08:09 -
@@ -547,10 +547,10 @@
 # CONFIG_FEATURE_TFTP_PUT is not set
 # CONFIG_FEATURE_TFTP_BLOCKSIZE is not set
 # CONFIG_DEBUG_TFTP is not set
-# CONFIG_TRACEROUTE is not set
-# CONFIG_FEATURE_TRACEROUTE_VERBOSE is not set
-# CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE is not set
-# CONFIG_FEATURE_TRACEROUTE_USE_ICMP is not set
+CONFIG_TRACEROUTE=y
+CONFIG_FEATURE_TRACEROUTE_VERBOSE=y
+CONFIG_FEATURE_TRACEROUTE_SOURCE_ROUTE=y
+CONFIG_FEATURE_TRACEROUTE_USE_ICMP=y
 
 #
 # udhcp Server/Client

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642

___
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel