.Dd April 11, 2003 .Dt SB16CONFIG 8 .Os .Sh NAME .Nm sb16config .Nd configuration utility for Granch SBNI16-SHDSL PCI modems .Sh SYNOPSIS .Nm .Op Ar device_name .Op Ar options .Nm .Ar device_name .Op Fl R .Sh DESCRIPTION The .Nm utility is used for configuring the options of the SBNI16-SHDSL modems. The options could be set only on inactive devices (the corresponding network interface should be in down state). .Ss "Mandatory parameters" .Bl -tag -width 10n .It master, slave Set mode. .It lrate=value Set line rate. Value may be 64 to 4640 kbit/s increasing by 8. .It tcpam32, tcpam16, tcpam8, tcpam4 Set line code. .El .Ss "Optional parameters" .Bl -tag -width 10n .It crc32, crc16 CRC length (default 32-bit). .It fill_ff, fill_7e Inter-frame space filling value: all '1' bits, or HDLC flag 0x7e (default all '1'-es). .It rboff Turn PCI read burst mode off. May be useful with old motherboadrs. .It wboff Turn PCI write burst mode off. .El .Pp If .Nm started without any option, device statistics will be printed. Flag .Fl R forces the driver to clear staticsic counters. .Sh EXAMPLES Configure modem: .Bd -literal -offset indent sb16config sbsh3 master lrate=2320 tcpam16 .Ed .Pp It needn't to reload the driver in order to change parameters. It's enough to down the interface: .Bd -literal -offset indent ifconfig sbsh1 down sb16config sbsh1 tcpam8 slave lrate=96 ifconfig sbsh1 inet 192.168.10.25 netmask 0xffffffc0 .Ed .Pp Print modem statistics: .Bd -literal -offset indent sb16config sbsh0 .Ed .Pp Clear modem statistics: .Bd -literal -offset indent sb16config sbsh0 -R .Ed .Sh SEE ALSO .Xr sbsh 4 .Xr ifconfig 8 .Sh AUTHORS The .Nm utility was written by .An Denis I. Timofeev Aq timofeev@granch.ru .