Cannot run ./scripts/driver-select

I’m running Raspbian and trying to get compat wireless drivers (backports) but when I run the above command I get “no such file or directory” when adding rtl8187 to the end. If I add sudo to the beginning I’m told command not found.

I’ve got Linux headers installed.

Are you running the command from the correct directory ?

Which directory are you in (currcent directory) ?

Running:

pwd

should tell you

from what I gather you need to download compat-wireless … unpack it … then cd (change directory) to the unpacked directory … then run your command.