Smith was initially assigned to the
1st Infantry Regiment and posted to
Benicia Barracks, California. In June 1892 he was transferred to the post at
Fort McDowell on Angel Island, California. In July 1893, he led the 1st Infantry's Company G as part of the army contingent that marched in San Francisco's Independence Day parade. In March 1896, he was posted to
Topeka, Kansas as advisor, instructor, and inspector for the
Kansas National Guard. He was promoted to
first lieutenant in March 1898. The
Spanish–American War commenced in April 1898 and in May, Smith was promoted to
major of
United States Volunteers. Assigned to the 21st Kansas Volunteer Infantry Regiment, he aided in organizing and training the regiment in Topeka until June, then served with it during additional training at
Camp Chickamauga, Georgia. In early September 1898, the 21st Kansas Infantry was assigned to duty at Camp Hamilton near
Lexington, Kentucky. In late September, the regiment was transported back to Kansas and the soldiers remained on furlough until they were discharged in December. Smith was mustered out of the Volunteers on 10 December. ==Continued career==