What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

AC87U wireless interface names

Skirk

Occasional Visitor
Hi everyone,

I'm running merlin 376.48_1 on my AC87U. I cant seem to find the name of the 5ghz wireless interface. I have eth1 for the 2.4ghz interface working okay for cron jobs to turn the radio on and off. I have tried wifi0, eth0, eth2 for the 5ghz radio with no joy. All of the above return wl: wl driver adapter not found

I prefer using cron jobs as opposed to the gui as I need to turn them off a couple of times a day.

Thanks in advance
 
Hi everyone,

I'm running merlin 376.48_1 on my AC87U. I cant seem to find the name of the 5ghz wireless interface. I have eth1 for the 2.4ghz interface working okay for cron jobs to turn the radio on and off. I have tried wifi0, eth0, eth2 for the 5ghz radio with no joy. All of the above return wl: wl driver adapter not found

I prefer using cron jobs as opposed to the gui as I need to turn them off a couple of times a day.

Thanks in advance

The 5 GHz radio is not handled by a Broadcom chip but by the Quantenna SoC. That's why the wl command does not work - that command is only for Broadcom-based chops.
 
Thanks. I had a feeling that was the case. I ran ifconfig hoping that I could use up&down yet the interface wasn't listed. I dont suppose you could help out a newbie and give me the command required please? :D

Cheers
 
Thanks. I had a feeling that was the case. I ran ifconfig hoping that I could use up&down yet the interface wasn't listed. I dont suppose you could help out a newbie and give me the command required please? :D

Cheers

wifi0 is the Quantenna interface. However for any kind of control over it, you have to use the qcsapi client, which does something similar to wl, but far more powerful.

You will have to dive into the libqcsapi_client source code to determine the API on how to use that tool, there are a LOT of functions available.
 
wifi0 is the Quantenna interface. However for any kind of control over it, you have to use the qcsapi client, which does something similar to wl, but far more powerful.

You will have to dive into the libqcsapi_client source code to determine the API on how to use that tool, there are a LOT of functions available.

You weren't kidding! Thanks for the pointers, I'll have a dig around and see what works.
 
Got it :)

Got it.

For anyone else who is interested, these commands work for me:

5ghz radio off:

Code:
/usr/sbin/qcsapi_sockrpc rfenable wifi0 0

5ghz radio on:

Code:
/usr/sbin/qcsapi_sockrpc rfenable wifi0 1

Thanks again Merlin.
 
Eventually I want to create a Wiki entry with at least the list of supported functions, but I can't find the time to sit down and work through the list. Just for reference, there are 425 (!) different functions available through the client API (and I built that list a few months ago, so there might be a few additions since then).

Even that text file containing a list of functions is too big to be attached to this post ;)
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top