0

I am manually dialing remote machines using my serial modem via the linux command line. I am automating the process, hence not using any dialing tools (I've already tried most of them - none are sufficient).

I can make connections successfully - however when I turn on the verbose option on my modem ("AT V1"), the output and input of my device seems to be interspersed with excessive newlines. I'm sending commands to my modem with "echo 'command' > /dev/ttyS0", then listening on another terminal with "cat /dev/ttyS0". The newlines steadily increase in number, and are also sent to the serial connection, making it impossible to enter a username or password, or any other data. Eventually the connection is terminated due to multiple failed login attempts.

I captured the entire sequence as an example and pasted it here: http://pastebin.com/j8Fc236m

2
  • How is your serial port configured? Is this an external modem? Are you running getty or similar on that port? Have you read the HOWTO? Which dialers have you tried and what problems did you have? Aug 5, 2010 at 5:09
  • Thanks for the suggestions - your first was the key - I hadn't configured my port correctly.
    – tjbp
    Aug 5, 2010 at 11:18

1 Answer 1

0

Check "man stty" and investigate various character conversion settings.

1
  • 1
    Please add the particular configuration change that fixed this problem. It may be useful to someone who comes along later and has a similar problem. Aug 5, 2010 at 13:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .