Click to See Complete Forum and Search --> : Modem disappears after reboot...
MartinB
06-20-2002, 02:23 PM
Hi,
I've just got my modem working in Linux, but have a small problem. After every reboot, the modem disappears from my computer and I have to re-install it again!
I'm using an unofficial beta driver for my Conexant HSF Win-modem, on Mandrake 8.2.
It works absolutely great up until the point where I reboot, and then "modem" appears to have disappeared from the /dev/ directory and I have to un-install and re-install the driver to get it back.
Any help on this would be great,
thanks,
Martin
chikn
06-20-2002, 02:25 PM
Any steps your missing in the installation? Is there a module thats not reloading when your reboot?
mdwatts
06-20-2002, 02:49 PM
Did you create a symlink from the actual modem device in /dev to /dev/modem?
i.e.
ln -s /dev/ttyS0 /dev/modem
smokybobo
06-21-2002, 01:49 AM
Originally posted by MartinB:
<STRONG>Hi,
I've just got my modem working in Linux, but have a small problem. After every reboot, the modem disappears from my computer and I have to re-install it again!
I'm using an unofficial beta driver for my Conexant HSF Win-modem, on Mandrake 8.2.
It works absolutely great up until the point where I reboot, and then "modem" appears to have disappeared from the /dev/ directory and I have to un-install and re-install the driver to get it back.
Any help on this would be great,
thanks,
Martin</STRONG>
I use the HCF drivers so keep that in mind while I give my advice.
The problem can be twofold if you're using devfs. The first is that the modules for the modem are not loading at boot up so then you aren't getting the /dev/ttySHCF0 (or in your case maybe /dev/ttySHSF0) device. The second may be you're using the /dev/modem symlink to access the modem (and devfs doesn't create /dev/modem automatically in my experience, at least not without a lot of tinkering).
Solution? I can't remember offhand the module names that you need to load especially since I'm on a different computer right now, but you can easily check.
Here is what I did with the hcf drivers. You can probably apply this to the hsf drivers:
From installing the modem drivers and running hcfconfig, upon bootup I couldn't use the modem anymore. Running hcfconfig again reenabled my modem. So I ran `hcfstop` to unload the drivers and then ran `lsmod`. Then I ran hcfconfig and then lsmod again and took note of the extra modules that were loaded. Then I made the necessary changes to /etc/modules so that the modem drivers were loaded at each boot up.
Please note that I am using debian unstable so your mileage may vary depending on the distro you are using. If you need help configuring the modules to load up there are plenty of documentation out there to help you with that, or you can ask here for someone to help you if you're really lost on that aspect.