1834177 Members
2553 Online
110064 Solutions
New Discussion

cu command

 
dkidd
New Member

cu command

Have set up an auto answer dialin modem on mux port 3 (HP-UX 10.20 K200) ttyd0p3. Can dialin once from pc, but then have to poweroff system modem before it will answer a further call .. trying to cu -l /dev/ttyd0p3 but get 'Connect failed: line problem' .. even after power off/on. (Trying to config for ATZ - modem auto reset)
Ideas anyone ?
6 REPLIES 6
Madhu Sudhan_1
Respected Contributor

Re: cu command

It looks like the Modem Initilization string is not set properly for hangup.
Most of the Modem related problems gets solved by setting modem to factory defaults and then setting your own string. Refer to your modem Manual. (Ultimate guide of yr modem).

A a url about modem hangup string is

http://www.nessus.org/plugins/Denial_of_Service/+_+_+_ATH0_modem_hangup.html

Hope this helps.

Good luck.

......Madhu
Think Positive
Madhu Sudhan_1
Respected Contributor

Re: cu command

It looks like the Modem Initilization string is not set properly for hangup.
Most of the Modem related problems gets solved by setting modem to factory defaults and then setting your own string. Refer to your modem Manual. (Ultimate guide of yr modem).

A a url about modem hangup string is

http://www.nessus.org/plugins/Denial_of_Service/+_+_+_ATH0_modem_hangup.html

Hope this helps.

Good luck.

......Madhu
Think Positive
Patrick Wessel
Honored Contributor

Re: cu command

Disconnect your modem and try the cu? again. If you still receive the "line problem" without any device attached to the port you have to reboot the system.
There is no good troubleshooting with bad data
dkidd
New Member

Re: cu command

Thanks guys ; I tried EVERYTHING ; even changed modems ; suspect I need a patch/HP advice.
Devbinder Singh Marway
Valued Contributor

Re: cu command

Have a look at document KBRC00001078

Basically it says :- There may be a process hung on the port do fuser /dev/tty???

Check for lock files in /var/spool/locks/LCK..tty ( remove these if any)

The console has modem access locked / remote console . So on the CONSOLE type ctrl b ,
then ur (unlock remote) then dr (disable remote)

then type co ( to get back to shell)

Check the permisions of device files

/dev/ bin bin (try 660 permissions)

The other thing is check modem string keep carrier high i.e. at&d3 ( depend on what type of modem you have check what string is passed to fore CD . The other thing to check is CD light on on the modem if so then it is forced.

Have you tried the above ?


laters ..
Seek and you shall find
dkidd
New Member

Re: cu command

Thanks guys .. tried the re-boot in the end, after installing PHNE_21872. Problem still there tho ... modem config is fine, cable appears fine, system is not raising D(TR), so modem is not answering phone call (see http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90053/B2355-90053_top.html&con=/hpux/onlinedocs/B2355-90053/00/00/20-con.html&toc=/hpux/onlinedocs/B2355-90053/00/00/20-toc.html&searchterms=modem&queryid=20001107-181826 ; back to HP I'm afraid.