Jump to content

KPPP can't find the modem [SOLVED]


mjtickner
 Share

Recommended Posts

I am trying to use KPPP to control a modem 56k connection. My modem is located at /dev/ttySHCF0 but KPPP does not allow this location in it's options.

 

The config script which came with the modem drivers sets up /dev/modem to point to /dev/ttySHCF0 which KPPP can use. However, when I reboot /dev/modem is not present. I can regenerate the symbolic link, but I have to be running root privileges to do so.

 

Is there a way to either

 

a) stop the /dev/modem entry from being removed?

B) force KPPP to use /dev/ttySHCF0? or

c) modify an init script to add the link command?

 

Thanks.

 

Edit:

 

There seems to be a couple of way of doing this.

 

The first is that buried with the users .kde directory is a file called kppprc. The following entry should be present.

 

[Modem]
Device=/dev/modem

 

This can be edited to read /dev/ttySHCF0. Unfortunately this caused a "unable to create modem lock file" which I wasn't able to get around.

 

The second solution was provided by arvi on alt.os.linux.mandrake

 

if you know the tty name for your modem create small file in /etc/udev/rules.d/ (name does not matter but must end with .rules)

with contents like

 

{pts/2}% cat /etc/udev/rules.d/00-modem.rules

KERNEL="ttyS4" SYMLINK="modem"

 

Substituting the appropriate values, this works and the symlink is in place on boot with no lock file issues.

Edited by mjtickner
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...