Smith, then with the 5th Company of the Bengal Sappers and Miners in November 1841, served in a force under Brigadier Wild, taking part in the advance on Ali Masjid in the Khyber Pass.[1] Smith then served throughout the 1842 campaign in Afghanistan, taking part in the successful storming of the Khyber Pass; the occupation of Jelalabad and the occupation of Kabul.[3] Smith later rejoined the Headquarters of the Bengal Sappers and Miners at Delhi, and was shortly afterwards transferred to 7th Company, with whom he served in the later part of the Sutlej campaign.[3] Smith was present at the battle of Sobraon and was awarded a medal for this.[3] Posted to the 3rd Company, Smith served through the Punjab campaign in the Second Anglo-Sikh War, being present at the siege and capture of Multan and battle of Gujerat. For this service Smith was awarded the Punjab Medal with two clasps.[3]