BusyBox doesn't seem to be parsing input

Hi,

I have an embedded Linux system and I cant seem to get busybox to parse input. I have

ttyS0::respawn:-/bin/sh

in my inittab file, but after the system boots all it seems to do is echo my input, rather than parsing it with busybox(/bin/sh).

eg.

I send "ls" to the serial console and all I get back is "ls" rather than a directory listing.

Any input would be appreciated.

Thanks in advance.
sean-keysAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
sean-keysConnect With a Mentor Author Commented:
The problem lied within an application that was forking and hijacking the tty that's connected to the serial port.

Sorry guys, a problem that would be very difficult to spot for anyone not connected to that device.
0
 
MazdajaiCommented:
Are the commands listed in the bin directory? Try cd and run in the absolute directory or consult the vendor.

Sometimes not all the commands are available in an embedded Linux environment.
0
 
sean-keysAuthor Commented:
I cant "cd".  If i type "cd" and hit return it will just echo "cd" back in my face without really running "cd". See what I mean?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
MazdajaiCommented:
Do you have the correct baud-rate, connection setting?
0
 
sean-keysAuthor Commented:
oh yeah, the strings that get dumped to the serial console are correct
0
 
MazdajaiCommented:
If you are certain the connection setting is correct. I would check with the vendor. This sounds like a locked down version of busybox.
0
 
sean-keysAuthor Commented:
It would have been overly difficult for a third party to diagnose this one.
0
All Courses

From novice to tech pro — start learning today.