1820879 Members
3719 Online
109628 Solutions
New Discussion юеВ

modem problem

 
Jun Zhang_4
Regular Advisor

modem problem

I added a modem within sam, got three device files, cu -l cua1p7, connected, ate1q0v1, no OK prompt. Did ~. the Disconnect line will stay there until I go to another session and kill the cu process. I then went back in sam, only see that the modem entry no longer there.
Am I using a wrong cable or what, I never feel comfortable dealing with modems and terminals.
This is a multitech modem on a port of the mux pad. ioscan -fnC tty does show all the devices sam created.


Jun
Food lover
4 REPLIES 4
Hoefnix
Honored Contributor

Re: modem problem

Did you install the correct driver for the MUX?

When connecting the modem to a device you can check it by adding a line in the /etc/uucp/Devices file like next:
Direct cua1p7 - 56000 direct

Or add all the MUX ports to this Devices file.
Then connect to the port that has the modem connected:
cu -l cua1p7 (or p0, p1??)
Normally entering AT should return OK.
Disconnecting by ~. (or ~~.)
Graham Cameron_1
Honored Contributor

Re: modem problem

You should use kermit.

Search threads for "kermit", or start here.

http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x5ed1cf38d6bdd5118ff10090279cd0f9%2C00.html&admit=716493758+1067338389543+28353475

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Keith Bevan_1
Trusted Contributor

Re: modem problem

Jun,

Follow the items below to check the modem through sam :-

sam
peripheral devices
terminals and modems

Are there any items displayed that have a type modem (ie /dev/ttyd1p7).

If there are not then try adding the modem again through sam by :-

sam
peripheral devices
terminal and modems
add modem

Choose the mux/serial card you want to use
and set the other settings like baud rate as you prefer.

You should then see three device created :-
eg /dev/cul1p7 /dev/ttyd1p7 /dev/cua1p7

If this works okay then the next thing to check is the /etc/gettydefs file to ensure there is an entry for the baud rate you selected. For more information try :-

man gettydefs

This should get you started !

Keith








You are either part of the solution or part of the problem
Timothy P. Jackson
Valued Contributor

Re: modem problem

What kind of a MultiTech modem are you connecting? I deal with modems all the time and the MultiTech modems are usually very simple to set up except for the 5600ZDX. Here are some instructions on setting up the 5600ZDX using Kermit. This is the recommended setup from MultiTech for HP-UX.

Setup guild lines for installing a MT5600ZDX or MT5600ZDXVfor a dial in modem or VSIFAX modem.

Login to the UNIX box from either the support modem (if it exsists) or telnet to the system from another system.
Login: root
Password: (root password)
#csh
#
#kermit
Executing /usr/share/lib/kermit/ckermit.ini for UNIX...
Good Morning!
C-Kermit 7.0.197, 8 Feb 2000, for HP-UX 11.00
Copyright (C) 1985, 2000,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/) C-Kermit>set line /dev/ttyd4a1 (this must be the device of the new modem you are installing)
(/) C-Kermit>set speed 9600
/dev/ttyd4a1, 9600 bps
(/) C-Kermit>set carrier-watch off
(/) C-Kermit>c
Connecting to /dev/ttyd4a1, speed 9600.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
AT&Q5&K0N1Q0%C0&D3$SB9600&W
OK
Ctrl-\
c
(Back at hp)
----------------------------------------------------
(/) C-Kermit> quit
Closing /dev/ttyd4a1...OK
#

I hope this helps!

Tim