LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2010, 03:38 PM   #1
fulee1
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Rep: Reputation: 0
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
 
Old 03-30-2010, 03:41 PM   #2
fulee1
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 03-31-2010, 10:15 AM   #3
fulee1
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
Old 04-02-2010, 04:11 PM   #4
fulee1
LQ Newbie
 
Registered: Mar 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bash: /dev/null: Permission denied" on Ubuntu Login... sancho Ubuntu 10 10-08-2009 12:38 AM
Failed to execute child process "ooffice" (Permission denied) Mol_Bolom Linux - Software 2 03-11-2009 05:23 PM
CAnnot access /dev/ttys1 with Minicom on Korn Shell Yves Plasse Linux - Newbie 4 01-10-2009 12:55 PM
LXer: Kaffeine: Can't check DMA mode. Permission denied or no such device: "/dev/dvd" LXer Syndicated Linux News 0 04-15-2008 01:10 PM
"permission denied" when I try to send raw data to the sound device. Travis86 Linux - Hardware 2 10-29-2003 10:08 AM


All times are GMT -5. The time now is 04:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration