LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   modem always busy on Mandrake 10.0 (https://www.linuxquestions.org/questions/linux-newbie-8/modem-always-busy-on-mandrake-10-0-a-211766/)

ditch* 07-31-2004 04:35 AM

modem always busy on Mandrake 10.0
 
Hey!

I've been trying to establish a dial-up connection (in vain) on Mandrake Linux 10.0.


I have KPPP as my internet dialer.


When I try to "Connect" or when I "Query Modem", the messages I get are:


"Finding Modem"

then

"Modem Busy"


I've had a suspicion that "Modem Busy" means that the computer is working on establishing a connection, but this doesn't seem to be the case, as I've left it for long periods of time without any results.


What are the possible causes of this?


Thanks a lot!

Greg


PS: I have a 56K Generic modem.

fancypiper 07-31-2004 07:04 AM

Re: modem always busy on Mandrake 10.0
 
Quote:

Originally posted by ditch*
PS: I have a 56K Generic modem.
Please post the modem part of the output of the command:

cat /proc/pci

# Modem and connection troubleshooting
WinModems and Linux
Modem HOWTO
Modem NHFs
Linmodems.org
Conexant/Rockwell modem HOWTO
The Unofficial PCTel Linux Driver page
I finaly got my PcTel hsp56 mr modem to work
PcTel PCT789 Compilation in Fedora Core 1
Linux driver for Winmodems with Lucent Apollo (ISA) and Mars (PCI) chipsets
Lucent AMR modem listed as an Intel AC'97 - Smart Link Modems
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems
Connecting to AOL with Linux

# Configuring a real hardware pci modem
To configure a pci modem, open an x terminal and su - to the root account:
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# cat /proc/pci

Look for your modem in the returned list. Look for something similar to mine:
Code:

  Bus  2, device  2, function  0:
    Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (rev 0).
      IRQ 5.
      I/O at 0xc400 [0xc407].

With this info, I use the setserial command:
Code:

[root@tinwhistle root]# setserial /dev/ttyS2 irq 5 port 0xc400 uart 16550a
Then I test the modem with the internet connection wizard and it works. I edit /etc/rc.d/rc.local and enter the setserial command:
Code:

[root@tinwhistle root]# pico -w /etc/rc.d/rc.local
My file for an example
Code:

#!/bin/sh
# Redhat /etc/rc.d/rc.local file
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
# configure modem
setserial /dev/ttyS2 irq 5 port 0xc400 uart 16550a

Now, it remains configured after a reboot.

Santas 07-31-2004 09:42 AM

try using the modem as root if you can access it but not as normal user is a problem of permissions if this is the problem here are some tips to configure properly http://www.linuxquestions.org/questi...ght=modem+root

scuzzman 07-31-2004 10:22 AM

Is this a hardware modem, or software driven (requires drivers)?
Brand name / Model number?
Checked in HCL?

ditch* 08-01-2004 11:47 AM

Re: Re: modem always busy on Mandrake 10.0
 
Quote:

Originally posted by fancypiper
Please post the modem part of the output of the command:


# Configuring a real hardware pci modem
To configure a pci modem, open an x terminal and su - to the root account:
Code:

[fancy@tinwhistle fancy]$ su -
Password:
[root@tinwhistle root]# cat /proc/pci

Look for your modem in the returned list. Look for something similar to mine:
Code:

  Bus  2, device  2, function  0:
    Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (rev 0).
      IRQ 5.
      I/O at 0xc400 [0xc407].

With this info, I use the setserial command:
Code:

[root@tinwhistle root]# setserial /dev/ttyS2 irq 5 port 0xc400 uart 16550a



Thanks for the help!

This is what I am getting


[grisha@localhost grisha]$ su –
[root@localhost root]# cat /proc/pci

Bus 0, device 9, function 0:
Communication controller: Conexant HSF 56k Data/Fax Modem (rev 1).
IRQ 11.
Master Capable. Latency=64
Non-prefetchable 32 bit memory at 0xf4000000 [0xf400ffff].
I/O at 0x1438 [0x143f].

[root@localhost root]# setserial /dev/ttyS2 irq 11 port 0x1438 uart 16550a
- bash: setserial: command not found



Apart from the problem with the “setserial” command, I am also unsure if I was meant to copy the “uart 16550a” part from you or somehow calculate my own ‘uart’ value

( - I am as new to scripting/programming/coding/Linux as they come! :p )


thanks for the help anyway. In the meantime I'll be checking out the links posted


Greg.

fancypiper 08-01-2004 01:31 PM

You have a winmodem. File 13 is the best place to put it and get a cheap external serial port modem. I picked mine up for $14.50 and even Windows works better with it.

Linmodems.org
Conexant/Rockwell modem HOWTO

I think they provide a crippleware driver that will let it work slow, but they want more money for the Linux driver. :rolleyes:

ditch* 08-02-2004 12:12 AM

Thanks for the advice!

Greg.


All times are GMT -5. The time now is 11:00 AM.