ARSETUP(8) BSD System Manager's Manual ARSETUP(8)NAME
Arsetup - configure Aironet Wireless Communications Inc radio network
cards
SYNOPSISarsetup [-c channel-number] [-C channel-set] [-m registration-mode] [-n
node-id] [-R root/repeater] [-r router-id] [-s system-id] [-u
unit]
DESCRIPTION
The Arlan family of communication interfaces require configuration infor-
mation that would be difficult to built into the kernel device driver
(see ar(4)). The arsetup utility does this setup and must be run before
ifconfig(8) is used to assign an IP address and bring the interface up.
The determination of the correct flags and arguments to configure an in-
terface are beyond the scope of this document. The appropriate Arlan
documents should be consulted.
The following options are available:
-c channel-number
The 1-byte channel number field.
-C channel-set
The 1-byte channel set field.
-m registration-mode
This option and argument specify TMA registration. The argument
should be either 0 or 1; a value of 0 specifies no registration,
and a value of 1 specifies normal registration.
-n node-id
This is a 6-byte field which will set the hardware address of the
board. On some boards this is available in the PROM and need not
be specified. The least significant bit of this value may not be
set. When a new value is specified for this field it will not
take effect until ifconfig(8) has been used to set the IP ad-
dress.
-r router-id
The 2-byte router ID field.
-R root/repeater
This options and argument specify if a router card is the root or
a repeater. The argument should be either 0 or 1; a value of 0
specifies that this card is the root, and a value of 1 specifies
that this card is a repeater.
-s system-id
The 4-byte system ID field.
-u unit
The unit number of the ar(4) interface being configured. The
number is zero based and corresponds to the value shown by
netstat(1).
The arguments for the -c, -C, -n, -r and -s options may be specified in
decimal (the default), hexadecimal (using a leading ``0x''), or octal
(using a leading ``0'').
If no options are specified, or only the -u option is specified, then the
current values stored in the hardware will be displayed. If no options
are specified, the default unit is unit 0.
EXAMPLES
Below is an example of the lines added to /etc/netstart on two different
machines to bring up the interfaces and have them communicate. While
these examples work, the values may not be the best or even particularly
good.
#first machine
/usr/sbin/arsetup -n 0x10 -s 0x2000004 -r 10 -m 1 -c 11 -C1
ifconfig ar0 192.168.0.1
#second machine
/usr/sbin/arsetup -n 0xa -r 0xa -m 1 -c 11 -C 1 -R 0 -s 0x2000004
ifconfig ar0 192.168.0.2
SEE ALSOnetstat(1), ar(4), ifconfig(8)BSDI BSD/OS Aug 11, 1995 2