Learning has never been so easy!
If you have a wireless network in your office, you may have experienced something similar to the following:
1) You are unable to ping a hardwired laptop via host name because DNS is resolving it to it's wireless address, which is no longer is use.
2) Your laptop, even though hardwired, is still only communicating via the slower wireless connection.
3) Your network scanning tool (Enterprise Anti Virus, Spiceworks, nMap, Nagios, etc..) fails to scan the NIC address of a workstation, even though it has an active IP address. You find that turning off wireless, forcing the workstation to re-register DNS (ipconfig /registerdns), and flushing the DNS cache on the network scanning server (ipconfig /flushdns) enables it to once again scan the workstation. Filmconvert pro for adobe photoshop 1 07 2017.
2) Your laptop, even though hardwired, is still only communicating via the slower wireless connection.
3) Your network scanning tool (Enterprise Anti Virus, Spiceworks, nMap, Nagios, etc..) fails to scan the NIC address of a workstation, even though it has an active IP address. You find that turning off wireless, forcing the workstation to re-register DNS (ipconfig /registerdns), and flushing the DNS cache on the network scanning server (ipconfig /flushdns) enables it to once again scan the workstation. Filmconvert pro for adobe photoshop 1 07 2017.
This article outlines several different How-To's. It may not be necessary to use every one in your situation. Read through each step and determine for yourself if this step needs to be implemented in your network.
6 Steps total
Find available wireless networks in Windows Depending on your network connection, the network icon will either appear as a computer monitor and network cable, or as five ascending bars. Under 'Wi-Fi' or 'Wireless Network Connection', you'll see a list of the wireless networks in your area. Vendor – A wireless network provider. Wifi Channels – A wifi channel is where wifi networks exchange data (Channels 6 and 11 are where most routers exchange data). Wireless Access Point (WAP) – A hardware device or configured node on a local area network that allows wireless devices to connect through wifi and Bluetooth connections.
Wireless sensor network (WSN) is one of the most promising technologies for some real-time applications because of its size, cost-effective and easily deployable nature. The job of WSN is to monitor a field of interest and gather certain information and transmit them to the base station for post data analysis 3, 4. 192.168.8.102 Here you can find all lookup results for private IP address 192.168.8.102.If you are trying to find how to login to your internet router, modem or wireless access point, you can access the built-in html webpage by clicking the following link for http or https.
Step 1: Use LAN only when connected to wired and wirelss - fully automated method
This step assumes Windows 2003/2008 is your DHCP server for your Wireless network. Raising the wireless gateway metric to a value greater than your LAN metric will force traffic to use the lower metric.
Istumbler 103 36 – Find Local Wireless Networks Phone Number
a) Right click Scope Options on your wireless scope and choose 'Configure Options'.
b) Click 'Advanced' tab.
c) For Vendor Class, choose 'Microsoft Windows 2000 Options'
d) Put a check in '003 Microsoft Default Router Metric Base'
e) Set a value fit for your situation. I use 0x1f4 which gives it a metric of 525, which is higher than all other network metrics we use.
b) Click 'Advanced' tab.
c) For Vendor Class, choose 'Microsoft Windows 2000 Options'
d) Put a check in '003 Microsoft Default Router Metric Base'
e) Set a value fit for your situation. I use 0x1f4 which gives it a metric of 525, which is higher than all other network metrics we use.
You can repeat the above steps for all your WIRED scopes, giving them a value of 0 for the metric. This is the BASE VALUE of 10. This is only needed IF your base value is greater than 10 (you can see the value by running 'route print' from the command line).
For more information, see http://technet.microsoft.com/en-us/library/cc782411%28WS.10%29.aspx, do a search on page for 'default router metric base'.
Step 2: Use LAN only when connected to wired and wirelss - Scripted
This step is only necessary when configuring the wireless gateway metric is not available (e.g., When your DHCP server for your wireless network is NOT a Windows Server). It involves deploying a Login script via Group Policy.
a) Download the script attached to this step (should be to the right).
b) Save it to a network share where the whole domain has READ & EXECUTE permissions.
c) Create a Group Policy Object attached to the OUs that contain your laptops, and deploy as a log in script. Detailing how to do this is beyond the scope of this article. Please see http://community.spiceworks.com/how_to/show/990-how-to-add-vbs-to-group-policy-logon.
b) Save it to a network share where the whole domain has READ & EXECUTE permissions.
c) Create a Group Policy Object attached to the OUs that contain your laptops, and deploy as a log in script. Detailing how to do this is beyond the scope of this article. Please see http://community.spiceworks.com/how_to/show/990-how-to-add-vbs-to-group-policy-logon.
TIP - Good OU organization is critical! Please refer to http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/ for OU best practice organization.
90e01321a735da8f0d478767e6634256f11e546ea14cdf75211f24a3f10f2cc2_ChangeWirelessRouteMetric.vbs
Step 3: Use LAN only when connected to wired and wirelss - Manual
This step shows you how to manually change the router metric when you have only a handful of computers, or your situation prevents you from using the above steps.
a) Open Network connections
b) Right click on your wireless network connection, and choose Properties.
c) Highlight Internet Protocol Version 4 (TCP/IPv4) and choose properties. Note - The wording will be slightly different in XP.
d) Click 'Advanced' button.
e) Uncheck 'Automatic Metric' and put a value higher than your LAN gateway metric. I use 500.
f) click OK, OK, close.
g) Verify route metric by running command, 'route print'.
b) Right click on your wireless network connection, and choose Properties.
c) Highlight Internet Protocol Version 4 (TCP/IPv4) and choose properties. Note - The wording will be slightly different in XP.
d) Click 'Advanced' button.
e) Uncheck 'Automatic Metric' and put a value higher than your LAN gateway metric. I use 500.
f) click OK, OK, close.
g) Verify route metric by running command, 'route print'.
Step 4: Disable Wireless when a Wired connection is detected - BIOS setting
This step details best practice methods for disabling the wireless radio on a wireless connection only when a wired connection is active. This is a BIOS setting, as such it is dependent on your workstation's BIOS allowing you to do this!
DELL Latitude Model E6420 and above (not available on 6410 and below!)
a) Enter BIOS settings by pressing F2 on boot-up (On the Dell splash screen).
b) Expand Power Management on the left and select, 'Wireless Radio Control'.
c) Put a check mark in 'Control WLAN Radio' and hit Enter.
a) Enter BIOS settings by pressing F2 on boot-up (On the Dell splash screen).
b) Expand Power Management on the left and select, 'Wireless Radio Control'.
c) Put a check mark in 'Control WLAN Radio' and hit Enter.
HP
a) Enter BIOS.
b) Find it yerself! We don't have HPs here :) I have been told that it's a setting called 'Enable LAN/WLAN switching'.
a) Enter BIOS.
b) Find it yerself! We don't have HPs here :) I have been told that it's a setting called 'Enable LAN/WLAN switching'.
Step 5: Disable Wireless when a Wired connection is detected - Scripted
Youtube music app. I am assuming I don't need to be super detailed with how to create tasks in Windows. If this doesn't make sense, pause..google for answers..resume.
a) Create a new task that triggers on System Log Event ID 32 (gigabit networks) or 33 (Megabit networks), from source e1cexpress. This will start a script that disables your wireless adapters. Save the file attached at this step and read the comments.
b) Create a second task that triggers on System Log Event ID 27, from source e1cexpress. This will start the script that enables your wireless adapters.
c) Run these tasks as user: SYSTEM.
d) In the Settings tab of both tasks, Only check 'Allow task to be run on demand'.
e) In the Conditions tab, Uncheck everything.
b) Create a second task that triggers on System Log Event ID 27, from source e1cexpress. This will start the script that enables your wireless adapters.
c) Run these tasks as user: SYSTEM.
d) In the Settings tab of both tasks, Only check 'Allow task to be run on demand'.
e) In the Conditions tab, Uncheck everything.
You may have different event IDs and source. To know the correct values you need, open Windows' System Event Log. Plug and Unplug a network cable. Refresh the event log and you should see several new events. Search through them and find the correct Event IDs and source to use in the task creation.
When you manually run these tasks, you will see that they fail wuth error code (0x1) in the 'Last Run Result' Column of task scheduler. This is because you do not have all those different Wireless connections listed in the script, but if you look at your network connections, you should see that the wireless adapter is now disabled.
EXTRA CREDIT!
Deploy this as a Group Policy Object and automate this step! This is beyond the scope of this article. I will however refer you to http://bit.ly/Q1DDoz
Deploy this as a Group Policy Object and automate this step! This is beyond the scope of this article. I will however refer you to http://bit.ly/Q1DDoz
HINT - If you create a GPO for this using Group Policy Preferences > Scheduled Tasks, you will not be able to select source ec1express from the 'source' dropdown box until you manually create that source and add it to that list. You can do this by running this command:
eventcreate /ID 27 /L SYSTEM /T WARNING /SO e1cexpress /D 'whatever'
wait a short moment, and THEN try to create the tasks.
Also, please note that on our network, some users did not generate events from source e1cexpress, but from e1kexpress and e1yexpress. You'll need to create those as well and any others you may see.
132b4d7274eb86b83e55bf402fe4f31be8b1e1c8fd69a43762803006e4b85c41_wifi-disable.bat
Step 6: Seperate your wireless network range from your wired network range
It is best practice to separate your wireless IP address ranges from your internal wireless network ranges. You should do this.
This has made my network of over 200 wireless users and 150+ wired users so much more friendly with each other. Feel free to draw your own conclusions, however.
This article came from me needing an answer to a question I posted here: http://community.spiceworks.com/topic/264065-disable-wireless-when-docked-enable-when-undocked?page=1#entry-1685485
Many thanks to those that replied, including:
http://community.spiceworks.com/profile/show/Dave%20Boring
http://community.spiceworks.com/profile/show/Alex3031
http://community.spiceworks.com/profile/show/Ken6505
http://community.spiceworks.com/profile/show/Alex3031
http://community.spiceworks.com/profile/show/Ken6505
Published: Oct 05, 2012 · Last Updated: Nov 14, 2012
Istumbler 103 36 – Find Local Wireless Networks Unlimited
References
- 1) DHCP Tools and Settings
How To Find Local Wireless Networks
38 Comments
- Macehsc5775 Oct 5, 2012 at 06:47pminteresting
good work
thx for share - DatilSnifferSir Oct 5, 2012 at 08:08pmGood tips. Like the alternate methods for accommodating varying scenarios.
- DatilJustSayin Oct 8, 2012 at 01:02pmExcellent write-up, Thanks. Submitting my WiFI budget requirements soon. We might actually have to deal with this next year and this is great info.
- Habaneroutsec.net Oct 8, 2012 at 02:00pm@JustSayin - You may consider WAPs that can authenticate via RADIUS or Active Directory.
- HabaneroJohn6020 Oct 8, 2012 at 02:38pmThanks for the heads up. That explains something which has been niggling away for a little while now.
- CayenneViper One Nov 12, 2012 at 01:58pmI'm Loving it. My boss gave me this task recently and I managed to sort this straight away with this write up :D Thanks for nice tip
- Habaneroutsec.net Nov 12, 2012 at 05:11pm@Viper One - That is awesome! I love it, glad it helped!On that note, if anyone has any outside the box fixes for wireless issues relating to a mixed wireless/wired network, feel free to post here, or PM me directly so I can add them here. I imagine I will just keep them all here in one place, rather than new posts each time.
- Habaneroutsec.net Nov 12, 2012 at 05:20pmAdded a Note to the end of step 5 regarding the events that get generated when plugging or unplugging the NIC.
- Macemolan Nov 12, 2012 at 07:54pmVery cool, and so simple using DHCPThanks!
- Serranodemo Nov 12, 2012 at 10:10pmVery useful. It's great that you've covered several scenarios.
- SerranoOrbital Nov 13, 2012 at 04:15amGood stuff.Continuing #6, do you know of a decent guide for segmenting these with Windows DHCP and basic APs?
- SonoraAaron Mason Nov 13, 2012 at 05:24amNever thought of using Task Scheduler to trigger on events. I have a script that runs in the background constantly, but as it runs as a login script it doesn't trigger when off the network, resulting in a laptop with no wireless connectivity when the (usually luddite) user gets home. It still seems to result in that, but at least it's an easy fix going forward. Mainstage 3 3 3 1.
- Habaneroutsec.net Nov 13, 2012 at 05:30am@Orbital - Well, the absolute most simple and basic setup would be something like, if your wired network address is 192.168.0.0/24, then use any other private IP range for your wireless than that address. For example, 192.168.1.0/24. Then route the 2 networks together, and build firewall rules between the 2 networks as needed. If you have a more complicated setup in mind, or are looking for more information, it might be a really good idea to post a question to the community as it's a little outside the scope of this guide. If you did post a question, you'd get TONS of feedback as there are a lot of members subscribed to the 'wireless' group. Hope that helps.
- Poblano_Rich_v_ Nov 13, 2012 at 12:51pmhttp://www.wirelessautoswitch.com/ We use wireless autoswitch, a very easy, affordable solution. There are various configuration options, but we use the basic, if the Ethernet port is connected, disable wireless, if not, enable wireless.
- SerranoOrbital Nov 13, 2012 at 02:55pm@power, thanks.
it's a mixed blessing - TONS of feedback because everybody has an opinion, I have mine too, thus a nice tidy write-up like yours on this topic would be nice. I have a client that I cannot segment the network physically and route, nor can I rely on VLANs.anyhow, again, great little how-to!
Istumbler 103 36 – Find Local Wireless Networks Network
- 1
- 2
- 3