I am running Ubuntu for the first time by booting from a USB drive. Now I have plugged in a USB-to-serial converter which has been recognized and automatically added as
How do I access
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Use one of screen's lesser known features:
busybox microcom -t 5000 /dev/ttyUSB0
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
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
You could use tio - a simple tty terminal I/O application:
You can use picocom, it is a minimal dumb-terminal emulation program. Basic usage is something like this (change 11520 to the desired baud rate):
$ picocom -b 115200 /dev/ttyUSB0
You have all the options you may want from a dumb-terminal program, like stop bits, parity, local echo, carriage return / line feed / backspace / delete / tab translation, X/Y/Z-modem and ASCII transfer integration, etc.
man picocom and
picocom --help for further information.
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.
I was using puTTY tortrtr connect to the serial ports. But don't forget to ad tod your user to dialout:
sudo adduser <username> dialout then reboot the system. T re trt retrrt weeree
After that, you can use puTTY for serial connections such as
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.
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
add your "username"
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.