Connect from FC6 box to other device via serial/usb
I am trying to connect from my linux box to another device using a USB to serial adapter. The device has a terminal available via serial. How do I connect to the terminal on the other device from my Linux box through the serial/usb adapter?
Assuming FC6 has some sort of plugNplay for serial/usb where can i find what /dev/ttyS* the serial device has been associated as? How do I go about opening a connection to that device? The whole world of serial on Linux is new to me. Any type of tutorials or HOWTOs along these lines would be helpful. thanks Steve distro: FC6 kernel: 2.6.18-1.2798.fc6 |
The first device will be /dev/ttyUSB0. You can look at the output of the dmesg command in a console window to confirm.
There are several applications, minicom is a console utility and gtkterm is a GUI application. You can google for linux serial programming howto for additional information. |
I'm trying to connect w/ minicom and having a bit of trouble is there a more n00b friendly command line terminal program around?
thanks steve |
There is g-kermit but I do not have any experience using it so I can not say if it is easier. What device are you trying to connect.
If you start minicom with the -s option you can configure the serial port right away. |
type of device: a router. I need to be able to remotely access it, even if i hose the ssh server.
Configuration I've tried to do so far w/o any avail- baud rate 9600 parity= none dateBit= 8 StopBit= 9 Serial Device= /dev/ttyUSB0 I'm assuming ttyUSB0 is correct, considering the usb2serial cable is the only USB device connected to my box and ttyUSB0 is the only usb device listed in my /dev directory. thanks for all the help steve |
after quick install of gtkterm, i was able to connect via ttyUSB0. I do not normally have access to X Windows, so thats not really solution (although I now know it is infact the right device...)
|
All times are GMT -5. The time now is 02:06 PM. |