sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetA/translations/zh_CN/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/zh_TW/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/it_IT/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/ja_JP/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/ko_KR/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetA/translations/sp_SP/networking/device_drivers/ethernet/dlink/dl2kmodnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h SPDX-License-Identifier: GPL-2.0h]h SPDX-License-Identifier: GPL-2.0}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhh[/var/lib/git/docbuild/linux/Documentation/networking/device_drivers/ethernet/dlink/dl2k.rsthKubhsection)}(hhh](htitle)}(h9D-Link DL2000-based Gigabit Ethernet Adapter Installationh]h9D-Link DL2000-based Gigabit Ethernet Adapter Installation}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(h May 23, 2002h]h May 23, 2002}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hContents - Compatibility List - Quick Install - Compiling the Driver - Installing the Driver - Option parameter - Configuration Script Sample - Troubleshootingh]hContents - Compatibility List - Quick Install - Compiling the Driver - Installing the Driver - Option parameter - Configuration Script Sample - Troubleshooting}hhsbah}(h]h ]h"]h$]h&]hhuh1hhhhhhhhKubh)}(hhh](h)}(hCompatibility Listh]hCompatibility List}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hAdapter Support:h]hAdapter Support:}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh bullet_list)}(hhh](h list_item)}(h)D-Link DGE-550T Gigabit Ethernet Adapter.h]h)}(hjh]h)D-Link DGE-550T Gigabit Ethernet Adapter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(h*D-Link DGE-550SX Gigabit Ethernet Adapter.h]h)}(hj&h]h*D-Link DGE-550SX Gigabit Ethernet Adapter.}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(h/D-Link DL2000-based Gigabit Ethernet Adapter. h]h)}(h-D-Link DL2000-based Gigabit Ethernet Adapter.h]h-D-Link DL2000-based Gigabit Ethernet Adapter.}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj;ubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhKhhhhubh)}(hXThe driver support Linux kernel 2.4.7 later. We had tested it on the environments below.h]hXThe driver support Linux kernel 2.4.7 later. We had tested it on the environments below.}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh block_quote)}(h. Red Hat v6.2 (update kernel to 2.4.7) . Red Hat v7.0 (update kernel to 2.4.7) . Red Hat v7.1 (kernel 2.4.7) . Red Hat v7.2 (kernel 2.4.7-10) h]h)}(h. Red Hat v6.2 (update kernel to 2.4.7) . Red Hat v7.0 (update kernel to 2.4.7) . Red Hat v7.1 (kernel 2.4.7) . Red Hat v7.2 (kernel 2.4.7-10)h]h. Red Hat v6.2 (update kernel to 2.4.7) . Red Hat v7.0 (update kernel to 2.4.7) . Red Hat v7.1 (kernel 2.4.7) . Red Hat v7.2 (kernel 2.4.7-10)}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK!hjkubah}(h]h ]h"]h$]h&]uh1jihhhK!hhhhubeh}(h]compatibility-listah ]h"]compatibility listah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Quick Installh]h Quick Install}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK(ubh)}(h+Install linux driver as following command::h]h*Install linux driver as following command:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubh literal_block)}(h1. make all 2. insmod dl2k.ko 3. ifconfig eth0 up 10.xxx.xxx.xxx netmask 255.0.0.0 ^^^^^^^^^^^^^^^\ ^^^^^^^^\ IP NETMASKh]h1. make all 2. insmod dl2k.ko 3. ifconfig eth0 up 10.xxx.xxx.xxx netmask 255.0.0.0 ^^^^^^^^^^^^^^^\ ^^^^^^^^\ IP NETMASK}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK+hjhhubh)}(h~Now eth0 should active, you can test it by "ping" or get more information by "ifconfig". If tested ok, continue the next step.h]hNow eth0 should active, you can test it by “ping” or get more information by “ifconfig”. If tested ok, continue the next step.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK1hjhhubhenumerated_list)}(hhh](j )}(h9``cp dl2k.ko /lib/modules/`uname -r`/kernel/drivers/net``h]h)}(hjh]hliteral)}(hjh]h5cp dl2k.ko /lib/modules/`uname -r`/kernel/drivers/net}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK4hjubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(hLAdd the following line to /etc/modprobe.d/dl2k.conf:: alias eth0 dl2k h](h)}(h5Add the following line to /etc/modprobe.d/dl2k.conf::h]h4Add the following line to /etc/modprobe.d/dl2k.conf:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK5hjubj)}(halias eth0 dl2kh]halias eth0 dl2k}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK7hjubeh}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(h)Run ``depmod`` to updated module indexes.h]h)}(hjh](hRun }(hjhhhNhNubj)}(h ``depmod``h]hdepmod}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to updated module indexes.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK9hjubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(hRun ``netconfig`` or ``netconf`` to create configuration script ifcfg-eth0 located at /etc/sysconfig/network-scripts or create it manually. [see - Configuration Script Sample]h](h)}(hRun ``netconfig`` or ``netconf`` to create configuration script ifcfg-eth0 located at /etc/sysconfig/network-scripts or create it manually.h](hRun }(hjBhhhNhNubj)}(h ``netconfig``h]h netconfig}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubh or }(hjBhhhNhNubj)}(h ``netconf``h]hnetconf}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjBubhk to create configuration script ifcfg-eth0 located at /etc/sysconfig/network-scripts or create it manually.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK:hj>ubh)}(h#[see - Configuration Script Sample]h]h#[see - Configuration Script Sample]}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hj>ubeh}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(h@Driver will automatically load and configure at next boot time. h]h)}(h?Driver will automatically load and configure at next boot time.h]h?Driver will automatically load and configure at next boot time.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK>hjubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix.startKuh1jhjhhhhhK4ubeh}(h] quick-installah ]h"] quick installah$]h&]uh1hhhhhhhhK(ubh)}(hhh](h)}(hCompiling the Driverh]hCompiling the Driver}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKAubh)}(hXVIn Linux, NIC drivers are most commonly configured as loadable modules. The approach of building a monolithic kernel has become obsolete. The driver can be compiled as part of a monolithic kernel, but is strongly discouraged. The remainder of this section assumes the driver is built as a loadable module. In the Linux environment, it is a good idea to rebuild the driver from the source instead of relying on a precompiled version. This approach provides better reliability since a precompiled driver might depend on libraries or kernel features that are not present in a given Linux installation.h]hXVIn Linux, NIC drivers are most commonly configured as loadable modules. The approach of building a monolithic kernel has become obsolete. The driver can be compiled as part of a monolithic kernel, but is strongly discouraged. The remainder of this section assumes the driver is built as a loadable module. In the Linux environment, it is a good idea to rebuild the driver from the source instead of relying on a precompiled version. This approach provides better reliability since a precompiled driver might depend on libraries or kernel features that are not present in a given Linux installation.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjhhubh)}(hXMThe 3 files necessary to build Linux device driver are dl2k.c, dl2k.h and Makefile. To compile, the Linux installation must include the gcc compiler, the kernel source, and the kernel headers. The Linux driver supports Linux Kernels 2.4.7. Copy the files to a directory and enter the following command to compile and link the driver:h]hXMThe 3 files necessary to build Linux device driver are dl2k.c, dl2k.h and Makefile. To compile, the Linux installation must include the gcc compiler, the kernel source, and the kernel headers. The Linux driver supports Linux Kernels 2.4.7. Copy the files to a directory and enter the following command to compile and link the driver:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjhhubh)}(hhh](h)}(h CD-ROM driveh]h CD-ROM drive}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKRubj)}(hX[root@XXX /] mkdir cdrom [root@XXX /] mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom [root@XXX /] cd root [root@XXX /root] mkdir dl2k [root@XXX /root] cd dl2k [root@XXX dl2k] cp /cdrom/linux/dl2k.tgz /root/dl2k [root@XXX dl2k] tar xfvz dl2k.tgz [root@XXX dl2k] make allh]hX[root@XXX /] mkdir cdrom [root@XXX /] mount -r -t iso9660 -o conv=auto /dev/cdrom /cdrom [root@XXX /] cd root [root@XXX /root] mkdir dl2k [root@XXX /root] cd dl2k [root@XXX dl2k] cp /cdrom/linux/dl2k.tgz /root/dl2k [root@XXX dl2k] tar xfvz dl2k.tgz [root@XXX dl2k] make all}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKVhjhhubeh}(h] cd-rom-driveah ]h"] cd-rom driveah$]h&]uh1hhjhhhhhKRubh)}(hhh](h)}(hFloppy disc driveh]hFloppy disc drive}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK`ubj)}(h[root@XXX /] cd root [root@XXX /root] mkdir dl2k [root@XXX /root] cd dl2k [root@XXX dl2k] mcopy a:/linux/dl2k.tgz /root/dl2k [root@XXX dl2k] tar xfvz dl2k.tgz [root@XXX dl2k] make allh]h[root@XXX /] cd root [root@XXX /root] mkdir dl2k [root@XXX /root] cd dl2k [root@XXX dl2k] mcopy a:/linux/dl2k.tgz /root/dl2k [root@XXX dl2k] tar xfvz dl2k.tgz [root@XXX dl2k] make all}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKdhjhhubeh}(h]floppy-disc-driveah ]h"]floppy disc driveah$]h&]uh1hhjhhhhhK`ubeh}(h]compiling-the-driverah ]h"]compiling the driverah$]h&]uh1hhhhhhhhKAubh)}(hhh](h)}(hInstalling the Driverh]hInstalling the Driver}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hhhhhKlubh)}(hhh](h)}(hManual Installationh]hManual Installation}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjHhhhhhKoubjj)}(hOnce the driver has been compiled, it must be loaded, enabled, and bound to a protocol stack in order to establish network connectivity. To load a module enter the command:: insmod dl2k.o or:: insmod dl2k.o ; add parameter h](h)}(hOnce the driver has been compiled, it must be loaded, enabled, and bound to a protocol stack in order to establish network connectivity. To load a module enter the command::h]hOnce the driver has been compiled, it must be loaded, enabled, and bound to a protocol stack in order to establish network connectivity. To load a module enter the command:}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhjYubj)}(h insmod dl2k.oh]h insmod dl2k.o}hjksbah}(h]h ]h"]h$]h&]hhuh1jhhhKuhjYubh)}(hor::h]hor:}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhjYubj)}(h3insmod dl2k.o ; add parameterh]h3insmod dl2k.o ; add parameter}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKyhjYubeh}(h]h ]h"]h$]h&]uh1jihhhKqhjHhhubh transition)}(h9---------------------------------------------------------h]h}(h]h ]h"]h$]h&]uh1jhhhK{hjHhhubjj)}(hexample:: insmod dl2k.o media=100mbps_hd or:: insmod dl2k.o media=3 or:: insmod dl2k.o media=3,2 ; for 2 cards h](h)}(h example::h]hexample:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubj)}(ho insmod dl2k.o media=100mbps_hd or:: insmod dl2k.o media=3 or:: insmod dl2k.o media=3,2 ; for 2 cardsh]ho insmod dl2k.o media=100mbps_hd or:: insmod dl2k.o media=3 or:: insmod dl2k.o media=3,2 ; for 2 cards}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jihhhK}hjHhhubj)}(h9---------------------------------------------------------h]h}(h]h ]h"]h$]h&]uh1jhhhKhjHhhubjj)}(hXIPlease reference the list of the command line parameters supported by the Linux device driver below. The insmod command only loads the driver and gives it a name of the form eth0, eth1, etc. To bring the NIC into an operational state, it is necessary to issue the following command:: ifconfig eth0 up Finally, to bind the driver to the active protocol (e.g., TCP/IP with Linux), enter the following command:: ifup eth0 Note that this is meaningful only if the system can find a configuration script that contains the necessary network information. A sample will be given in the next paragraph. The commands to unload a driver are as follows:: ifdown eth0 ifconfig eth0 down rmmod dl2k.o The following are the commands to list the currently loaded modules and to see the current network configuration:: lsmod ifconfig h](h)}(hdPlease reference the list of the command line parameters supported by the Linux device driver below.h]hdPlease reference the list of the command line parameters supported by the Linux device driver below.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hThe insmod command only loads the driver and gives it a name of the form eth0, eth1, etc. To bring the NIC into an operational state, it is necessary to issue the following command::h]hThe insmod command only loads the driver and gives it a name of the form eth0, eth1, etc. To bring the NIC into an operational state, it is necessary to issue the following command:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hifconfig eth0 uph]hifconfig eth0 up}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubh)}(hkFinally, to bind the driver to the active protocol (e.g., TCP/IP with Linux), enter the following command::h]hjFinally, to bind the driver to the active protocol (e.g., TCP/IP with Linux), enter the following command:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(h ifup eth0h]h ifup eth0}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubh)}(hNote that this is meaningful only if the system can find a configuration script that contains the necessary network information. A sample will be given in the next paragraph.h]hNote that this is meaningful only if the system can find a configuration script that contains the necessary network information. A sample will be given in the next paragraph.}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(h0The commands to unload a driver are as follows::h]h/The commands to unload a driver are as follows:}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(h+ifdown eth0 ifconfig eth0 down rmmod dl2k.oh]h+ifdown eth0 ifconfig eth0 down rmmod dl2k.o}hj=sbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubh)}(hrThe following are the commands to list the currently loaded modules and to see the current network configuration::h]hqThe following are the commands to list the currently loaded modules and to see the current network configuration:}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(hlsmod ifconfigh]hlsmod ifconfig}hjYsbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jihhhKhjHhhubeh}(h]manual-installationah ]h"]manual installationah$]h&]uh1hhj7hhhhhKoubh)}(hhh](h)}(hAutomated Installationh]hAutomated Installation}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuhhhhhKubjj)}(hThis section describes how to install the driver such that it is automatically loaded and configured at boot time. The following description is based on a Red Hat 6.0/7.0 distribution, but it can easily be ported to other distributions as well. h]h)}(hThis section describes how to install the driver such that it is automatically loaded and configured at boot time. The following description is based on a Red Hat 6.0/7.0 distribution, but it can easily be ported to other distributions as well.h]hThis section describes how to install the driver such that it is automatically loaded and configured at boot time. The following description is based on a Red Hat 6.0/7.0 distribution, but it can easily be ported to other distributions as well.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jihhhKhjuhhubeh}(h]automated-installationah ]h"]automated installationah$]h&]uh1hhj7hhhhhKubh)}(hhh](h)}(hRed Hat v6.x/v7.xh]hRed Hat v6.x/v7.x}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubjj)}(hXw1. Copy dl2k.o to the network modules directory, typically /lib/modules/2.x.x-xx/net or /lib/modules/2.x.x/kernel/drivers/net. 2. Locate the boot module configuration file, most commonly in the /etc/modprobe.d/ directory. Add the following lines:: alias ethx dl2k options dl2k where ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if one other ethernet adapter is installed, etc. Refer to the table in the previous section for the list of optional parameters. 3. Locate the network configuration scripts, normally the /etc/sysconfig/network-scripts directory, and create a configuration script named ifcfg-ethx that contains network information. 4. Note that for most Linux distributions, Red Hat included, a configuration utility with a graphical user interface is provided to perform steps 2 and 3 above. h]j)}(hhh](j )}(h{Copy dl2k.o to the network modules directory, typically /lib/modules/2.x.x-xx/net or /lib/modules/2.x.x/kernel/drivers/net.h]h)}(h{Copy dl2k.o to the network modules directory, typically /lib/modules/2.x.x-xx/net or /lib/modules/2.x.x/kernel/drivers/net.h]h{Copy dl2k.o to the network modules directory, typically /lib/modules/2.x.x-xx/net or /lib/modules/2.x.x/kernel/drivers/net.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hXwLocate the boot module configuration file, most commonly in the /etc/modprobe.d/ directory. Add the following lines:: alias ethx dl2k options dl2k where ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if one other ethernet adapter is installed, etc. Refer to the table in the previous section for the list of optional parameters.h](h)}(huLocate the boot module configuration file, most commonly in the /etc/modprobe.d/ directory. Add the following lines::h]htLocate the boot module configuration file, most commonly in the /etc/modprobe.d/ directory. Add the following lines:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(h2alias ethx dl2k options dl2k h]h2alias ethx dl2k options dl2k }hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhKhjubh)}(hwhere ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if one other ethernet adapter is installed, etc. Refer to the table in the previous section for the list of optional parameters.h]hwhere ethx will be eth0 if the NIC is the only ethernet adapter, eth1 if one other ethernet adapter is installed, etc. Refer to the table in the previous section for the list of optional parameters.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1j hjubj )}(hLocate the network configuration scripts, normally the /etc/sysconfig/network-scripts directory, and create a configuration script named ifcfg-ethx that contains network information.h]h)}(hLocate the network configuration scripts, normally the /etc/sysconfig/network-scripts directory, and create a configuration script named ifcfg-ethx that contains network information.h]hLocate the network configuration scripts, normally the /etc/sysconfig/network-scripts directory, and create a configuration script named ifcfg-ethx that contains network information.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j hjubj )}(hNote that for most Linux distributions, Red Hat included, a configuration utility with a graphical user interface is provided to perform steps 2 and 3 above. h]h)}(hNote that for most Linux distributions, Red Hat included, a configuration utility with a graphical user interface is provided to perform steps 2 and 3 above.h]hNote that for most Linux distributions, Red Hat included, a configuration utility with a graphical user interface is provided to perform steps 2 and 3 above.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj"ubah}(h]h ]h"]h$]h&]uh1j hjubeh}(h]h ]h"]h$]h&]jjjhjjuh1jhjubah}(h]h ]h"]h$]h&]uh1jihhhKhjhhubeh}(h]red-hat-v6-x-v7-xah ]h"]red hat v6.x/v7.xah$]h&]uh1hhj7hhhhhKubeh}(h]installing-the-driverah ]h"]installing the driverah$]h&]uh1hhhhhhhhKlubh)}(hhh](h)}(hParameter Descriptionh]hParameter Description}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjVhhhhhKubh)}(hYou can install this driver without any additional parameter. However, if you are going to have extensive functions then it is necessary to set extra parameter. Below is a list of the command line parameters supported by the Linux device driver.h]hYou can install this driver without any additional parameter. However, if you are going to have extensive functions then it is necessary to set extra parameter. Below is a list of the command line parameters supported by the Linux device driver.}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjVhhubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj|ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK.uh1jhj|ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(hmtu=packet_sizeh]hmtu=packet_size}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h3Specifies the maximum packet size. default is 1500.h]h3Specifies the maximum packet size. default is 1500.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hmedia=media_typeh]hmedia=media_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](h)}(hUSpecifies the media type the NIC operates at. autosense Autosensing active media.h]hUSpecifies the media type the NIC operates at. autosense Autosensing active media.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubjv)}(hhh]j{)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h 10mbps_hdh]h 10mbps_hd}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h10Mbps half duplex.h]h10Mbps half duplex.}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj7ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h 10mbps_fdh]h 10mbps_fd}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(hhh]h)}(h10Mbps full duplex.h]h10Mbps full duplex.}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h 100mbps_hdh]h 100mbps_hd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h100Mbps half duplex.h]h100Mbps half duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h 100mbps_fdh]h 100mbps_fd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h100Mbps full duplex.h]h100Mbps full duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h 1000mbps_fdh]h 1000mbps_fd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h1000Mbps full duplex.h]h1000Mbps full duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h 1000mbps_hdh]h 1000mbps_hd}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj3ubah}(h]h ]h"]h$]h&]uh1jhj0ubj)}(hhh]h)}(h1000Mbps half duplex.h]h1000Mbps half duplex.}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJubah}(h]h ]h"]h$]h&]uh1jhj0ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h0h]h0}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjjubah}(h]h ]h"]h$]h&]uh1jhjgubj)}(hhh]h)}(hAutosensing active media.h]hAutosensing active media.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjgubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h1h]h1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h10Mbps half duplex.h]h10Mbps half duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h2h]h2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h10Mbps full duplex.h]h10Mbps full duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h3h]h3}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h100Mbps half duplex.h]h100Mbps half duplex.}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj&ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h4h]h4}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjFubah}(h]h ]h"]h$]h&]uh1jhjCubj)}(hhh]h)}(h100Mbps full duplex.h]h100Mbps full duplex.}(hj`hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj]ubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h5h]h5}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj}ubah}(h]h ]h"]h$]h&]uh1jhjzubj)}(hhh]h)}(h1000Mbps half duplex.h]h1000Mbps half duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjzubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h6h]h6}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h1000Mbps full duplex.h]h1000Mbps full duplex.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jzhjubah}(h]h ]h"]h$]h&]uh1juhjubh)}(hrBy default, the NIC operates at autosense. 1000mbps_fd and 1000mbps_hd types are only available for fiber adapter.h]hrBy default, the NIC operates at autosense. 1000mbps_fd and 1000mbps_hd types are only available for fiber adapter.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hvlan=nh]hvlan=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h\Specifies the VLAN ID. If vlan=0, the Virtual Local Area Network (VLAN) function is disable.h]h\Specifies the VLAN ID. If vlan=0, the Virtual Local Area Network (VLAN) function is disable.}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj/ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h jumbo=[0|1]h]h jumbo=[0|1]}(hjR hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjO ubah}(h]h ]h"]h$]h&]uh1jhjL ubj)}(hhh]h)}(hSpecifies the jumbo frame support. If jumbo=1, the NIC accept jumbo frames. By default, this function is disabled. Jumbo frame usually improve the performance int gigabit. This feature need jumbo frame compatible remote.h]hSpecifies the jumbo frame support. If jumbo=1, the NIC accept jumbo frames. By default, this function is disabled. Jumbo frame usually improve the performance int gigabit. This feature need jumbo frame compatible remote.}(hji hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjf ubah}(h]h ]h"]h$]h&]uh1jhjL ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h rx_coalesce=mh]h rx_coalesce=m}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h*Number of rx frame handled each interrupt.h]h*Number of rx frame handled each interrupt.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h rx_timeout=nh]h rx_timeout=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](h)}(hXURx DMA wait time for an interrupt. If set rx_coalesce > 0, hardware only assert an interrupt for m frames. Hardware won't assert rx interrupt until m frames received or reach timeout of n * 640 nano seconds. Set proper rx_coalesce and rx_timeout can reduce congestion collapse and overload which has been a bottleneck for high speed network.h]hXWRx DMA wait time for an interrupt. If set rx_coalesce > 0, hardware only assert an interrupt for m frames. Hardware won’t assert rx interrupt until m frames received or reach timeout of n * 640 nano seconds. Set proper rx_coalesce and rx_timeout can reduce congestion collapse and overload which has been a bottleneck for high speed network.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hFor example, rx_coalesce=10 rx_timeout=800. that is, hardware assert only 1 interrupt for 10 frames received or timeout of 512 us.h]hFor example, rx_coalesce=10 rx_timeout=800. that is, hardware assert only 1 interrupt for 10 frames received or timeout of 512 us.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h tx_coalesce=nh]h tx_coalesce=n}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hNumber of tx frame handled each interrupt. Set n > 1 can reduce the interrupts congestion usually lower performance of high speed network card. Default is 16.h]hNumber of tx frame handled each interrupt. Set n > 1 can reduce the interrupts congestion usually lower performance of high speed network card. Default is 16.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h tx_flow=[1|0]h]h tx_flow=[1|0]}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj9 ubah}(h]h ]h"]h$]h&]uh1jhj6 ubj)}(hhh]h)}(h`Specifies the Tx flow control. If tx_flow=0, the Tx flow control disable else driver autodetect.h]h`Specifies the Tx flow control. If tx_flow=0, the Tx flow control disable else driver autodetect.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjP ubah}(h]h ]h"]h$]h&]uh1jhj6 ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h rx_flow=[1|0]h]h rx_flow=[1|0]}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjp ubah}(h]h ]h"]h$]h&]uh1jhjm ubj)}(hhh]h)}(h_Specifies the Rx flow control. If rx_flow=0, the Rx flow control enable else driver autodetect.h]h_Specifies the Rx flow control. If rx_flow=0, the Rx flow control enable else driver autodetect.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj ubah}(h]h ]h"]h$]h&]uh1jhjm ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj|ubeh}(h]h ]h"]h$]h&]colsKuh1jzhjwubah}(h]h ]h"]h$]h&]uh1juhjVhhhhhNubeh}(h]parameter-descriptionah ]h"]parameter descriptionah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hConfiguration Script Sampleh]hConfiguration Script Sample}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMubh)}(h3Here is a sample of a simple configuration script::h]h2Here is a sample of a simple configuration script:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj hhubj)}(hDEVICE=eth0 USERCTL=no ONBOOT=yes POOTPROTO=none BROADCAST=207.200.5.255 NETWORK=207.200.5.0 NETMASK=255.255.255.0 IPADDR=207.200.5.2h]hDEVICE=eth0 USERCTL=no ONBOOT=yes POOTPROTO=none BROADCAST=207.200.5.255 NETWORK=207.200.5.0 NETMASK=255.255.255.0 IPADDR=207.200.5.2}hj sbah}(h]h ]h"]h$]h&]hhuh1jhhhMhj hhubeh}(h]configuration-script-sampleah ]h"]configuration script sampleah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hTroubleshootingh]hTroubleshooting}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhM!ubh)}(h/Q1. Source files contain ^ M behind every line.h]h/Q1. Source files contain ^ M behind every line.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM"hj hhubjj)}(hMake sure all files are Unix file format (no LF). Try the following shell command to convert files:: cat dl2k.c | col -b > dl2k.tmp mv dl2k.tmp dl2k.c OR:: cat dl2k.c | tr -d "\r" > dl2k.tmp mv dl2k.tmp dl2k.c h](h)}(hdMake sure all files are Unix file format (no LF). Try the following shell command to convert files::h]hcMake sure all files are Unix file format (no LF). Try the following shell command to convert files:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM$hj ubj)}(h1cat dl2k.c | col -b > dl2k.tmp mv dl2k.tmp dl2k.ch]h1cat dl2k.c | col -b > dl2k.tmp mv dl2k.tmp dl2k.c}hj% sbah}(h]h ]h"]h$]h&]hhuh1jhhhM'hj ubh)}(hOR::h]hOR:}(hj3 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM*hj ubj)}(h5cat dl2k.c | tr -d "\r" > dl2k.tmp mv dl2k.tmp dl2k.ch]h5cat dl2k.c | tr -d "\r" > dl2k.tmp mv dl2k.tmp dl2k.c}hjA sbah}(h]h ]h"]h$]h&]hhuh1jhhhM,hj ubeh}(h]h ]h"]h$]h&]uh1jihhhM$hj hhubh)}(h*Q2: Could not find header files (``*.h``)?h](h!Q2: Could not find header files (}(hjU hhhNhNubj)}(h``*.h``h]h*.h}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU ubh)?}(hjU hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM/hj hhubjj)}(hX$To compile the driver, you need kernel header files. After installing the kernel source, the header files are usually located in /usr/src/linux/include, which is the default include directory configured in Makefile. For some distributions, there is a copy of header files in /usr/src/include/linux and /usr/src/include/asm, that you can change the INCLUDEDIR in Makefile to /usr/include without installing kernel source. Note that RH 7.0 didn't provide correct header files in /usr/include, including those files will make a wrong version driver. h](h)}(hXTo compile the driver, you need kernel header files. After installing the kernel source, the header files are usually located in /usr/src/linux/include, which is the default include directory configured in Makefile. For some distributions, there is a copy of header files in /usr/src/include/linux and /usr/src/include/asm, that you can change the INCLUDEDIR in Makefile to /usr/include without installing kernel source.h]hXTo compile the driver, you need kernel header files. After installing the kernel source, the header files are usually located in /usr/src/linux/include, which is the default include directory configured in Makefile. For some distributions, there is a copy of header files in /usr/src/include/linux and /usr/src/include/asm, that you can change the INCLUDEDIR in Makefile to /usr/include without installing kernel source.}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM1hju ubh)}(h}Note that RH 7.0 didn't provide correct header files in /usr/include, including those files will make a wrong version driver.h]hNote that RH 7.0 didn’t provide correct header files in /usr/include, including those files will make a wrong version driver.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM8hju ubeh}(h]h ]h"]h$]h&]uh1jihhhM1hj hhubeh}(h]troubleshootingah ]h"]troubleshootingah$]h&]uh1hhhhhhhhM!ubeh}(h]9d-link-dl2000-based-gigabit-ethernet-adapter-installationah ]h"]9d-link dl2000-based gigabit ethernet adapter installationah$]h&]uh1hhhhhhhhKubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerj error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}nameids}(j j jjjjj4j1jjj,j)jSjPjrjojjjKjHj j j j j j u nametypes}(j jjj4jj,jSjrjjKj j j uh}(j hjhjjj1jjjj)jjPj7jojHjjujHjj jVj j j j u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}Rparse_messages]hsystem_message)}(hhh]h)}(h:Enumerated list start value not ordinal-1: "4" (ordinal 4)h]h>Enumerated list start value not ordinal-1: “4” (ordinal 4)}(hj4 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1 ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j/ hjhhhhhK4ubatransform_messages] transformerN include_log] decorationNhhub.