问题
I tested successfully with Linux by using Avahi(Bonjour) and Netatalk(AFP) to provide network storage to Mac OS X seamlessly (as like Time Capsule).
I want to make one another question for Windows 7. As I searched Windows 7 uses PnP-X and UPnP to provide Bonjour like zero configuration experience. What I want to achieve is:
- Use Samba on Linux to share one folder
- Publish this shared folder as NAS service by using PnP-X and UPnP
- If a Windows 7 PC attached to the LAN which have the Linux it will discover the NAS service on Linux
- Windows 7 automatically initiate PnP install process and new disk volume will be appeared on Explorer without any user intervention. This new volume is actually Samba shared folder from Linux
Do you think this scenario is achievable by using PnP-X and how can I do this?
Best Regards
回答1:
I checked about it by myself.
PnP-X uses SSDP (Simple Service Discovery Protocol) of UPnP to publish network attached device to Windows clients in local network. By using XML configuration file of SSDP, device can let client knows PnP H/W ID.
From Windows 7, user can see PnP-X enabled device from network explorer. User can select install context menu to initiate device driver installation of PnP-X device.
PnP driver installation depends on H/W ID which is known by SSDP XML configuration file.
To implement this scenario on Linux O.S., I can use GUPnP library to support SSDP notify. Also, I need to implement proper INF file and device driver.
BR, Wonil.
来源:https://stackoverflow.com/questions/8004187/pnp-x-and-automatic-installation-of-network-storage-to-windows-7