LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Serial Communication in Debian Linux (https://www.linuxquestions.org/questions/linux-newbie-8/serial-communication-in-debian-linux-458487/)

ashlesha 06-26-2006 12:57 PM

Serial Communication in Debian Linux
 
i m using Debian Linux -- how do i configure different serial port settings such as baud rate etc...and then once configured, how do i communicate with the device connected to the serial port?

Thanks for your help,

Ashlesha.

Peacedog 06-26-2006 04:26 PM

You should find everything you need here.

http://www.tldp.org/HOWTO/Serial-HOWTO.html

Good luck.

ashlesha 06-26-2006 04:43 PM

thanks,
ashlesha.

Peacedog 06-26-2006 05:04 PM

Your welcome. ;)

ashlesha 06-26-2006 05:43 PM

hey,
so i downloaded the setserial program..but there are no instructions as to how to install it..it contains an install sh file, but thats not running ok..

-a

greengrocer 06-26-2006 06:09 PM

Well if it were me, I would try the following:

Open a terminal window, and switch to Super User by typing: su
And then enter the su or root password.

then type sh <name of install file>


If you have sudo working on your system, you could probably do this:

sudo sh <name of install file>

ashlesha 06-26-2006 06:36 PM

i tried that already and got an error saying cannot run binary file..

greengrocer 06-26-2006 07:05 PM

OK, what about using ./?:

Open a terminal window, and switch to Super User by typing: su
And then enter the su or root password.

then type ./ <name of install file>


If you have sudo working on your system, you could probably do this:

sudo ./ <name of install file>

ashlesha 06-26-2006 07:11 PM

nope does not work!

this is what i need the serial port for:

i want to write a linux kernel and the rootfs to the flash memo of an MIPS board that i ve connected to the serial port of my computer..so i m trying to establish an interface where i can give commands and read responses from the processor.

ashlesha 06-26-2006 07:59 PM

hey,

i found it..minicom is installed on the machine so i can use that!

thanks for your help!!
-a


All times are GMT -5. The time now is 03:19 PM.