Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
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.
Hi, I'm using Fedora Core 3 and installed a slmodem-2.9.10_netodragon driver for a Neto Dragon modem. The Problem is every time I boot, if I want to connect to internet, I must execute "/sbin/modprobe slamr", "/usr/sbin/slmodemd/slamr0" and "ln -s /dev/ttySL0 /dev/modem" (I always create the simbolic link and it always disappears when I boot). My question is how can I make all this process automatic, so I don't have to do it all the time I boot? Thanks in advance.
Hi, thanks for your help. I edited /etc/rc.d/rc.local and I rebooted to test it, but I had no results. When booting I saw "/usr/sbin/slmodemd /dev/slamr0" command and an error message, but the screen changed inmediatly, and I couldn't read the message. The lines I added to rc.local are:
I would eliminate the & as it's really unnecessary when loading at boot-time. If you execute these commands normally and they run, then running them from your rc.local at boot-time should work just fine.
I am confused as to why the symbolic link is dissappearing at boot. I'm also confused by you saying:
...I must execute "/sbin/modprobe slamr", "/usr/sbin/slmodemd/slamr0" and "ln -s /dev/ttySL0 /dev/modem" (I always create the simbolic link and it always disappears when I boot).
But then you say you've added the following lines to your rc.local:
"/usr/sbin/slmodemd/slamr0" shows that "slmodemd" is clearly a directory.
but you've issued "/usr/sbin/slmodemd /dev/slamr0 &" in your rc.local which shows that "slmodemd" is not a directory, but an executable binary.
Could you please clarify why it is that you've put this in your rc.local file or if this was a typo or what?
I'll try to help where I can.
zr0
Last edited by zr0gravity; 02-04-2005 at 12:04 PM.
The output of modprobe was a blank page (no errors, it seems). The output of slmodemd was the following:
error: mdm setup: cannot stat `/dev/slamr0': No such file or directory
error: cannot setup device `/dev/slamr0'
The weird thing is that when I su and do it manually after boot, it does work. Besides, after editing rc.local I don't have to execute "/sbin/modprobe slamr" after boot, just the slmodemd command. By the way, there's a space between " /usr/sbin/slmodemd" and "/dev/slamr0"
Hi I added the delay as you said, but I'm getting the same error, well I think that after all I'm getting used to execute the slmodemd command after boot, lol. Thank you anyway.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.