We already had many military operations but after a while we are back to square one. Where is frontier Corps, frontier constabulary, the rangers, police, anti terrorism police force, they should be fully capable to deal with the terrorists, extremists, smugglers, mafias, dacoits in those regions.
Pakistan paramilitary needs reforms. We should disband frontier Corps and frontier constabulary, incorporate them all in to KPK rangers, rangers should have a special wing to deal with special operations against terrorists and militants, the FIA and IB should be giving intelligence to the rangers, who will be backed by the police to carry out operations. This way the local government's and people will be on board.
The police, then rangers backed by special assault unit, FIA, IB or some investigation agency should be on board whenever rangers are involved. Army and ISI job is to fight external forces.