![Download Download](https://websistent.com/wp-content/uploads/2013/04/putty-serial-port-error.png)
I had Windows XP on this box and it failed. Thinking it was corrupted OS I tried to reinstall, and it failed. But then I tried to install Ubuntu, and I could not run it from the USB or from the HD.Did the mem test and found out one of my 512MB sticks (had 2) failed. I removed the bad one and was able to install Ubuntu but it was sluggish.I was trying to quickly setup my packet radio for Hurricane Sandy. Downloaded the Serial Port Terminal and was able to get some use but the system kept locking up. So Installed Xubuntu next to it, planning on running out the next day to get RAM for the box.
Putty Can't Open Serial Port
Put Xubuntu on and now I am getting the following error with serial port terminal.: Cannot open /dev/ttyS0: Permission deniedI would like to be able to use serial port terminal, or equivalent with Xubuntu so I can use my kpc3 packet terminal, connect to the com port on the back of my computer.Any ideas? Had a look around various forums and it looks to be a bug related to permissions. Here's how I got around the problem (long version). You WILL need BOTH cu and setserial packages installed.In three terminal tabs, monitored output from # tail -f /var/log/messagesThat's how we know if we have a /dev/ttyUSB0 or not.In the second tab, simply ran a loop to ls -l this device to see it's permissions and it's group ID is 'dialout'. THIS is the critical bit.
Putty Unable To Open Connection
For some reason, your user MUST use this GID to do the cu, so.In the third tab, as root, did # newgrp dialout (to correspond with the GID of dialout). Tested with # touch /tmp/anything. Doing ls -l on this file shows it is created by root with a dialout group, so we're ready to. # cu -l /dev/ttyUSB0In my case I needed to hit return again to see the expected prompt, in other cases speed may need to be specified.