3.2 Applying power
The AC adapter is connected to the power socket on the WebRJS board and power is
switched on. The LED’s should start flashing after a few seconds, and after an additional
few seconds the unit has finished booting.
3.3 Assigning an IP Address
AWebNet module is, from the factory, configured to run in a so-called “Auto-IP mode”. The
technicaldetails of assigning an IP-address with Auto-IP mo de are explained in section 3.3.1
below, but you maywant to skip that section and proceed to the description of the necessary
steps to assign the IP address, in section 3.3.2.
3.3.1 Auto-IP – the details
The board has, from the factory, a hardware (MAC) address, but no IP-address. Auto-IP
makes it listen to network packetsfor its own MAC address, and when the first IP-packet
for that MAC address comes in, it takes the receiver-IP address from that packetand uses
that as its IP address. To be able to send such a packet, an entry is added to the arp table
of the computer, where the desired IP address is associated with the MAC address. Thus,
to assign the WebNet an IP-address, the followingsteps should b e carried out:
3.3.2 Auto-IP – how to assign an IP address
The steps described here apply to Windows machines, but a similar procedure is possible on
e.g. UNIX machines. Check your local flavour of arp by typing arp -? in a command
prompt, in case of problems.
In this example, the desired IP address is 192.168.4.10 and the MAC address is (from the
label on the WebNet module) 00-d0-c8-00-01-0d.
1. Open a command-line interpreter (DOS-prompt)
2. Make a static entry in the arp table by entering the command:
arp -s 192.168.4.10 00-d0-c8-00-01-0d
3. Ping the WebNet board:
ping 192.168.4.10
The ping command should result in 4 successive positive answers eachstarting with: Reply
from 192.168.4.10. If something has gone wrong, the answers start with “Request timed
out”.
If the pings responded successfully, the IP address is now assigned. Otherwise, check the
following list of possible sources of error:
WebNet User’s Guide 13