Difference between revisions of "How to get the IP Address"

 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= How to get the IP Address=
= How to get the IP Address=


If the IP Address of the Barix device is not known or undefined, it can be found out using two different procedures or set temporary via the third procedures as described in the following three sections.  
If the IP Address of the Barix device is not known or undefined, it can be found out using three different procedures or set temporary via the third procedures as described in the following three sections.
 
 
== Usage of the Barix Discovery Tool ==
When the firmwares on the Barix devices are not too old then the Barix Discovery tool can be used to discover Barix devices in the local LAN. This is a java based PC software and can be downloaded from Barix Website [http://www.barix.com/index.php?id=174]. The application will find all Barix devices in the local LAN and show their current software version. Additionally it allows to set/change the IP address of the Barix devices.




== DHCP Device List from Router ==
== DHCP Device List from Router ==
This procedure is applicable only if you have administrative access (user name and password) to a router with DHCP service (usually your Internet modem/gateway). Otherwise skip to the next section.  
This procedure is applicable only if you have administrative access (user name and password) to a router with DHCP service (usually your Internet modem/gateway). Otherwise skip to the next section.  
*Step 1
# Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.  
Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.  
# Power the Barix device and note the MAC address to find the IP address in the next step.  
*Step 2
# Open a browser window on your PC and log into the router which is running the DHCP service. Look for Diagnostics  or Maintenance and find the link to show the issued DHCP addresses (on some routers called attached devices ). Find the MAC address in the the list to obtain the issued IP address. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.
Power the Barix device and note the MAC address to find the IP address in the next step.  
 
* Step 3
Open a browser window on your PC and log into the router which is running the DHCP service. Look for  
Diagnostics  or Maintenance and find the link to show the issued DHCP addresses (on some routers called attached devices ). Find the MAC address in the the list to obtain the issued IP address. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.


== Getting IP from Syslog Message ==
== Getting IP from Syslog Message ==
This procedure is applicable only if you have a router with DHCP service running (usually your Internet  
This procedure is applicable only if you have a router with DHCP service running (usually your Internet  
modem/gateway) and can run a SYSLOG application like the free Kiwi Syslog Daemon or WireShark. Otherwise skip to the next section.  
modem/gateway) and can run a SYSLOG application like the free Kiwi Syslog Daemon or WireShark. Otherwise skip to the next section.  
* Step 1
# Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.  
Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.  
# Run the SYSLOG application on your PC and power the Barix device.  
* Step 2
# Find the issued IP address in the SYSLOG application in the Hostname column. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.
Run the SYSLOG application on your PC and power the Barix device.  
* Step 3
Find the issued IP address in the SYSLOG application in the Hostname column. Note the IP address and use it to access the WEB User Interface of the Barix device.




== Setting temporary IP address using ARP command ==
== Setting temporary IP address using ARP command ==
This procedure is to temporarily set the IP address for the first time browser access. Attention: After this procedure the temporary IP will be active only as long as the Barix device stays powered. After a restart the procedure has to be repeated unless you have configured the IP address using the WEB User Interface of the Barix device.  
This procedure is to temporarily set the IP address for the first time browser access. Attention: After this procedure the temporary IP will be active only as long as the Barix device stays powered. After a restart the procedure has to be repeated unless you have configured the IP address using the WEB User Interface of the Barix device.  
* Step 1
# Use either a crossover network cable between the Barix device and the PC or use two network cables to connect the Barix device and the PC to a network switch.  
Use either a crossover network cable between the Barix device and the PC or use two network cables to connect the Barix device and the PC to a network switch.  
# Make sure that you have a valid IP address configured on your PC (e.g. 192.168.0.2) and power the Barix device.  
* Step 2
# Open a command window with a click on Start  followed by a click on Run. In the Open field type  cmd  and click on OK  
Make sure that you have a valid IP address configured on your PC (e.g. 192.168.0.2) and power the Barix device.  
# Please skip this step if you used a crossover  network cable in step 1 and proceed to step 5. To ensure that we use a free IP address (not already used by another device in the network) we have to use the Ping command. In this example we assume the PC to have the IP address 192.168.0.2 and want to check if 192.168.0.6 is free. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you get a reply (IP already used) then try to ping another IP until you find one that is not used. If the request times out (as shown in the above window) then the pinged IP is free and we can continue with the next step.  
* Step 3
# Now we are going to make your PC talk to the Barix device's MAC address using the IP address 192.168.0.6. (The MAC address of the Barix device unit is printed on a label placed on the bottom of the device) using the arp command with parameter -s  for set  followed by the chosen IP address and the MAC address (12 hex digits, separated by a hyphen every 2 digits) To do so type into the command window arp -s 192.168.0.6 00-20-4A-93-7F-D4  and hit the Enter  key.  
Open a command window with a click on Start  followed by a click on Run.. .
# Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1  and hit the Enter  key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP address used as long as the Barix device stays powered.  
In the Open field type  cmd  and click on OK  
# To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out  instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).
* Step 4
 
Please skip this step if you used a crossover  network cable in step 1 and proceed to step 5.  
NOTE: On Windows Vista this method may not work, the arp -s returns an error code of 5 and no entry is generated.  It is an account rights question: "user" accounts apparently cannot do the arp -s.
To ensure that we use a free IP address (not already used by another device in the network) we have to use the Ping command. In this example we assume the PC to have the IP address 192.168.0.2 and want to check if 192.168.0.6 is free. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you get a reply (IP already used) then try to ping another IP until you find one that is not used. If the request times out (as shown in the above window) then the pinged IP is free and we can continue with the next step.  
In this case you need to disable the user account controller at Windows Vista.
* Step 5
 
Now we are going to make your PC talk to the Barix device's MAC address using the IP address 192.168.0.6. (The MAC address of the Barix device unit is printed on a label placed on the bottom of the device) using the arp command with parameter -s  for set  followed by the chosen IP address and the MAC address (12 hex digits, separated by a hyphen every 2 digits) To do so type into the command window arp -s 192.168.0.6 00-20-4A-93-7F-D4  and hit the Enter  key.  
 
*Step 6
Additionally the Barix audio devices have a feature called SonicIP, when this is enabled (default) then the devices announce (output on line-out or headphone) their IP address after startup.
Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1  and hit the Enter  key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP  
 
address used as long as the Barix device stays powered.  
 
* Step 7
Back to [[Troubleshooting]]
To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6  and hit the Enter  key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out  instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).

Latest revision as of 11:32, 15 April 2013

How to get the IP Address

If the IP Address of the Barix device is not known or undefined, it can be found out using three different procedures or set temporary via the third procedures as described in the following three sections.


Usage of the Barix Discovery Tool

When the firmwares on the Barix devices are not too old then the Barix Discovery tool can be used to discover Barix devices in the local LAN. This is a java based PC software and can be downloaded from Barix Website [1]. The application will find all Barix devices in the local LAN and show their current software version. Additionally it allows to set/change the IP address of the Barix devices.


DHCP Device List from Router

This procedure is applicable only if you have administrative access (user name and password) to a router with DHCP service (usually your Internet modem/gateway). Otherwise skip to the next section.

  1. Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.
  2. Power the Barix device and note the MAC address to find the IP address in the next step.
  3. Open a browser window on your PC and log into the router which is running the DHCP service. Look for Diagnostics or Maintenance and find the link to show the issued DHCP addresses (on some routers called attached devices ). Find the MAC address in the the list to obtain the issued IP address. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.


Getting IP from Syslog Message

This procedure is applicable only if you have a router with DHCP service running (usually your Internet modem/gateway) and can run a SYSLOG application like the free Kiwi Syslog Daemon or WireShark. Otherwise skip to the next section.

  1. Use two network cables to connect the Barix device and the PC to the local network (LAN) over a network switch or directly to the router which is running the DHCP service.
  2. Run the SYSLOG application on your PC and power the Barix device.
  3. Find the issued IP address in the SYSLOG application in the Hostname column. This IP address can be used to access the Barix device using a web browser and set the IP address permanently.


Setting temporary IP address using ARP command

This procedure is to temporarily set the IP address for the first time browser access. Attention: After this procedure the temporary IP will be active only as long as the Barix device stays powered. After a restart the procedure has to be repeated unless you have configured the IP address using the WEB User Interface of the Barix device.

  1. Use either a crossover network cable between the Barix device and the PC or use two network cables to connect the Barix device and the PC to a network switch.
  2. Make sure that you have a valid IP address configured on your PC (e.g. 192.168.0.2) and power the Barix device.
  3. Open a command window with a click on Start followed by a click on Run. In the Open field type cmd and click on OK
  4. Please skip this step if you used a crossover network cable in step 1 and proceed to step 5. To ensure that we use a free IP address (not already used by another device in the network) we have to use the Ping command. In this example we assume the PC to have the IP address 192.168.0.2 and want to check if 192.168.0.6 is free. To do so type into the command window ping 192.168.0.6 and hit the Enter key. If you get a reply (IP already used) then try to ping another IP until you find one that is not used. If the request times out (as shown in the above window) then the pinged IP is free and we can continue with the next step.
  5. Now we are going to make your PC talk to the Barix device's MAC address using the IP address 192.168.0.6. (The MAC address of the Barix device unit is printed on a label placed on the bottom of the device) using the arp command with parameter -s for set followed by the chosen IP address and the MAC address (12 hex digits, separated by a hyphen every 2 digits) To do so type into the command window arp -s 192.168.0.6 00-20-4A-93-7F-D4 and hit the Enter key.
  6. Now we have to make the Barix device listening to the IP address 192.168.0.6 using the Telnet command. To do so type into the command window telnet 192.168.0.6 1 and hit the Enter key (the number one must be there for this command to work correctly !!!) The Barix device will refuse the connection on port 1 (one) immediately but will be available for web access on the IP address used as long as the Barix device stays powered.
  7. To check if the Barix device is responding you can use the ping command again. To do so type into the command window ping 192.168.0.6 and hit the Enter key. If you do get a reply this IP address can be used to access the Barix device using a web browser and set the IP address permanently. If you do get Request timed out instead of a reply then please repeat step 6 carefully (most likely mistyped the telnet command).

NOTE: On Windows Vista this method may not work, the arp -s returns an error code of 5 and no entry is generated. It is an account rights question: "user" accounts apparently cannot do the arp -s. In this case you need to disable the user account controller at Windows Vista.


Additionally the Barix audio devices have a feature called SonicIP, when this is enabled (default) then the devices announce (output on line-out or headphone) their IP address after startup.


Back to Troubleshooting