Hi Terry, On Tue, Aug 19, 2008 at 10:38:36PM +1000, Terry Porter wrote: > > > 1) compiled "sleepershell" > > > (http://www.mariovaldez.net/software/sleepshell/) in the FreeWRT ADK > > > > Now it's easy to say for me... but while reading the first sentence I > > thought you should look out for a shell replacement doing nothing.... > > And Sleepershell seems good for this task.
I read these postings yesterday and decided to play around a bit with login shells. This is what I now have: | #!/bin/sh | | cat << EOF | | Welcome! | | This is the SSH forwarding service at wg8.ath.cx, | please specify host and user name to connect to. | | EOF | echo -n "Hostname: " | read HOSTNAME | | echo -n "Username: " | read USERNAME | | exec ssh [EMAIL PROTECTED] the only downside is the dropbear client doesn't support agent-forwarding, so one will have to use passwords after the forwarding service. > > > > and moved the cross compiled sleepershell binary into /etc on the target, > > > totally the wrong place for a linux binary, but the only place I can > > > easily save in FreeWRT given my noob status with FreeWRT. > > > > You can place your binaries everywhere you want, the root-filesystem ist > > writable. > > Is it ? I must try saving to it then. Depends. If you chose squashfs for root, it's not. But jffs2 is. > > If I have time I will create a new package for sleepshell... > > Is trivial ? > I'll have a go if it's fairly straightforward. Are there any docs on FreeWRT > package building > or is the IPKG stuff applicable ? > > Any pointers appreciated. I doubt you find any docs somewhere. I started once putting this kind of information directly into the ADK as tex files spread over the directory tree to document only the part of the ADK they're in. But porting new packages is really not hard. Just check one of the existing packages like bash or vim. If you have questions or problems, feel free to use this list. Greetings, Phil _______________________________________________ freewrt-developers mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-developers
