Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 09-06-2003, 07:20 PM   #1
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
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

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


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:47 PM.

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