nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How do I connect two computers together to access the Internet?

This is a discussion on How do I connect two computers together to access the Internet? within the Computer Networking and Internet/broadband forums, part of the The Lounge category; Hi, I am new to networking. Can someone help me? I have a situation where I have two NIC cards ...


Go Back   nixCraft Linux Forum > The Lounge > Computer Networking and Internet/broadband

Linux answers from nixCraft.


Computer Networking and Internet/broadband Talk about computer networking, wireless networking at work or home. Share tips related to networking and broadband Internet.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 20-02-2009, 11:58 AM
Junior Member
User
 
Join Date: Feb 2009
OS: Debian
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ibolah is on a distinguished road
Default How do I connect two computers together to access the Internet?

Hi,
I am new to networking. Can someone help me? I have a situation where I have two NIC cards in my Blade server. I have an Ethernet cable that comes from the router plugged into one of the NIC cards (that works and provides internet access for the blade server running Ubuntu 8.04). What I want to do since my second Ethernet cable is very short, is connect one end of the short cable to the second NIC card on the Blade server, and connect the other end of the short cable to the NIC card on my Windows Server 2003 so I can access the internet from the Windows machine. How do I go about getting the Windows server to access the internet? What configurations do I need to do on the Blade server and Windows server to make everything work? Your help is greatly appreciated. Thx!

Note: I am new to this forum, so if I posted this question in the wrong place, please someone let me know where I should post. I will get the hang of this soon!
Reply With Quote
  #2 (permalink)  
Old 03-03-2009, 05:56 PM
Junior Member
User
 
Join Date: Mar 2009
Location: UK
OS: M$ Windows
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Will is on a distinguished road
Default

This option is back-to-front but might work for you.

If you use the Windows machine as the Internet connected machine, you can use a program called nat32 (free trial available) which will allow other machines on your local network to connect through your Windows machine to access the Internet.

It works very well - I've been using it for the past week.
Reply With Quote
  #3 (permalink)  
Old 12-10-2009, 05:15 PM
Junior Member
User
 
Join Date: Oct 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
geeksworld1 is on a distinguished road
Default hiiiiiiii

You can connect two computers over the Internet and use a given computer's drives just like you'd use local drives -- run programs, copy, get a list of files, etc. Here's how:
  • Make sure that both computers (computer A and B) have "TCP/IP" and "NetBEUI" protocols installed and properly functioning.
  • Make sure that the "Remote Access Serives" are setup and properly functioning.
  • Find out the IP address of computer A.
    You can do this by going to the network icon in the "Control Panel"

    For example, let's assume that "205.159.67.4" is the IP address of computer A.
  • Enable file sharing and share a path of your choice on computer A.

    For example, share "C:\" as "INTERNET_DRIVE"
  • Log both computers on to the Internet (dial and connect to your internet service provider for example). If you're on an Intranet, you don't have to connect to the Internet.
  • Go to computer B's "DOS/Command Prompt" and type:

    NET USE X: \\205.159.67.4\INTERNET_DRIVE


    If you get an user name/password or logon error, use the following command instead (after replacing uname with the actual user name and pword with the matching password):

    NET USE X: \\205.159.67.4\INTERNET_DRIVE /USER:uname pword

    This will map computer B's drive X to computer A's shared path INTERNET_DRIVE, which is computer A's C: drive.
Now you can use drive X over the Internet just like any other drive on your local computer.



Last edited by nixcraft; 12-10-2009 at 05:42 PM.
Reply With Quote
  #4 (permalink)  
Old 14-10-2009, 10:31 AM
kumarat9pm's Avatar
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 442
Thanks: 20
Thanked 20 Times in 18 Posts
Rep Power: 5
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default I am not sure what people are saying

Actually the guy who posted the query require to get internet for the two machines..
this can be achieved by using following things

1)the Ubuntu machine should foreword the internet req to the windows machine(enable ip forwarding)
2)We have to enable NATing on Ubuntu machine to share internet with windows machine
3)we have to configure Ubuntu machine as proxy server(can implement Squid proxy)

@requester if you still there with same prob let us know we can give you full config details how to achieve this..
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
how to connect internet with proxy. amit.rhce CentOS / RHEL / Fedora 2 13-02-2009 12:35 PM
Cannot connect to Internet mvibin CentOS / RHEL / Fedora 7 10-02-2009 04:28 PM
How to remote ssh connect the server via Internet satimis Networking, Firewalls and Security 1 21-07-2008 06:13 AM
Connect to Red Hat / CentOS / Fedora Linux Internet Through Modem maria_88 CentOS / RHEL / Fedora 1 15-05-2008 11:46 PM
squid problem cannot connect or browse internet raghuram Linux software 2 27-03-2007 09:31 PM


All times are GMT +5.5. The time now is 09:25 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38