Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-03-2004, 11:56 PM
|
#1
|
Member
Registered: Nov 2003
Location: Montreal, Canada
Posts: 36
Rep:
|
/dev/modem dissapearing after reboot.
I just moved to kernel 2.6.7 under Slack 10.0. Now, I'm using the same drivers for my winmodem that I used under 2.4 (ltmodem). The installation goes smoothly and everything works. However, when I reboot the computer and try to connect to the internet via kppp it says that the /dev/modem link doesn't exist (the driver installation creates one and points it to /dev/ttyLT0). So basically, I gotta reinstall the driver to get my Internet up. Where's the problem?
|
|
|
08-04-2004, 03:00 AM
|
#2
|
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140
|
Did you try add /sbin/modprobe lt_serial in /etc/rc.modules ?
Also, try to copy the alias and modules parameter from /etc/modules.conf to /etc/modprobe.conf
Last edited by Cedrik; 08-04-2004 at 03:03 AM.
|
|
|
08-04-2004, 07:02 AM
|
#3
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
Do you really have to reinstall the driver or just recreate the modem symlink?
|
|
|
08-04-2004, 09:35 AM
|
#4
|
Member
Registered: Nov 2003
Location: Montreal, Canada
Posts: 36
Original Poster
Rep:
|
I found out that the modules do load correctly (I see them in lsmod). Now, when kppp complains about the missing /dev/modem file, I found out that the file that it suppose the point to doesnt exist either (/dev/ttyLT0, created during installation)
And yeah, I do have to reinstall, since /dev/ttyLT0 is nowehere to be found.
|
|
|
08-04-2004, 11:52 AM
|
#5
|
LQ Newbie
Registered: Oct 2003
Location: Texas
Distribution: Slackware 9.1
Posts: 6
Rep:
|
I'm having the same issue too. /dev/modem and /dev/ttyLT0 vanish after reboot. The modules load fine(per dmesg). Is there some udev trick or something?
|
|
|
08-05-2004, 09:13 AM
|
#6
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
How about if you just try a MAKEDEV ttyLT0 as root from the /dev directory. What does that do?
|
|
|
08-05-2004, 11:53 AM
|
#7
|
Member
Registered: Nov 2003
Location: Montreal, Canada
Posts: 36
Original Poster
Rep:
|
command not found 
|
|
|
08-05-2004, 12:06 PM
|
#8
|
LQ Newbie
Registered: Oct 2003
Location: Texas
Distribution: Slackware 9.1
Posts: 6
Rep:
|
Ok, here's what I found late last night. when I modprobe lt_serial, it creates the dev ttLTM0. Which according to what I read is what udev does. When a module is loaded, it creates the node for the device and names it what it feels it should be called. So I went into /etc/udev/rules.d and edited the udev_rules file(can't remember the exact name, I'm at work on a Win box right now) at the end I added KERNEL="$udevroot/ttLTM0" SYMLINK="$udevroot/modem" Again that variable $udevroot is probably not the exact name, but look at the udev rules above it to see what the exact variable name is. When udev creates the ttLTM0 node after the modprobe, it will slide through these rules and create the symlink modem to that node. You should then be able to use whatever ppp dialer you want. That's a halfway solution basically. You just have to modprobe the driver, wait like a second or two and then dial in. I guess the issue is with hotplugging. It doesn't recognize the device and so doesn't create the node at boot time. I think that's the issue. Workarounds could be installing of the drivers at boot, or creation of the node by the extra node script in /etc/udev/scripts. I feel there is a more elegant solution possibly, but I don't know what it is, yet.
|
|
|
08-05-2004, 07:13 PM
|
#9
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
You should be able to add the module to /etc/modules, then. That should blindly load it at boot time.
Try a ./MAKEDEV, then.
Last edited by adz; 08-05-2004 at 07:18 PM.
|
|
|
08-06-2004, 10:18 AM
|
#10
|
Member
Registered: Nov 2003
Location: Montreal, Canada
Posts: 36
Original Poster
Rep:
|
My both /etc/modules.conf and /etc/modprobe.conf have the same stuff inside them.
alias /dev/modem lt_serial
alias char-major-62 lt_serial
alias /dev/tts/LT0 lt_serial
So, what exactly should I add here? 
|
|
|
08-06-2004, 08:46 PM
|
#11
|
Senior Member
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713
Rep:
|
No, just /etc/modules with no extension. In there, just add the name of the modules as you would to the modprobe command.
|
|
|
08-07-2004, 01:41 PM
|
#12
|
Member
Registered: Aug 2004
Distribution: Debian
Posts: 443
Rep:
|
#chmod -x /etc/rc.d/rc.udev

|
|
|
All times are GMT -5. The time now is 11:06 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|