Operating System - Linux
1753820 Members
8220 Online
108805 Solutions
New Discussion юеВ

Configuring modem in Red Hat 9

 
jazz_1
Frequent Advisor

Configuring modem in Red Hat 9

Folks,

trying to configure the modem on my system. The only options are Activate or Deactivate, when I select active it doesn't dial up where am I going wrong?

cheers,

j
6 REPLIES 6
Claudio Cilloni
Honored Contributor

Re: Configuring modem in Red Hat 9

To connect to my provider I use kppp. It takes care of anything. I'm using an external 56k modem, so it doesn't need any driver.

What kind of modem are you using? what tool do you use to configure it?

Ciao
Claudio
jazz_1
Frequent Advisor

Re: Configuring modem in Red Hat 9

thanks..

I'm just using the built in network configuration tool.

It's an external modem, but doesn't show up in hardware browser?

maybe I need to use kppp, how do I do it?


j
Claudio Cilloni
Honored Contributor

Re: Configuring modem in Red Hat 9

to use kppp just run:

# kppp

from root user. you can run it from any normal user but it will ask for root
password.

it opens a window (it is part of KDE desktop environment) where you can
configure anything. be sure of which serial port you modem is connected,
usually /dev/ttyS0 or /dev/ttyS1, I'm not sure whether /dev/modem works.

I think it has a self-explaining interface, but don't hesitate to ask.

hth
Claudio
jazz_1
Frequent Advisor

Re: Configuring modem in Red Hat 9

thanks claudio,

I'll let you know,

j
Stuart Browne
Honored Contributor

Re: Configuring modem in Red Hat 9

If you are just wanting a 'net connection, using the redhat-network-setup (or whatever it's called these days, I don't have a RH9 system to check), it will end up using the /etc/sysconfig/network-scripts/ifcfg-ppp* method of connecting.

As of RH7.2 (or 7.3) it uses the tool 'wvdial' to configure the modem.

This tool's configuration file lives as /etc/wvdial.conf, and you should see lines similar to these:

[Modem0]
Modem = /dev/ttyS0
Baud = 57600
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)

The 'Init1' line are your initlisation string. If this doesn't work, then you'll have issues connecting to the service.

There are also sections for each PPP connection you've configured in the network config tool, with phone numbers, usernames/passwords etc. etc. etc..

There are also a few other small pieces living in /etc/sysconfig/network-scripts/ifcfg-ppp0 which you might also what to check.

When trying to connect, it's a good idea to keep an idea on /var/log/messages as it will point out any errors that occur, as they occur.

Hope this helps you figure some things out. Get back to us with details if you find a specific isue.
One long-haired git at your service...
jazz_1
Frequent Advisor

Re: Configuring modem in Red Hat 9

Thank you for your suggestions, I got it sorted in the end... everything is running fine now,

Cheers,

j