I'm a little confused by your post. Are you asking how to get the Internet
on both machines or are you asking how to share files/printers between the
two computers? I'll give you some suggestions below but if my Crystal
Ball(tm) was cloudy, please post back with clarification of what you
actually want to know.
For the first possible question - A router enables you to share an
Internet
connection between multiple computers and at the same time create a Local
Area Network where you can have file/printer sharing. You can connect to
the router either wired or wirelessly (assuming it is a wireless router
and
your computers have wireless network adapters, of course). To connect
wired, simply plug one end of an ethernet cable into one of your router's
LAN ports and the other end into your computer's ethernet network adapter.
To connect wirelessly, set up a wireless network. If you need help with
this, please let me know and I'll give you the details.
For the second possible question - Here are general network
troubleshooting
steps. Not everything may be applicable to your situation, so just take
the
bits that are. It may look daunting, but if you follow the steps at the
links and suggestions below systematically and calmly, you will have no
difficulty in setting up your sharing.
Excellent, thorough, yet easy to understand article about File/Printer
Sharing in Vista. Includes details about sharing printers as well as files
and folders:
http://technet.microsoft.com/en-us/library/bb727037.aspx
For XP, start by running the Network Setup Wizard on all machines (see
caveat in Item A below).
Problems sharing files between computers on a network are generally caused
by 1) a misconfigured firewall or overlooked firewall (including a
stateful
firewall in a VPN); or 2) inadvertently running two firewalls such as the
built-in Windows Firewall and a third-party firewall; and/or 3) not having
identical user accounts and passwords on all Workgroup machines; 4) trying
to create shares where the operating system does not permit it.
A. Configure firewalls on all machines to allow the Local Area Network
(LAN)
traffic as trusted. With Windows Firewall, this means allowing
File/Printer
Sharing on the Exceptions tab. Normally running the Network Setup Wizard
on
XP will take care of this for those machines.The only "gotcha" is that
this
will turn on the XPSP2 Windows Firewall. If you aren't running a
third-party firewall or have an antivirus/security program with its own
firewall component, then you're fine. With third-party firewalls, I
usually configure the LAN allowance with an IP range. Ex. would be
192.168.1.0-192.168.1.254. Obviously you would substitute your correct
subnet. Refer to any third party security program's Help or user forums
for
how to properly configure its firewall. Do not run more than one firewall.
DO NOT TURN OFF FIREWALLS; CONFIGURE THEM CORRECTLY.
B. For ease of organization, put all computers in the same Workgroup. This
is done from the System applet in Control Panel, Computer Name tab.
C. Create matching user accounts and passwords on all machines. You do not
need to be logged into the same account on all machines and the passwords
assigned to each user account can be different; the accounts/passwords
just
need to exist and match on all machines. DO NOT NEGLECT TO CREATE
PASSWORDS, EVEN IF ONLY SIMPLE ONES. If you wish a machine to boot
directly
to the Desktop (into one particular user's account) for convenience, you
can do this. The instructions at this link work for both XP and Vista:
Configure Windows to Automatically Login (MVP Ramesh) -
http://windowsxp.mvps.org/Autologon.htm
D. If one or more of the computers is XP Pro or Media Center, turn off
Simple File Sharing (Folder Options>View tab).
E. Create shares as desired.
Malke