Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 01-05-2005, 10:42 AM   #1
LQ Newbie
Registered: Jan 2005
Posts: 3

Rep: Reputation: 0
Question Script to dial a number?


I'm trying to find a script that will simply dial a phone number, and check to see if there is a modem answer. I don't need to establish PPP or anything.

Any idea how I would best interface with my modem to script this?

Here's my /etc/wvdial.conf

; Phone = <Target Phone Number>
; Username = <Your Login Name>
; Password = <Your Password>

[Dialer Defaults]
Modem = /dev/ttyS0
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

Someone suggested a dialer script that uses "chat", but I can't seem to get it to communicate with my modem. It just hangs on the +++ATZ. Never get an OK.

I have tried the qpage package just to test my modem, and it works fine. I can dial and get connected to an SMS provideder.

Old 01-05-2005, 12:17 PM   #2
LQ Newbie
Registered: Nov 2003
Posts: 27

Rep: Reputation: 15
That sounds more like a error of some sort, you may want to review your logs.

Otherwise try ppp-up
Old 01-05-2005, 02:08 PM   #3
Registered: Dec 2004
Location: Argentina
Distribution: Slack 10
Posts: 45

Rep: Reputation: 15
so you basically want a wardialer? I thought they weren't of much use anymore.
Here's one written in C, you just have to compile it:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
incoming number not detecting in dial in server on fedora core3 binu_edl Linux - Software 0 10-24-2005 01:08 AM
Dial in script ntsf Linux - Software 1 11-25-2004 11:07 PM
How to count number of argument received by a script? philipina Linux - General 2 07-05-2004 03:35 AM
bash script to download a number of things linksocc Linux - Software 3 12-10-2003 01:18 PM
Dial up Script Sathe Programming 1 10-05-2001 09:25 PM

All times are GMT -5. The time now is 05:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration