public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
From: chuck gelm <chuck@gelm.net>
To: heisspf@skyinet.net
Cc: linux <linux-newbie@vger.kernel.org>
Subject: Re: Symlink to Modem Vanishes
Date: Wed, 31 May 2006 14:17:17 -0400	[thread overview]
Message-ID: <447DDDAD.3080804@gelm.net> (raw)
In-Reply-To: <200605300100.k4U10pbg003990@skyinet.net>

Peter wrote:

>Hi,
>
>Slackware 10.2 kernel 2.6.16
>
>Why is it that the symlink /dev/modem to /dev/ttyS0 is gone when machine is 
>halted and has to be made again after rebooting?
>
>I do not know when this started, definitely it did not happen before I got my 
>broadband connection a little over a year ago.
>
>Thanks & regards
>  
>
Hi, Peter:

...because it is removed during a boot?

Edit /etc/rc.d/rc.6 and put
 ls -l /dev/modem [> /home/modem.txt]
 ls -l /dev/ttyS0     [> /home/ttyS0.txt]
immediately in front of
 'reboot' and 'halt' to see if it is still there immediately before.
It is a few lines from the bottom on my Slackware 10.2 - 2.4.31

Boot from a 'live CD' and see of the link is there to see if it is being
removed during a boot.

-or-

put "ln -s /dev/modem /dev/ttyS0" at the bottom of your /etc/rc.d/rc.local.
(did ^                                         ^ I get that right?)

HTH, Chuck


-
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

  reply	other threads:[~2006-05-31 18:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30  1:00 Symlink to Modem Vanishes Peter
2006-05-31 18:17 ` chuck gelm [this message]
2006-06-01  7:25   ` Peter
     [not found] <200605312335.17753.david@fierbaugh.org>
2006-06-01  9:02 ` Peter
  -- strict thread matches above, loose matches on Subject: below --
2006-06-02  6:08 Peter
2006-06-03  0:40 ` 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=447DDDAD.3080804@gelm.net \
    --to=chuck@gelm.net \
    --cc=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