LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-05-2005, 09:42 AM   #1
shane.presley
LQ Newbie
 
Registered: Jan 2005
Posts: 3

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


Hello,

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.

Thanks,
Shane
 
Old 01-05-2005, 11:17 AM   #2
bitfuzzy
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

http://www.linuxhelp.net/guides/pppup/
 
Old 01-05-2005, 01:08 PM   #3
kopikat
Member
 
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: http://www.s0ftpj.org/bfi/online/bfi6/bfi6.17.html
 
  


Reply


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 12:08 AM
Dial in script ntsf Linux - Software 1 11-25-2004 10:07 PM
How to count number of argument received by a script? philipina Linux - General 2 07-05-2004 02:35 AM
bash script to download a number of things linksocc Linux - Software 3 12-10-2003 12:18 PM
Dial up Script Sathe Programming 1 10-05-2001 08:25 PM


All times are GMT -5. The time now is 04:57 AM.

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