Tag: network setup

Understanding WiFi DIrect

There has been the desire to see IEEE 802.11-based Wi-Fi wireless networking work as one of the many  way of interlinking computer devices without wires.

The standard and preferred practice with this technology is to implement an access point which all data in the wireless-network segment, which is typically connected to an established wired network or the Internet.

But there is a desire to link these devices in a safe and secure way without using a hardware access point or router as an interlinking device. This would lead to a “wireless personal area network” for devices like cameras, printers, network media players and smartphones.

What is Wi-Fi Direct

Kingston Wi-Drive and Android smartphone

The Kingston Wi-Drive in this setting is an example of what Wi-Fi Direct is all about

A Wi-Fi Direct setup requires software in a client device like a computer or smartphone to make it work as an access point using its software. This can be made obvious through a smartphone running a “Wi-Fi tether” mode where it works as a Wi-Fi router using its wireless-broadband service as a WAN.  Similarly, a mobile-NAS device like the Kingston Wi-Drive is effectively supporting this function through the use of its own Wi-Fi access point. Another example is a laptop computer running Inte’s “My Wi-Fi” software to bridge its connection that it has with a public wireless hotspot to an Internet radio in order to allow it to pick up an Internet broadcast stream.

The setup would require that the network be secured using a WPA2-PSK security protocol and is able to be set up using WPS “push-push” or PIN setup methods. They also use UPnP and/or Bonjour to set themselves up for their functionality at higher levels of the protocol stack. This can allow a user to find devices that have particular functions like file transfer, media streaming or printing and is exploited in smartphone applications as a means of rapidly transferring large file clusters.

A Wi-Fi Direct device can host current Wi-Fi-based client devices like most consumer network printers as well as other Wi-Fi Direct devices. As well a cluster of devices hosted by a Wi-Fi Direct device is considered as a Wi-Fi Direct Group. This can represent a one-to-one relationship or a one-to-many relationship with the Wi-Fi Direct.

Some devices like laptops running Intel MyWiFi can be set up to support a concurrent link to a Wi-Fi network such as a home / small-business network or a wireless hotspot while being able to maintain a Wi-Fi Direct cluster.

How to go about using Wi-Fi Direct

Wi-Fi Personal-Area Network concept diagram

If you intend to set up a Wi-Fi Direct group, determine the main computing device that is in the group. This could be a laptop, a tablet or a smartphone that has this functionality. On the other hand, you could use a DLNA-enabled network-attached-storage that supports Wi-Fi Direct as the main device if you are, for example, playing tunes held on the NAS to something like the Sony CMT-MX750Ni music system.

Then enable the Wi-Fi Direct functionality on this device and connect the other devices using WPS or a pre-determined WPA-PSK password key.

The range of this network will be determined by the radio range that the Wi-Fi Direct “master” device can provide; and this may be small for a lot of battery-powered devices like handheld games. Some devices that use a non-Wi-Fi connection like Ethernet or HomePlug may break off this connection if they are working as a Wi-Fi direct “master” device.

Increasing the relevance of Wi-Fi Direct

Wi-Fi Direct can be used in digital cameras as a way of uploading photos to a Wi-Fi NAS or a laptop or simply using a laptop’s Internet connection for providing photos to a social network. It can also work well as an alternative to Bluetooth for printing or media playout; as well as a wireless link to desktop peripherals like keyboards and mice.

The Wi-Fi Direct technology can then come in to its own with local multiplayer multi-machine gaming whether this involves laptops, smartphones, tablets or handheld gaming consoles. A game publisher could write a game to support a multiplayer mode over a local network as well as an online environment. This then allows one to “verse” an opponent in a game wherever they are without it costing money in data charges or dealing with the login requirements that a hotspot may throw at the potential competitors.

Similarly, if a device does support Wi-Fi Direct as well as a wired connection, it could support an “extended-service-set” function so as to cater for environments where there is a problem with Wi-Fi coverage in certain areas.

Conclusion

Once you know what you are doing, you can make Wi-Fi Direct devices work properly for creating “as-needed” Wi-Fi networks for differing applications.

WPS-capable access points and multi-access-point networks

Just about every wireless router or access point targeted at the consumer or, in some cases, SOHO/small-business market is equipped with Wi-Fi Protected Setup, commonly known as WPS. The obvious part of this feature is a button on the router that instigates a quick and easy enrolment routine for suitably-equipped wireless network client devices.

Here, you would instigate the WPS setup routine on the client device, which may be as simple as starting Wi-Fi network setup. In all versions of Microsoft Windows since Windows 7, you would have your computer searching for wireless networks through the “Add Wireless Networks” routine.  But you may find that you have to select the target network you want to connect to in newer versions of Windows and click or tap “Connect” where Windows will prompt for the passphrase but will tell you that you can use the WPS button on your router if the network supports this. Then you would press the WPS button which begins to securely transfer the network credentials to the client device. In some cases, if you unpack a new router and plug it in to the wall, you may be determining a new WPA-PSK passkey for that router.

But you may be wondering how this will affect those wireless networks that have two or more access points that have this feature yet are set up to extend a wireless network’s coverage.

Last Saturday, I had an opportunity to set up such a network by repurposing a broadband router with this feature as an access point to extend a wireless network past a corrugated-iron wall to the back of a newly-extended house. Luckily the house was wired for Ethernet as part of the renovation, so the wired backbone of this “extended-service-set” was the Cat5 Ethernet cabling. But most of you may simply use a HomePlug AV powerline network as your backbone for a similar network.

Both the network’s main ADSL modem-router and the broadband router, which was floating around as a spare, were recent-issue units equipped with WPS. They were configured with different channels but the same ESSID, wireless-technology and security parameters and the broadband router was set up as an access point with its DHCP server turned off and itself existing on a fixed IP address that was part of the network.

I had discovered a problem with this broadband router where it reset the wireless-network parameters after a WPS wireless-network-setup cycle. But you need to check that the settings stay by going to “Advanced”, “Wireless Setup” or “WPS” options in your router’s / access point’s management Web page and making sure that options to keep wireless-network settings are selected after you configure the device with your network’s SSID and security parameters.

This means that WPS-equipped access points and routers are capable of working in the “extended-service-set” arrangement. It then means that you can enrol new Wi-Fi client devices like Windows 7 laptops, Android smartphones or Internet radios to your wireless-network segment using that idiot-proof WPS “push-push” method at the nearest access point to where you are setting them up at. Yet the multiple-access-point network still does the job of extending wireless coverage in to the dark spot while allowing you to move the laptop, tablet or smartphone between the access-points’ coverage areas without reconfiguring anything.

Note: I have updated the article originally published on May 2012 to added some extra notes about the WPS setup experience for versions of the Microsoft Windows regular-computer operating system released since this article was originally published.