GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SFWBAR-NETWORK(1) FreeBSD General Commands Manual SFWBAR-NETWORK(1)

sfwbar-network - Sfwbar Network module

Filename: network.so

Requires: none

The network module tracks the state of the current network connection.

Function NetInfo queries the parameter of the connection on the network interface specified. If Interface is not specified, NetInfo will query the interface of the default gateway (if one exists). The queries supported are:

"ip"
IP address of the interface.
"mask"
Net mask of the interface.
"cidr"
Net mask in the CIDR notation.
"gateway"
The default gateway (not necessarily associated with the interface).
"ip6"
IPv6 IP address of the interface.
"mask6"
IPv6 netmask of the interfce.
"gateway6"
The default IPv6 gateway.
"essid"
ESSID of the wireless connection (if applicable for the interface).

NetInfo returns a string value.

Function NetStat queries statistics of the interface. If the interface isn't specified, it will be applied to the interface of the default gateway. The queries supported are:

"rxrate"
Receive data rate on the interface (in bps).
"txrate"
Transmit data rate on the interface (in bps).
"signal"
Signal strength of the wifi connection (if applicable).

NetState returns a numeric value.

None

The module defines one trigger "network" which is emitted whenever the interface data is changes (i.e. ip, netmask, default gateway, wifi essid).

GPLv3+


Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.