petenroz
Posts: 2
Joined: Sat Apr 06, 2013 2:02 am

how to differentiate 2 rpi's on the network

Sat Apr 06, 2013 2:16 am

I have 2 rpi's on my network (running xmbc successfully)
Unfortunately the network groups both devices and i can only access 1 via other computers
the same issue occurs when using remote software like Australia's "abc iview" it sees the main server and only 1 of the pi's.(the xbmc remote app works fine)
they have different IP addresses but my router still lists them as 1 device with 2 ip's
how can i separate them on the network?

cleverca22
Posts: 581
Joined: Sat Aug 18, 2012 2:33 pm

Re: how to differentiate 2 rpi's on the network

Sat Apr 06, 2013 4:23 am

sounds like you need to change the hostname on one of them

User avatar
rpdom
Posts: 17029
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: how to differentiate 2 rpi's on the network

Sat Apr 06, 2013 4:29 am

Have both your Pi's got the same hostname? If so, then the router may very well consider them to be the same device name, but different address.

The hostname is shown on the shell prompt when using a terminal session and is contained in the file /etc/hostname. It may also be stored in /etc/hosts and /etc/mailname (if it exists).

If you make sure each Pi has a different hostname ("sudo nano /etc/hostname" and "sudo nano /etc/hosts") and reboot, you should see two devices - although your router may take a while to realise this.

petenroz
Posts: 2
Joined: Sat Apr 06, 2013 2:02 am

Re: how to differentiate 2 rpi's on the network

Mon Apr 08, 2013 12:33 am

thank you rpdom it worked :P

Return to “Beginners”