LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   /dev/modem symlink (https://www.linuxquestions.org/questions/linux-hardware-18/dev-modem-symlink-32491/)

mcleodnine 10-10-2002 07:27 PM

/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?

DavidPhillips 10-10-2002 08:30 PM

what are you using to connect

You might be able to set it up using the device name instead of /dev/modem

mcleodnine 10-10-2002 08:40 PM

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'.


All times are GMT -5. The time now is 05:53 AM.