Hi Derek, > I am trying to write a script to reset an ADSL ethernet modem on Leaf > Bering Uclib 2.4.26. > > > In one case I tried using mkfifo within a shell script - but there is no > mkfifo (missing from busybox?) Is the a way to "mkfifo" in leaf? > Mkfifo is indeed not compiled in busybox. I will take a look how big it is and look if it can be included in the next version of Bering-uClibc. This is ofcourse no solution for the rather old version you are using. The only option is to compile mkfifo against uClibc...
> > > in the second case I tried using "nc ipaddr 23 -e shell-script" > > The shell script gets started but appears to have an invalid stdin. > Have I misunderstood how nc works, should I be using some other file > descriptor? > I don't know enough about nc to answer that question... but looking at the busybox help: -e Exec rest of command line after connect it looks like busybox nc -e is used as nc -c, so using shell commands instead of a script. > TIA > > > Derek > > Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/