IncentivesPro Forum Index IncentivesPro
Leading USB solutions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

configuration file for linux daemon

 
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux
View previous topic :: View next topic  
Author Message
andrewgs67



Joined: 22 Mar 2017
Posts: 5

PostPosted: Wed Mar 22, 2017 9:52 am    Post subject: configuration file for linux daemon Reply with quote

Hello!
I can't find in documentation - is it possible to create the configuration file for USB Redirector for Linux Server for permanently sharing of USB keys?
I'd like that shared keys will be automatically ready to connect after server reboot or daemon restart.
Thank You.
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 520

PostPosted: Thu Apr 06, 2017 11:03 am    Post subject: Reply with quote

Hi,

USB Redirector stores its configuration in /etc/usbsrvd.conf, but it is not recommended to edit the file manually, please use usbsrv command for this. USB Redirector will update the configuration file automatically and restore the settings after server reboot or daemon restart.
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 520

PostPosted: Thu Apr 06, 2017 11:07 am    Post subject: Reply with quote

Also, you can try auto-sharing mode. In this mode USB Redirector will share all USB devices automatically.

You can disable and enable auto-sharing mode with the following commands:
Code:
usbsrv -autoshare off
Code:
usbsrv -autoshare on


If you need to prevent sharing of some partucilar USB devices (e.g. USB mouse and keyboard), there is a feature called Exclusion List. You can add and remove devices from exclusions with the following commands:
Code:
usbsrv -addexclude <device id>
Code:
usbsrv -remexclude <device id>

_________________
Follow us on Facebook
Back to top
View user's profile Send private message
andrewgs67



Joined: 22 Mar 2017
Posts: 5

PostPosted: Thu Apr 06, 2017 11:30 am    Post subject: configuration file for linux daemon Reply with quote

Hello, Peter.

Peter wrote:
Also, you can try auto-sharing mode. In this mode USB Redirector will share all USB devices automatically.


I afraid I told unsufficiently about my task which I'd like to solve by "USB Redirector"

I need to share 4 usb keys for 3 clients. 3 of 4 USB keys are identically by vendor, name, type and have not serial number. It is very hard reliable identify them.

Can I identify this keys by USB bus and port and creat configuration file with such parameters:
<USB key name> <bus> <port> <password> allow connect <IP client>?

Thank You.
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 520

PostPosted: Thu Apr 06, 2017 11:42 am    Post subject: Reply with quote

Indeed, it is difficult to identify identical USB devices which don't have serial number. The only way to distinguish them is by USB port number. The drawback of this method is that if you re-plug the device into another port, it will look like another device. But we have to live with this, as there is no other way.

USB Redirector allows to assign nickname to a USB device. Nickname will be displayed on clients and will help them to know which device is which. USB Redirector will use USB port number to distinguish between devices, as described above.

Nickname can be assigned with the following command:
Code:
usbsrv -nickname "<nickname>" <device>

Note that nickname must be specified in double quotes.
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
andrewgs67



Joined: 22 Mar 2017
Posts: 5

PostPosted: Thu Apr 06, 2017 11:54 am    Post subject: configuration file for linux daemon Reply with quote

Peter wrote:
USB Redirector allows to assign nickname to a USB device. Nickname will be displayed on clients and will help them to know which device is which. USB Redirector will use USB port number to distinguish between devices, as described above.

Nickname can be assigned with the following command:
Code:
usbsrv -nickname "<nickname>" <device>

Note that nickname must be specified in double quotes.


And I can on client mapping key by nikname from commandline?

Can I on client create the configuration file with map remote device by nikname?

Thank You.
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 520

PostPosted: Thu Apr 06, 2017 11:59 am    Post subject: Reply with quote

There is no user-editable configuration file in USB Redirector for Linux.

All configuration must be done through usbsrv command-line utility. The configuration will be preserved across reboots or restarts (i.e. all devices will remain shared and all nicknames will remain as is, unless you re-plug device into other USB port)
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
andrewgs67



Joined: 22 Mar 2017
Posts: 5

PostPosted: Thu Apr 06, 2017 12:05 pm    Post subject: Reply with quote

Peter wrote:
There is no user-editable configuration file in USB Redirector for Linux.


Well, on windows client settings (which device must be maping) will save automatically too?
Back to top
View user's profile Send private message
Peter
Site Admin


Joined: 01 Aug 2007
Posts: 520

PostPosted: Thu Apr 06, 2017 12:09 pm    Post subject: Reply with quote

Windows USB Redirector Client supports auto-connection. If you enable it, the device will automatically reconnect after server reboot or any network disruptions.
_________________
Follow us on Facebook
Back to top
View user's profile Send private message
andrewgs67



Joined: 22 Mar 2017
Posts: 5

PostPosted: Thu Apr 06, 2017 12:25 pm    Post subject: Reply with quote

Peter, thank You for reply!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IncentivesPro Forum Index -> USB Redirector for Linux All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group