A general treatment of 1-dimensional hopping conduction