LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-16-2007, 04:23 PM   #1
martin78
LQ Newbie
 
Registered: Jun 2005
Location: Bratislava, Slovakia
Distribution: Fedora 8, Debian Sarge, SUSE 10.1
Posts: 29

Rep: Reputation: 15
Lightbulb unable to use gnome-ppp as user


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 !!!

Any ideas what could be the problem?

Thank you for your help.

Martin
 
Old 01-17-2007, 11:15 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
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.
 
Old 01-18-2007, 07:05 AM   #3
martin78
LQ Newbie
 
Registered: Jun 2005
Location: Bratislava, Slovakia
Distribution: Fedora 8, Debian Sarge, SUSE 10.1
Posts: 29

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

Thanks.
 
Old 01-18-2007, 07:16 AM   #4
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
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.

Last edited by nx5000; 01-18-2007 at 07:17 AM.
 
  


Reply



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
Unable to authenticate with isp using kppp or ppp-go glennph93 Slackware 3 03-10-2006 06:34 PM
Dropline gnome, and user unable to load bumbumkoala Slackware 2 11-09-2004 11:36 AM
Gnome 2.4 modem light (ppp-on) as user shepper Slackware 9 06-27-2004 02:32 PM
Unable to logon on as non-root user after update as unable to set executable context pls198 Fedora 2 04-09-2004 11:41 AM
using ppp in gnome as user elp5 Linux - Newbie 0 02-13-2004 05:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:44 PM.

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
Open Source Consulting | Domain Registration