LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   modem problems on slack 8.1 "sorry the modem is busy" (https://www.linuxquestions.org/questions/slackware-14/modem-problems-on-slack-8-1-sorry-the-modem-is-busy-33822/)

monki 10-26-2002 10:02 AM

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

Excalibur 10-26-2002 02:26 PM

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.

monki 10-26-2002 02:51 PM

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

Excalibur 10-26-2002 07:10 PM

Are you logged in as root?

moses 10-27-2002 12:13 AM

Did you change the kernel when you upgraded? does your kernel support
PPP? did you use the same port in 8.0? is this an internal modem?

monki 10-27-2002 08:49 AM

Excalibur: yes im running it as root.. my kernel supports PPP and yea my modem is internal.. im gonna try reinstalling slack .. hopefully it will work

Excalibur 10-27-2002 01:02 PM

Is your modem installed on COM2: (/dev/ttyS1)

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.

monki 10-29-2002 10:38 AM

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

moses 10-29-2002 11:44 AM

What happens if you do a:

echo "atdt" > /dev/modem

moses 10-29-2002 12:16 PM

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.

Let us know how this goes. . .

monki 10-29-2002 11:07 PM

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?

moses 10-30-2002 12:30 AM

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.

post the output of:
cat /proc/devices

monki 10-30-2002 08:59 AM

Ok now when i type echo atdt /dev/ttyS1 it gives me the same thing as echo atdt /dev/modem ... heres the output of cat /proc/devices

Character Devices:
1 mem
2 pty
3 ttyp
4 ttyS
5 cua
7 vcs
10 misc
14 sound
21 sg
29 fb
109 lvm
128 ptm
129 ptm
136 pts
137 pts
162 raw

Block devices:
1 ramdisk
2 fd
3 ide0
7 loop
9 md
22 ide1
43 nbd
58 lvm


thats the output of cat /proc/devices

moses 10-30-2002 11:39 AM

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:

echo "ath" > /dev/ttyS1

monki 10-30-2002 12:41 PM

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


All times are GMT -5. The time now is 07:59 AM.