kd
FabulaTech Forum Newbie
Posts: 5
|
|
Re: Fixed servid and devid
Reply #4 on: Sep 24th, 2013, 9:46am |
Quote Modify
|
on Sep 24th, 2013, 8:31am, InnaWhite wrote:Thanks for your feedback, your interest in our software is greatly appreciated. Can you describe how you see the project in details? Our developer team is quite interested to know how to implement your offer. |
| Ideas for the first option (client side ); a. With GUI: Add devices normally and then i. Right click on the server -> Properties and from there assign the serverid. ii. Right click on the device -> Properties and from there assign the devid deviId and servId only need to unique within the scope of the client so id conflicts should be easy to manage. b. With command line: i. usbclncmd assigservid <host> [:<port>] <newservid> ii. usbclncmd add <newservid> <devid on server> <client side devid> iii. usbclncmd connect <newservid> <newdevid> Ideas for the second option (server side ); a. With GUI: i. On the server, Right click on the device->Properties and from there give the device a name/alias. ii. On linux server, create an entry in the /etc/ftusbnet.conf that maps the hwid and port to a name/alias, e.g. [USB Disk] hwid=1234:5678:9abc share=true takeaway=true name=MyPublickUSBDisk iii. On the client command line A. usbclncmd add <servid> <devicenameonserver> <localalias> B. usbclncmd connect localalias or C. usbclncmd connect <servid> <devicenameonserver> iv. On the client GUI, connect normally. a. With command line, i. On the server, usbcmd assign <devid> <name> ii. On the client, usbclncmd connect <name> These are just some quick thoughts, but basically since the servid/devid are scoped within the client it should be no big deal to be allowed to change the servid/devid on the client as long as servid/devid are unique for given client. The second option basically does the same, but since it can not control the servid/devid on the client we have to go through name/alias concept. But here the server would push the alias to the clients which can decide to use that name or just to use the locally assigned servid/devid pair. I hope that this is understandable since formatting is a little tricky in this forum system.
|