-   Linux - Newbie (
-   -   serial port access to a linux box (running fedora 12) via a dial up modem (

vsandilya 08-02-2012 01:07 PM

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?


John VV 08-02-2012 02:50 PM

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

please install the CURRENT version FIRST !! before you do anything else
the VERY next thing to do is install fedora 17 !!

vsandilya 08-02-2012 02:57 PM

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.


suicidaleggroll 08-02-2012 03:56 PM

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.

jefro 08-02-2012 05:20 PM

Look here for a starting point maybe.

vsandilya 08-03-2012 01:48 PM

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).

console=ttyS0,9600n8 console=tty0

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 08:03 PM.