Operating System - HP-UX
1833491 Members
3118 Online
110052 Solutions
New Discussion

Re: setting up internal modem for dialout

 
TMcB
Super Advisor

setting up internal modem for dialout

I tried to set up dial Out Modem on Unix K370, V10.20, internal modem

1. Created device files through SAM
Peripheral Devices --> Terminals and Modems -->Actions -->Add Modem
Set up modem on 10/4/0 at port 7 with speed 19200
SAM returns three files /dev/ttyd0p7 /dev/cul0p7 and /dev/cua0p7

2. entry in /etc/inittab
a0:3:off:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

3. List and verify device files permission
crw--w---- 1 uucp tty 193 0x000702 Feb 28 16:33 /dev/ttyd0p7
crw-r--r-- 1 bin bin 193 0x000701 Aug 27 05:12 /dev/cul0p7
crw-r--r-- 1 bin bin 193 0x000701 Apr 13 2000 /dev/cua0p7

mux2 card instance 0 port 7 callin at address 10/4/0 /dev/ttyd0p7
mux2 card instance 0 port 7 callout at address 10/4/0 /dev/cul0p7
mux2 card instance 0 port 7 callout at address 10/4/0 /dev/cua0p7

5. /etc/uucp/Devices
ACU cul0p7 - 19200 hayes
Direct cul0p7 - 19200 direct

6. Test the modem
cu -s19200 -lcul0p7 dir

Connected

-------------
When I type 'at' expecting 0 to be returned, this is where it is failing - it just sits there and does nothing!

I have no documentation on the modem - so when I was setting it up, I set it at 19200 - could it be that this is the wrong speed.
Or could something else be wrong

Thanks for your help


13 REPLIES 13
Alexander M. Ermes
Honored Contributor

Re: setting up internal modem for dialout

Hi there.
Search the technical documents for 'modem'.
You will find some docs there.
For the dial-out go for :

cu -l /dev/cul0p7 dir

enter at reply should be 'ok'

then do
atdt ( your phone# )
if your phone rings and you hear the beeps of the modem it should be ok.
end this with
~..

Then dial in to the modem with your phone.
If it responds with beeping, you have at least the connection to the modem.

Hope, i could help.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
TMcB
Super Advisor

Re: setting up internal modem for dialout

Thanks for the reply

At this stage, I'm just trying to see if the modem is working properly.

[/]> cu -l /dev/cul0p7 dir
Connected
~..
Disconnected

I get the message that I have connected, but I am not receiving ang OK messages from AT commands.

Could there be anything else that I have missed in the setup?
John Palmer
Honored Contributor

Re: setting up internal modem for dialout

Your set-up looks fine to me.

Occasionally, the internal modems lock up and need a hard reset. Unfortunately, the only way that you can do this is to shutdown the whole system and cycle the server power.

I guess this is why HP has discontinued built-in modems in the L and N class in favour of externals.

Regards,
John
Sanjay_6
Honored Contributor

Re: setting up internal modem for dialout

TMcB
Super Advisor

Re: setting up internal modem for dialout

Hi Sanjay

I can't get access to this document - I'm registered on te European Site and am told I don't have access to the American one.

Thanks
Krishna Prasad
Trusted Contributor

Re: setting up internal modem for dialout

Terry,

I replied to your post in the sys admin forum.

We use the internal modem for dail-out and my reply there should enable you to use the modem.

One thing to make sure is that you do not setup the port to recieve calls and that you do not start a getty. This will keep the port in use, trying to recieve calls when you go to use it.

Also, just an FYI HP will tell you that they only support the modem for incoming calls.

However, we do use it to send out and it does work.

Thanks,

Ron
Positive Results requires Positive Thinking
Sanjay_6
Honored Contributor

Re: setting up internal modem for dialout

Hi Terry,

To access any document from ITRC where the link points to the US site substitue "us-support" with "europe-support" in the link. This will take you to the european site for the same doc.

Hope this helps.

Regds
Dave van Nierop
Advisor

Re: setting up internal modem for dialout

Hi Terry,

I think your problem may stem from the Console Manager settings. At the system console, press and , you should get a "CM" prompt. Type "HE" for help. Depending on the release your system has, you could have the following options - which you need to look into - typically it's the UR or ER options you need to set.
CA - Config system remote support modem
ER - enable access by remote console terminal
UR - unlock remote (enable modem access)

Use "CO" followed by to get back to the console login prompt again.

Your modem settings look fine!

Hope this helps.

- Dave
TMcB
Super Advisor

Re: setting up internal modem for dialout

Hi folks

I was going to move onto plan b, seeing as I can't get the internal modem to dial out.

There is a 25pin connection labeled 'modem'. I have linked up an external modem to this now, but when I go to add the modem within sam, it isn't seeing the port. Only mux2 (3 ports) is listed.

How can I get it to use this port for an external modem?

Thanks
John Palmer
Honored Contributor

Re: setting up internal modem for dialout

The internal modem and external modem are in fact the same port.

You can logically switch between them with the 'CA' command at the CM> prompt.

As this is a K server:-
1. Switch the key to 'Service'.
2. Type ctrl B on the console to get the CM> prompt.#
3. Use the CA command to switch the modem.

Regards,
John
TMcB
Super Advisor

Re: setting up internal modem for dialout

Hi

I've tried getting access from the concole
but when I try Ctrl B, I get an error message saying :
sh: ^B not found

Am I doing something wrong here?
Thanks
TMcB
Super Advisor

Re: setting up internal modem for dialout


Do I need to turn the key to service??
If I do his, will the system be affected?

Thanks
John Palmer
Honored Contributor

Re: setting up internal modem for dialout

Yes - turn the key to 'Service'. It won't affect the system.