Trouble Shooting Guide – FarSync Drivers – Linux

These possible farutil problems apply when using the Generic HDLC interface with kernel versions 2.4.13 and later only.

Problems using farutil

In order to be able to configure Frame Relay you must use the version of farutil supplied with this release. Invoke the farutil command and ensure that its output is as follows.

[root@minion root]# farutil
usage: farutil [-v] interface command [parameters...]

Commands:
       
        card                      #Display card type and number of ports
        info                      #Display status info for port
        load firmware1 firmware2  #Download firmware and start card
        create dlci               #Add PVC to master device
        delete dlci               #Remove PVC from device
        set options...            #Set configurable options
<snip>

Frame Relay options:
        lmi   {none|ansi|ccitt}   #LMI type
        dce                       #Operate as a DCE
        t391 #seconds             #Polling verification timer
        t392 #seconds             #Link integrity polling timer
        n391 #                    #Full status polling counter
        n392 #                    #Error threshold
        n393 #                    #Monitored events count
        
[root@minion root]#

If your version does not display the Frame Relay options you will need to make the new version and copy it to the /sbin directory as follows:

  [root@minion common]# cd common/
  [root@minion common]# make farhdlc
  cc -o farhdlc -DGEN_HDLC=1 -Wall -Wstrict-prototypes -I../kernel2.4 -g -I/usr/src/linux/include farutil.c
  [root@minion common]# cp farhdlc /sbin/farutil
  cp: overwrite `/sbin/farutil'? y
  [root@minion common]#