Why is my GPIB-ENET/100 Not Accessible through the Ethernet Configuration Utility in Linux?Hardware: Instrument Connectivity Other>>Ethernet>>GPIB-ENET/100
Problem: I am unable to configure the GPIB-ENET/100 because it fails to show up in the Ethernet Configuration Utility. How can I fix this problem? Solution: It sounds like there may be an issue with one of these scenarios, where your computer and the GPIB-ENET/100 are located on an unmanaged network (network without routers or gateways):
The driver assumes that you have the Ethernet device and TCP/IP stack already set up and configured on your Linux system. If the Linux system is set up to be on a managed network with routers or other devices which can automatically assign an IP address via DHCP, the system is set up and configured automatically at boot. If you do not have any other devices auto-configuring your Linux computer's network configuration, you can issue the following commands. Note that the effects of these commands are not retained after a reboot (not persistent). The commands to issue on the host computer are below. eth0 is the name of your Ethernet device. If your system has only one network card it will be called eth0. This tells the computer to configure the eth0 interface with the specified IP of 192.168.0.1. The subnet mask, broadcast address and other properties are defined automatically based on the IP. This IP is set aside for private IP networks that are not directly connected to the internet. Other devices on your network may be using this address and by enabling 2 devices with the same IP address, neither one may be able to communicate on the network. /sbin/route add default gw 192.168.0.1 dev eth0This tells the TCP/IP stack on your computer to route all outgoing packets through itself. Your computer serves as a gateway on an unmanaged network. Related Links: KnowledgeBase 0EF9PKEO: Using National Instruments Hardware on Linux KnowledgeBase 37NDF1GP: How Do I Setup the Ethernet Configuration for a GPIB ENET/100 Device? Attachments:
Report Date: 07/30/2004 Last Updated: 07/21/2006 Document ID: 3BTE6HSU |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
