FarSync Drivers | ![]() |
![]() |
---|
farutil [-v] interface command [parameters...]
The -v option can be used at any time to report additional information.
Note that the naming convention for the interface used in the farutil command is as follows:
farutil < ifname > set [parameters]
where:
ifname is a name of the form syncX, e.g. sync0
The list of card parameters that can be used with
the farutil command is given here.
Example:
Note on use of config files
If you have used the ifup file in combination with the config file to set
the card parameters, then the application will not be able to set an MTU size
greater than 1500 bytes. The application can set any size MTU as long as
the ifup scripts have not been used or the driver has been restarted.
farutil < ifname > cardThis will display the following information:
[root@minion common]# farutil sync0 card card: T4U FarSync WAN T-Series ports: 4 state: Running normally root@minion common]#For a Flex USB device the following will be displayed:
[root@zaphod kernel2.6-oem]# farutil sync4 card card: FarSync Flex WAN ports: 1 state: Running normally root@zaphod kernel2.6-oem]#
farutil < ifname > infoThis will display the following information:
card: T4U FarSync WAN T-Series ports: 4 state: Running normally firmware id: 5 firmware vers: 1.02.03 Configuration for port 0 physical: V.24 (RS232C) cable status: Cable presence detected active inputs: None active outputs: None clock: External, Not detected speed: 9600 protocol: Raw packet interface Buffer configuration: no of rx buffers: 8 size of rx buffers: 8192 no of tx buffers: 8 size of tx buffers: 8192 root@minion common]#
Note To display port transmit and receive statistics the farutil
command can be used in the following format: To down load the card firmware the farutil command should be used in the
following format: where: Example:
Once dual clocking mode has been configured the physical interface will be
displayed as x21d.
When the clock phase has been inverted, the clock will be displayed as Internal/Inverted
Display Stats Information
farutil < ifname > stats
This will display the following information:
card: T2U FarSync WAN T-Series
ports: 2
state: Running normally
Port Statistics:
Rx packets 254085708 Rx bytes 259450471210
Tx packets 252438310 Tx bytes 255695421894
Rx errors 2 Tx errors 34
Rx dropped 0 Tx dropped 0
Rx errors detail: Tx errors detail:
Rx length 0 Tx aborted 18
Rx over run 0 Tx carrier 0
Rx crc 2 Tx fifo 0
Rx frame 2 Tx under run 0
Rx fifo 0
Download firmware
farutil < ifname > load [bios] [firmware]
ifname is a name of the form syncX, e.g. sync0
bios is the trtbios.cde file from the downloads directory
firmware is the farsync2.cde file from the downloads directory
[root@minion common]# farutil -v sync0 load downloads/trtbios.cde downloads/farsync2.cde
BIOS code start address: 0000:0550
BIOS code header size : 512 bytes
Skipping 484 header bytes
Read 2934 bytes of BIOS code
Firmware start address: 018A:0016
Firmware header size : 512 bytes
Read 9728 bytes of Firmware
Card running
[root@minion common]#
farutil syncX set led flashwill identify the board to which the interface syncX is attached to by causing the board's status LEDs to flash continuously. Normal operation of the LEDs can be restored with:
farutil syncX set led normal
Copyright 2001-2010 FarSite Communications Ltd. |
![]() |
---|