Re: Symlink to Modem Vanishes

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

 



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@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