LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   when use minicom, received "Device /dev/ttyS1 access failed: Permission denied." (https://www.linuxquestions.org/questions/linux-newbie-8/when-use-minicom-received-device-dev-ttys1-access-failed-permission-denied-798958/)

fulee1 03-30-2010 02:38 PM

when use minicom, received "Device /dev/ttyS1 access failed: Permission denied."
 
Hi,

I try to connect to my Cisco router via minicom, but I received the following error message:

"Device /dev/ttyS1 access failed: Permission denied."

My currently setting for serial port is:
Serial Device : /dev/ttyS1
Bps/Par/Bits : 9600 8N1
Hardware Flow Control : No
Software Flow Control : No

and I use Prolific PL2303 USB adapter for connection, and here is
the last couple line from dmesg output:
usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: New USB device found, idVendor=067b, idProduct=2303
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: USB-Serial Controller
usb 5-1: Manufacturer: Prolific Technology Inc.
usb 5-1: configuration #1 chosen from 1 choice
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for pl2303
pl2303 5-1:1.0: pl2303 converter detected
usb 5-1: pl2303 converter now attached to ttyUSB0
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver

any idea what caused the problem?

Thank you in advance!

Regards,
-Fu Lee

fulee1 03-30-2010 02:41 PM

By the way the os is Fedora 11
[root@flee-hp-pc fu]# uname -a
Linux flee-hp-pc.homelinux.net 2.6.30.10-105.2.23.fc11.i686.PAE #1 SMP Thu Feb 11 07:05:37 UTC 2010 i686 i686 i386 GNU/Linux

Thanks,
-Fu Lee

fulee1 03-31-2010 09:15 AM

I have also tried different kind of calbes (straight through, roll-over),
also on device, I have tried /dev/ttyS0, /dev/ttyS1, /dev/ttyS2, ...,
but still received the same error messages.

Thanks,
-Fu Lee

fulee1 04-02-2010 03:11 PM

Hi,

After I search some other forum, I found out my problem is caused by:
1. because I use USB converter, so on Serial Device need to specify: /dev/ttyUSB0 instead of /dev/ttyS0
2. for Cisco Catalyst 2950 it needs a roll-over cable connection
3. Bps/Par/Bits : 9600 8N1

After that, my connection is up and running, so please close my case.

Thank you,
-Fu Lee


All times are GMT -5. The time now is 07:46 PM.