kmodctrl Command

Purpose

Loads or unloads the kernel extension /usr/lib/drivers/kmobip6.

Syntax

kmodctrl [ -k kextname ] [ -luq ]

Description

The kernel extension /usr/lib/drivers/kmobip6 contains support for the Mobile IPv6 functionality. This kernel extension must be loaded in order to configure the system as a mobile IPv6 home agent or correspondent node. Normally this command will be run automatically by the /etc/rc.mobip6 script if mobile IPv6 has been enabled using system management.

Flags

Item Description
-k Specifies an alternate path for the mobility kernel extension.
-l Loads the mobility kernel extension.
-q Checks whether the kernel extension is loaded.
-u Unloads the mobility kernel extension.

Exit Status

0
The command completed successfully.
>0
An error occurred.

Security

You must be the root user or a member of the system group to execute this command.

Examples

  1. The following example loads the kmobip6 kernel extension:
    kmodctrl -l
  2. The following example unloads the kmobip6 kernel extension. This will disable all mobile IPv6 functionality on the system:
    kmodctrl -u
  3. The following example queries whether the kmobip6 kernel extension is loaded:
    kmodctrl -q