The efforts of the Pakistani president , Gen. Pervez Musharraf , to help American antiterrorist operations have been limited both by the popularity in Pakistan of groups violently opposing Indian control of Kashmir and by his government 's minimal control over the lawless tribal areas along the Afghanistan border .