2 pages from German Army Uniforms and Insignia 1933 - 1945 by Brian L Davis will explain the lanyard. His rank is Feldwebel.
He holds the rank of Feldwebel but it is hard to see what the colour of his waffebfarbe is to determine his arm of service. If it is black then he belongs to Pionier-Btl 138 but if it is green then he could be a mountain trooper - Gebirgsjäger - in Gebirgsjäger-Regiment 138 and if red then Artillerie-Regiment 138.