modem problems on slack 8.1 "sorry the modem is busy"
SlackwareThis 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.
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.
modem problems on slack 8.1 "sorry the modem is busy"
Sup everyone.. i recently installed slack 8.1 upgrading from 8.0 .. when trying to dial up to my isp on X using kppp .. i get the error "sorry the modem is busy" .. i do not have a winmodem ..it used to work before. anyone know how i fix this problem? what command to use..or any other help would be appreciated
Check the link /dev/modem and see if it exists. If it does then check to make sure it is valid and pointing to your modem. You chould check kppp configuration and see what it is actually looking for.
the link to /dev/modem points to /dev/ttyS1 ..everything for my modem seems to be in order and all the configuration is correct..there must be another problem somewhere.. i really need help with this..so if anyone or Excalibur can help..please it would be appreciated
Also, check in the /var/run directory for an old pid file. It might be called ttyS1.pid, modem.pid, ppp0.pid, kppp.pid or similar. If kppp detects that it thinks a process is using the modem port then it could report that it is busy. "pid" stands for process identification and the file should contain a valid process number using the resource. But if a process dies unexpectedly then it might leave the pid file.
yes excalibur the modem is install on COM2 .. i looked in the /var/run dir ..no files similar to kppp or ppp0 or ne thing like that.. still says modem is busy.. i dunno wuts going on but its getting me very upset.. is there ne thing else i could do ? ..i have no clue whats goin on
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
Since you're using Slackware, you have another option that isn't as pretty
as kppp, but usually works.
As root, in an xterm or console, do:
cp /etc/resolv.conf /etc/resolv.conf.back
(only necessary if you've setup your DNS server via some other
means, if this file is basically empty, you don't need to back it up)
pppsetup
this will take you through setting up a script that starts your PPP
connection. You'll need to know what happens when you connect (does
your IP require you to log in? do they call you back? same thing you
provided to kppp). Go through the setup, and when you're done, you
should be able to run the script in
/usr/sbin/ppp-go
to start the PPP connection
and
/usr/sbin/ppp-off
to end the PPP connection.
well moses..ive already tried the whole ppp-go thing and it just says connect script failed when i try to use it.. when i type echo "atdt" /dev/modem it brings me back to the command line.. i also tried echo "atdt" /dev/ttyS1 and it says input/output error.. have any other ideas?
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
It's very important that you use the redirect after the atdt:
echo atdt > /dev/ttyS1
should give you the same result as
echo atdt > /dev/modem
if /dev/modem points to /dev/ttyS1.
If this is not the case, let's try figuring out what is wrong with /dev/ttyS1
since you seem sure that's where your modem is and you are getting an
error on something that should not give an error.
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152
Rep:
So, just to be clear, when you
echo atdt > /dev/ttyS1
it just returns with no error?
Good. This means the device isn't necessarily all funked up.
Now, let's try this:
echo "atdt#####" > /dev/ttyS1
where ##### is the number you would usually dial to connect to your ISP.
You should hear a dialtone (if you are connected to a phone line) for a
second, then hear the modem dialing the number, and possibly an
answer from the other modem. If you aren't connected to a phone line,
you'll get nothing.
What we're doing is just making sure the device (not the modem, but the
device "file" that linux sees) is working (well, OK, we're also checking that
the modem works).
If the other modem answers and you want to hang up:
ok i did the echo "atdt12123592000" > /dev/ttyS1 when i did it it just brought me back to the command line..im hooked up to a fone line but it didnt dial anything ..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.