LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-10-2002, 07:27 PM   #1
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
/dev/modem symlink


When I snap a PCMCIA modem into my notebook it sees it properly and makes a symlink /dev/modem -> /dev/ttyS3. Grand. Perfect. It's exactly what I need. The problem is that when I unplug the modem it happily destroys the link - just as it's supposed to do. Unfortunately I'd like to link it to another device if the PCMCIA modem is removed. The reason being that I'm not the only one who uses the notebook and it's not possible to train the other users to change the device setting for the dialer/ppp apps. Having the /dev/modem point to the active modem location is easier. (/dev/ttyS0 in this case).

If I create the link before the card is inserted it does not get replaced when the card is ejected.

I've been grep'ing and browsing through all the .conf files for both the serial devices and the pcmcia devices and I still can't find it!

Am I barking up the wrong tree here?
 
Old 10-10-2002, 08:30 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
what are you using to connect

You might be able to set it up using the device name instead of /dev/modem
 
Old 10-10-2002, 08:40 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Original Poster
Rep: Reputation: 45
I can (and do) do that - but most of the users can't or don't want to learn. I use /dev/modem and /dev/nokia. Users just want to 'click and go'.
 
  


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
udev takes long time to create /dev/usbhd symlink Yalla-One Slackware 4 04-04-2005 03:27 AM
symlink to modem tribeaffeldt Linux - Hardware 7 06-13-2004 09:48 AM
/dev/cdrom symlink GETS DELETED on reboot eyeoft Linux - General 2 06-08-2004 11:59 AM
Creating a symlink for /dev/dvd cddesjar Linux - Software 3 01-22-2004 03:08 PM
Modem symlink hassles 16977 Linux - Newbie 5 07-24-2003 10:18 AM

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

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