| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 49958 | 2004-10-05 22:50:00 | FAQ #60 - How do I network my PCs? | -FAQ- (807) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 278536 | 2004-10-05 22:50:00 | FAQ #60 - How do I network my PCs? Windows 95/98/ME Version Originally written and compiled by Craig Bellhouse Introduction Please read this entire document before you begin, as it will make more sense, and you will have a better idea what to look for and expect when doing each step . This FAQ is directed primarily at Windows 95/98/ME users, with some familiarity with installing hardware and software, as this process requires getting the cover of your PC’s and working around inside . Individual problems or queries can best be resolved with a direct question to the forum . To save space in this document, and make it easier to read, instructions on how to access the individual windows components can be found at the bottom of the document . These items will be in italics in the text . I recommend you have a printed copy of this to refer to at any time during the process . Equipment Needed: -Anti-Static strap For 2 computers: - 2 x 10/100 Ethernet Network Cards - 1 x cross-over cable (long enough to connect to each PC with a bit of slack, as this cable is not that flexible) For more than 2 computers: - 1 x 10/100 Ethernet Network Card for each PC to be connected - 1 x 100Mbps Ethernet Switch (2-5 PC’s = a 5 port Switch, 6-10 PC’s = a 10 port Switch etc) - Sufficient straight-through cable to link each PC to the switch, with a bit of slack (Further explanations of this hardware can be found in the relevant sections of this FAQ) Purchasing The Hardware: The best advice here is to shop around, as often kits can be found that include the majority of the equipment you need in a bundle for less cost than the individual components . These will have names like Home Network Kit etc . I have mentioned above in the required hardware to purchase 10/100Mbps ethernet cards, and a 100Mbps Switch . While these may be slightly more expensive that 10Mbps cards and a Hub, they give far better value for money, and are not likely to need upgrading should your use of the network increase . A 5 port 100Mbps Switch will give good performance for all 5 connected computers for just about any amount of usage, from light internet use, to high speed network games . Installing The Hardware: If you do not wish to void any warranties on your computers it is recommended to get the shop where you purchased your computer to do this step . Depending on the exact equipment purchased, the steps involved will differ, but the best method is to install all the hardware in one step, and then fix up the software and drivers later . (it is also easier to have the PC’s in the same room until everything is set up and tested, to save a LOT of running backwards and forwards) . Before any work on the internals of any computer, it should be fully powered off, but left plugged into the wall for earthing . Shut down the computers and turn off the wall switches, but leave the power cable connected . Disconnect all the other cables from the rear of the PC . An anti-static strap should also be worn to prevent damage to the internals of the computer, this should be connected to a piece of bare metal on the PC’s case, ie a fan grill . Remove the cover from the computer, and open the boxes of equipment . Locate a spare PCI slot on the motherboard, and remove the metal cover on the rear of the case next to your chosen slot (these may be need to be unscrewed or twisted off) . Slot the network card into the socket and gently but firmly press down on the card until it is fully seated, you will be able to tell it is in properly when the metal panel of the card sits flush with the PC case . Screw the card into place . Repeat this process for each computer . Once all the hardware is installed, close up the case, and reconnect the cables to the PC . (make sure you unclip the static strap from the case) . Connecting the Cables If you only have two computers to be connected, then the process is quite simple, plug one end of the Cross-Over Cable into the back of each computer and you are done . When you turn on both computers, a light should come on on the rear of both network cards . If you have more than two computers, plug a length of Straight-Through cable into each computer and into any socket on the switch, taking care not to use the uplink port, if one is available . See the manual that came with the switch for more details on this . Plug the switch into the wall and power it up . When you turn the computers on, a bundle of lights should light up on the front panel of the switch and also on the backs of the network cards in the PC’s . These lights are called Link Lights, which tell you that a link has been detected . Installing the Drivers and Software When you start the computers up, Windows should display a message saying that new hardware has been detected and will begin to install a driver for it . Depending on the hardware you purchased, a number of different things may need to be done here . The best bet is to read the documentation that came with your network cards and follow the steps included for installation . Once the hardware is installed, and if necessary, the computer restarted, check in the Device Manager to make sure there are no problems or conflicts . When you have opened the Device Manager, you should see a category called Network Adapters, click the plus sign next to it, and check for your new network card . The name should be similar to that on the packaging . Double-click the name of the network card and a properties window should appear . Check under a heading called device status and it should say something to the effect of “This device is working correctly . ” If not check the booklet that came with the card for solutions, or post a question on PressF1 . If everything is OK up to this point, close all the open windows and programs . Next open the Network Control Panel . This will tell you what protocols and network hardware is installed in the computer . At the very least you should see your new network card . There may also be a collection of Clients and protocols, and a box below this list should say “Primary Network Logon: Client for Microsoft Networks”, if it says Windows Family Logon, or something else, then change it . The next step is to set up the protocols you need for your network . The best bet is TCP/IP as this allows sharing of internet connections and the like . If you want to play older network games then you may also need IPX/SPX . These may be already installed, and this will be displayed in the Network Control Panel . If so, you should see TCP/IP -> “the name of your network card” and IPX/SPX -> “the name of your network card” . These settings will need to be changed however, and added if not already there . To Add A Protocol Click the button that says Add, or Install, then select protocol, and select Microsoft . On the right side panel, a list of available protocols should display . Scroll down and then double click TCP/IP . The Network Control Panel will now reappear, and TCP/IP should be displayed in the list next to each of your devices . Repeat the procedure if you need to have IPX/SPX available . It is also found in the protocols/Microsoft list . Set Up The Protocols So They Will Work Here is where you need to work out some addresses for your computers . Using Windows 95/98/ME, the best scheme is to assign each computer an address that never changes . These are called Static IP Addresses . If one of your computers has an internet connection, then this should be the server, and it’s IP address should be 192 . 168 . 0 . 1 The rest of your computers can then have any address starting with 192 . 168 . 0 . This addressing scheme will give you enough space for up to 254 computers on your LAN Here is a table showing a sample network: Computer Name . . . . . . . . . Resources . . . . . . . . . . . . . . . . . . . . . IP Address Dads-Computer . . . . . . . . . Internet Connection . . . . . . . . 192 . 168 . 0 . 1 Office-Computer . . . . . . . . Printer . . . . . . . . . . . . . . . . . . . . . . . . . 19 2 . 168 . 0 . 2 Kitchen-Computer . . . . . . Some Documents . . . . . . . . . . . 192 . 168 . 0 . 3 Games-Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 92 . 168 . 0 . 4 Note: The dots are there to preserve the table layout, as tabs and spaces didn't work, you can ignore them . It is recommended that you draw up a table of your own network, so that you can visualize what you have to set up, and can tick it off when done . The Computer Name column shows the unique name to be assigned to each pc, this name must be one word, and may only use letters and numbers . The resources column shows any things that the computer has that other computers might want to make use of, ie an internet connection, and a printer are some examples . Other things might be specific files, but I’ll get into them later . From the Network Control Panel, double click on the TCP/IP -> “the name of your network card” and a window will appear that says IP Address, and will have some settings available . Here is where you will use the addresses you prepared as in the table above . Click the circle that says “Specify an IP Address” and in the box below this that says “IP Address:” type 192 . 168 . 0 . xxx and in the box below that which says “Subnet Mask:” type 255 . 255 . 255 . 0 (This subnet mask MUST be the same for all your computers) . At the top of this window, you will see a series of six other tabs that say: “WINS Configuration”, “Gateway”, “DNS Configuration”, “Bindings”, “Advanced”, and “NetBIOS” . Click WINS Configuration, and make sure “Disable WINS Resolution” is selected . Click Gateway, and in the “New Gateway:” box, type the address of the computer with the internet connection, which should be 192 . 168 . 0 . 1, and click “add” . Now click the DNS Configuration Tab, and click “Enable DNS”, in the “Host” box, type the name of the computer you are on, and in the “DNS Server Search Order” box, type the address of the computer with the internet connection, as above, and click “add” . In the Bindings Tab, make certain that both “Client for Microsoft Networks” and “File and Printer Sharing” are ticked . Don’t change any of the settings in the other two tabs, as the defaults are the best settings . Click OK at the bottom of the window to return to the Network Control Panel . At the top of this window, you will see another tab that says “Identification”, click this, and in the “Computer Name” box, type the same name as in the table above . In the box labeled “Workgroup” type a name that describes the location of the PC’s, like HOME or OFFICE . This Workgroup name MUST be the same for all connected PC’s . A computer description box is also available, but if you used a descriptive enough name (which is the best way), a description is an optional extra . Back at the top of the screen there is another tab that says “Access Control”, click this and then select “Share Level Access Control” . Return now to the Configuration Tab, and click “File and Print Sharing”, and in the window that appears, choose what resources of each computer you want to have available to others on the network . For instance, if you have some documents you want available to other computers, tick “I want to give others access to my files”, and if you have a printer connected to this computer, tick “I want to allow others to print to my printer(s)” Click OK, and then OK again . You will most likely be prompted to insert your Windows CD, and install various components . You will then be asked to restart . Repeat this process for each computer to be connected, and when they have all been restarted, you can begin some basic testing to ensure that all the links are operational, and you have a fully functioning LAN . If you have installed the IPX/SPX, the default settings of this will work fine, and need no adjustment . Basic Testing Once all the setup is complete for all computers, and they have all been restarted, leave them turned on for about ten minutes . This will give them time to detect each other and see what resources are available for sharing via the network . Next, open the command prompt and type “ping” followed by any one of the IP addresses from your list, and press enter (Don’t type the quote marks) . For instance, from the example table, if I wanted to ping the office computer I would type “ping 192 . 168 . 0 . 2” and press enter . This should give a list of statistics about the link, and it should look like this: Pinging 192 . 168 . 0 . 2 [192 . 168 . 0 . 2] with 32 bytes of data: Reply from 192 . 168 . 0 . 2: bytes=32 time<10ms TTL=128 Reply from 192 . 168 . 0 . 2: bytes=32 time<10ms TTL=128 Reply from 192 . 168 . 0 . 2: bytes=32 time<10ms TTL=128 Reply from 192 . 168 . 0 . 2: bytes=32 time<10ms TTL=128 Ping statistics for 192 . 168 . 0 . 2: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms This tells you that your link is active . Repeat this step on each of your computers, with all of the addresses on your list . If you get any links that say: Pinging 192 . 168 . 0 . 2 [192 . 168 . 0 . 2] with 32 bytes of data: Request timed out . Request timed out . Request timed out . Request timed out . Ping statistics for 192 . 168 . 0 . 2: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms This means the link is inactive, and you need to check that all the settings are set up correctly as documented above . If you get any other error messages, or you have checked and all of the settings are correct, try “ping 127 . 0 . 0 . 1” This is a diagnostic check to ensure the TCP/IP protocol is installed correctly, and a valid network device is present . If the result for this is successful, then there could be a faulty link . Check all the cables are connected, and at each end of the cables, a light (most likely green) is showing on the connected device . If not, then you may have to post a specific question to the PressF1 site . If the diagnostic is NOT successful, then try going back into the Network Control Panel, and selecting the TCP/IP -> “Your Network Card” and clicking “Remove” . Click OK, and restart . Then reinstall the TCP/IP protocol, following the same steps as the first time, and it may be successful . If not, then post a specific question to PressF1, as I cannot hope to cover every problem in this FAQ . Once the testing is complete, and all links are working, go into the Network Neighbourhood by double clicking the icon on your desktop . Check that there is an icon and name for each of the computers on your network . If there is some missing, check that the “Identification” tab in the “Network Control Panel” is set up properly on the missing computer . If you get a “Cannot browse the network” error message, try leaving the computer for a few minutes and test a different one while you wait . Close Network Neighbourhood . The next step is to share the resources you had listed in your table as in the above example . Sharing Resources In this FAQ, I am only going to cover sharing of files and printers . Someone else may like to contribute here for sharing of Internet Connections with Windows 95/98/ME as this topic is almost long enough for a FAQ of it’s own . Sharing a Printer Go to the computer that has the printer installed, and make sure the printer is connected, and powered up . Go into the Printers Control Panel and right-click on the name of the printer you want to give others access to, and click properties . At the top of the properties window, click the tab that says “Sharing”, and select “Shared As” . In the “Name” box, type a descriptive name for the printer, and a “Description” and “Password” if you want them . Click OK, and close all the windows you opened during this step . You may be asked to insert some disks, or restart . If the printer is the only resource you want to share on this computer, then you may restart, but if you want to share some files, then don’t restart yet . Go to a computer that you want to use this shared printer on, and go into the “Printers Control Panel” . Double click “Add Printer” and click Next, on the window that appears . Select “Network Printer” and click Next . Click Browse, and click the + sign next to the computer with the printer attached . You should now see an icon of the printer, with its name next to it . Click this, and then OK . Choose whether or not you need to print from MS-DOS programs, and click Next . If given the option, choose to keep existing driver, and click Next . Give the printer a name that you will use to identify it on this computer, and choose if you want it to be the default printer for this computer, and click Next . Choose to print a test page, and click Finish . If the printer was successfully installed, and is powered up, a test page should print . If it comes out garbled, go back to the Printers Control Panel on the computer that it printed from, delete the printer, and recreate it, but this time choose “Replace existing driver”, if given the choice, and it may work . Sharing Files When sharing files, the best method is to put the files you want to be shared into a separate folder on your computers drive . Do NOT share the Windows\ folder or the root folder of any drive, ie c:\, except cd-rom drives, if you want to share them . Run Windows Explorer and browse to the folder you want to share . Right-click the folder name and click “Sharing…” or something similar . Select “Share this folder” and give the folder a descriptive name . This name is what you will see on the remote computers when using the folder . A comment or description is again optional, as most of the time you won’t see it . On the remote computers, go into windows explorer and at the base of the tree on the left hand side, you should see an entry that says “Network Neighbourhood” . Click the plus sign next to this . You should now see the names of all the computers on your network . Select the name of the PC with the files you just shared . In the right panel, you should now see the name of the folder you just created . Double click this, and you will have access to the files, whenever the other computer is turned on . If you intend to use these files a lot, or want to have faster access to them, you can do what is called Map A Network Drive . Map A Network Drive To complete this, you must have already completed the previous step, “Sharing Files” On the remote computer, the one you want to have access to the shared files on, run “Windows Explorer”, and find the shared folder, in the same manner as described above under “Sharing Files” . Right-click on the folder name, and select “Map Network Drive…” Select a drive letter, and tick “Reconnect at logon”, and click OK . When choosing a drive letter, it is best to start at the end of the alphabet, ie your first shared folder should be Z: and so on . This will avoid conflicts with later added hardware or drive changes etc . In Windows Explorer, click the + next to My Computer, you should now see a new drive icon, with the name of the shared folder . You can select this folder now in any application in the same manner as you would change to a floppy disc drive . just select the Z:\ instead of the A:\ or C:\ . You can have as many shared resources as you like, but you are limited to 26 drives on any one PC, and the physical ones are included in this list, so if you have 2 CD players, a floppy disc drive and 2 hard drives, you can only map 20 Network Folders . (You cannot use A: B: or C: ) The End I hope this FAQ has been of some assistance in setting up your network . If you need any further assistance, post a message on PressF1 and make a reference to where you got up to in this FAQ and what your problem/symptoms are . Please feel free to distribute this FAQ . However, I would appreciate it if it was kept in it's entirity, and aknowledged as my work . Please don't try to claim it as your own . Anyone who makes additions to it may choose if they want to be acknowledged themselves, or whatever . GLOSSARY Here is a list of terms used and areas of windows accessed in this document and how to get access to them . It is listed in the order it was used in the document for ease of use . PCI slot: This is a white socket on the motherboard of a computer . There will be several of these in a row, and will be about 10cm long . Cross-Over Cable: This is a cable used ONLY to connect two computers together, without an intermediate device . If you have a hub or switch, don’t use one of these cables . Straight-Through Cable: This is a cable used to connect a PC or other network device to a central hub or switch . Not to be used to connect a PC to a PC . Link Lights: These are lights that indicate an active link when both pieces of equipment at either end of the cable have detected that there is a cable connecting them . This is the first line of trouble-shooting . If there are no link lights lit, something is disconnected . Driver: A Driver, or Device Driver, is a piece of software that tells Windows what the hardware is and how to work it . Device Manager: The device manager is a Windows component that has information on all the installed hardware inside the computer . It also shows common problems like conflicts, where two devices have the same address . To access this, right-click on the My Computer icon on the desktop, and select properties . Click the Device Manager tab at the top of the new window . Network Control Panel: This is a component of Windows that allows set up of networking hardware and software . It also allows you to set up the identification of the machine . To access it, right-click on the Network Neighbourhood icon on the desktop, and select properties . Protocols: A Protocol is like a human language, it allows the computers using it to communicate with each other . All computers on your network must use the same protocol, or it would be like a group of people trying to talk to each other in a bundle of different languages . ie, it wouldn’t work . TCP/IP and IPX/SPX are protocols . Clients: A client is a piece of software that allows you to access resources on other computers . The best example of a client is a web-browser . A web-browser accesses web pages on other computers . IP Addresses: An IP Address is a unique address that a computer will use to send data to another computer, in much the same way as you send a letter to someone else using a postal address or an email address . An IP Address will look like 203 . 105 . 77 . 46 or four sets of numbers between 1 and 254 with a period between each set of numbers . The IP Addresses of your computers will all start with 192 . 168 . 0 . xxx , where xxx is the number assigned to the individual computer . Server: A server is a computer that gives access to (or serves) resources that it has to other computers . This is a very loose definition, but it will do . In this case the server gives access to its internet connection . LAN: A LAN is a Local Area Network, or a small network spread over a small area, like a house or office . Command Prompt: This is a component of windows that gives you access to a DOS prompt . It allows access to diagnostic commands and programs used in the text . To get access to it, go into the Start Menu and click Run, and type ‘command’ and press enter . If this doesn’t work, type ‘cmd’ instead of ‘command’ . Don’t type the quotes . Ping: Ping is a diagnostic program used to test the state of network links . When one computer “pings” another computer, a response is sent that acknowledges the receipt of a “ping” This is much the same as a person saying “hello” to someone they know as a similar response is given in return . Printers Control Panel: This is a component of Windows that allows access to printer settings . To access it, go to the Start Menu, into Settings, and then click Printers . Windows Explorer: This is a windows component that gives access to all the files and folders on a computer, as well as any shared network resources . To open it, go to the Start Menu, the click Run, and type ‘explorer’ without the quotes, and press enter . Map A Network Drive: This is a process that gives quicker and easier access to shared network resources . Instead of accessing a folder with a name like ‘//Office_PC/documents/work_files/’, you can tie a link between this folder and a drive on the remote computer, so you get a name like ‘Z:\’ instead . It also allows older programs that have no built in network capability to access network resources in the same manner . Original FAQ available from here ( . pcworld . co . nz/thread . jsp?forum=1&thread=21674&message=57786&q=faq+42#57786" target="_blank">pressf1 . pcworld . co . nz) . _______________________________________________ Additional notes contributed by other PF1 members tweak'e: One small tip with setting up networks (Win 9x/ME) is to unplug the LAN cable when setting up the network . For some weird reason the networking can go AWOL if you set it up with it connected to the other PC that is running . Big John: One thing also is that if you cant ping the other machine it may mean you have Firewall software working . With the firewall you may need to grant access to the PC you are pinging from . Symantec Internet Security is a good example . It will just appear as though the machine does not exist on the network at all . Danger: Be sure to disable any firewalls, even if you think you have allowed access to your networked PC's . You can reconfigure the firewalls AFTER the network is up and running . If you are having problems try setting restore points as you make progess so that you can come back to a good starting point . After deleting Dial Up Adapter, my winsock became corrupted, which resulted in explorer becoming unstable . This meant having to run system restore, which meant I was losing any progress I had made . My Dial Up Adapter was not where it was expected in Network Settings to reinstall . The only way it was reinstalled was to make up a bogus New Dial Up Connection in Control Panel/Dial up Networking/Make a New Conection . Once this had been installed, progress became alot easier . For networking only two computers, DNS do's not need to be enabled . Mine are disabled . Links to networking tutorials: WindowsNetworking . com (http://www . wown . com/) TCP/IP basics ( . wown . com/j_helmig/tcpip . htm" target="_blank">www . wown . com) Networking between WindowsXP and Windows95/98/ME ( . wown . com/j_helmig/wxpwin9x . htm" target="_blank">www . wown . com) World of Windows Networking (http://www . helmig . com/) Microsoft Knowledge Base Article - 813936: ( . microsoft . com/default . aspx?kbid=813936%3E" target="_blank">support . microsoft . com) How to Set Up a Small Network with Windows XP Home Edition (Thanks to Babe Ruth for link) DIY Home Network Help (http://www . homenethelp . com) TCP/IP Home Networking and File Sharing Tutorial ( . homenethelp . com/web/howto/net-98 . asp" target="_blank">www . homenethelp . com) Easy Home Networking Tutorial! (Version 2 . 0) ( . homenethelp . com/web/howto/HomeNet-start . asp" target="_blank">www . homenethelp . com) Adding Windows XP to an Existing Network ( . practicallynetworked . com/sharing/xp/addxp . htm" target="_blank">www . practicallynetworked . com) How to configure Internet Connection Sharing in Windows XP ( . microsoft . com/default . aspx?scid=kb;en-us;306126" target="_blank">support . microsoft . com) Practically Networked (http://www . practicallynetworked . com/) Networking by Captive ( . pcworld . co . nz/thread . jsp?forum=1&thread=50980" target="_blank">pressf1 . pcworld . co . nz) Not covered in this FAQ but possibly useful are the following on internet connection sharing: Setting up Internet Connection Sharing (Windows XP) ( . annoyances . org/exec/show/ics_xp" target="_blank">www . annoyances . org) Installing internet connection sharing ( . firingsquad . com/guides/ics/page3 . asp" target="_blank">www . firingsquad . com) |
-FAQ- (807) | ||
| 278537 | 2004-10-24 08:32:00 | More links to networking guides: Beginners Guides: Basic Home Networking and File Sharing (www.pcstats.com) - PCstats guides you through the process of home networking - Version 1.1.0 Beginners Guides: Internet Connection Sharing (www.pcstats.com) - Learn how to make that DSL/Cable connection go further - Version 1.1.0 -- submitted by drb1 |
-FAQ- (807) | ||
| 1 | |||||