Hello there,
I seem to be having a problem with my dialin on my FreeBSD 3.3 machine.
Basicly, it's been working fine for months until recently. For no reason
it all it just started giving garbage when I dial into it.
It's a simple setup. I've enabled getty in /etc/ttys and set the modem
to AA. (I will run mgetty when I get this fixed. Mgetty won't even answer
the phone at the moment - presumably because it gets garbage rather than a
RING string)
After much RTFM'ing and stuffing around, I got it to work ONLY after I had
run: cu -s 115200 -l /dev/cuaa0 dir
After doing a ~. when successfully connected and talking to the modem it
would then allow me to dialin and work without garbage.
This is confusing the hell out of me as cu works with cuaa0 (dialout) while
getty uses ttyd0 (dialin). I assume it's changing the serial features for
both when I use cu.
What I'd really like to know is why on earth would it suddenly*up like
this? (I haven't changed any settings on this machine. It's task was to
simply route between the ethernet and the PPP interfaces and take incomming
calls. I don't use it appart from that!!)
Also I'd like to know how I can get the box to set and keep the settings
that are set when I run cu. (Whenever I turn off and on the modem or
of course, reboot the settings are reset). stty -f /dev/ttyd0 115200 crtscts
doesn't fix it.
Any help would be appreciated. (I can provide more details if needed!!)
Appart from this, my "FreeBeastie" box has been worth it's weight in gold.
Thanks in advance.
Regards,
Chris Fletcher.