Cable attachment to pipes