• November 20, 2014, 06:08:34 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in which we have created boards at this time.

Author Topic: Dir-655 and WiFi Protected Setup  (Read 14740 times)

alabarbacoa

  • Guest
Dir-655 and WiFi Protected Setup
« on: August 06, 2008, 03:53:53 AM »

Hi everyone :)

I'm trying to test the WiFi Protected Setup (WPS) conformance of the DIR-655 with the latest firmware (1.20B07) and Windows Vista.

Well... actually, I'm kind of more interested in testing the behaviour between Windows Vista and several network devices in the Windows Connect Now (WCN) context. (WCN is no more than Microsoft's way of calling their WPS implementation).

I have setup two scenarios for my tests:

SCENARIO #1
--------------------

Here I have a Windows Vista computer directly connected to a DIR-655 ethernet port.

Everything seems to work ok here:

  1. DIR-655 sends "UPnP:Discovery:Advertisement" messages as soon as it is switched on.
  2. Vista queries the modem with standard "UPnP:Description:GetDeviceDescription" and
      "UPnP:Description:GetServiceDescription" messages.
  3. Vista subscribes to the Enrollee's UPnP events.
  4. Finally, Vista sends a "UPnP:Control:Action:Invoke:GetDeviceInfo" to obtain WPS specific
      information and draws a new icon (representing an unconfigured node) on the
     network explorer.

At that point the user can double-click on the unconfigured node (on Windows Vista Network Explorer), select a network name and enter DIR-655 WPS PIN number. The process then continues like this:

  5. Vista sends a new "UPnP:Control:Action:Invoke:GetDeviceInfo" message to DIR-655's IP
  6. DIR-655 replies with an HTTP OK packet containing the first message of WPS's Registration Protocol (M1)
  7. Vista now sends a "UPnP:Control:Action:Invoke:PutMessage" message containing M2
  8. DIR-655 relpies with an HTTP OK packet containing M3
  9. etc....

A more "graphical" representation of this can be found in the attached file "DIR655_as_Enrollee.txt"


SCENARIO #2
--------------------

This time I am interested in testing DIR-655 capabilities as a "Proxy" node. I.e. A new WiFi node will be added to the existing network (the one that has already been configured in scenario #1) and DIR-655 should then convert WiFi messages from the new node into UPnP event messages that get forwarded to the Windows Vista PC (where the external Registrar is located).

Once the new node is added to the network, it should start sending "Probe Request" messages to DIR-655 (acting as an AccesPoint/Proxy). Dir-655 should, for every of these messages received, generate a "UPnP:Event:Notify" message containing the TLV (Type-Length-Value) sets originally transmitted in the "Probe Request" packet, and forward this UPnP message to Vista, where a new icon (showing a new unconfigured node) should appear in the Network Explorer.

The "expected" behaviour can be better observed in the attached file "DIR655_as_Proxy.txt"

However this is NOT happening: I can't see any UPnP "event" message comming out from the DIR-655 proxy.

The "new WiFi node" I'm trying this with is *another* DIR-655 reset to factory defaults. Maybe DIR-655 is not prepared to act as an Enrollee in a "proxy'ed" set up? (It could be so... because even trying to use the *internal* registrar that seems to be implemented in the DIR-655 -from the "add a new WPS device" wizard in the embedded webserver- fails, no matter what option I choose: PIN or "push button").

Anyway... could you help me understand how does Vista find new devices on the network where a DIR-655 is acting as a WPS Proxy?

Even if the new device showed up in the Network Explorer, what should happen once I double-click on it an enter the new device's PIN? I guess Vista would then send a "UPnP:Control:Action:Invoke:SetSelectedRegistrar" message to the DIR-655 Proxy, who would then start including the SetSelectedRegistrar flag on its "beacon" frames (so that the new wifi device knows when it can send the EAPOL-Start message). Am I right? Is this functionality implemented?

I know this is a long (and boring) post, but any help would be greatly appreciated.

Thanks :)


NOTE: It looks like I cannot attach any file, so I put them on rapidshare:

[DIR655_as_Enrollee.txt] http://rapidshare.com/files/135242484/DIR655_as_Enrollee.txt.html
[DIR655_as_Proxy.txt]    http://rapidshare.com/files/135242840/DIR655_as_Proxy.txt.html

Logged

alabarbacoa

  • Guest
Re: Dir-655 and WiFi Protected Setup
« Reply #1 on: August 07, 2008, 02:59:04 AM »

Another option to check the WPS "Proxy" capabilities of DIR-655 is by finding a WPS-enabled client device and try to add it to an already established network (where DIR-655 acts as the Access Point and an external Vista computer -wired to the Access Point- acts a Registrar).

A list of WPS enabled devices can be found here:

http://www.wi-fi.org/wifi-protected-setup

(then click on "Products certified for Wi-Fi Protected Setup").


So maybe my question can be turned into these other ones:

Has any of your tried any of these devices with a DIR-655?
Have you tried both the PIN and "Push button" methods?
Have you tried to use Vista as a Registrar instead of the internal Registrar included in DIR-655? (For this to work you must add the new device to the network from Windows Vista Netwoek Explorer *instead* of from DIR-655 embedded web pages... also, the Vista computer must have its wireless interface disabled)


Thanks.
Logged

alabarbacoa

  • Guest
Re: Dir-655 and WiFi Protected Setup
« Reply #2 on: August 08, 2008, 12:37:38 AM »

More news...

I just got confirmation from Microsoft that for the demo in the last Seattle's Windows Rally Summit they ACTUALLY used a DIR-655 (acting as a Proxy), a BlackBerry Pearl 8120 with custom firmware (acting as an Enrollee) and a Windows Vista laptop (acting as a Registrar).

Furthermore, when adding the Blackberry client to the already configured network, there was NO direct (i.e. WiFi Ad-hoc) communication between the Blackberry and the Vista computer, but all data travelled through the DIR-655 Proxy.

This is exactly what I want to test here!

Unfortunately, Microsoft is not allowed to provide with me the custom firmware that was running on the Blackberry, and RIM does not answer to my emails :(

Was THAT particular DIR-655 in Windows Rally Summit running a special firmware version?
Are there any other client devices (in addition to the modified Blackberry) I can test this scenario with? (Maybe THIS one: http://www.gigabeat.net/mobileav/audio/lineup/t-series.htm)
And back to my main question: Is it true that ANOTHER DIR-655 (which is what I have available right now) will NOT act as an Enrollee in an already configured network (as the Blackberry does)?


On the other hand, by further inspecting UPnP messages coming from DIR-655 I just noticed that this is not something you developed, but part of Ubicom's software stack (http://www.ubicom.com/docs/ProductBriefSDK.pdf).

So maybe I'm asking the wrong people :)

If so... could you please point me to Ubicom's technical support/forums? I haven't been able to find where to address my issues...

Thanks.
Logged

Matteo

  • Guest
Re: Dir-655 and WiFi Protected Setup
« Reply #3 on: August 08, 2008, 12:15:55 PM »


  the wlan partition option stops wireless devices from talking to eachother without going thru the router....
Logged