Driver Configuration - WIBUKEY.INI

Top  Previous 

The configuration file WIBUKEY.INI defines some parameter important for the WibuKey framework, i.e. driver-sided access to WibuBoxes.

Following the single parameter are described. However, you may also set some of the parameters using the WibuKey tool WkConfig.

Depending on the operating system not all parameter are supported, e.g. Mac OS X does not support the form factor WibuBox/P.

Keyword

MacOS

LINUX

Description

[General]

 

 

 

WkPortname

no

yes

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

WkPortEnum

no

yes

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

[Driver]

 

 

 

SubSystem

yes

yes

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

WkPort

yes

yes

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

WkCom

yes

yes

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

BaudRate

yes

yes

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

WkLpt

yes

yes

disabled. (Note: 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 (client view) to be used for WibuKey WkLAN communication, default 22347.

ConnectTimeout

yes

yes

Defines the TCP/IP timeout value, if  a connection to a WkLAN network server is to be established, default 10 seconds.

[WkLAN Client]

 

 

 

ServerN

yes

yes

Contains a server search list.

Typically this section is 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).

LINUX

On Linux the configuration file locates at /etc/wibu/WIBU-KEY/WIBUKEY.INI.

 [General]

  WkPortname=/dev/ttyS

  WkPortEnum=DIGIT

 

  [Server]

  WkLAN=1

 

  [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

  

MacOS

On Mac OS X the configuration file locates at /Library/Preferences/com.wibu.WIBU-KEY.WIBUKEY.ini.

  [Server]

  WkLAN=1

 

  [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