Operating System - HP-UX
1825793 Members
2296 Online
109687 Solutions
New Discussion

Re: 1 more question today I promise.

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

1 more question today I promise.

Anyone know how to reset an internal modem on a K class? On my N class I use MR. Can't find similar method on the K.

Thanks,
Bob
UNIX IS GOOD
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: 1 more question today I promise.

Hi Robert:

On K-servers, if you have a hung internal modem, you generally end up rebooting to clear it. Sorry.

Regards!

...JRF...
S.K. Chan
Honored Contributor
Solution

Re: 1 more question today I promise.

CTRL-B to get to CM> prompt

CM> ur
CM> dr
CM> co
Uday_S_Ankolekar
Honored Contributor

Re: 1 more question today I promise.

Hi,

Use this method

1. Vi /etc/inittab and turn the getty from respawn to off for the device you are looking for example if the device is ttyd0p7 then

a0:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

to:

a0:3:off:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p7 19200

2. ps -ef|grep ttyd0p7

root 632 1 0 Nov 9 ? 0:00 /usr/lbin/uucp/uugetty
-r -t 60 -h ttyd0p7 19200

3. kill -9 pid # kill the pid of the uugetty

Or If you can use Kermit then
Run kermit; then execute the following:

a. [/dev] C-Kermit>set line /dev/tty0p7

b. [/dev] C-Kermit>set speed 19200
/dev/tty0p7, 19200 bps

c. [/dev] C-Kermit>connect
Connecting to /dev/tty0p7, speed 19200.

7. This is where you can break into a busy line:

a. +++ATZ

Enters an escape on a busy line by using the three
pluses; the ATZ resets the modem.

b. AT&D3

Resets the modem to default values.

c. Quit kermit:

[/dev] C-Kermit>quit


-USA..
Good Luck..
Darrell Allen
Honored Contributor

Re: 1 more question today I promise.

Hi Bob,

You may get lucky with some of the methods suggested but with the internal modem on a K, if it is hung you will have to power off the K to reset the modem (been there, down that).

My K had an internal modem. Since powering off the K was not a good option, I had HP replace it with an external modem. You should pressure HP to do the same.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Darrell Allen
Honored Contributor

Re: 1 more question today I promise.

Hi Bob,

Here's the thread from my experience with a hung internal modem on a K:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x165e87dc4d7dd5118ff00090279cd0f9,00.html

Internal modem on a server is not a good design. Insist on an external to replace it.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Nobody's Hero
Valued Contributor

Re: 1 more question today I promise.

Thanks all,
c.k.chan's resolution worked fine. Thanks to everyone.
UNIX IS GOOD