LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problems with Modems.. (https://www.linuxquestions.org/questions/linux-software-2/problems-with-modems-76177/)

sicasal 07-26-2003 06:13 PM

Problems with Modems..
 
Hey all..

How do DialUp connections work in Linux (RH9)?
I have my Modem (actually Linux did recognize it on Startup)
I add it do the HW on Network option
I created a Modem conection where I put in the ISP data, etc..

But ....

I cant get it working... or better dialing..
In Windows I say
Connections --> DialUp --> Connect and I hear the modem work...
I cant find anything like that in LInux...

Can anyone help me out or indicate some docs about this..

Thanks

Paulo

ovf 07-26-2003 06:25 PM

click on the little red hat in the lower left corner, then click on "internet" then click on "more internet applications", and finally click on "kppp".

sicasal 07-26-2003 06:28 PM

Ohh...
that sounds nice..
havent tried (found) that one..
gonna tried that tomorrow..(cant try it now cause I havent my Linux PC here)

Thanks a lot...

Paulo

sicasal 07-28-2003 11:03 AM

Hi...

I still cant configure my Modem...
I havent any kppp in my Internet applications...

I cant get it working, its a Creative Modem Blaster 56k
How do I now, if the modem is installed correctly...

Please help

ovf 07-28-2003 05:47 PM

Hi,

When you click on "internet " does it bring up a menu that has "more internet applications"? If not try bringing up a terminal window and type "kppp". If your modem is an external modem there's not much to do. Just setup kppp to use the correct port, usually /dev/ttyS0 or /dev/modem. I have a Creative Modem Blaster 56k external modem an it's worked flawlessly under Linux for the past three years.

sicasal 07-29-2003 03:14 AM

How can I check if the modem is configured.....
If I type kppp he says Commando not found...

ovf 07-29-2003 07:31 AM

Sorry about that.

Is it an internal modem?

Try locating kppp with the following command "locate kppp | grep bin".
If you find it try running it with the full pathname. For example on my system it's "/bin/kppp". You'll need to be root to run it.

sicasal 07-29-2003 09:17 AM

And what if I dont have such a kppp....?

IŽam getting pissed off....f...Modems... urrrg
I tried with wvdial, I got it trying to comunicate with the modem..
It says Sending ATZ
Sending ATZ0
Resending ATZ
Modem is not responding...

ovf 07-29-2003 06:14 PM

KPPP isn't neccessary it just makes things easier. I don't use it myself, I use a shell script. I take it you executed the "locate" command and didn't find KPPP. I'm going to assume it's an internal modem so try using the lspci command and see if it's listed. We don't seem to be making any progress so I'll step aside and hopefully someone else can help. Good luck.

ovf 07-29-2003 10:47 PM

Ok, try this: on any panel right click on an empty area. This should bring up a menu containing an "Add to Panel" button. Click on that then click on "Internet" then click on "Modem Lights". That should add an applet to the panel that will allow you to dial.

fancypiper 07-29-2003 11:44 PM

Plug 'N Pray off in your BIOS? If not, turn it off.

If I'm not mistaken, that is a real hardware modem and instructions below should guide you.

# Modem and connection troubleshooting
Modem NHFs
Modem HOWTO
The kppp Handbook
Dial-up Networking Configuration Using KDE's Kppp
Troubleshooting ISP Connection Problems

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

[phil@fancypiper phil]$ su -
Password:
[root@fancypiper 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@fancypiper 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@fancypiper 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.


All times are GMT -5. The time now is 12:34 AM.