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
UHSO(4) 						   BSD Kernel Interfaces Manual 						   UHSO(4)

NAME
uhso -- Option N.V. Wireless WAN modem driver SYNOPSIS
uhso* at uhub? port ? HARDWARE
The uhso driver supports at least the following adapters: GlobeSurfer HSUPA GlobeSurfer iCON 7.2 GlobeTrotter Express 40x GlobeTrotter Express HSUPA GlobeTrotter HSUPA GlobeTrotter Max HSDPA GlobeTrotter Module 382 GlobeTrotter iCON 225 GlobeTrotter iCON 321 GlobeTrotter iCON 322 GlobeTrotter iCON 401 GlobeTrotter iCON 505 GlobeTrotter iCON EDGE DESCRIPTION
The Option N.V. modems appear at first as a umass(4) device containing the Windows and MacOS drivers and, upon receipt of a SCSI "REZERO UNIT" command, will detach from the USB bus and reattach as a Wireless WAN modem. Unless disabled by clearing the sysctl(8) variable hw.uhso.autoswitch, the driver will handle that automatically. The modems provide a number of IO channels spread over several USB interfaces which are mapped by function to a standard port number in each driver instance. The defined channels are: Channel Name Port Control 0 Diagnostic 1 Diagnostic 2 2 Application 3 Application 2 4 GPS 5 GPS Control 6 PC Smartcard 7 Modem 8 MSD 9 Voice 10 Network 11 Apart from the Network port, which is attached as a network interface, the ports are attached as tty(4) devices using the port number as the minor device number. In order to connect using pppd(8), the Modem tty should be used (eg /dev/ttyHS0.08). The Network port provides a direct IPv4 interface, but before this can be used the modem needs to be placed in connected mode and network settings subsequently retrieved using the proprietary "_OWANCALL" and "_OWANDATA" AT commands on the Control port. Note that the Modem and Network ports should not be enabled at the same time for USB performance reasons. FILES
/dev/ttyHS?.?? /dev/dtyHS?.?? /dev/ctyHS?.?? SEE ALSO
intro(4), netintro(4), tty(4), uhub(4), usb(4), ifconfig(8) HISTORY
This driver originated as the hso module for FreeBSD written by Frederik Lindberg. It was rewritten for NetBSD, and to provide more complete device support with information extracted from the hso driver for Linux provided by Option N.V. The rewrite and this manual page by Iain Hibbert. BSD
August 26, 2011 BSD
All times are GMT -4. The time now is 07:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy