1835259 Members
2232 Online
110078 Solutions
New Discussion

modem re-initialization

 
Hue Vang
Occasional Contributor

modem re-initialization

We are running HPUX 11i on RP24x. I'm having a problem trying to 'hang-up' or disconnect the modem. It's mainly reserved for dialout. I issued the following command:

# cu -l/dev/cul2a2 dir

This should put me in the modem & executing those command strings.

I tried typing 'at&v', the system didn't respond. Normally this would work.

When I 'CTRL-C', it gave me 'connect' but couldn't allow me to type anything else. Have to kill the session.

Is there a way to kill or hangup the process? What should I look for? Right now, the only option that would work is rebooting the server, but seeing this message:

Reboot: Caution: Some process(es) wouldn't die.

Any thoughts on subject would be very appreciated.

hugh
5 REPLIES 5

Re: modem re-initialization

Hugh,

Sometimes you can get a modem to hang up from an existing connection using '+++' followed by 'ath' - all of this would after you did the 'cu -l dir', of course...

You might also try 'fuser' on the modem device files to see if it will show you which process has the modem open...

HTH

Steve Hamilton
Sanjay_6
Honored Contributor

Re: modem re-initialization

Hi Hue,

If this is an internal modem, try this link from itrc.

http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062686948

the itrc doc id is pamDC200202051.

Hope this helps.

Regds
Hue Vang
Occasional Contributor

Re: modem re-initialization

Thanks, I will some of tips you guys offered.

This an external modem.

hugh
Bill Hassell
Honored Contributor

Re: modem re-initialization

Since this is an external modem, do you have a standard modem cable? If your cable does not have the modem control signals connected, the modem will never hang up. Similarly, the device file that you use for your application should be a modem style, not terminal. The lssf command lists the device file chracateristics. Termninal (or hardwired) connections will say hardwired, while modems will say callin or callout.

Check that there is no process keeping the modem port open: fuser /dev/cul2a2


Bill Hassell, sysadmin
Hue Vang
Occasional Contributor

Re: modem re-initialization

Thanks for all of your help. 'fuser /dev/culxx' did the trick. As long as I can exit from command modem mode without rebooting the system.

hugh