• usb device: ID 064f:03e9 WIBU-Systems AG
  • license number: 900122905
  • to set the appropriate permissions using udev, make a file called /etc/udev/rules.d/52-codemeter.rules containing:
# disable automount for CmSticks without real flash part
SUBSYSTEM=="block", SYSFS{idVendor}=="064f", SYSFS{idProduct}=="03e9", OPTIONS+="ignore_device"

# change owner for /dev/bus/usb node, load sg module:
SYSFS{idVendor}=="064f", SYSFS{idProduct}=="03e9", OWNER="codemeter", RUN+="/sbin/modprobe -b sg"
  • put Server.ini in /opt/codemeter/etc, then mkdir /etc/wibu && ln -s /opt/codemeter/etc /etc/wibu/CodeMeter
  • make sure there's a codemeter user
  • mkdir /var/log/codemeter && chown codemeter:adm /var/log/codemeter && chmod 750 /var/log/codemeter
  • put CodeMeterLin and codemeter-info in /opt/codemeter/ (be sure to use the CodeMeterLin which the distribution package puts in /usr/share/CodeMeter/ – the one in /usr/bin/ is just a wrapper script)
  • put Server.ini in /opt/codemeter/etc/:
[Backup]
Interval=24
Path=/var/backups/CodeMeter
UpdateCertifiedTime=0

[General]
ActionTimeIntervall=10
BindAddress=0.0.0.0
CleanUpTimeOut=120
ExePath=/opt/codemeter
HelpFile=/opt/codemeter/doc
IsNetworkServer=1
IsUpdateInstall=1
LogCleanupTimeout=336
Logging=1
LogPath=/var/log/codemeter
NetworkAccessFsb=0
NetworkPort=22350
NetworkTimeout=40
ProxyPort=
ProxyServer=
ProxyUser=
ShowFPPDialog=0
StartDaemon=1
StartAlways=0
TimeServerTimeout=20
TimeServerURL1=cmtime.codemeter.com
TimeServerURL2=cmtime.codemeter.us
TimeServerURL3=cmtime.codemeter.fr
TimeServerURL4=cmtime.codemeter.de
UDPWaitingTime=1000
UpdateInstallURL=www.wibu.com

[HTTP]
HtmlArchive=/opt/codemeter/CodeMeterUs.wbb
RemoteCommand=0
RemoteRead=0
RemoteWrite=0

[HOTPLUG]
UseHotplugLog=0

NOTE: I ran into problems in which grub would hang and not boot properly when the CmDongle is attached. There's a page (http://www.wibu.com/faq-codemeter/s/detail/why-does-my-computer-not-boot-if-a-cmdongle-is-plugged-in.html) on the Wibu web site which discusses this, but that solution didn't work. (maybe the problem they're discussing is actually with the BIOS and not grub? maybe their solution only works when running the command in the host OS and not in a VM?) I worked around the problem by disabling legacy USB support in the BIOS, but this has the infuriating side-effect of disabling boot and BIOS access to the server's built-in KVM-over-IP (which shows up as a USB device). Argh!

computer/codemeter_properly_installed_in_debian.txt · Last modified: 2015/07/13 03:22 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS