UPDATE: I plugged SCL and SDA into the Yun pins marked the same (by the Ethernet connector) and it works fine.