Friday 26 April 2013

Connect to a Wireless Computer Network (Wifi) Using Command Prompt


At Windows 7 and Vista, there are several enhancements that makes geeky computing great. One of these are WLAN commands to configure your wireless local area network or configure multiple computers using command prompt. Here’s how to connect to a Wifi-Network using command-line program called Netsh.

netsh wlan connect name=tweakui

where tweakui is the name of the wireless network (SSID)…
To unplug the wireless connection

netsh wlan disconnect

The command was very easy, however, in order to use the said tip, you’ll need to create a Network Profile.

How will you make this work?

Easy Way

From the Connection Window located at the right portion of the taskbar, make sure that “Connnect automatically” option is checked and click the "Connect” button. That’s it! It will automatically create a network profile base on its network name or SSID.





How to check if the Network profile is already been created

From “Open Network and Sharing Center” window, click to open “Manage Wireless Networks” Link located at the left pane and make sure that the network profile has been created.



If not, another way is to click the Add option and Manually create the network profile.
Network name:      tweakui
Security type: depends on the network configuration, in this example we’ll use No authentication – which means no passphrase to input before connection.


C:\Users\hp>netsh wlan show interface

There is 1 interface on the system:
    Name                   : Wireless Network Connection
    Description            : Broadcom 802.11g Network Adapter
    GUID                   : 6301e8b5-4429-4504-92e9-e5a4c95bdd46
    Physical address       : 00:25:56:4a:84:96
    State                  : connected
    SSID                   : tweakui
    BSSID                  : 1c:af:f7:28:bc:5c
    Network type           : Infrastructure
    Radio type             : 802.11g
    Authentication         : Open
    Cipher                 : None
    Connection mode        : Profile
    Channel                : 9
    Receive rate (Mbps)    : 54
    Transmit rate (Mbps)   : 54
    Signal                 : 2%
    Profile                : tweakui



Cool right!? Enjoy!



No comments:

Post a Comment