Jump to content

Connecting a laptop to a desktop


Recommended Posts

I just inherited an old laptop from my college's computer lab. :thumbs: In my house, I have my desktop computer in my room connected with a wireless connection. I'd rather not buy a wireless card for the laptop, so is there any way y'all know about to connect a laptop to a desktop to get Internet? I have ethernet jacks in both computers that are unused at present, so it'd be ideal if I could just connect them from that.

 

It also has no CD drive so I won't be able to put Linux on it until I get it connected. :)

 

Any ideas would be great. Thanks. B)

 

Edit: Because it's old, I'd also like to be able to connect the laptop to the desktop via XDMCP or VNC too... in case that changes anything.

Edited by Andrewski
Link to comment
Share on other sites

Ok, 1 free ethernet on either machine is great.

 

If none of the 2 ethernet cards are autosense (to adapt to the type of cable it is connected to) you will need a socalled cross-ethernetcable, in short: crosscable.

 

Then just directly connect the two machines with the cable, and set the pc with internet connection up to do internet sharing;

give the eth0 (onboard ethernet card) the address 192.168.x.y where x is from 0 to 254 and y is from 1 to 254 - this will be your private network.

 

the laptop you should just set the ethernet up to have address 192.168.x.(y+1) or so (instead of y+1, just don't take y, 0 or 255, all other values are ok.

 

Then on the pc you turn on 'internet sharing', on the laptop, you give the ethernet address of the pc as gateway, and it should be ok.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...