adapt wireless to bash