setting modem control lines

From: Ilkka Oksanen (iao_at_iki.fi)
Date: 01/26/04


Date: Mon, 26 Jan 2004 16:48:32 +0200


I have quite unusual test environment where I would like HP-UX
workstation to act as modem for another computer using serial cable.

Now problem is that I can't set data carrier signal ie. this code
doesn't work. What would? Any way to do this at all?

      ioctl(fd, TIOCMGET, &status);
      status &= TIOCM_CAR;
      ioctl(fd, TIOCMSET, &status);

   -ilkka



Relevant Pages

  • Hyperterm question - W2k vs WinXP
    ... We have a telephone switch that we connect to via a modem connection. ... workstation side we have a W2K workstation with a modem. ... setup works fine with Hyperterm. ... identical between the W2K workstation and the WinXP workstation. ...
    (microsoft.public.windowsxp.general)
  • Re: OK to use softmodem for CLI, dialler, answer machine, etc ?
    ... The modem can answer the phone, dial and set up a v.92 (or lesser data ... The PC can display CLI, dial from list, record calls, act TAM, ... > Is it likely this modem can do those things sorts of things above? ...
    (uk.telecom)
  • Re: Hyperterm question - W2k vs WinXP
    ... >workstation side we have a W2K workstation with a modem. ... >side we have a USRobotics 33.6 modem connected to the serial port. ... >setup works fine with Hyperterm. ... >identical between the W2K workstation and the WinXP workstation. ...
    (microsoft.public.windowsxp.general)
  • Re: J2ME and Mobile Phones.
    ... > java engine to act as a terminal+modem. ... > ANSI based service whether it was a modem, a router or whatever, ... a Hayes compatible modem. ... > decode the sms messages into information suitable for the device. ...
    (comp.lang.java.programmer)
  • [HPADM] Looking for HP-UX 10.20 media
    ... I recently obtained a 9000/715 workstation from my university's property ... I would be interested in obtaining HP-UX 10.20 media for ... I'm looking to add HP-UX and the 9000 series ... And, yes, I have looked on eBay--all I can find is the HP-UX 11i media, ...
    (HP-UX-Admin)