I wrote a small daemon last year that ran on a box that was running
RedHat Linux 5.2. I wrote scripts that launched this daemon in
the proper place in the RedHat SysV initialization process.
This daemon basically read /dev/ttyS0 and sent the input back out
/dev/ttyS1 and four tcp/ip sockets, and basically worked without
incident for a year.
This morning the hard drive on which this system was loaded crashed.
We got another, installed it in the computer and loaded a fresh linux
system - which happened to be redhat 6.0 this time.
I copied over all the source files and scripts that were necessary to
build and run my daemon, set the system up as I had done last year,
and tried to run it.
Unfortunately, it doesn't work. I now see messages during the init
telling me that /dev/ttyS0 does not exist. In spite of the fact that
I can see /dev/ttyS0 when I do an ls. The permissions showed as
crw-------, which I changed to crw-rw-rw-, to no avail.
What is different about these two systems that could lead to its
telling me that a device which I can see doesn't exist?
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to [EMAIL PROTECTED]