Find the answer to your Linux question:
Results 1 to 5 of 5
Like Tree1Likes
  • 1 Post By sgosnell
Can I hook up my laptop and desktop together with a cable. Don't want to use a link want to hook up directly with a cable maybe a ethernet cable. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2011
    Location
    Staten Island, New York
    Posts
    103

    Hook two computers together


    Can I hook up my laptop and desktop together with a cable. Don't want to use a link want to hook up directly with a cable maybe a ethernet cable.
    I'm using Ubkuntu 10.04 have been updating it when told to.
    I'm a newbie so any commands given will have to be simple. I can use the command line with terminal.
    Thank you in advance for your help.

  2. #2
    Linux User ptkobe's Avatar
    Join Date
    Feb 2008
    Location
    Torres Vedras, PT
    Posts
    276
    The best way is to connect both to a router (or switch). Directly with a cable you have to use a special cable (I don't remember the name: crossover, switched pair, null modem?). Probably with fixed IPs. AFAIK.
    Commands depends on what you mean by "hook up". scp, ssh or rsync commands may be what you need.

    Regards
    Luis

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by ptkobe View Post
    The best way is to connect both to a router (or switch). Directly with a cable you have to use a special cable (I don't remember the name: crossover, switched pair, null modem?). Probably with fixed IPs. AFAIK.
    Commands depends on what you mean by "hook up". scp, ssh or rsync commands may be what you need.

    Regards
    Luis
    It's called a crossover cable. I don't believe a regular cat 5 Ethernet cable will work correctly.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Linux User sgosnell's Avatar
    Join Date
    Oct 2010
    Location
    Baja Oklahoma
    Posts
    486
    With a standard cable, you have out going to out, and in going to in. You have to reverse those, so that in goes to out and vice-versa. A crossover cable does this. You can either buy a crossover cable, or use two standard ethernet cables connected to a router.
    ptkobe likes this.

  5. #5
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    What exactly are you trying to do?
    If you're looking to share files, then it's a crossover.

    But since you mentioned hooking a laptop to a desktop, are you trying to share your wireless connection from the laptop to give the desktop a 'net connection?
    If so, a Cat5 cable. From there, just edit your connections in Network Manager.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

Posting Permissions

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