WibuKey Help

Contents

  WibuKey

Configurations

     
 

WibuKey - A protection system

WibuBox Versions

RunTime Installation

WibuBox Remote Programming

Configuration with WkConfig

User Tool wku

WkLAN Network Server

Configurations

WibuKey FAQ

WibuKey Configuration (WIBUKEY.INI)

The WIBUKEY.INI configuration file defines the parameters for the WibuKey framework. The location of the configuration file is on Mac OS X /Library/Preferences/com.wibu.WIBU-KEY.WIBUKEY.ini and on linux it is stored at /etc/wibu/WIBU-KEY/WIBUKEY.INI The following table describes all possible parameters. Remember that WkConfig provides a graphical interface to define some selected parameters stored in WIBUKEY.INI.

Remember: The WIBUKEY.INI config file is used on Mac OS X and Linux. But not all parameters are also used on Mac OS X because the WibuBox/ST, WibuBox/P and WibuBox/RP are not supported on Mac OS X. Inside the table these options are marked with a flag for the supported operation system.

 Entry Key Word 

 Mac OS X

 Linux

 Meaning

[General]

     

WkPortname

No

Yes

Defines the device prefix for the serial interface (WibuBox/ST) , typically '/dev/ttyS'

WkPortEnum

No

Yes

Defines the suffix for WkPortname. Typically this value is 'DIGIT' (alternative 'ALPHA'). That means the '/dev/ttyS0' device is used as example.

[Driver]

     

SubSystem

Yes

Yes

Defines the subsystems to use. Possible value are: Kernel (for local WibuBox access) and WkLAN.

WkPort

No

Yes

Defines the interfaces to be used. Possible value are: Com, Lpt, USB.

WkCom

No

Yes

Defines the serial interfaces that can be used. WkCom is defined as a set, each asterix (*) means enable, each '/D' means disable. Example: *,/D,/D,/D - Only use the first serial interface. All other serial interfaces are disabled.

BaudRate

No

Yes

Defines the baud rate to be used for the serial interfaces for the WibuBox/ST,typically 19200.

WkLpt

No

Yes

Defines the parallel interfaces that can be used. WkLPT is defined as a set, each asterix (*) means enable, each '/D' means disable. Example: *,/D,/D - Only use the first parallel interface. All other parallel interfaces are disabled. (Remember: On Linux we use the user space parallel port device '/dev/parport[0-2]'. The User must have valid (read/write) access permissions for this device and the Linux kernel must provide the '/dev/parport' device.

[WkLAN]

     

IpPort

Yes

Yes

Defines the TCP/UDP port to be used for WkLAN communication. (Default 22347)

ConnectTimeout  

Yes/p>

Yes

Defines the TCP/IP Timeout value if try to connect to a WkLAN network server. (Default 10 seconds)

[WkLAN Client]

     

ServerN

Yes

Yes

Contains a server search list. Typically this section ist empty and WibuKey will used a broadcast message to find a WibuKey network server. If you do not wish to use a broadcast a set of servers to be queried can be set here. A valid entry has a number between 1 to 9 for N. (Example: Server1=10.20.30.40)


The configuration file is stored on Linux at /etc/wibu/WIBU-KEY/WIBUKEY.INI.
Example for Linux: /etc/wibu/WIBU-KEY/WIBUKEY.INI

  [General]
  WkPortname=/dev/ttyS
  WkPortEnum=DIGIT
 
  [Driver]
  SubSystem=Kernel,WkLAN
  WkPort=Com,USB
  WkCom=*,/D,*,/D
  BaudRate=19200
  WkLpt=*,/D,/D
  WkLang=TRUE
 
  [WkLAN]
  IpPort=22347
  ReconnectTimeoute=10
  
  [WkLAN Client]
  Server1=127.0.0.1
  Server2=10.20.30.40
  Server3=255.255.255.255
  

On Mac OS X this configuration file is stored at /Library/Preferences/com.wibu.WIBU-KEY.WIBUKEY.ini.
Example for Mac OS X: /Library/Preferences/com.wibu.WIBU-KEY.WIBUKEY.ini

  [Driver]
  SubSystem=Kernel,WkLAN
 
  [WkLAN]
  IpPort=22347
  ReconnectTimeoute=10
  
  [WkLAN Client]
  ; Server1=127.0.0.1
  ; Server2=10.20.30.40
  ; Server3=255.255.255.255
  

WkLAN network server configuration (Server.ini)

All settings for the WibuKey WkLAN network server are stored at Server.ini.

Linux will store this file at location /etc/wibu/WIBU-KEY/Server.ini.
Mac OS X will stored this file at location /Library/Preferences/com.wibu.WIBU-KEY.Server.ini.

  [HTTP]
  HtmlArchive=/usr/share/wibukey/WkSvUs.wbb
  RemoteRead=1
  RemoteCommand=0
  RemoteWrite=0
  
  [HlmFiles]
  ; File1=/mydir/base.wbb
  ; File2=/mydir/extended.wbb
  
  [RemoteAccess]
  Default=31
  
  [Setting]
  AccessFsb=0
  StartDaemon=0
  Logging=0
  LoggingPath=/var/log
  NoBoxPgm=0
  WkLanTimeOut=1440
  
  [WkLAN]
  IpPort=22347