LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 01-06-2007, 12:10 AM   #1
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 152

Rep: Reputation: 20
kppp wont work with martian (ltmodem)


The martian startup script /etc/rc.d/init.d/martian will create /dev/ttySM0 but kppp (configure > device) does not list it. If I add Device=/dev/ttySM0 to the file ~.kde/share/config/kppprc then kppp will list it but cannot dial. The message is "Unable to create modem lock file" (if started from a terminal it shows at this point "Opener: received SetSecret")

If I set the kppp device as /dev/modem and create the symlink ln -s /dev/ttySM0 /dev/modem it will work fine.

Tried messing about with /var/lock creating a new group, chown to the group and so forth but got nowhere.

I do not want to manually create a /dev/modem symlink every time I boot. The computer is being set up for a friend who is not savvy. If some advice could be offered, either how to get /dev/ttySM0 compatible with kppp, or a simple script to create the symlink late in the bootup, I would be grateful.

computer - thinkpad 600x
distro - mandrake 10.1 (severely pruned!)
desktop - icewm
kppp - 2.1.4
martian-full-20061203.tar.gz (martian is a development of ltmodem and is used with lucent/agere winmodems)

Last edited by Greenfuse; 01-06-2007 at 12:11 AM.
 
Old 01-06-2007, 05:03 PM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Quote:
If I set the kppp device as /dev/modem and create the symlink ln -s /dev/ttySM0 /dev/modem it will work fine.
And the problem is...
Quote:
I do not want to manually create a /dev/modem symlink every time I boot.
# vi /etc/rc.d/rc.local

Add following line at the end of the script:
ln -s /dev/ttySM0 /dev/modem

kppp does not list device /dev/tty<stuff> and mandrake devfs makes it impossible to create permanent link in device file folder.
 
Old 01-07-2007, 12:09 AM   #3
Greenfuse
Member
 
Registered: Nov 2004
Distribution: gentoo, arch centos
Posts: 152

Original Poster
Rep: Reputation: 20
Thanks Simon that fixes the problem
 
Old 01-07-2007, 06:29 PM   #4
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu 10.04
Posts: 9,196

Rep: Reputation: 190Reputation: 190
Cheers.

You've been participating: helping others out when you could.
This sort of thing is the payback.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
will the ltmodem drivers work in debian sid (knoppix sid) maximalred Debian 5 05-29-2009 10:44 AM
martian setup for ltmodem problem Pr_009 Ubuntu 6 10-22-2006 02:27 AM
Mandrake 10.1 Official, kppp wont dial with external modem xxx_Birdman_xxx Mandriva 3 02-14-2005 04:39 AM
FALCONS EYE (nethack) FAILS ON STARTUP, use to work, wont work even after reinstall roorings Linux - Software 0 10-08-2003 10:39 PM
Kppp wont work descend Linux - Software 4 02-16-2003 04:03 PM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration