1833356 Members
3268 Online
110051 Solutions
New Discussion

Modem for HP-UX

 
yc_2
Regular Advisor

Modem for HP-UX

Hi,

Just recovered one of the N-class systems from Ignite and discovered the external modem doesn't answer. It was working before system crash.

The statement in /etc/inittab file:
:
a1:3:respawn:/usr/lbin/uucp/uugetty -r -t 60 -h ttyd0p2 19200
:

and

ps -ef | grep tty gives:
root 2405 1 0 Jun 15 ? 0:00 /usr/lbin/uucp/uugetty -r -t 60
-h ttyd0p2 19200

I tried to add the modem through SAM from another port. When I dialed through a phone for testing, it answered (Yet to confirm by actually dial in from remote computer). The statement in /etc/inittab:
:
a0:3:respawn:/usr/sbin/getty -h ttyd2a2 19200
:

ps -ef | grep tty gives:
root 13753 1 0 10:23:33 ? 0:00 /usr/sbin/getty -h ttyd2a2 19200

Question:
What is the difference between /usr/lbin/uucp/uugetty and /usr/sbin/getty ?


Thanks in advance,
YC
3 REPLIES 3
Rajeev  Shukla
Honored Contributor

Re: Modem for HP-UX

Both the basically the same daemons for remote terminal connectivity except for the fact uugetty suports both ways communication but getty supports only one way.
The main difference is that with uugetty you can use the line for dialing in and dialing out if the line is free but with the getty you can only dial in i.e a remote machine can dial into this server but this server will not be able to dail out.
Have a look at the man pages of both for more details and configurations.

Cheers
Rajeev
yc_2
Regular Advisor

Re: Modem for HP-UX

In that case why modem answered when inittab uses getty but not uugetty?
Rajeev  Shukla
Honored Contributor

Re: Modem for HP-UX

That is because getty and uugetty both will answer any incoming calls to that line.(uugetty and getty both support dial in)
But with getty you wont be able to dial out.