[BusyBox] scriptable telnet
bugouzhi Wang
bugouzhi at gmail.com
Thu Nov 18 16:35:10 UTC 2004
Hi,
I am actually using busybox on a Sharp Zaurus PDA, and i had trouble
getting expect installed on it. I am trying to telnet to a daemon running
on the PDA to continuously get some information from it, the daemon
only support the telnet protocol. It doesn't require any login stufff, i just
need to telnet to it, and run a few command and save its output to a file.
Is there any other ways to do it beside expect? I guess now i will wait
for Rob's netcat and see what happens.
Thanks everyone for their help
Jian
On Thu, 18 Nov 2004 05:26:31 -0500, Rob Landley <rob at landley.net> wrote:
> On Thursday 18 November 2004 02:31 am, bugouzhi Wang wrote:
>
>
> > Hi
> > I saw this was a past issue in the archive, sorry to bring it up
> > again. but I couldn't figure it out how to automate telnet. I tried
> > something like piping the logins and command through a script to
> > telnet, but it seems telnet close stdin and not accepting anything
> > from the pipe. I was wondering why? And also any other ways to do
> > this?
> >
> > Thanks
> >
> > Jian
>
> You need a netcat that uses shutdown(2) instead of close. I have one, but not
> on my laptop. I'll try to dig it up and send it to you. (I really need to
> fix the one in busybox...)
>
> Rob
>
More information about the busybox
mailing list