Re: Symlink to Modem Vanishes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 02 Jun 2006 14:08:22 +0800
Peter <heisspf@xxxxxxxxxxx> wrote:

> slackware 10.2 kernel 2.6.16
> 
> heisspf@xxxxxxxxxxx indirectly said:
> > What I  needed was a file named 10-local.rules placed in the /sda3/etc/udev/
> > rules.d  subdirectory. All the file needed was the line following:
> 
> > KERNEL="ttyS0", SYMLINK="modem"
> 
> > Now the modem node in the /dev directory doesn't vanish anymore.
> 
> > Will try it on next reboot
> 
> It does not work, NAME="/dev/ttyS0" has to be added. However doing this then 
> there are no /dev/ttyS*. Symlink /dev/modem points to a non existing file.
> 
> Now I found that /dev/ttyS0 is a symlink to /dev/tts/0. So I changed 
> NAME="/dev/tts/0" with the effect that then there is no /dev/tts/0 but only 1, 
> 2 and 3.
> 

I finally solved it, the file /etc/udev/rules.d/10-local.rules reads now:

KERNEL="ttyS0",NAME="tts/0",SYMLINK="modem"

and after reboot this morning:

ls -l /dev/modem
lrwxrwxrwx  1 root root 5 2006-06-03 15:26 /dev/modem -> tts/0

and efax, vbox for which I need the modem mostly work.

Regards

-- 
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux