Customer-premises equipment