1828170 Members
2530 Online
109975 Solutions
New Discussion

modem connection problem

 
bong_3
Advisor

modem connection problem

Need some advise on my modem connection to linux.

my aim is to connect remotely to a RHLinux7.3 Server thru Hyperterminal.

1st set my modem to "auto-answer"
ATE0Q1&D2&C1S0=1
AT&W0

2nd set my linux inittab
T1:23:respawn:/sbin/agetty -w -I 'ATE0Q1&D2&C1S0=1' 57600 ttyS0

when i test dial-up, the modem response but
shows me a bad characters ""ð"ðf'hI,M, -1 1 rNHzY,-( ( (( .z"
instead of "login:"

had i miss out anything or do i need to perform some configuration?
this setting use to be working on my RH6.2 machine.

appreciate any advise..

thx,
3 REPLIES 3
Stuart Browne
Honored Contributor

Re: modem connection problem

baud-rate mis-match.
One long-haired git at your service...
Vernon Brown_4
Trusted Contributor

Re: modem connection problem

Sometimes you can hit the Enter key a few times to sync the baud rates. Most modems now will automatically negotiate the best baud rate.

Vern
Mark Grant
Honored Contributor

Re: modem connection problem

Could be baud rate but it could also be parity/data bit settings. The "-m" option attempts to deduce the correct baud but it is still suggested you have a comma separated list of baud rates on the command line too.

Also, try it without an /etc/issue file because this is always output with 7 data bits and space parity.

You might also check that the serial port is set to the correct configuration with "setserial". There's no point in your modems communicating in a particular way if the serial port can't.

Personally, I'd attempt to do it without the modem initialization string too, just to see if this is an issue.

Just some things to try.
Never preceed any demonstration with anything more predictive than "watch this"