Hello Erich; Am Mittwoch, 3. Mai 2006 14:12 schrieb Erich Titl: > Hi gents > > I finally decided to jump the uClibc bandwagon and got 2.4.1 running as > secondary system on my nexgate NSA 1125 platform (flash boot, lots of > interfaces ...).
Welcome on bord! And thanks for being patient enough to walk over all installation hurdles. A few notes in the text. > Taking the long way I decided to explore the more or less seamless > upgrade possibilities with such a device. I try to avoid screwdrivers > for upgrade purposes :-) > > I downloaded the .iso file for uClibc 2.4.1 hoping it was the most > complete collection of software I could get in one piece. Mounting the > iso image with virtualCloneDrive on my windoze desktop allowed me to > access the files and directories inside that iso image. > > I have a working LEAF system on the Nexgate with 2 partitions on the > flash. I boot this system using grub, so adding another boot image/path > was very easy. > > I then copied the kernel and initrd files to the boot partition (of > course renaming them), the .lrp and leaf.cfg files went into the 2nd > partition. This allows to play with the new files without messing up my > running system. > > This is a collection of places where I got stuck or stunned :-) . It may > help others, amuse the connoiseurs, e.t.c. > > Finding leaf.cfg from the iso image almost empty surprised me. I assume > the installation wants a floppy for the configuration. However, some > systems don't even have a floppy anymore, so I guessed my way around for > a set of the most important .lrp modules. Luckily I had a running system > with which to edit leaf.cfg was easy. Yes this leaf.cfg is for an ISO-image, using a floppy as storage device. I am aware that new, embedded systems often has no fd - but for those systems we suggest pxeinstall to build a bootable LEAF router. > A few power cycles later I found the reason, why my system would not > show anything after init. Although my boot configuration was set to > serial console (no video card) the serial console support was missing in > /etc/inittab. Back to the original boot, tearing apart etc.lrp and > uncommenting the missing item set me up with a command prompt after reboot. You would have found an /etc/initabs (with serial support) in the pxeinstall package. I admit it's not documented in our guides that such an inittab is available. > .... which set me back shortly as there was no vi in the module list I > selected. Adding elvis only helped marginally, as it depends on > ncurses... boooohh we may need to go to another packet manager one day. > So, three more power cycles. You could have saved all or at least one of the cycles, if you have either choosed "e3vi" to edit inittab or read the "packages page" where you would have found that elvis requires ncurses.lrp. > After finally getting network connectivity, setting up sshd and trying > to connect I got bitten again by the sshd being controlled by tcp > wrappers. OK, this was discussed a while ago in leaf-devel but I got > bitten nevertheless. Fortunately vi was at hand to fix the hosts.allow > file. Aahhh... finally I can log in through the network interface and > use scp to copy the remaining .lrp files to the flash disk. > > So I finally succeeded. I must admit, my set up is not the easiest to > start with and I could not have done this without a serial console to > cover my configuration mistakes. This brings up the question of remote > updates, which IMHO should be something easy. Yes, should be, but unfortunately isn't at the time being. But as you can see, some things could have been easier, it's just a question how to make shure a user find the installation helpers, find what he is looking for, in the Guides...an index would be a nice thing. kp ------------------------------------------------------- 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=lnk&kid=120709&bid=263057&dat=121642 ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
