Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Just running Ubuntu for the first time by booting to USB drive. Now I have plugged in a USB-to-Serial converter which has been recognized and automatically added as /dev/ttyUSB0

share|improve this question

7 Answers 7

up vote 12 down vote accepted

Use one of screen's lesser known features:

screen /dev/ttyUSB0
share|improve this answer
4  
if you need to specify the baud rate, add it after the serial device. eg, for 57600 baud: screen /dev/ttyUSB0 57600 –  Jeremy Kerr Mar 13 '12 at 12:45

You can use putty. Its an ssh/serial/telnet client for Windows and Linux. You can download it from http://linux.softpedia.com/get/System/Networking/PuTTY-347.shtml

share|improve this answer

you can use ckermit also. It should be in the repository. After installing it create a file in your home directory called .mykermrc then add the 5 following lines:

set line /dev/ttyUSB0   
set flow-control none  
set carrier-watch off  
set speed 115200  
connect 

parameters can be adjusted as necessary.
save the file.
to start it

sudo kermit 
share|improve this answer

I was using puTTY to connect to the serial ports. But don't forget to add your user to dialout: sudo adduser <username> dialout then reboot the system. After that, you can use puTTY for serial connections such as /dev/ttyUSB0.

share|improve this answer

Needed Mint 17.1 to talk to my Arduino, after a little chasing around, the best way I found was to either:

sudo gedit /etc/group

goto line...

dialout:x:20:     

add your "username"

dialout:x:20:username

save file

or use

Administration - Users & Groups - Manage Groups

goto line "dialout" check properties to ensure that "username " is ticked if not "username" must be added.

This worked for me and by the look of lots of posts others have had the same problem. Hope this helps guys.

share|improve this answer
2  
-1 for sudo gedit /etc/group. Don't. Just don't. Learn how to add a user to a group using usermod or adduser for example. And your post is more of a comment rather than an answer to the question, because you don't actually show how to connect. –  gertvdijk Dec 24 '14 at 14:36
busybox microcom -t 5000 /dev/ttyUSB0

Source: http://forum.xda-developers.com/showthread.php?t=1471241

share|improve this answer

Using Lucid and a Dynamode USB to RS232 cable:

Plugged it in
ran kermit
set line /dev/ttyUSB0    <<-- mind the capitals/lowecase
connect
set speed 9600
...

and successfully connected to an RS232 port on an OpenVMS server.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.