Fedora :: Access To Serial Port Denied?

May 24, 2010

My program tries to open serial port on Fedora 12, and shows "Access denied" on Open Port operation. The same program runs successfully with root rights. What can I do to get COM port access as regular user?

View 2 Replies


ADVERTISEMENT

OpenSUSE :: Set RxtxSerial - Java App Has Access To A Serial Port (via SiLabs CP210x Driver, Port /dev/ttyUSB0)

May 10, 2010

I'm trying to set rxtxSerial to work so a Java app has access to a serial port (via SiLabs CP210x driver, port /dev/ttyUSB0). When I use update-alternatives --config java, there are 3 alternatives which provide `java'. I have tried openJDK and Sun. Both fail but with completely different messages.

[Code].....

View 9 Replies View Related

Ubuntu :: Serial Port Access On 10.04?

Apr 27, 2011

ive been looking through several online documents and forum posts but i cant get a clearcut answer on how to set up serial port acces in ubuntu 10.04 (server).

View 7 Replies View Related

General :: Alternative USB Serial Port Access?

Aug 16, 2010

was wondering if there is an alternative method to using udev rules in order to get access to the USB serial ports. Is there a command to check the names and give them to you? I'm looking for something along the lines of "ttyUSB".

View 3 Replies View Related

General :: Windows With Putty Via USB Serial Cable To Serial Port - Output Ok, Input Isn't?

Jan 13, 2010

I am trying to get two way serial communications going between a Windows XP system and a Linux system (RHEL 5).I have /sbin/agetty -L 9600 ttyS0

in /etc/inittab. I am using a generic USB to serial adaptor on Windows (Unitek) and a null modem cable. I have putty configured for 9600 baud, 8 bits, no parity, one stop bit, no flow control.I get the login prompt from agetty in the putty window but input does not work; I see weird characters in the putty screen. I can echo output into the device from windows and see it, but

cat < /dev/ttyS0. just prints out weird characters from what I type.

View 3 Replies View Related

Software :: Connect A Serial Cable To The Serial Port?

Mar 23, 2010

We have a new machine with RedHat enterprise 5 on it. I need to connect a serial cable to the serial port and talk to another system (old alpha system) instead of using a VT connected to the alpha.Does RedHat come with anything like Keaterm/hyperterm/etc etc?

View 3 Replies View Related

Fedora Servers :: Serial Port On Fed 12

Mar 25, 2010

Can anyone one give me some pointers please, for talking to a serial port, if I use cutecom it always returns "could not open /dev /tty0 or 1 or 3 or 4, even tried ttys0 etc

View 7 Replies View Related

Fedora :: How To Connect To Serial Port?

Jan 19, 2011

i would like to connect to my cisco via a console port and i dont konw how

View 13 Replies View Related

Fedora Hardware :: How To Mount Serial Port?

Sep 24, 2010

I think I need to mount a serial device, but not sure how. I looked at /etc/fstab, but cannot determine what to put in for the mount type. And, not sure what port it would be exactly... imagine either "ttyS0" or "tty0". Can someone give a newbie some guidance on how to possibly mount this device?

View 2 Replies View Related

Fedora Hardware :: Cannot Screen Serial Port?

Jun 7, 2011

have a new HP Compaq 8200 elite. I have a dual boot system. Windows 7 and Fedora 15.In Fedora I cannot seem to connect to the serial port. Could anyone help me with resolving this. I've never had issues with hardware before in Linux so this is a little new to me.

Code:
[matt@matt ~]$ dmesg | grep tty
[ 0.000000] console [tty0] enabled

[code]...

View 3 Replies View Related

Fedora :: Change The MOBO And Trying To Get The Serial Port Working?

Apr 20, 2011

I've just had to change the MOBO and trying to get the serial port working, I see from previous posts there are some problems lurking in the past.

setserial -g /dev/ttyS*
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: unknown, Port: 0x02f8, IRQ: 3
/dev/ttyS2, UART: unknown, Port: 0x03e8, IRQ: 4
/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

but I'm not seeing anything from a GPS receiver in NMEA at 4800 no par 1 stp I know that was working about a year ago. I think udev was not helping ,as I was getting permission denied to the com port, I added myself to group dialout. and no message on startup now

I need to be able to talk to a piece of kit with 9600 baud and nothing. I have win32 s/w to drive it , but it falls over in wine. My laptop still has win7 on it in a tiny partition but no 9w d connector and I'm waiting for a USB converter cable. Too many variables ! I'd forgotten all the hassle of having to install drivers just to get basic things running. But as the stupid thing couldn't manage using the driver for my NIC, I was stuck with hyper-terminal, and nothing from the GPS board @4800 or another piece of equipment running at 9600. I suspect the com port on the new mobo doesn't wan to play

View 2 Replies View Related

General :: Creating Virtual Serial Port In Fedora?

Mar 9, 2011

I want to create a virtual serial port in Fedora. I'm using Java code to communicate over a serial port. I want to test this code with out any serial devices connected.

View 1 Replies View Related

Fedora :: Connecting Cisco Console Port - USB To Serial Converter

Dec 16, 2009

I am trying to connect to a cisco console port using the usb to serial converter. I am using minicom and I changed me setting to reflect the USB converter cable, but it isn't working. I have set my baud rate to 9600, 8 data bits and no parity. Minicom acts as if it is connected (it doesn't give any errors), but there is nothing on the screen and nothing happens when I type. Also, I use the tail command and it sees the usb connector connected when I unplug it and plug it back in.

View 10 Replies View Related

Fedora Hardware :: Serial Port Adapter - Cannot Install Drivers

Feb 4, 2010

Does an have Mocship MCS9901 adapter in use. I cannot even install driver. Is ti the PC adapter between since this is express card. What to do?.

make[1]: *** [_module_/home/Xx_Xxx/Desktop/MCS9901_Linux/version1.6/starex] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.31.12-174.2.3.fc12.i686'
make: *** [default] Error 2

View 3 Replies View Related

Programming :: Send /receive Data Through Serial Port In Fedora?

Dec 27, 2010

I am doing work on serial port. I want to send/receive data to/from Microcontrolar through serial port. But I don't know how to initialize, receive and send data to Serial port. i am new in fedora so i hav'nt any deep concept of fedora.can anyone send me C code , which communicate through serial port in fedora (or atleast help me). I am using Fedora 11.

View 6 Replies View Related

Fedora X86/64bit :: VirtualBox - Give Permission For Guest Os To Use The Serial Port?

Jul 16, 2009

i'm running VirtualBox v3.0.2 on F11x86_64. As my guest in virtualbox i will am using xp sp3. In virtualbox settings i need the use of my serial port (e.g. com1). I have `enable serial port` ticked, port number set to com1, port mode set to host device and port/file path set to /dev/ttyS0. I have done hours of searching and this is the best i have come up with so far. My question is this: How do i give permission for my guest os to use the serial port?

View 4 Replies View Related

Software :: Identify The Status Of Serial Port ("Port Already Opened") From A C Program?

Feb 5, 2010

I am writing some application in C, which will access a serial port device (RS232). My application is working good. But if any other application is already opened the port, I couldn't able to identify that. In windows VB program, while accessing comport through mscomm control, i am receiving an error as "Port Already Opened". But in Linux environment, through C program how can i get that? I am accessing comport 1 as follows

fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_SYNC);

View 3 Replies View Related

OpenSUSE :: 11.3 Minicom Permission Denied With Usb Serial Adapter?

Jul 21, 2010

I have a usb serial adapter and was happily using minicom with it under openSUSE 11.2. I've upgraded to openSUSE 11.3 and I can only use minicom with this serial adapter as root. I had previously had problems writing to /var/lock under openSUSE 11.2 which I worked around by changing the minicom config to use /tmp as its lock file location.

Unfortunately my laptop doesn't have a built in serial port so I can't tell if its a general problem or something specific to the /dev/ttyUSB0 device. This is the output I get when I run minicom with my regular user account. I get the same output whether the lock file location is set to /tmp or /var/lock

Code:minicom usb0 Device /dev/ttyUSB0 lock failed: Permission denied. Before I started tinkering my user belonged to the following groups groups=16(dialout),33(video),100(users) I've since added 5(tty),14(uucp),21(console) but still no joy.

View 7 Replies View Related

Fedora :: Move Files In F13, Access Denied?

Nov 7, 2010

I am somewhat new to Fedora, only having F13 for 2 months and F12 about a year ago on my dieing AAO. Anyways...I am trying to get the Apache web service up and running. Type in http://localhost and I get the Apache welcome screen. Now I try to add my webpages to /var/www/html/ and it says Error Moving File: Access DeniedI tried to find where to login in as root and find nothing. I am VERY unfamiliar with command line prompt other than for the yum installs

View 7 Replies View Related

Fedora :: Wordpress : Access To A Directory Is Denied?

Nov 24, 2010

I would like to install wordpress on fedora 14.so I downloaded the packages needed to install apache+php, and I saw the site is located in the directory /var/www/html.I unzipped the wordpress archive to this directory but when I enter the address "http://localhost/wp-admin/install.php" in the browser (firefox launched from the command line as root) I have the error message : ****************************You don't have permission to access /wp-admin/install.php on this server.****************************do you know what thing I have to do in order to make the directory available?

View 2 Replies View Related

Fedora :: NFS Access Denied By Server While Mounting Nfsserver:/public

Dec 3, 2009

Since FC6, NFS became very finicky and seemingly causes servers to randomly denying mounts from some terminals but not others, with all exactly the same new FC installation and exactly the same hardware - crazy!. The only difference is hostnames of the terminals trying to mount NFS volumes on the server and I made sure that /etc/hosts on all terminals and servers contain each others ip addresses and hostnames. I always uninstall SELinux which is truly a huge pain in a corporate environment. Is there ANY way I can relax the NFS authentication on the server in order to make sure clients can mount volumes?

e.g. the following is encountered often, with sometimes crazy situations that clients can only mount nfs volum es from the server after I first boot the server and then ALL the terminals. It is painful as you might agree! Other way round, no go, client will not mount until server is booted and then client booted.

In this case I really prefer windows lackey security. It works. Never mind how crappy windows is, at least I don't have diabolical access problems on servers.. NFS used to be very nice about 6 years ago but truly sucks recently imo. /]# mount -o soft -t nfs nfsserver:/public /xfer mount.nfs: access denied by server while mounting nfsserver:/public

View 1 Replies View Related

Fedora :: Install .bin Files Getting Error Installer.bin: Access Denied?

Apr 4, 2010

I have same problem with *.bin files.When I try to install software from *.bin file I see error:

Code:
[andrew@notebook Programming]$ ./installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
bash: ./installbuilder-qt-professional-6.3.0-linux-x64-installer.bin: Access denied
[andrew@notebook Programming]$
When I run command ls -la I see this:

Code:
[andrew@notebook Programming]$ ls -la installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
-rwxrwxrwx. 1 andrew andrew 82624164 Апр 4 16:39 installbuilder-qt-professional-6.3.0-linux-x64-installer.bin
[andrew@notebook Programming]$
This error exist if I try to install this application with root access. What I mast do for fix this error?

P.S. I have Fedora 12 x86_64 on my notebook ASUS M51Sn.

View 6 Replies View Related

Fedora Servers :: Relay Access Denied 554 5.7.1 (postfix And Smtp)

Jul 2, 2010

My postfix is ok with receiving emails but i can send mail to my domain only [URL] When I want to send to other domains i receive this error (in the maillog):

Quote:

postfix/smtpd[14172]: NOQUEUE: reject: RCPT from 93-46-46-73.ip106.fastwebnet.it[93.46.46.73]: 554 5.7.1 <giannileggio@shoppeo.com>: Relay access denied; from=<info@sampledomain.com> to=<giannileggio@shoppeo.com> proto=ESMTP helo=<[36.234.52.97]>

it is the same via thunderbird or via telnet. This is my configuration

Quote:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin

[code]....

I used 'sampledomain' instead of my real domain

View 2 Replies View Related

Fedora Servers :: Access Denied When Sending Mail - Postfix?

Jan 18, 2011

i have configured mail server with postfix with dovecot with no encryption:When connecting with Thunderbird imap is working fine. when sending email from another domain to this domain again it is fine. but when i want to send mail frommy domain to another it gives me error and this is /var/log/maillog:

Code:
Jan 18 18:23:09 srv1 postfix/smtpd[3991]: NOQUEUE: reject: RCPT from unknown[95.81.67.120]: 554 5.7.1 <Recipient email>: Relay access denied; from=<Sender> to=<Recipient email> proto=ESMTP helo=<[127.0.0.1]>

[code]....

View 1 Replies View Related

General :: How To Know Which /dev/ttyS* Is My Serial Port

Apr 14, 2010

I have a laptop which has only one serial port.

I went into:

How do I know which of those "ttyS" refers to my serial port?

View 2 Replies View Related

Hardware :: Reading Serial Port With C?

Aug 12, 2010

I have two usb2serial adapters connected to my PC with a null modem (I am doing some testing to learn serial comm for a particular application). I am writing to /dev/ttyUSB0 a trying to read /dev/ttyUSB1. I have used screen (screen /dev/ttyUSB1 115200) and am able to see the characters being written. I am also able to read and write with Python with the following code

Code: import serial,time,sys
ser1 = serial.Serial('/dev/ttyUSB0',baudrate=115200)
ser2 = serial.Serial('/dev/ttyUSB1',timeout=2,baudrate=115200)
ser1.open()
ser2.open()

[Code]....

View 3 Replies View Related

General :: How To Get Syslog Using Serial Port?

Feb 6, 2010

How do I get syslog using serial port?

View 2 Replies View Related

Hardware :: Blind Serial Port

Jul 11, 2011

I can't communicate with and UPS (Eaton) via a serial port. The serial port is UP and have been tested under a Windows OS.I have set up the communication parameters and tried to establish a dialog with the UPS. Minicom is installed. Nothing appears ont the screen and the VT102 has an offline status. The OS is Red Hat Enterprise Linux 5 64bits.Is somebody have examples to debug the serial port ?

View 7 Replies View Related

Hardware :: Serial Port Interrupt

Jan 25, 2011

I need cause an interrupt on a serial port. If I put a single HIGH on the RX pin, will that cause one? I all ready use the 4 control lines for data.Hope I am making sense?

View 5 Replies View Related

Hardware :: Usb To Serial Port Adapter?

Apr 14, 2009

I need a to add a usb serial port adapter. Are they all basically the same? Do I need to find a Linux compatibility list before I go shopping?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved