Adding PC to Wireless Link...(scorge!!)

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
As you may or may not know, I have a wireless setup at home (no other option, long story). I want to add another PC to the same connection, in the same room as the first one; but preferably utilising the wireless card and antenna of the first, saving me money \o/

The setup is like this, I've included IP details.

ADSL Modem (192.168.0.1)

Wireless Router (192.168.1.1)

Wireless Access Point (192.168.2.1) - repeater mode

Wireless Card in PC 1 (192.168.2.100)

PC connects to access point which is repeating the router signal from the modem \o/

I want to put PC 2 in there and use PC 1 wireless card to route to the internet.

What IP/TCP settings do I use on LAN cards in PC 1 and PC2? Do I need a crossover cable? I was assuming using 192.168.3.1 on PC 1 and 192.168.3.2 on PC 2? Where do I point the default gateway and DNS server at?

Over to you, rep points for helpers :) :cheers:
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
yes you could use a crossover ethernet cable to connect pc2 to pc1 and simply share pc1's internet connection

i believe thats the only option if you dont want to put a wireless card in pc2

why dont you just put a wireless card in pc2 anyways, they are cheap as chips ?
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
Anny said:
why dont you just put a wireless card in pc2 anyways, they are cheap as chips ?

+ (another) external antenna etc :p

Just prefer if it was all running through first.
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
the default gateway for pc2 and DNS would be PC1's ip address


btw are you planning on running daoc on pc2 ?
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
Anny said:
the default gateway for pc2 and DNS would be PC1's ip address


btw are you planning on running daoc on pc2 ?

PC1's IP address...IP address of LAN card or Wireless card? :)

and is the 192.168.3.x domain correct for the LAN cards, as wireless is on 192.168.2.x

Yes, buffbot account.
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
wireless card...... iirc lol its early in the day for me ive only had 4 cups of coffee so far
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
Hehe, I'm on 5 \o/

So:

ADSL Modem (192.168.0.1)

Wireless Router (192.168.1.1)

Wireless Access Point (192.168.2.1) - repeater mode

Wireless Card in PC 1 (192.168.2.100)

LAN Card in PC 1 (192.168.3.1)

LAN Card in PC 2 (192.168.3.2, Gateway: 192.168.2.100, DNS: 192.168.2.100).

Hmm, that correct?
 

scorge

Fledgling Freddie
Joined
Sep 13, 2004
Messages
2,721
eggy said:
As you may or may not know, I have a wireless setup at home (no other option, long story). I want to add another PC to the same connection, in the same room as the first one; but preferably utilising the wireless card and antenna of the first, saving me money \o/

The setup is like this, I've included IP details.



PC connects to access point which is repeating the router signal from the modem \o/

I want to put PC 2 in there and use PC 1 wireless card to route to the internet.

What IP/TCP settings do I use on LAN cards in PC 1 and PC2? Do I need a crossover cable? I was assuming using 192.168.3.1 on PC 1 and 192.168.3.2 on PC 2? Where do I point the default gateway and DNS server at?

Over to you, rep points for helpers :) :cheers:


you will be glad to know that the easiest solution is a second wireless card! now that being said here is what you need to do:

connect cross over cable from PC2 to PC1, Configure PC1 to use internet connection sharing ( i assume you are using XP?)

try these articles for help:

http://www.practicallynetworked.com/sharing/xp_ics/
http://www.practicallynetworked.com/sharing/xp_ics/networkbridge.htm
http://www.practicallynetworked.com/sharing/xp_ics/internetgateway.htm

http://www.microsoft.com/downloads/...8e-3762-4e78-b372-8404eeb7f41a&displaylang=en



PC2 will be using PC1 as a gateway, so you might need to manual put in the default gateway too 192.168.3.100, You will also need to add the primary and secondary DNS and use a static ip address instead of a dhcp one.

the IPCONFIG /ALL command should look something like this on PC2 (default gateway address should be ethernet not wireless address)

Windows IP Configuration



Host Name . . . . . . . . . . . . : eggyspc2

Primary Dns Suffix . . . . . . . :

Node Type . . . . . . . . . . . . : Hybrid

IP Routing Enabled. . . . . . . . : No

WINS Proxy Enabled. . . . . . . . : No

DNS Suffix Search List. . . . . . :






Ethernet adapter Local Area Connection:



Connection-specific DNS Suffix . :

Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet

Physical Address. . . . . . . . . : 00-14-38-0E-D2-8A

Dhcp Enabled. . . . . . . . . . . : No

IP Address. . . . . . . . . . . . : 192.168.3.101

Subnet Mask . . . . . . . . . . . : 255.255.255.0

Default Gateway . . . . . . . . . : 192.168.3.100

DNS Servers . . . . . . . . . . . : (ISP's primary DNS)
(ISP's secondary DNS)

:m00:
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
That's as I assumed; but the Primary and Secondary DNS - can't this just be obtained from the main PC instead of putting the ISP ones in manually?
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
phew somebody who has had more than 10 coffee's thats what is needed lol

that should sort you eggy

im going for coffee 5 now,

laters
 

scorge

Fledgling Freddie
Joined
Sep 13, 2004
Messages
2,721
now if you have a firewall on PC1 you might need to sort out access control lists and or port forwarding. In essense you will be using PC1 as A bridge to the wireless network. In my experience fucking about with internet connection sharing, can drive you to drink, PC1 could also act as a bottleneck with network traffic, causing PC2 to LAG in daoc.


PC1 is also a single point of failure if you have a core memory dump (blue screen 0 death ) etc PC2 will go boo boo as it will lose connectivity

It would probably be better using a second wirless card, or getting another wireless access point and connecting PC1 and PC2 via ethernet to the Access point.

If your good santa might bring you one.

:m00:
 

scorge

Fledgling Freddie
Joined
Sep 13, 2004
Messages
2,721
eggy said:
That's as I assumed; but the Primary and Secondary DNS - can't this just be obtained from the main PC instead of putting the ISP ones in manually?


yes it can be obtained automatically and it should, but since its is microsoft it might not and need you to do in manually. :mad:


unless you are forwarding DNS requests from PC1 to the internet PC2 should require your ISPs primary and secondary dns settings
:m00:
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
new dlink wireless pci cards start from about £15 UK and the antennas are a lot smaller than youd realise


it would also take about 5 mins to set up everything lol
 

Alan

Fledgling Freddie
Joined
Aug 3, 2004
Messages
3,972
You may as well set the DNS server on the 2nd pc to be your main DNS server (ISP one?) it will forward traffic over the default gateway and onto a propper DNS server.

Theres little point running a DNS server on your 1st pc :)

Although its for a BB account, you do realise that if the 1st pc is switched off or the wireless connection breaks both PC's will loose their network connectivity.
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
Anny said:
new dlink wireless pci cards start from about £15 UK and the antennas are a lot smaller than youd realise


it would also take about 5 mins to set up everything lol

Yeh I know; I already have all that (but Linksys) on the main PC.

Was just wondering if I could do it what what I already have instead of forking out cash.
 

scorge

Fledgling Freddie
Joined
Sep 13, 2004
Messages
2,721
Troubleshooting Common Internet Access Configuration Problems

he Internet Connection Sharing computer is not properly configured for name resolution. If computers on the remote office network cannot resolve names to IP addresses, you might need to configure the DNS name resolution services on the ICS host computer. Check the name resolution configuration of the ICS host computer by using the ipconfig command.

If your remote office accesses the Internet through an ISP, there are two ways that your ISP can configure name resolution:

* Statically assigning name servers.

You must manually configure the TCP/IP protocol with the IP address (or addresses) of the name servers provided by the ISP. If you have statically assigned name servers, you can run the ipconfig command at any time to get the IP addresses of your configured name servers.
* Dynamically assigning name servers.

Manual configuration is not required. The IP addresses of the name servers provided by the ISP are dynamically assigned whenever you dial the ISP. If you have dynamically assigned name servers, you must run the ipconfig command after a connection to the ISP has been made.

http://www.microsoft.com/resources/...Windows/XP/all/reskit/en-us/prcg_cnd_wpdb.asp
 

Anny

Fledgling Freddie
Joined
Nov 15, 2004
Messages
223
nps if you want ill sell you one (new and boxed) i have 2 here atm i dont use

50p sound ok to you ? :)
 

eggy

Fledgling Freddie
Joined
Feb 3, 2004
Messages
5,283
Tears said:
You may as well set the DNS server on the 2nd pc to be your main DNS server (ISP one?) it will forward traffic over the default gateway and onto a propper DNS server.

Theres little point running a DNS server on your 1st pc :)

Although its for a BB account, you do realise that if the 1st pc is switched off or the wireless connection breaks both PC's will loose their network connectivity.

Yeh I'm aware :) I only need buffbot account if main one is on :p Besides, they're always on.
 

scorge

Fledgling Freddie
Joined
Sep 13, 2004
Messages
2,721
Let me know if you need more help eggy with the woes of routing over ICS :mad:

ICS is about as user friendly as bill gates at a UNIX conference

:m00:
 

Agent Davidov

Fledgling Freddie
Joined
Dec 30, 2003
Messages
17
Rather than use PC1 as a router would it be possible to set up another WAP/Router to form a bridge?

i.e...

modem - router - repeater - router

If needed plug a switch/hub into the final router and then PC1, PC2, etc into the switch. That way you are not reliant on PC1 being up to use PC2 (plus it should scale better when you want to add PC3/print server/etc.)
 

Users who are viewing this thread

Top Bottom