Link to home
Start Free TrialLog in
Avatar of tegalus
tegalus

asked on

Automatic Switch between LAN and WLAN

Hello. I'm running a HP 8530b Workstation OS XP SP3 which connects to the network via a wired connection (1gb) and a wireless connection using the on board wireless card.

My problem is that when the machine is connected to the docking station (wired), I would like to use the LAN as it is a 1GB connection but when I remove the machine from the dock, switch to the wireless.

If I remove the laptop from the dock, programs such as IE8 and Outlook and Outlook Express will not automatically change over to the WLAN. I have to open up network connections and disable the LAN.

All programs will instantly connect via the wireless.

If I then connect back to the docking station and enable the LAN, the programs will still use the WLAN unless I disable the WLAN.

I really don't want to be disabling the connections every time I have to move away from my desk.

I have tired enabling the LAN/WLAN switching in the BIOS but this just switches off the WLAN when the LAN is connected (via the HP software) and does not work. I still have to disable the WLAN connection for it to switch over.

I have set the Metric of the LAN to 10 and the WLAN to 20 but still it does not switch over to the LAN if the two are both connected but the WLAN was established first.

Any ideas?
Avatar of Darr247
Darr247
Flag of United States of America image

Sorry that I have more questions than answers at this point. :-|

Could you show us the output of
route print
from a CMD window while both adapters are enabled, please?

When you undock are you first using the Start->Undock command in XP?
Or possibly just an eject button or lever on the dock?

What kind of dock is it, by the way?
i.e. does it mate centronics-type connectors on the dock and laptop, or does it connect only via USB?

And by wireless you mean mobile broadband, right?
Like CDMA/EV-DO or GSM/HSDPA;  Not 802.11a, g or n.
WLAN Switching should do what you want...... I use the Intel Proset on my 8510/8530, and once it is undocked, the WLAN switches on, and connets via the Admin profile for the WLAN....

Might give the Proset a looksee.....
Avatar of tegalus
tegalus

ASKER


Could you show us the output of
route print from a CMD window while both adapters are enabled, please?

Please see attached file.
When you undock are you first using the Start->Undock command in XP?
Or possibly just an eject button or lever on the dock?

I just press the lever on the docking station. I don't have the "Un-Dock" option in XP. I looked aroung and set up the reg key to enable it but it is still not shown under the Start Menu. I use the Classic Start Menu style,


What kind of dock is it, by the way?
i.e. does it mate centronics-type connectors on the dock and laptop, or does it connect only via USB?


It uses the connector on the bottom of the laptop. The model is HP Docking Station KP080AA -
http://h10010.www1.hp.com/wwpc/ca/en/sm/WF06c/A1-329290-329229-347699-347699-3676816-3676819.html 

And by wireless you mean mobile broadband, right?
Like CDMA/EV-DO or GSM/HSDPA;  Not 802.11a, g or n.
 
I mean Wireless using the 802.11g and 802.11n system using the Intel ProSet V13.1.1.0 software and the Intel 5300 AGN built in wireless card driver version 13.1.1.1.

Many thanks.

Route-Print.JPG
You can right-click and choose Mark, hold down a shift key while arrowing down/over until everything is selected, and hit Enter to copy to clipboard while in the CMD window, by the way.... then Ctrl+V (or right-click Paste) to put it in notepad or straight to a message. i.e. instead of doing a screen cap.

Anyway, whichever adapter (with the .208 IP) has the metric of '1' in that routing table is going to be the preferred route outside the LAN; .209 in that table has the preference for intranet traffic.  It appears .209 will be the one doing all the broadcast (typically restricted to the LAN by routers and layer 3 switches) and multicast traffic, too.

Did you find the WLAN Switching option in Pro/set that johnb6767 mentioned?

Often there's an option in the driver itself to disable the wireless when an ethernet cable is detected. You could check there if you don't find anything in the Pro/set connection manager.
A couple ways to get to it... from Network Connections, right-click the wireless adapter and choose Properties, then click the Configure button on the General tab. If it exists, that setting should be on the Advanced tab of the wireless card's properties.
Or do Start->Run, devmgmt.msc [Enter]
Expand the Network Adapters entry, and double-click the wireless adapter.

See attached for an example of such a setting, however the Dell laptop I have here with an Intel 5100 card in it does NOT have such a setting in its driver... so please let us know what you find.
WirelessDisabled4cat5.png
Contrarian view:  I understand you point in wanting to do this, but, even if that open application is still using the wireless network, are you really loosing anything?   Outlook and a web browser are unlikely to need 10mb let alone 100 or 1000.   Sure, if you are syncing 20 gigs of offline files you want to make sure you are off the wireless.
I just stopped worry about it on my laptop.
"Did you find the WLAN Switching option in Pro/set that johnb6767 mentioned?"

Calrification.... Intel Proset instead of the HP Util/Windows Service in ADDITION to the WLAN Switching.....   :)
Avatar of tegalus

ASKER

OK Here's a route print from today:


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

C:\Documents and Settings\mark.kennedy>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 21 6a 89 30 a4 ...... Intel(R) WiFi Link 5300 AGN - Packet Scheduler M
iniport
0x10004 ...f4 ce 46 99 ba 3c ...... Intel(R) 82567LM Gigabit Network Connection
#2 - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 175.0.0.254 175.0.0.208 20
0.0.0.0 0.0.0.0 175.0.0.254 175.0.0.209 10
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
169.254.0.0 255.255.0.0 175.0.0.208 175.0.0.208 20
175.0.0.0 255.255.0.0 175.0.0.208 175.0.0.208 20
175.0.0.0 255.255.0.0 175.0.0.209 175.0.0.209 10
175.0.0.208 255.255.255.255 127.0.0.1 127.0.0.1 20
175.0.0.209 255.255.255.255 127.0.0.1 127.0.0.1 10
175.0.255.255 255.255.255.255 175.0.0.208 175.0.0.208 20
175.0.255.255 255.255.255.255 175.0.0.209 175.0.0.209 10
224.0.0.0 240.0.0.0 175.0.0.208 175.0.0.208 20
224.0.0.0 240.0.0.0 175.0.0.209 175.0.0.209 10
255.255.255.255 255.255.255.255 175.0.0.208 175.0.0.208 1
255.255.255.255 255.255.255.255 175.0.0.209 175.0.0.209 1
Default Gateway: 175.0.0.254
===========================================================================
Persistent Routes:
None

C:\Documents and Settings\mark.kennedy>
The 208 IP is the wireless connection and 209 is the wired. These are done via addresss reservation on the DHCP server.
I'm not sure why the 208 has a metric of 1 when it is set to 20 in the TCP/IP properties?
Any Ideas.
I have checked the Intel ProSet software and cannot find the LAN/WLAN switching. It is in the HP BIOS but it does not work.. The Wireless is switched off but the propgrams do not route to the LAN. If I open up network connections and disable the WLAN connection, the programs immedialtley switch to the Wireless.
 
The reason I really want the wireless working is that I do load large programs (AutoDesk Inventor) over the 1GB LAN and then need to move around the building. If I use the Wireless, opening up Inventor projects can be painfully slow.



Avatar of tegalus

ASKER

Sorry I have just re-read my post and made a correction below as I don't seem to be able to edit the post above.
I have checked the Intel ProSet software and cannot find the LAN/WLAN switching. It is in the HP BIOS but it does not work.. The Wireless is switched off but the propgrams do not route to the LAN. If I open up network connections and disable the WLAN connection, the programs immedialtley switch to the LAN.
I think the ProSet utility replaces the windows management of wireless.  I suspect it is also doing the same to the HP utility.   Disabling proset and using windows to manage the wireless lan setting may allow the HP switching to work.  
My experience with WLAN switching....

Dont turn off the WIFI by the switch/button/Intel App..... Just leave it be, and allow the OS to handle it. In the PROSet Util, create a profile (I know it works best for us when we have used Administrative Profiles, which is an option you enable during installation). Once the LAN cable is unplugged, the WIFI activates and connects to the best profile. I think there might also be an option in preferences, to "Automatically connect to a profile"...

Ill confirm tomorrow, just ping back sometimes to remind me.....
Avatar of tegalus

ASKER

Hi. Sorry if this thread has gone quiet. Been working overseas fotr the last couple of weeks. I am using Windows to manage the profiles now and I'll carry out some more tests in the office this week and post the status.
Im sorry, I dropped this one too.....

I wont be back in the office until next week, but I will flag this one so I can investigate once I return......
ASKER CERTIFIED SOLUTION
Avatar of tegalus
tegalus

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.