ad hoc wireless network problems

  jpgalea 11:38 06 Aug 2006
Locked

I am trying to share an internet connection from a pc to a laptop. The pc is already conencted to another pc via ethernet, and therefore i want to add another wireless connection to my laptop. I installed a wireless usb adapter on the pc and configured the pc and laptop with same SSID as shown in click here

however while the laptop is showing the network as available the pc does not show any wireless network, and connection from laptop to pc fails when i try to connect. what could be the problem ? thanks

  mgmcc 12:11 06 Aug 2006

Firstly, if you have one "host" PC connected via a modem to the internet and are using "Internet Connection Sharing" to provide internet access to a "client" PC, in order to add an additional "client" PC wirelessly, you need to be running Windows XP in the "host" PC and you need to "bridge" the two network adapters - the Local Area Connection and the Wireless Network Connection.

1) In the Network Connections folder, right click the actual internet connection (modem connection), select Properties and then the Advanced tab. Untick the box "Allow other network users... etc" and click OK.

2) Highlight the Local Area Connection and the Wireless Network Connection, right click and select "Bridge Connections".

3) Reverse step (1). Right click the actual internet connection (modem connection), select Properties and then the Advanced tab. Tick the box "Allow other network users... etc" and click OK.

The Network Bridge will now have the IP address 192.168.0.1 subnet mask 255.255.255.0 and the individual adapters no longer have an individual IP address. Both "client" PCs should get their IP addresses automatically from the "host" PC via the bridged network adapters.

<<< however while the laptop is showing the network as available the pc does not show any wireless network >>>

Is the PC's Wireless Network Adapter definitely configured to work in "Ad Hoc" mode (which some manufacturers call peer-to-peer mode)? If so, try disabling and re-enabling the adapter to see if it finds the Ad Hoc network. It can be very fiddly to get an adapter to find an Ad Hoc network initially, a reboot might also help to find it.

  jpgalea 12:58 06 Aug 2006

yes everything was configured as you explained and the pc's adapter is configured as ad=hoc as well....still doesnt work though :(

  mgmcc 15:33 06 Aug 2006

What doesn't work - getting the computers to connect via the Ad Hoc network or getting internet access once connected?

  jpgalea 15:40 06 Aug 2006

ok now got the laptop connected to the pc, both pcs have default gateway 192.168.0.1 and pinging, laptop same and pinging too. However internet is not working on the other pc and the laptop, only works on the host pc.

  jpgalea 10:02 07 Aug 2006

any tentative solutions? thx

  mgmcc 11:48 07 Aug 2006

What addresses (IP, Default Gateway and DNS Server) do the two "client" PCs have?

In fact, in each PC, if you run IPCONFIG /ALL, right click in the Command Prompt window and "Select All", then press Enter, the contents will be copied to the clipboard. Paste the contents into a reply here. (If necessary, copy the details for the "client" PCs into a Notepad file and transfer it to the PC that does have internet access.)

I assume that any firewall software has been correctly configured to allow access to the networked computers? Also, if using Zone Alarm in the "host" PC, the Internet Zone Security level must be reduced from High to Medium or ICS traffic will be blocked.

  jpgalea 18:04 07 Aug 2006

host pc

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Jean>ipconfig

Windows IP Configuration


Ethernet adapter Network Bridge (Network Bridge) 6:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter ADSL Modem:

Connection-specific DNS Suffix . : lan
IP Address. . . . . . . . . . . . : 10.0.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.138

PPP adapter maltanet adsl:

Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 195.158.71.12
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 195.158.71.12

Laptop Client

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\user>ipconfig

Windows IP Configuration


Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . : mshome.net
IP Address. . . . . . . . . . . . : 192.168.0.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected

firewalls are off

  jpgalea 18:14 07 Aug 2006

Host PC

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

E:\Documents and Settings\Jean>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : JEAN
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : Yes
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : lan

Ethernet adapter Network Bridge (Network Bridge) 6:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : MAC Bridge Miniport
Physical Address. . . . . . . . . : 02-0C-76-62-5C-2F
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :

Ethernet adapter ADSL Modem:

Connection-specific DNS Suffix . : lan
Description . . . . . . . . . . . : VIA Rhine III Fast Ethernet Adapter
Physical Address. . . . . . . . . : 00-40-F4-5F-9C-3F
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 10.0.0.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 10.0.0.138
DHCP Server . . . . . . . . . . . : 10.0.0.138
DNS Servers . . . . . . . . . . . : 10.0.0.138
Lease Obtained. . . . . . . . . . : It-Tnejn, 7 ta' Awissu 2006 18:29:56

Lease Expires . . . . . . . . . . : It-Tnejn, 7 ta' Awissu 2006 20:29:56


PPP adapter maltanet adsl:

Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 195.158.71.12
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 195.158.71.12
DNS Servers . . . . . . . . . . . : 194.158.37.196
194.158.37.211
NetBIOS over Tcpip. . . . . . . . : Disabled

---------------------------------------------

Laptop

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\user>ipconfig /all

Windows IP Configuration

Host Name . . . . . . . . . . . . : JEANLTP
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Mixed
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : mshome.net

Ethernet adapter Wireless Network Connection:

Connection-specific DNS Suffix . : mshome.net
Description . . . . . . . . . . . : Intel(R) PRO/Wireless 2200BG Network
Connection
Physical Address. . . . . . . . . : 00-13-CE-F1-EB-D4
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 192.168.0.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DHCP Server . . . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
Lease Obtained. . . . . . . . . . : Monday, August 07, 2006 7:14:52 PM
Lease Expires . . . . . . . . . . : Monday, August 14, 2006 7:14:52 PM

Ethernet adapter Local Area Connection:

Media State . . . . . . . . . . . : Media disconnected
Description . . . . . . . . . . . : Realtek RTL8139/810x Family Fast Eth
ernet NIC
Physical Address. . . . . . . . . : 00-03-0D-43-E9-E1

C:\Documents and Settings\user>

----------------------------------------------

  mgmcc 19:31 07 Aug 2006

Those settings appear to be OK, the laptop has got its IP address and you should have internet access, provided any firewall software is correctly configured.

You could try allocating fixed DNS Server addresses in the laptop. In the Network Connections folder, right click the Wireless Network Connection and select properties. Highlight "Internet Protocol (TCP/IP)" and click the Properties button. Leave the IP address setting as it is, but click "Use the following DNS server addresses" and enter those which have been allocated by the ISP to your "host" PC - 194.158.37.196 and 194.158.37.211 - and see if that helps.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

These brilliant Lego posters show just what children's imaginations are capable of

Mac power user tips and hidden tricks

Comment réinitialiser votre PC, ordinateur portable ou tablette Windows ?