Find the answer to your Linux question:
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 22
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15

    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??

  2. #2
    Linux Enthusiast
    Join Date
    Jun 2002
    Location
    San Antonio
    Posts
    621
    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.
    I respectfully decline the invitation to join your delusion.

  3. #3
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15
    how can u tell what they are pointing to???

  4. #4
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    Run "ls -l /dev/ttyS[0-9]"

  5. #5
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15
    ok i get
    Code:
    crw-rw----    1 ed       tty        4,  64 Feb 24 08:10 /dev/ttyS0
    whats this mean??

  6. #6
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    That can't be all you get. What happens if you run "ls -l /dev/ttyS1"?

  7. #7
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15
    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

  8. #8
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    OK, check "ls -l /dev/tts". What distribution are you using?

  9. #9
    Just Joined!
    Join Date
    Feb 2003
    Posts
    15
    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

  10. #10
    Linux Guru
    Join Date
    Oct 2001
    Location
    Täby, Sweden
    Posts
    7,578
    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.

Page 1 of 3 1 2 3 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •