public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter <heisspf@skyinet.net>
To: linux-newbie@vger.kernel.org
Subject: Re: Symlink to Modem Vanishes
Date: Sat, 3 Jun 2006 08:40:09 +0800	[thread overview]
Message-ID: <20060603084009.2e2c136a@skyinet.net> (raw)
In-Reply-To: <200606020608.k5268MoK004233@skyinet.net>

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

> slackware 10.2 kernel 2.6.16
> 
> heisspf@skyinet.net 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  parent reply	other threads:[~2006-06-03  0:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-02  6:08 Symlink to Modem Vanishes Peter
2006-06-02 14:07 ` images -> DVD-slideshow ? chuck gelm
2006-06-02 15:44   ` Hal MacArgle
2006-06-04  1:56     ` Bhikkhu Mettavihari
2006-06-04  9:41       ` chuck gelm
2006-06-04 17:10       ` Hal MacArgle
2006-06-04 17:23       ` Hal MacArgle
2006-06-04  9:49   ` Christian Pedaschus
2006-06-03  0:40 ` Peter [this message]
     [not found] <200605312335.17753.david@fierbaugh.org>
2006-06-01  9:02 ` Symlink to Modem Vanishes Peter
  -- strict thread matches above, loose matches on Subject: below --
2006-05-30  1:00 Peter
2006-05-31 18:17 ` chuck gelm
2006-06-01  7:25   ` Peter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060603084009.2e2c136a@skyinet.net \
    --to=heisspf@skyinet.net \
    --cc=linux-newbie@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox