serial port access to a linux box (running fedora 12) via a dial up modem
I have a linux laptop running fedora 12 with uucp installed. I am connecting a connecting a dial up modem via the serial port.
I use the cu -l /dev/ttyS0 -s 9600 command to connect to the modem and that works.
Now, when I dial into this modem through another computer (running windows using hypertermial, I get connected but I don't get a unix prompt.
Is there something in the scripts that I should alter to allow access to the linux box?
you are aware that fedora 12 is DEAD
it is 5 versions OUT OF DATE
And it hit it's END OF LIFE on "2010-12-02"
almost two years ago
there have been NO updates or security fixes in almost two years
And there NEVER WILL BE ANY
please install the CURRENT version FIRST !! before you do anything else
the VERY next thing to do is install fedora 17 !!
Hello John VV
Yes, I am aware. I still feel there should be a simple fix that should allow me to connect to the system without having to upgrade. I would personally upgrade but its a company laptop and I am a little hesitant to make major changes if I can get by without it.
You need to set up a serial console on the laptop. You should find some help in google by searching for "serial console". This is how I did it on a fit-PC running Mint, the commands will probably be different but the approach should be the same on Fedora.
Look here for a starting point maybe. http://tldp.org/HOWTO/Modem-HOWTO-12.html
I did the following to get it to work
Backed up the grub.conf file and added this to the top of the existing file
serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal --timeout=10 console serial
Added this to each line beginning with kernel(there were 2 in my case).
Finally created a file called ttyS0 in /etc/event.d and put the following contents in it.
# ttyS1 - agetty
# This service maintains a getty on ttyS1 from the point the system is
# started until it is shut down again.
start on stopped rc1
start on stopped rc2
start on stopped rc3
start on stopped rc4
start on stopped rc5
stop on shutdown
exec /sbin/agetty -L -f /etc/issue 9600 ttyS1 vt100
I was able to connect a modem and dial into it but didn't get a login prompt. I chaned the permissions on the /etc/event.d/ttyS0 and then bingo...
|All times are GMT -5. The time now is 12:48 PM.|