LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-06-2003, 07:20 PM   #1
Zander
Member
 
Registered: Jul 2002
Posts: 65

Rep: Reputation: 15
wvdial for user


Okay, I use a program called wvdial to connect to dial-up, but I can only run it by using su for root. I tried setting some permissions for the device, but it still says device can't be opened or is busy when I'm user. Is there some permissions for a device (my modem is /dev/ttyS4) or some work-around so I can dial as user? Thanks.
 
Old 09-06-2003, 07:47 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,385

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
The solution is to give user permission to use /dev/ttyS4 and /etc/wvdial.conf

The way that I suggest is:
Log in as root.

chmod 775 /dev/ttyS4
chmod 660 /etc/wvdial.conf

Either create a group called dialout which includes user or add user to dialout group if it already exists.

chown root dialout /dev/ttyS4
chown root dialout /etc/wvdial.conf

If you are using /dev/modem as a pointer to /dev/ttyS4 then:
chmod 770 /dev/modem
chown root dialout /dev/modem

Last edited by jailbait; 09-06-2003 at 07:54 PM.
 
  


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
WvDial Streams Linux - Software 6 12-30-2006 05:25 PM
Wvdial failing on ioctl call as regular user mugwump84 Linux - Software 3 11-27-2005 01:01 PM
connect wvdial as non-root user? cdhgee Linux - Software 4 08-01-2005 02:37 AM
wvdial cammet Linux - General 1 07-31-2005 05:09 PM
Can use wvdial as user Vlad_M Linux - Software 7 10-04-2002 07:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration