1845956 Members
2794 Online
110250 Solutions
New Discussion

testing a modem

 
TMcB
Super Advisor

testing a modem

Hi folks,

I have a HP 9000 K370 running 10.20
I have just discovered that there is an internal modem, and have connected this up.
I have absoluteley no documentation, and was wondering how I can test this is working?

Thanks for your help
8 REPLIES 8
Alan Casey
Trusted Contributor

Re: testing a modem

Try the commands:
cu
kermit

Check the man pages for these and you should be able to test the modem.
Krishna Prasad
Trusted Contributor

Re: testing a modem

using kermit
typeset line "device file"
set speed 9600
set terminal byte 8
set parity none
connect
AT ( if you get a reply of OK then modem is fine.)
exit


login into server web console or console
Access the console
Type cntrl b
hit return twice to get the GSP prompt

The following GSP settings must be set to use the internal modem to dail out.
To Check the settings.

At the GSP prompt type CA
When finsished type co to return to the console.

The settings should be.
Remote Console Serial Port Modem Protocol ccitt
Remote Console Serial Port Modem Bit Rate 19200
Remote Console Serial Port Modem Flow Control Hardware
Remote Console Serial Port Modem Transmit Configuration Strings Disabled
Remote Console Serial Port Modem Present always connect


If you need to reset the modem.
Type
At the GSP prompt type MR - for Modem reset
When finished type co to return to the console
Positive Results requires Positive Thinking
A. Clay Stephenson
Acclaimed Contributor

Re: testing a modem

Hi Terry:

Generally the first thing you want to do is test the modem using kermit as this is much simpler than trying to configure the port for uucp. The internal modem is /dev/ttyd0p7. Make sure that you have that device file. On 10.20 the major device should be 193 and the minor device should be 0x0702. If you hace the Modem distribution Panel you do not want to use ports 0 or 7. 7 is the internal modem.

Next, edit /etc/inittab and make sure that /dev/ttyd0p7 is not is use. If there is an entry, it should have 'off' rather than 'respawn' set in the 3rd field. If you need to change respawn to off, do so, and then issue an init q to force a reread of the file.

Now execute kermit.
set line /dev/ttyd0p7
set speed 9600
connect

You should now be able to enter 'AT' commands to test the modem.

Man kermit for details. When kermit worls as expected, you can now proceed to setup the modem or uucp connection using SAM.



If it ain't broke, I can fix that.
Craig Rants
Honored Contributor

Re: testing a modem

Go to docs.hp.com and lookup up "Additionally Configuring HP-UX for a Modem" Also lookup doc id KBRC00005801 in the ITRC. These will get you going and you should be able to test with cu.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Uday_S_Ankolekar
Honored Contributor

Re: testing a modem

TMcB
Super Advisor

Re: testing a modem

Thanks to everyone for their replies.

When I use kermit and type CONNECT
it just sits there and does nothing

The modem is set up within sam for /dev/ttydp07

There was already an entry for it is /etc/inittab as #a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

Any ideas??

Thanks
Madhu Sudhan_1
Respected Contributor

Re: testing a modem

If there is "#" infront of this entry then it is commented. So, please remove # and save the inittab and fire "init q" as root.

By the way, Is the modem making connecting noise ?

HTH,
Think Positive