Sponsored Content
Full Discussion: A Modem Dailer
Top Forums Programming A Modem Dailer Post 12625 by S.P.Prasad on Friday 4th of January 2002 03:22:27 AM
Old 01-04-2002
A Modem Dailer

I am trying to write a Modem Dialer Software on SCO unix platform. I have successfully opened /dev/tty1A port and made following port setings
[Server Side]
Input Mode = 0 ( None )
OutPut Mode = 0 ( None )
Hardware Control Mode = 8 Bits , Enable Receiver , Drop DTR when application terminates , Bi-Direction Flow Control
Disable Special Control Characters except START, STOP , VMIN , VTIME

I have successfully got a response from Modem as "OK" for both "AT" & "ATZ" commands. I have connected the Modem to my intercom line. At an other PC i am running the client software which has the same setup for port /dev/tty2A as of Server and a Modem connected at its end which in turn is connected to the intercom line

I am completely unable to transfer data from Server/Client to Clinet/Server PC. When I write "ATD phone_numberW\r" command at the client side , I am able to trace "RING" event at Server side. But after that the code goes for a toss stating at client side "NO DIALTONE" or "BUSY" or "HANGUP".

Kindly guide me the Know how of modem Programming stating
1) How to detect what Modem Make I am using?
2)What is the generic Modem Init strings?
3)What are the sequences of Command to be intiated from Client and Server side to Modem and what will be the EXPECTED responses ?
4) Are my port settings correct ?
5) How can I transfer data from PC to PC using Modems at both ends.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Modem on HP-UX 10.20

Hi everyone I am having some real difficulties getting a dial in modem to work on one of my HP boxes. It's a mux modem on port 7 which I have set up at 9600 baud. I can dial in, the handshakes are completed, but then it returns incoherent characters on the emulation screen. I think my dial in... (1 Reply)
Discussion started by: alwayslearningunix
1 Replies

2. UNIX for Advanced & Expert Users

Modem

I've spent enough time trying to put on work Lucent Winmodem in my armada M300 (compaq laptop) I use Mandrake 8.0 but as soon as i get connected and prompmts appears modem shutsdown. Does any one had a similar situation, solved it? cheers (2 Replies)
Discussion started by: alex blanco
2 Replies

3. UNIX for Dummies Questions & Answers

Modem problem: "Sorry, modem is busy"

Hi! I have a little prob with dialing up to the internet... When I try connect, it says "Sorry, modem is busy"... Specs: Laptop 56K modem Slackware 8.0 Kernel 2.4.5 Cheers;) (4 Replies)
Discussion started by: satan404
4 Replies

4. UNIX for Dummies Questions & Answers

Modem Volume

Specs: Dlink DFE-560EL external modem. RedHat 7.1 How do you turn off the modem volume? I am getting annoyed of it beeping everytime I use it but there is no switch on the hardware to tune down the volume. I have tried using minicom and use the following commands: ATL0 ATM0 Next, I... (2 Replies)
Discussion started by: arz
2 Replies

5. UNIX for Dummies Questions & Answers

Modem

Pleaseee... Helpppp.... !!! I am using SCO Open Server 5.05. Recently, i have upgraded the system which means transfer all apps and data to the new system. Everything work well except one thing. On my old system i have an external modem which to dial out. Now that i use the same modem on... (4 Replies)
Discussion started by: jackpotp
4 Replies

6. UNIX for Dummies Questions & Answers

connecting a modem

Dear All , I have RH 7.1 , want to connect a creative modem to it . Can you explain to me the basic steps , or command ? Is there a control panel that i use to define it ?? Thanks (1 Reply)
Discussion started by: tamemi
1 Replies

7. UNIX for Dummies Questions & Answers

modem

I have got Suse 8.0 by using a modem (US Robotics 56K Faxmodem Ext). During connection i got the error 16. I tried it under RedHat and Mandrake too.....same problem. What can i do ? Thanx...a lot... Logfile: SuSE Meta pppd (smpppd), Version 0.73 on zuhause. wwwoffle not is running ... (1 Reply)
Discussion started by: Pennywize
1 Replies

8. UNIX for Dummies Questions & Answers

Modem - Test /dev/modem

Ok. I tried following the directions from some of the other threads, but I've hit a road block. I have red hat 7.3 and I installed the hcf package: hcfpcimodem-0.99lnxtbeta03042700k2.4.18_3-1rh.i386.rpm It installed ok, no errors, but I still can't get linux to find my modem. I've tried... (2 Replies)
Discussion started by: lawadm1
2 Replies

9. Solaris

Is the cable you are using a null modem cable or a modem cable

Hi all, Is there any difference between a null modem cable or a modem cable ? i assume that a null modem cable is a normal cable that i used from cpu serial ports to a modem for dialup. please correct if i am wrong, thks (2 Replies)
Discussion started by: waterbear
2 Replies

10. Solaris

Modem

hi folks, i am looking for a analog modem to use it with a solaris9 sparc mashine. as far as i know, solaris communicates with the modem using AT-commands. so do i need a special modem for solaris or just a modem? i am open for everything. PCI-modem, seriell modem, usb modem. what are you using? i... (1 Reply)
Discussion started by: pressy
1 Replies
dhb(4)							     Kernel Interfaces Manual							    dhb(4)

Name
       dhb - DHB32 communications multiplexer

Syntax
       device dmb0 at vaxbi? node? flags 0x????
	    vector dmbsint dmbaint dmblint

Description
       A  DHB32  device  provides  16  asynchronous  communication lines with full modem control.  The DHB32 and the DMB32 share a common software
       device driver.  For this reason, the configuration line is the same for both the DHB32 and DMB32.

       Each line attached to a DHB32 serial line port behaves as described in Input and output for each line can independently be set  to  run	at
       any of 16 speeds.  See for the encoding.

       Bit i of flags may be specified for a to say that a line should be treated as a hardwired connection with carrier always present.  If bit i
       of flags is not set, the line will operate under full modem control.  Modem lines will operate in accordance to the  CD	(carrier  detect),
       DSR  (data  set	ready) and CTS (clear to send) leads.  Thus, specifying ``flags 0x0004'' in the specification of would cause line 2 on the
       DHB32 to be treated as hardwired with carrier always present.  In this example, the remainder of the lines will be modem control lines.

Diagnostics
       dmbinit: async lines unavailable
       This message is produced at system boot time if the DHB32 fails its internal self test indicating that the asynchronous lines  have  failed
       to configure.

       dmb%d: fifo overflow
       The character input fifo overflowed before it could be serviced.  This can happen if the CPU is running with elevated priority for too long
       a period of time.  Overflow errors may indicate that configuration constraints have been reached.

       dmb%d: DMA Error. tbuf = 0x%x
       A DMA output transfer failed.  This problem can result from a memory error or an invalid pte (page table entry).  For a description of  the
       error code in the ``tbuf'' register. See the DHB32 documentation.

       dmb%d: DMB Hardware Error. TX.DMA.START failed
       The failed to clear the start bit.  Normally, this is cleared to signal that a DMA transfer has completed.

       dmb%d: Modem Error. tbuf = 0x%x
       Indicates a problem with a modem or its cable.  For a description of the error code in the ``tbuf'' register. See the DHB32 documentation.

       dmb%d: Internal Error. tbuf = 0x%x
       Indicates  that	the  DHB32  detected  an internal error.  For a description of the error code in the ``tbuf'' register. See the DHB32 User
       Guide.

Files
       (modem lines only)

See Also
       tty(4), MAKEDEV(8), dmbsp(4)

																	    dhb(4)
All times are GMT -4. The time now is 09:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy