Closed moarief closed 2 years ago
Hi,
Downloaded the file and tried to run it, but keep getting this error:
610: Syntax error: "(" unexpected (expecting "}")
is_5ghz_frequency() { [[ $1 =~ ^(49[0-9]{2})|(5[0-9]{3})$ ]] }
I can't see anything wrong here, but might just be me?
Operating system: Kali Linux
Were you running with wifi connected? Run this (with wifi connected), post the result:
iw dev <YOUR-WIFI-IFACE> link
My bad, had to set executable permission first :)
Hi,
Downloaded the file and tried to run it, but keep getting this error:
610: Syntax error: "(" unexpected (expecting "}")
is_5ghz_frequency() { [[ $1 =~ ^(49[0-9]{2})|(5[0-9]{3})$ ]] }
I can't see anything wrong here, but might just be me?
Operating system: Kali Linux