freebsd.txt Driver File Contents (gigabit_20networkcard.zip)

**
**
**  VIA Networking Velocity Family Gigabit Ethernet Adapter
**
**  FreeBSD driver
**
**  v1.08   Dec. 2003
**
**

Introduction:
=============

  The Gigabit Ethernet 10/100M/1G FreeBSD driver is enclosed. This document shows you how to
  setup the driver.


Contents of the Subdirectory:
=============================

    freebsd.txt           This file.
    freebsd.tgz           Tar file include the following file list
    if_getb.c             The FreeBSD driver source code
    if_getb_desc.h        The FreeBSD driver header file
    if_getb_mac.h         The FreeBSD driver header file
    if_getb_mii.h         The FreeBSD driver header file
    if_getb_dbg.h         The FreeBSD driver header file
    if_getb_cfg.h         The FreeBSD driver header file


Installation:
=============

In FREEBSD 3.x: Please execute the steps 1 - 7 below:

    1) Put the driver disc in Drive A. Under the prompt, type "mount_msdos /dev/fd0 /mnt".
       Then, type
       "cd /usr/src/sys/dev"
       "cp /mnt/freebsd.tgz /usr/src/sys/dev".

    2) Type the following commands:
       (a) "gzip -dc freebsd.tgz|tar xvf -"
       (b) "cd /usr/src/sys/conf"
       (c) "ee files"

    3) Under editing file 'files'
       Please add one line as below:
       "dev/getb/if_getb.c      optional    getb    device-driver"

    4) Type the following commands:
       (a) "cd /usr/src/sys/i386/conf"
       (b) "cp GENERIC SERVER"
       (c) "ee SERVER"

    5) Under editing file 'SERVER', finding the division of NIC setting, and insert one line
       as below:
       "device getb0"

    6) Now, it's ready to recompile kernel; type the following commands:
       (a) cd /usr/src/sys/i386/conf
       (b) config SERVER
       (c) cd /usr/src/sys/compile/SERVER
       (d) make depend all install

    7) Before rebooting, make sure the network-related files under /etc are well-configured. 
       The files are listed below:
       (a) /etc/hosts
       (b) /etc/resolv.conf
       (c) /etc/host.conf
       (d) /etc/rc.conf


In FREEBSD 4.x and above: Please execute the steps 1 - 7 below:

    1) Put the driver disc in Drive A. Under the prompt, type "mount_msdos /dev/fd0 /mnt".
       Then, type "cp /mnt/freebsd.tgz /tmp".

    2) Type the following commands:
       (a) "cd /tmp"
       (b) "gzip -dc freebsd.tgz|tar xvf -"
       (c) "make install_getb"
       (d) "cd /usr/src/sys/conf"
       (e) "ee files.i386"

    3) Under editing file 'files.i386'
       please add one line as below:
       "dev/getb/if_getb.c      optional    getb"

    4) Type the following commands:
       (a) "cd /usr/src/sys/i386/conf"
       (b) "cp GENERIC SERVER"
       (c) "ee SERVER"

    If you don't want to compile FreeBSD driver into kernel, instead, you want
    to compile it as a loadable kernel module, then skip to step 6.

    5) Compile into FreeBSD kernel
       Under editing file 'SERVER', finding the division of NIC setting, and insert one line
       as below:
       Add the line as below:
       "device getb"
       Then, save the file.

    6) Now, it's ready to recompile kernel; type the following commands:
       (a) cd /usr/src/sys/i386/conf
       (b) config SERVER
       (c) cd /usr/src/sys/compile/SERVER
       (d) make depend all install

    7) Before rebooting, make sure the network-related files under /etc are well-configured.
       The files are listed below:
       (a) /etc/hosts
       (b) /etc/resolv.conf
       (c) /etc/host.conf
       (d) If you didn't do the step 5, then you must edit /boot/loader.conf
           to load the loadable kernel module at boot.

           Add

           if_getb_load="YES"

           to /boot/loader.conf

       (e) /etc/rc.conf (the '#' indicate the interface number. ex. 0,1,2,3)
           add
             ifconfig_getb#=inet XXX.XXX.XXX.XXX netmask 255.255.2550"
           or
             ifconfig_getb#="DHCP"
           to /etc/rc.conf


In all FREEBSD versions, after executing the above steps 1 - 7, execute steps 8 - 9:

    8) Now, get ready to reboot, type "sync;sync;sync", and "shutdown -r now".

    9) Under the newly compiled kernel, type "ifconfig -a", and you can see a new device getb0.


Speed and duplex mode Setting:
==============================
You can use ifconfig command to force speed and duplex mode of NIC,
where # below is network interface number. We only support this function in
FreeBSD 4.x now.
(eg: Use "ifconfig getb0 media 100baseTX" command to force NIC to 100Mbps half-duplex mode)

1) Auto Mode (Autonegotiation)
    ifconfig getb# media auto

2) 100Mbps full-duplex mode
    ifconfig getb# media 100baseTX mediaopt full-duplex

3) 100Mbps half-duplex mode
    ifconfig getb# media 100baseTX

4) 10Mbps full-duplex mode
    ifconfig getb# media 10baseT/UTP mediaopt full-duplex

5) 10Mbps half-duplex mode
    ifconfig getb# media 10baseT/UTP

Download Driver Pack

How To Update Drivers Manually

After your driver has been downloaded, follow these simple steps to install it.

  • Expand the archive file (if the download file is in zip or rar format).

  • If the expanded file has an .exe extension, double click it and follow the installation instructions.

  • Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.

  • Find the device and model you want to update in the device list.

  • Double-click on it to open the Properties dialog box.

  • From the Properties dialog box, select the Driver tab.

  • Click the Update Driver button, then follow the instructions.

Very important: You must reboot your system to ensure that any driver updates have taken effect.

For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.

server: web2, load: 1.16