# DietPi i2c problem

**URL:** <https://dietpi.com/forum/t/dietpi-i2c-problem/66>\
**Category:** General Discussion\
**Created:** [8 September 2015 14:18 UTC](https://dietpi.com/forum/t/dietpi-i2c-problem/66 "2015-09-08T14:18:02Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Aidan\_Hedley](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@Aidan\_Hedley](https://dietpi.com/forum/u/Aidan_Hedley)\
**Post date:** [8 September 2015 14:18 UTC](https://dietpi.com/forum/t/dietpi-i2c-problem/66/1 "2015-09-08T14:18:02Z")

</div>

Great little distro and super for my headless controller application.

I am trying to install a real time clock - , but after installing i2c-tools I am getting the following:  
when i2cdetect used:

> could not open /dev/i2c-0

I had the same issue with Raspian Wheezy and had to use raspi-config to enable i2c kernel hardware  
There must be a file to configure , but I cannot find it, can anyone advise please?

---

_[View the full topic](https://dietpi.com/forum/t/dietpi-i2c-problem/66)._
