Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MODEM DIALIN CONNECTION

Status
Not open for further replies.

johny2K

Technical User
Dec 19, 2001
184
0
0
CA
experts,

i reached the point where the two modems communicated. but unfortunately - not the one i expected. i can't get the "login screen" to work. i use the hyperterminal to dialin to the server using my PC.

my /etc/wvdial.conf, shows;
[Modem0]
Modem = /dev/ttyS0
Baud = 115200
SetVolume = 2
Dial Command = ATDT
Init1 = ATZ
FlowControl = CRTSCTS

my /etc/inittab, shows;
d1:12345:respawn:/sbin/agetty -mt60 115200,38400,19200,9600,2400,1200 ttyS0 vt100

server's linux redhat9.

is there anything else i should do or check?

 
You should use mgetty instead of the obsolete agetty. The command is similar, but mgetty is designed for modems, agetty was a catchall. The command would be:
d1:2345:respawn:/sbin/mgetty /dev/ttyS0 DT57600.
 
hello timsr,

i tried it and it didn't work.
 
try

S0:2345:respawn:/sbin/mgetty -x 3 -s 57600 -n 2 ttyS0
 
Production server:

problem with mgetty:

* [root@abc root]# man mgetty

No manual entry for mgetty

* [root@abc root]# rpm -q mgetty

package mgetty is not installed

* cu -l /dev/ttyS0 (test/setup modem)


Test server:

* [root@abc root]# man mgetty

- showed online reference manual

* [root@abc root]# rpm -q mgetty

- mgetty-1.1.30-2

* cu -l /dev/ttyS0 (test/setup modem)

- was able to test/setup modem


QUESTION (a dumb one):

If mgetty is missing - do I have to load it? Or agetty will work instead?


NOTE :

* Both server was configured to load everything (from CD#1 to CD#3) of Red Hat 9.

 
Thanks,mrunix.

It works! Beautifully!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top