Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

How to assign a static IP address to Raspbmc

πŸ“… 2012-Aug-14 ⬩ ✍️ Ashwin Nanjappa ⬩ πŸ“š Archive

Raspberry Pi running Raspbmc is an awesome HTPC. If you have connected your Raspbmc to your home wireless router, it is most probably getting a dynamic IP address from it using DHCP. This is quite a hassle if you control your Raspbmc using your cellphoneΒ orΒ browser or use FTP or SSH with it, since the IP address keeps changing. Due to these reasons, it is better to assign a static IP address to your Raspbmc.

Assigning a static IP address to Raspbmc is easy:

  1. In XBMC, go to Programs β†’ Raspbmc settings β†’ Wired network configuration.

  2. Uncheck the Automatic DHCP option.

  3. Provide a static IP address. Make sure the IP address is far away from the IP addresses typically assigned by the router to the networked devices at home. For example, if a router assigns addresses starting from 192.168.0.10, then pick a static IP like 192.168.0.50

  4. Scroll down and check the Update Now option. Raspbmc will take a few seconds to apply the new configuration.

  5. Make sure you can ping the static IP address you assigned. Voila, your Raspbmc now has a fixed IP address! 😊

Note: Do not muck around with the /etc/network/interfaces file to assign a static IP address. That does not work with Raspbmc.

Tried with: Raspbmc RC4