LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-06-2003, 10:11 PM   #1
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Rep: Reputation: 15
changing kppp permissions


i had a program crash my machine. after fsck my permissions seemed to have changed.
i can run kppp in root mode fine but get "soory, can't find modem" error under user.
please help.
i'm running knoppix 3.1 from hda.
 
Old 04-06-2003, 10:17 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Does the "sorry, can't find modem" message come up from kppp? What I mean is, does kppp run as a user? If so you may want to check out the permissions on the modem.
 
Old 04-07-2003, 11:03 AM   #3
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
kppp

kppp generates the "sorry, can't find modem" message.
which tells me the program is operating correctly.
i have checked and rechecked the kppp settings to no avail.
kppp runs and connects perfectly as root.
am i just overlooking something?
 
Old 04-07-2003, 02:14 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
permissions problem

The problem is probably with the permissions of your modem device. /dev/modem should be a symbolic link to the device where your modem is located. Check the permissions of the modem device.
 
Old 04-08-2003, 10:20 PM   #5
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
there is no /dev/modem dir
 
Old 04-08-2003, 11:41 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
setting up modem

I have to admit that I am somewhat perplexed. If you don't have /dev/modem
then that would explain why user cannot dial out but then I can't understand how
root can dial out. Unless Mandrake sets up kppp to point directly to the modem device without
going through /dev/modem. Any Mandrake users out there?

Here is a good description of how to set up your modem for kppp to use it.
I am giving you this link to save me having to type a lot.


http://helpdesk.ghg.net/linux/
 
Old 04-09-2003, 02:41 PM   #7
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
/dev/modem works like this

The problem is not in your kppp permissions. The problem is somewhere inyour /dev directory. You will have to login as root to work on the problem.

There are a wide range of modem hardware devices. They can be attached to many possible locations on the /dev directory. For example:
the first serial port is /dev/ttyS0
the first USB port is /dev/usb/ttyUSB0 (I think)

When you do an complete install or just install a new modem you set up the modem on the appropriate file in /dev. Since there are huge number of possible positions for the modem it is a universal convention to make /dev/modem a symbolic link to where the modem really is installed.

The modem device has permissions just like any other Linux file. The permissions allow or disallow various users to use the device.

Your problem seems to be that your modem device file is set up so that root can use it but usr cannot. kpp is working correctly as root. It is also doing what it is supposed to as usr but probably the kernel is denying usr access to the modem device file because that is what the permissions are set up to do.
 
Old 04-09-2003, 09:25 PM   #8
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
i have checked the kppp settings of root. the modem is connecting to ttys0. however, upone looking for the /dev/modem link i discovered that the directory doesn't exist.
the search is as follows:

root@knobbox:/# cd /dev
root@knobbox:/dev# ls -s ttys0 modem
ls: modem: No such file or directory
0 ttys0
root@knobbox:/dev#

does this mean that i merely need to create a symbolic link? if so, how do i do that?
 
Old 04-09-2003, 09:38 PM   #9
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
Do two things, link and permissions.

First of all make sure as to whether you are talking about /dev/ttys0 or
/dev/ttyS0. The case of the letter S is hugely important.

To link the modem to /dev/ttyS0 (assuming upper case S) use:
ln -s /dev/ttyS0 /dev/modem

Then check the permissions on /dev/ttyS0 as per the web page instructions.
 
Old 04-12-2003, 11:39 PM   #10
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
that must have been a major part of the problem . kppp now finds and dials the modem but doesn't actually connect to the network . rather, it continues to dial my isp, ping and then redials the isp and pings. any ideas why?
 
Old 04-13-2003, 09:46 AM   #11
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
look at kppp log

I have never used kpp. I use wvdial. kpp probably has a log somewhere. Compare the user kppp log to the root kppp log.
 
Old 04-13-2003, 10:46 PM   #12
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
where do i begin looking for log files?
 
Old 04-14-2003, 04:46 PM   #13
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
dunno for sure

I don't know. Maybe somebody who uses kppp can help you out.

Here are some web sites that might help out.

http://howto.lycos.com/lycos/step/1,...+14228,00.html

http://devel-home.kde.org/~kppp/faq.html

Or you could try these commands:
find /home/user -iname "*kppp*"
find /root -iname "*kppp*"
 
Old 04-21-2003, 10:27 AM   #14
jamessp007
Member
 
Registered: Aug 2002
Location: Highland, UT
Distribution: Linux Mint 9
Posts: 44

Original Poster
Rep: Reputation: 15
kppp broke the camel's back

forget it. i'm going back to win 2k.
this is exactly why linux will never unthrone windows.

is it more powerful? yes. does it "just work"? No.

maybe i'll make it a dual boot so i can continue to learn linux.
meanwhile, i have work to do. windows to the rescue...
 
Old 01-29-2005, 05:10 PM   #15
Usalabs
Member
 
Registered: Jan 2004
Distribution: OpenSUSE 42.1 Server
Posts: 158

Rep: Reputation: 15
Re: kppp broke the camel's back

Quote:
Originally posted by jamessp007
forget it. i'm going back to win 2k.
this is exactly why linux will never unthrone windows.
Good on ya, windows has, and always will be far superior to linux.

Quote:
Origianlly posted by jamessp007
is it more powerful? yes. does it "just work"? No.
You're absolutely right, Linux maybe powerful, but it will NOT surpass windows, Linux just does not work, it's ok for internal networking, but for the user that wants to use it the way windows is used, forget it!.

Quote:
Origanally posted by jamessp007
maybe i'll make it a dual boot so i can continue to learn linux.
Don't bother, you're wasting disk space, use windows. Personally I would suggest using windows xp pro.

WINDOWS IS THE BEST!
 
  


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
kppp permissions h3xis Linux - Software 5 02-11-2005 04:51 PM
KPPP Permissions AmdMhz Linux - Software 3 10-01-2004 06:58 AM
kppp permissions ewto Linux - Software 6 08-30-2003 10:39 PM
kppp permissions? exper13nce Linux - Hardware 9 03-30-2003 07:55 AM
KPPP Permissions SML Linux - Newbie 3 12-10-2002 05:33 AM

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

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