|
SL Newsletter
|
| Recieve bi-weekly updates on news, new articles, and more |
|
|
|
|

08-08-01, 11:00 AM
|
 |
Student-for-life
|
|
Join Date: Dec 2000
Location: College Park, Maryland
Posts: 1,294
|
|
Connecting 2 PCs
Lets say I have 2 PCs, and one ethernet connection. Do I need to get a hub in order to get both connected to the 'net? What do I need?
Alternatively, how would I set up one as a server, and the other connected to it? Would I need a hub then? Or am I describing the same thing.....help a n00b out. And be gentle 
__________________
paul@pleaseohpleasedontspamme.slcentral.com
A mathematician is a device for turning coffee into theorems -- P. Erdos
|

08-08-01, 11:06 AM
|
 |
Free agent
|
|
Join Date: Jun 2001
Location: Surrounded by frickin' idiots.
Posts: 600
|
|
When you say you have one ethernet connection, what exactly do you mean? Also, how do you connect to the 'net? Cable/DSL/Dial-Up/Carrier Pigeon?
I think regardless you need to get a hub....
|

08-08-01, 11:08 AM
|
 |
Student-for-life
|
|
Join Date: Dec 2000
Location: College Park, Maryland
Posts: 1,294
|
|
College LAN  I have only my IP though.... (the one that the Uni gives me).
Would I end up making a "mini subnetwork" from the campus' network?
__________________
paul@pleaseohpleasedontspamme.slcentral.com
A mathematician is a device for turning coffee into theorems -- P. Erdos
|

08-08-01, 11:30 AM
|
 |
Developer
|
|
Join Date: Dec 2000
Location: Port Angeles, WA
Posts: 230
|
|
If you got a second network card in your computer that's connected to the college net.. you could just connect the two via a cross-connect cable..
Ryan
|

08-08-01, 11:34 AM
|
 |
Student-for-life
|
|
Join Date: Dec 2000
Location: College Park, Maryland
Posts: 1,294
|
|
So I'd need 3 NICs? One for the connection to the LAN, and two to connect the two boxes?
__________________
paul@pleaseohpleasedontspamme.slcentral.com
A mathematician is a device for turning coffee into theorems -- P. Erdos
|

08-08-01, 11:42 AM
|
|
|
a hub is prob the best way
|

08-08-01, 12:23 PM
|
 |
SLCentral.com Staff
|
|
Join Date: Dec 2000
Location: New York, USA
Posts: 354
|
|
yea a hub would be better if you don't already have one. My dorm had one which you could connect up to 3 PCs. Just connect your server and regular comp to the hub. Set up your server box with the IP the university gives you and then just use that as your proxy server for your main machine.
Are you using Windows or Linux on your server?
__________________
SystemLogic.net - Editor
2 Pentium III 1 Ghz 2 Alpha HeatSinks with 38 CFM Delta Fan | Abit VP6 | 512 MB PC-166 | Antec SX1030B with 4 High Output 80mm Sunon Fans | 2 30 GB IBm 75 Drives in RAID 0 | Plextor PlexWriter 16/10/40A | Mitsumi 40x CD-ROM | Generic 3.5" Floppy Drive | VisionTek Geforce 2 GTS 32 MB | Sound Blaster Live! Value | 3com NIC | Diamond Supra Modem | 19" Sony Monitor | Klipsch Promedia V.2-400 Speakers | PcMods.com Sound Sensitive Blue
"No more yankie my wankie. The Donger need food!"
More people are killed annually by donkeys than die in air crashes.
|

08-08-01, 12:32 PM
|
 |
Student-for-life
|
|
Join Date: Dec 2000
Location: College Park, Maryland
Posts: 1,294
|
|
I don't have a server, and I'm only thinking about setting it up  I only have one NIC right now! 
__________________
paul@pleaseohpleasedontspamme.slcentral.com
A mathematician is a device for turning coffee into theorems -- P. Erdos
|

08-08-01, 02:35 PM
|
 |
Free agent
|
|
Join Date: Jun 2001
Location: Surrounded by frickin' idiots.
Posts: 600
|
|
Easy. If you have a few bucks, drop a Franklin or two on a Linksys 5-port router and hook up all of you computers at once. The router itself will retain your schools static ip address, as well as act as a DHCP server for your other 2 comptuers. You will have internet connectivity on each computer as well as file sharing (if you choose to enable it)
Each computer needs to have only 1 NIC.
HTH
|

08-08-01, 10:28 PM
|
|
|
Setting up a gateway machine via edu connection
I was in your same situation last year. I go to school at Uvic (Victoria, BC, Canada). Here is what i have setup for my self and suggest (if funds are there) to do. What you will need: 1) Your normal pc 2) A p100 (486 might even work) w/ 16mb's ram if possible and 500mb's of hd space. 3) 3 ethernet cards 4) A hub (4/5 port 10 or 10/100 whatever your budget allows)
5) 3 or 4 rj45 ethernet cables
For sake of my explaination i will refer to the p100 computer as the gateway and your normal pc as the internal computer. Start by grabing a copy of linux at www.redhat.com. 7.1 or 7.2 whatever is the current version.
Let me describe what were are going to do. We will install redhat on the gateway machine along with the two new ethernet cards that you bought at a local used computer store for about 15$ canadian each (so like 4 american). You are going to connect your first ethernet cable from the wall jack in your dorm room to one of the ethernet cards. You are going to then connect a cable from the other ethernet card into your hub (any port on the hub EXCEPT the uplink). Then you are going to plug your internal computer into another port on the hub (any port EXCEPT the uplink). Once all the cables are connected the hardware will be all configured for your new personal network. Next you will have to move to software. I would start by reading the manpages on www.redhat.com that relate to ipmasqurading or ipchaining. If you can't figure it out from that give me an email (jeffsey@hotmail.com) and i can configure it remotely for you (isn't linux great). Basically what you are going to have to do is Give your the ethernet card from your gateway machine that is plugged into the wall jack all your ethernet settings such as (i will make some stuff up for example) ip: 169.69.69.69 netmask: 255.255.255.0 dns: 169.1.1.0 (i am just making this up) gateway: 169.69.1.1
and any others that i missed. The ethernet card that is plugged into the hub should be assigned the following info
ip: 10.1.1.1 (this isn't made up...use these settings)
netmask: 255.255.255.0 dns: 169.1.1.0 (this should be the same dns server as on the other ethernet card) gateway: 169.69.1.1 (also should be the same as the other ethernet card). That should take card of ethernet settings for the gateway. Then for ever computer that you add to your network simply assign it an ip (i suggest 10.1.1.2 anything above 1 b/c that is your gateway machine. For ever additional computer added simply increment the last number of the ip ie. 10.1.1.3, 10.1.1.4, 10.1.1.5). Assign a netmask 255.255.255.0 (depending on your network) dns: 169.1.1.0 (dns will always be the same as your gateway for every internal computer) And for the gateway your will use 10.1.1.1
This makes sense b/c for your internal computer the gateway device is your p100 running linux. And for your gateway machine the gateway is whatever your edu connections gateway is. So basically what is happening once this all works is that all the packets from your internal computer will be routed out its ethernet card.....to the hub.....to the gateways ethernet card (10.1.1.1) then to the other ethernet card (your ip: 169.69.69.69) and then out that ethernet card into the wall jack and out to the internet. Well my calculus homework is calling so that is all i will say for this post. If you are having problems setting this up or have any questions about my post please feel free to email me: jeffsey@hotmail.com
Another problem with a semi free solution thanks to open source!! Linux for life :-)
|

08-09-01, 11:29 AM
|
 |
Student-for-life
|
|
Join Date: Dec 2000
Location: College Park, Maryland
Posts: 1,294
|
|
Whoa, thanks XtrEmE! It'll take me a bit to digest all that (not only am I a linux n00b, I'm also a networking n00b  ). If I can get ahold of an old system, I'll give it a shot  I'm hoping to do this for fun, not anything else, so it's not a big deal.
Why not register for the forums? Getting help like that is quite nice 
__________________
paul@pleaseohpleasedontspamme.slcentral.com
A mathematician is a device for turning coffee into theorems -- P. Erdos
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -8. The time now is 10:56 PM.
Hardware
Reviews, Articles, News, All Reviews...
|
Gaming
Reviews, Articles, News...
|
 |
|
|
Regular Sections
A Guru's World, CPU/Memory Watch, SLDeals...
|
 |
SLBoards
Forums, Register(Free), Todays Discussions...
|
Site Info
Search, About Us, Advertise...
|
 |
|