NETGEAR GA621 manual Testing the Driver Software

Page 47

4.Add the following lines to any of the startup scripts like /etc/rc.d/rc.local or /etc/rc.d/init.d/network so that the driver will load when the system boots up:

#/sbin/insmod /lib/modules/2.2.12-20/net/gam.o

#/sbin/ifconfig <interface-name> <ip-addr>

Note: You may need to enter a different pathname than what is shown on the first line, above, depending on the Linux kernel version number you have.To find out the exact version number of the Linux kernel, use this command:

ls -al /lib/modules

You can dynamically load and unload the driver from a running kernel with the following commands:

#insmod gam.o

#rmmod gam.o

Testing the Driver Software

To install and test the driver, shut down the network stack, install the driver, and re-start the stack again with these commands:

#sh /etc/rc.d/init.d/network stop

#insmod gam.o

#sh /etc/rc.d/init.d/network start

When the driver is loaded into the system with the insmod command, the driver probes the PCI bus to locate all GA621 devices, and creates control structures for each.The driver logs a couple of messages available in the /var/log/messages file for each device with information about its PCI geographic location, IRQ, IO address, and some basic debug information (addresses of some important structures).

Linux driver software

7-3

Image 47
Contents Fiber Gigabit Ethernet Card Vcci Statement TrademarksStatement of Conditions Certificate of the Manufacturer/ImporterEN 55 022 Statement Internet/World Wide Web Customer SupportContents Chapter Netware Driver Software IndexFront Panel of Model GA621 Gigabit Ethernet Card TablesBenefits FeaturesIntroduction Introduction Package Contents Hardware InstallationSoftware and Hardware Requirements RequirementsWindows NetWare Front Panel of Model GA621 Gigabit Ethernet Card Hardware DescriptionGA621 LEDs Preparing to Install Your GA621 Fiber Gigabit Ethernet CardInstalling Your GA621 Fiber Gigabit Ethernet Card GA621 1000BASE-SX Cable Characteristics Connecting the Network CablesWindows 95 OSR2/98/ME Driver Software Installing the Driver SoftwareWindows 95 OSR2/98/Me driver software Windows 95 OSR2/98/Me driver software Windows 95 OSR2/98/Me driver software Windows 95 OSR2/98/Me driver software Parameter Descriptions Moving the Network Card to a Different SlotWindows NT Driver Software Double-click the Network icon. The Network dialog box opens Click Have Disk Insert Disk dialog box opens Windows NT driver software Windows NT driver software Parameter Descriptions Updating the Driver Software Moving the Network Card to a Different Slot Windows 2000 Driver Software Windows 2000 driver software Windows 2000 driver software Windows 2000 driver software Windows 2000 driver software Click Finish to complete the installation Removing the Driver Software Netware Driver Software NetWare Device Installation MethodsNetWare Support Files Pre-Installation RequirementsLoad nwconfig Press the Enter key to select the listed driver Parameter Descriptions Modifying Driver PropertiesInstallation Troubleshooting Linux files Linux Driver SoftwareFile Listing # mount -t msdos /dev/fd0 /mnt Testing the Driver Software Configurable Parameters GA621 1000BASE-SX Port LED Activity TroubleshootingChecking the Port LEDs GA621 Fiber Gigabit Ethernet CardPCI Bios Parameters Using a Troubleshooting ChecklistTroubleshooting Cable Specifications GA621 1000BASE-SX Appendix a SpecificationsPage Page NETGEAR, Inc