Compaq Graphical User Interface mar345 Manuel d'utilisateur Page 7

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 8
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 6
6
marXperts
V6.0 - Aug 2014
Software Distribution Guide
7. Setting Up the Ethernet Connection
Program mar345dtb communicates with the dtb and the mar345-scanner through an Ethernet interface. To use program
mar345dtb, the network must be congured to meet the requirements of the controllers. The mar345-scanner has the
xed IP-address 192.0.2.1 and the dtb is set to address 192.0.2.3. The host computer Ethernet interface must be set to
address 192.0.2.2. Network 192.0.2.x belongs to a pool of addresses that is not assigned to ofcial networks so there
should not be any conict with the outside world.
7.1 Congure a Dedicated Ethernet Card With IP-address 192.0.2.2
To congure an Ethernet card it is most convenient to use the graphical administration tools. On Linux, most system
conguration parameters will be taken from les in directory /etc/syscong which may be edited by hand, but you
really need to know what you are doing. It is safer to use graphical administration tools (e.g. yast2 on SuSE) to do the
conguration.
When using 2 Ethernet cards, the primary Ethernet card (eth0 on Linux, en0 on Mac) is normally congured as member
of your local network and the second Ethernet card (eth1 or en1) should be used to work with the mar345 and dtb.
In any case, the following parameters need to be assigned to the network card connecting to the mar345–detector
and dtb:
IP-address: 192.0.2.2
Netmask: 255.255.255.0
7.2 Add Entries to File /etc/hosts
Edit le /etc/hosts and add the following lines to the end of the le:
192.0.2.1 mar345 scanner
192.0.2.3 dtb mardtb
If you can’t nd an entry for IP-address 192.0.2.2, also add:
192.0.2.2 eth1
7.3 Conrm Settings
Conguring the network card normally requires a reboot of the computer. Afterwards, you should be able to access
other hosts (e.g. mar345) on network 192.0.2. To check network card eth1 (on Mac: en1), type:
ifcong eth1
On Linux, this command should come back with something like:
eth1 Link encap:10Mbps Ethernet HWaddr 00:80:C6:FF:EF:08
inet addr:192.0.2.2 Bcast:192.0.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
TX packets:0 errors:0 dropped:0 overruns:0
Interrupt:12 Base address:0x320
The correct routing table can be checked using command:
netstat –r
On Linux, it should say something similar to:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
193.141.161.0 * 255.255.255.0 U 1500 0 0 eth0
192.0.2.0 * 255.255.255.0 U 1500 0 0 eth1
127.0.0.0 * 255.0.0.0 U 3584 0
Vue de la page 6
1 2 3 4 5 6 7 8

Commentaires sur ces manuels

Pas de commentaire