Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Please help me - when I try to connect (dialup) under GNOME in Fedora Core 6 with gnome-ppp as user, cannot access /dev/ttyS0 (my modem's serial port), but as root there's no problem, evertything works fine !!!
You may not have read permission for the device. Type the following command and tell me what you get:
ls -l /dev/tty*
They should return:
crw-rw-rw-
Notice what group the device belongs to. If it belongs to the dialout group then you will need to add your account to the dialout group in the /etc/group file in order to have permission to read and write to the device.
I get this: crw-rw----
So I added my user to that group, but it didn't help.
The chmod command didn't work on this file. Maybe because it is just a link?
Its not a link if it starts with
c
(crw-rw----) these are the permissions that they should have (not full rw otherwise there is no need for a group)
You have to add your user to the group of this file (can be dialup, uucp or anything) so be sure to check the group. It depends on your configuration.
And then add your user to THIS group.
And then you have to restart gnome at least. because the ownerships get inherited for a login shell only.
Check that your user is in this group by typing
id
For the rest of ppp, it should run as root (it should be automatic) because ppp needs to override files which only belongs to root.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.