LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   reading and writing to a serial device (modem) (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/reading-and-writing-to-a-serial-device-modem-273719/)

Xanadu 01-04-2005 10:05 AM

reading and writing to a serial device (modem)
 
I have a GPRS modem connected to a laptop running RH9. It's on ttyS1. I've tried it using minicom and it works.

How do I directly write to / read from it?

I've tried
Code:

echo "AT" > /dev/ttyS1
and at the same time
Code:

tail -f /dev/ttyS1
but not much happens.


All times are GMT -5. The time now is 10:41 PM.