-
ttyS0 help mee
hi, i recently posted a msg saying that my ipaq couldnt connect because i didnt have ttyS0 and thats what it was trying to connect to using a mull serial cable... so a guy told me to try
Code:
mknod /dev/ttyS0 c 4 64
and it made a file but i noticed the rest of ttyS1 and ttyS2 have a arrow pointing away from themselves in the icon and this one doesnt....i am assuming that that means the ttyS1 and S2 are links and this one isnt how do i fix this or is this correct??
-
depends on what ttyS1 and ttyS2 are pointing to. ttyS0 is correct though, sometimes distributions will change some of the devices around for some reason or another.
-
how can u tell what they are pointing to???
-
Run "ls -l /dev/ttyS[0-9]"
-
ok i get Code:
crw-rw---- 1 ed tty 4, 64 Feb 24 08:10 /dev/ttyS0
whats this mean??
-
That can't be all you get. What happens if you run "ls -l /dev/ttyS1"?
-
ok i get Code:
[root@d57-6-155 ed]# ls -l /dev/ttyS1
lr-xr-xr-x 1 root root 5 Feb 24 08:10 /dev/ttyS1 -> tts/1
[root@d57-6-155 ed]# ls -l /dev/ttyS2
lr-xr-xr-x 1 root root 5 Feb 24 08:10 /dev/ttyS2 -> tts/2
-
OK, check "ls -l /dev/tts". What distribution are you using?
-
i am using mandrake 9.0 beta i believe
that command just gave Code:
total 0
crw-r----- 1 ed tty 4, 65 Dec 31 1969 1
crw-rw---- 1 ed tty 4, 66 Dec 31 1969 2
-
They've sure set it up in a strange way (is that some sort of legacy thing?), but it doesn't matter, since it's the same thing anyway.