Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Wireless problems  (Read 8353 times)

0 Members and 1 Guest are viewing this topic.

scamp3

    Topic Starter


    Starter

    Wireless problems
    « on: October 22, 2009, 12:18:23 AM »
    Hello everybody,

    I am having a problem, I am currently running two xp machines that are connected together via a crossover cable, this bit works fine as I am able to transfer files between the two with ease. The problem is I am using a wireless adapter that connects to our main router to get internet. When LAN connection is plugged in I can connect the wireless but the internet won't work. but when I disconnect the LAN the internet works. Anybody know how I can use them both at the same time. Any help will be appreciated.

    dahlarbear



      Specialist

      Thanked: 101
      Re: Wireless problems
      « Reply #1 on: October 22, 2009, 01:31:56 AM »
      1.  Better Option.  If you have a wireless home router, get a second wireless adapter so both Windows XP machines may communicate with each other and/or the internet through the home router box.  Forget the "crossover" connection.

      2.  Internet Connection Sharing (ICS).  The type of internet connection you're describing is known as ICS.  Here are some specific reference(s):
          Internet Connection Sharing (ICS) in Microsoft Windows
          Troubleshooting Internet Connection Sharing on Microsoft Windows XP

      3.  General References.
          Home Network, Wireless Network and Computer Networking Made Easy

          Get connected with Windows XP networking
          Setting up your network
          Securing your network
          Using and maintaining your network

      dahlarbear



        Specialist

        Thanked: 101
        Re: Wireless problems
        « Reply #2 on: October 22, 2009, 03:29:22 AM »
        For the computer attempting to share the internet connection; bring up a command prompt window (Start -> Run -> type "cmd" without quotes, select OK), enter the following commands, and "post" the output to this thread:
             o  ipconfig /all
             o  route print

        Please submit reply for:
             o  LAN disconnected
             o  LAN connected

        The following syntax will redirect command output to a text file (if that helps):
             o  ipconfig /all > c:\ipconfig.txt
             o  route print > c:\route.txt
        « Last Edit: October 23, 2009, 01:15:01 AM by dahlarbear »

        scamp3

          Topic Starter


          Starter

          Re: Wireless problems
          « Reply #3 on: October 23, 2009, 12:25:05 AM »
          After typing in IP Config /all I get:

          Windows IP Configuration

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

          Ethernet adapter Local Area Connection:

                  Media State . . . . . . . . . . . : Media disconnected
                  Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
          Controller (3C905C-TX Compatible)
                  Physical Address. . . . . . . . . : 00-06-5B-7D-95-1F

          Ethernet adapter Wireless Network Connection 7:

                  Connection-specific DNS Suffix  . : lan
                  Description . . . . . . . . . . . : XH9947 DSE WLAN 802.11g USB 2.0 Adaptor #3
                  Physical Address. . . . . . . . . : 00-21-27-C1-10-E1
                  Dhcp Enabled. . . . . . . . . . . : Yes
                  Autoconfiguration Enabled . . . . : Yes
                  IP Address. . . . . . . . . . . . : 192.168.1.65
                  Subnet Mask . . . . . . . . . . . : 255.255.255.0
                  Default Gateway . . . . . . . . . : 192.168.1.254
                  DHCP Server . . . . . . . . . . . : 192.168.1.254
                  DNS Servers . . . . . . . . . . . : 192.168.1.254
                  Lease Obtained. . . . . . . . . . : Friday, October 23, 2009 7:14:18 PM
                  Lease Expires . . . . . . . . . . : Saturday, October 24, 2009 7:14:18 PM


          AND when I type route -print I get this:


          ===========================================================================
          Interface List
          0x1 ........................... MS TCP Loopback interface
          0x2 ...00 06 5b 7d 95 1f ...... 3Com 3C920 Integrated Fast Ethernet Controller (
          3C905C-TX Compatible) - Packet Scheduler Miniport
          0x30004 ...00 21 27 c1 10 e1 ...... XH9947 DSE WLAN 802.11g USB 2.0 Adaptor #3 -
           Packet Scheduler Miniport
          ===========================================================================
          ===========================================================================
          Active Routes:
          Network Destination        Netmask          Gateway       Interface  Metric
                    0.0.0.0          0.0.0.0    192.168.1.254    192.168.1.65       25
                  127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
                192.168.1.0    255.255.255.0     192.168.1.65    192.168.1.65       25
               192.168.1.65  255.255.255.255        127.0.0.1       127.0.0.1       25
              192.168.1.255  255.255.255.255     192.168.1.65    192.168.1.65       25
                  224.0.0.0        240.0.0.0     192.168.1.65    192.168.1.65       25
            255.255.255.255  255.255.255.255     192.168.1.65               2       1
            255.255.255.255  255.255.255.255     192.168.1.65    192.168.1.65       1
          Default Gateway:     192.168.1.254
          ===========================================================================
          Persistent Routes:
            None
          « Last Edit: October 23, 2009, 01:18:03 AM by scamp3 »

          scamp3

            Topic Starter


            Starter

            Re: Wireless problems
            « Reply #4 on: October 23, 2009, 01:15:32 AM »
            OH sorry and also with the lan connected:

            Windows IP Configuration

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

            Ethernet adapter Local Area Connection:

                    Connection-specific DNS Suffix  . :
                    Description . . . . . . . . . . . : 3Com 3C920 Integrated Fast Ethernet
            Controller (3C905C-TX Compatible)
                    Physical Address. . . . . . . . . : 00-06-5B-7D-95-1F
                    Dhcp Enabled. . . . . . . . . . . : No
                    IP Address. . . . . . . . . . . . : 192.168.1.1
                    Subnet Mask . . . . . . . . . . . : 255.255.255.0
                    Default Gateway . . . . . . . . . :

            Ethernet adapter Wireless Network Connection 7:

                    Connection-specific DNS Suffix  . : lan
                    Description . . . . . . . . . . . : XH9947 DSE WLAN 802.11g USB 2.0 Adaptor #3
                    Physical Address. . . . . . . . . : 00-21-27-C1-10-E1
                    Dhcp Enabled. . . . . . . . . . . : Yes
                    Autoconfiguration Enabled . . . . : Yes
                    IP Address. . . . . . . . . . . . : 192.168.1.65
                    Subnet Mask . . . . . . . . . . . : 255.255.255.0
                    Default Gateway . . . . . . . . . : 192.168.1.254
                    DHCP Server . . . . . . . . . . . : 192.168.1.254
                    DNS Servers . . . . . . . . . . . : 192.168.1.254
                    Lease Obtained. . . . . . . . . . : Friday, October 23, 2009 8:13:03 PM
                    Lease Expires . . . . . . . . . . : Saturday, October 24, 2009 8:13:03 PM


            ROUTE PRINT:


            ===========================================================================
            Interface List
            0x1 ........................... MS TCP Loopback interface
            0x2 ...00 06 5b 7d 95 1f ...... 3Com 3C920 Integrated Fast Ethernet Controller
            3C905C-TX Compatible) - Packet Scheduler Miniport
            0x30004 ...00 21 27 c1 10 e1 ...... XH9947 DSE WLAN 802.11g USB 2.0 Adaptor #3
             Packet Scheduler Miniport
            ===========================================================================
            ===========================================================================
            Active Routes:
            Network Destination        Netmask          Gateway       Interface  Metric
                      0.0.0.0          0.0.0.0    192.168.1.254    192.168.1.65       25
                    127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
                  192.168.1.0    255.255.255.0      192.168.1.1     192.168.1.1       20
                  192.168.1.0    255.255.255.0     192.168.1.65    192.168.1.65       25
                  192.168.1.1  255.255.255.255        127.0.0.1       127.0.0.1       20
                 192.168.1.65  255.255.255.255        127.0.0.1       127.0.0.1       25
                192.168.1.255  255.255.255.255      192.168.1.1     192.168.1.1       20
                192.168.1.255  255.255.255.255     192.168.1.65    192.168.1.65       25
                    224.0.0.0        240.0.0.0      192.168.1.1     192.168.1.1       20
                    224.0.0.0        240.0.0.0     192.168.1.65    192.168.1.65       25
              255.255.255.255  255.255.255.255      192.168.1.1     192.168.1.1       1
              255.255.255.255  255.255.255.255     192.168.1.65    192.168.1.65       1
            Default Gateway:     192.168.1.254
            ===========================================================================
            Persistent Routes:
              None

            dahlarbear



              Specialist

              Thanked: 101
              Re: Wireless problems
              « Reply #5 on: October 23, 2009, 03:26:18 AM »
              1.  Route Command Syntax.  Sorry, I gave you the wrong syntax.  Should have been "route print" not "route -print".

              2.  There are at least three different options for giving the second Windows XP computer access to both the first Windows XP and the internet:
                   o  Connect each Windows XP computer via their own wireless adapter to main router (which has infrastructure wireless access point built in?).
                   o  First Windows XP computer with two network adapters (one wired, one wireless) connects two different LANs as a router using ICS.
                   o  First Windows XP computer with two network adapters (one wired, one wireless) configured as a network bridge to connect two LAN segments into a single LAN (using ICS?).

              3.  Best Option.  If each Windows XP computer connects to main router (using wireless adapters if you can't connect directly via wire), they're completely independent of each other yet can still be configured to talk with each other and the internet.  They don't both have to be powered on, so second machine can access internet through first machine.  It's also the simplest to setup and configure, as well as maintaining flexibility.  Their wireless adaptor connections can be set to automatically get their TCP/IP configuration from any available DHCP server.  You just have to match the security parameters of the wireless access point to connect.

              4.  Current Configuration.  It doesn't appear to be setup correctly for the host ICS machine acting as a router and I've never used ICS on host machine acting as a network bridge (but I can do some reading).

              By design, the host ICS computer using Windows XP (as router) is supposed to assign IP address "192.168.0.1" to the shared LAN connection.  That's not what I'm seeing in the data you provided, so I'm a little confused.  You're showing "192.168.1.1" on wired adapter which places it in the same network as "192.168.165" of wireless adapter which suggests the host ICS computer is a network bridge (I need to do some research).

              Did you use the "Network Setup Wizard" to setup the ICS ?  I've always set it up manually.

              Is there a "Network Bridge Connection" icon on the host ICS computer (first Windows XP machine) ?  See Setting Up Network Bridge in Windows XP.

              Do other people or computers use the main router ?  In other words, can we reconfigure the main router parameters if necessary (LAN IP address range, Enable/Disable DHCP server function) ?

              dahlarbear



                Specialist

                Thanked: 101
                Re: Wireless problems
                « Reply #6 on: October 25, 2009, 06:59:47 AM »
                1.  Network Bridge Connection.  Using the "crossover" cable to connect two Windows XP computers, I think you want to configure computer with two network adapters (one wired, one wireless) as a network "bridge".  For this configuration, you would NOT configure the computer for Internet Connection Sharing (ICS).

                2.  In the bridge configuration, can the bridge computer access the internet while the LAN is connected (second computer) ?

                3.  From bridge computer, use ping utility to ping toward the internet.  From command window (Start -> Run -> type "cmd" without quotes, then hit Enter), try the following commands:
                     a.  ping 127.0.0.1                        # Verifies TCP/IP software stack
                     b.  ping 192.168.1.65                   # Access your wireless network adapter
                     c.  ping  192.168.1.1                   # Access your wired network adapter
                     d.  ping 192.168.1.254                 # Access "gateway" for your LAN
                     e.  ping 69.72.169.241                # IP address of www.computerhope.com
                     f.  ping www.computerhope.com   # FQDN of www.computerhope.com
                     g.  ping www.msn.com                # FQDN of www.msn.com

                Please report the "ping" results.  Successful or error/status message if not.

                scamp3

                  Topic Starter


                  Starter

                  Re: Wireless problems
                  « Reply #7 on: October 27, 2009, 12:32:28 AM »
                  Sorry for the late reply...


                  The original problem I was having was the first computer can't connect with the inter net when the second computer is connected then when the cable is unplugged the internet works.

                       a.  ping 127.0.0.1                      SUCEEDED NO PACKETS LOST
                       b.  ping 192.168.1.65                 SUCEEDED NO PACKETS LOST
                       c.  ping  192.168.1.1                  SUCEEDED NO PACKETS LOST
                       d.  ping 192.168.1.254                REQUEST TIMED OUT - 100% LOSS
                       e.  ping 69.72.169.241                SUCEEDED NO PACKETS LOST
                       f.  ping www.computerhope.com   REQUEST TIMED OUT - 100% LOSS
                       g.  ping www.msn.com                REQUEST TIMED OUT - 100% LOSS

                  When I tried the addresses www.computerhope.com and msn.com with the cable unplugged it succeeded

                  Thanks

                  dahlarbear



                    Specialist

                    Thanked: 101
                    Re: Wireless problems
                    « Reply #8 on: October 27, 2009, 08:20:31 AM »
                    The LAN side of main router (at IP address 192.168.1.254) is supplying the following services for your local area network (LAN):

                         o  Default Gateway
                         o  DHCP Server
                         o  DNS Server

                    When you ping the numeric IP address, 69.72.169.241, for ComputerHope; the
                    routing table within the "pinging" computer has no specific route for that address so it uses the default route identified in route table by a Network Destination and Netmask of "0.0.0.0  0.0.0.0".  The default route sends it to 192.168.1.254 (default gateway to get off your LAN) through interface 192.168.1.65 (your wireless network adapter).

                    This ping is successful both with or without wired LAN adapter connected because there's no ambiguity in the route table.  There's only one default route entry.  (Note:  You should be able to access ComputerHope website in browser by typing "http://69.72.169.241" in address field).

                    When you ping a Fully Qualified Domain Name (FQDN) of a website which is not in your local DNS cache or hosts file such as "www.computerhope.com" or "www.msn.com"; your computer submits a Domain Name System (DNS) resolution request to the DNS server (192.168.1.254) to translate the FQDN to a numeric IP address.

                    With wired LAN adapter disconnected, the route table uses Network Destination 192.168.1.0 whose gateway is 192.168.1.65 through interface 192.168.1.65.  Again, the DNS resolution request is successfully sent because there's no ambiguity in the route.  (And you have internet access).

                    With wired LAN adapter connected, the route table picks up several additional entries.  One of these is another entry for Network Destination 192.168.1.0 whose metric is 20 (lower than 25, so it's considered better route than original).  Now when your computer submits a DNS resolution request to DNS server 192.168.1.254, I believe the new better route is selected.  Route table says use gateway 192.168.1.1 accessed through interface 192.168.1.1 (wired network adapter).  DNS server isn't on that route, so www.computerhope.com or whatever never gets resolved to a numeric IP address and browser doesn't know where to connect (so you have no internet).

                    To test this theory, modify route table when wired network adapter is connected.  Try one of the following three options starting at the top:
                         a.  Add specific route for DNS server 192.168.1.254.  Try command:
                    "route ADD 192.168.1.254 MASK 255.255.255.255 192.168.1.65 METRIC 10"

                         b.  Modify the metric for Network Destination 192.168.1.0 to make path through interface 192.168.1.65 better (either lower it or raise value for 192.168.1.1).  Try command:
                    "route CHANGE 192.168.1.0 MASK 255.255.255.0 192.168.1.65 METRIC 10"

                         c.  Delete the dead end route (consequences are unknown).  Try command:
                    "route DELETE 192.168.1.0 MASK 255.255.255.0 192.168.1.1"

                    Doesn't seem like you should be having these problems or have to manually adjust route table.  I'm guessing network isn't setup correctly.  Will try to get back on after I review a tutorial I've bookmarked.  That tutorial suggests best choice when using crossover cable would be to setup a Network Bridge Connection.  Internet Connection Sharing (ICS) should not be used (configured) if you go with the Bridge.

                    I think you could setup ICS, but documentation points out it requires more TCP/IP configuration and maintainence than the Network Bridge.

                    dahlarbear



                      Specialist

                      Thanked: 101
                      Re: Wireless problems
                      « Reply #9 on: November 02, 2009, 06:54:48 AM »
                      1.  See Using Windows XP as a software bridge.  Ignore the fact that their configuration is the reverse of yours:  wire to router, wireless to bridge computer.  Also ignore fact they're using "adhoc" wireless mode; you will want to use "infrastructure" with the wireless access point (within router box?).

                      2.  Persistent Routes.  These routes within the "routing table" persist from one boot to the next.  To create, use the "/p" option with the route "Add" command as in:

                          route /p ADD 192.168.1.254 MASK 255.255.255.255 192.168.1.65 METRIC 10

                      3.  Reference:
                           TCP/IP Troubleshooting: A Structured Approach - Part 2: Troubleshooting Routing Tables

                      4.  Two Subnets.  Here's a slightly different configuration using two subnets instead of one:  Setting up IP forwarding on a Windows network.
                      « Last Edit: November 02, 2009, 07:17:03 AM by dahlarbear »