UMBCTL(8) | System Manager's Manual | UMBCTL(8) |
umbctl
—
umbctl |
[-v ] ifname
[parameter[=value]]
[...] |
umbctl |
[-v ] [-f
config-file] ifname
[parameter[=value]]
[...] |
umbctl
supports the following options:
-f
config-file-v
The umb(4) driver may
require a number of additional arguments or optional parameters besides the
settings that can be adjusted with
ifconfig(8). These may be
credentials or other tunable connectivity variables. The
umbctl
utility can be used to display the current
settings, or adjust these parameters as required.
For whatever intent umbctl
is being
called, at least the parameter ifname needs to be
specified, naming the interface for which the settings are to be performed
or displayed. Use
ifconfig(8) or
netstat(1) to see which
interfaces are available.
If no other parameter is given, umbctl
will just list the current status for ifname and
exit.
If any additional parameter is supplied, superuser privileges are
required, and the command works in
‘set
’ mode. This is normally done
quietly, unless the option -v
is also enabled, which
will cause a final printout of the status as described above once all other
actions have been taken.
The parameters currently supported include:
# umbctl umb0 umb0: state up, mode automatic, registration home network provider "BSD-Net", dataclass LTE, signal good phone number "+15554242", roaming "" (denied) APN "", TX 50000000, RX 100000000 firmware "MBIM_FW_V1.0", hardware "MBIM_HW_V1.0"
Display the settings for umb0.
# umbctl umb0 apn operator.internet username mobile password mobile
Configure the connection parameters for umb0 from the command line.
# umbctl -f /dev/stdin umb0 << EOF pin=1234 EOF
Configure the connection parameters for umb0 from a file.
umbctl
utility first appeared in
NetBSD 9.0.
July 24, 2018 | NetBSD 9.4 |