Closed 5nefarious closed 7 years ago
Yes this just happened to me, too. Locally I made a code change to use an environment variable for this, but I can't help from thinking there must be a better way. What do you think? Is it time for a ~/.wifish ?
The other options I was considering is just ignoring any p2p-dev-* interfaces.
I went ahead and used -i
The -i
option does work for me. It does seem a bit clunky though. On the other hand, introducing a configuration file for just one option seems like too much.
Maybe you could read from an environment variable? Then you could just define your default interface in .bashrc
or something and forget about it.
On my laptop, I have two wifi interfaces:
wlp4s0
andp2p-dev-wlp4s0
.wpa_cli
always selects the wrong one by default, so I can't use wifish at all.Could you add a way to specify a default interface, or a command line switch to set the interface when running the
wifish
script?