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 09-14-2003, 02:05 AM   #1
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Rep: Reputation: 15
Modem usage permissions


Greetings from the land of the mariachi and tequila. (english)
Saludos desde la tierra del mariachi y del tequila. (spanish)

I finally got my Intel 536ep modem working on Linux. Henceforth I will use Windows only for playing Counter-Strike, but I have a problem:

Only root can connect to Internet, if I login as a normal user my modem dials my isp phone number forever and never gets connected. It just keeps dialing and dialing and dialing.
I use kppp.

What permissions do I have to change?
What files do I need to edit?
Where can I get half-Life for linux? Is it free?

Thanks.
 
Old 09-14-2003, 03:24 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Edit the /etc/group file. Generally, you'll want to add yourself to every group but the group you want to add yourself to is called "dialout".
 
Old 09-16-2003, 12:05 AM   #3
Madrinator
Member
 
Registered: May 2003
Location: Guadalajara, Mexico
Distribution: Mandrake
Posts: 46

Original Poster
Rep: Reputation: 15
Thank you adz, but I use Mandrake and dialout isn't in groups because it is only used in Suse. Anyway, I Added my users to pppusers and didn't work.

I also checked the file permissions of these files and everything seems ok:
/usr/bin/kppp
/dev/modem
/dev/536ep
/etc/rc.d/init.d/536ep-boot

The last one is a script that launches the modem's modules 536epcore and 536ep. I edited it changing the variable $group to "users" but it didn't work.

Thanks
 
Old 09-16-2003, 12:36 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I use debian and it has a dialout group. Anyway have you added yourself to ALL groups? One of the scripts may be accessing a file which you do no have permission to. If all that fails get a package called "sudo". It allows users in the "sudo" group to execute a program with root permissions. You can write a script to connect you to your ISP using sudo.

PS: If you have a serial modem then check the permissions of the serial port (usually /dev/ttyS0 or /dev/ttyS1). Check which group it belongs to. If you have another type of modem then check that port instead.

Last edited by adz; 09-16-2003 at 12:39 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
USR5610b modem and permissions rascellian Mandriva 1 08-24-2004 10:45 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
High CPU usage when modem is connected fwmmaya Linux - General 0 04-05-2004 04:56 PM
locking a usage policy file/ftp file permissions gbow Linux - Newbie 0 02-16-2004 05:35 AM
Modem usage lansman Linux - Newbie 1 02-23-2003 01:53 PM

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

All times are GMT -5. The time now is 03:01 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