[LEDE-DEV] Help me understand ubus extensions via C api

2017-07-05 Thread Carlito Nueno
Hi all, I want to customize a small feature in how hostapd responds to probe request and I was looking at https://github.com/lede-project/source/blob/master/package/network/services/hostapd/src/src/ap/ubus.c Please help me understand how it works? for example when I call `ubus call hostapd.wlan0-

Re: [LEDE-DEV] Help me understand ubus extensions via C api

2017-07-06 Thread Carlito Nueno
/blob/master/package/network/services/hostapd/src/src/ap/ubus.h#L42) Thanks again. On Wed, Jul 5, 2017 at 11:54 PM, Alexandru Ardelean wrote: > On Thu, Jul 6, 2017 at 4:31 AM, Carlito Nueno wrote: >> Hi all, >> >> I want to customize a small feature in how hostapd respond

[LEDE-DEV] How to run a single hostapd instance for two radios?

2017-07-10 Thread Carlito Nueno
Hi all, I am running lede 17.01.0 and hostapd v2.7-devel. I have two radios, 2.4 ghz and 5 ghz. There are two hostapd instances running. How can I have only one hostapd instance to control both radios. Reason being, I want to have band steering that's built into hostap. This requires to have only

[LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-09 Thread Carlito Nueno
Hi all, I am trying to compile hostapd/wpa_supplicant with CONFIG_MESH=y and CONFIG_SAE=y. I am using sdk to compile an ipk. I download the hostapd source and added those config options to wpa_supplicant-full.config. I have this in my sdk conf file: # CONFIG_PACKAGE_wpad-mini is not set CONFIG_

Re: [LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-09 Thread Carlito Nueno
(full), wpa_supplicant doesn't start because it fails to read or parse the conf file. On Sat, Dec 9, 2017 at 7:24 AM, Felix Fietkau wrote: > On 2017-12-09 14:36, Carlito Nueno wrote: >> Hi all, >> >> I am trying to compile hostapd/wpa_supplicant with CONFIG_MESH=y and >>

Re: [LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-09 Thread Carlito Nueno
Sorry, clarification: "I don't get above errors" meaning, I don't get the errors show in the gist link I posted; errors regarding reading and parsing wpa_supplicant conf file. Thanks On Sat, Dec 9, 2017 at 12:51 PM, Carlito Nueno wrote: > I need WPA2 Enterprise

Re: [LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-10 Thread Carlito Nueno
: send failed On Sun, Dec 10, 2017 at 11:20 AM, Carlito Nueno wrote: > Thanks! I’ll give it a go and report back. > > On Sunday, December 10, 2017, Felix Fietkau wrote: >> >> On 2017-12-10 20:03, Carlito Nueno wrote: >> > So wpad-mesh can do WPA2 enterprise, EAP and radi

Re: [LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-10 Thread Carlito Nueno
' option network 'wlan0_mesh_if' option ifname 'wlan0-mesh' option mesh_id 'mmesh' option encryption 'psk2+aes' option key 'mpasswd' On Sun, Dec 10, 2017 at 9:15 PM, Carlito Nueno wrote: > I am testin

Re: [LEDE-DEV] compile hostapd/wpa_supplicant with mesh and sae options

2017-12-13 Thread Carlito Nueno
Thanks Sven, I'll compile LEDE master for my router and will test it. On Wed, Dec 13, 2017 at 12:09 AM, Sven Eckelmann wrote: > On Sonntag, 10. Dezember 2017 22:09:30 CET Carlito Nueno wrote: >> I just noticed that when mesh is enabled on wlan0, the ap part does >> not wor

[LEDE-DEV] Lua script as a ubus service using rpcd

2017-12-22 Thread Carlito Nueno
Hi all, I am trying to make a ubus service in lua. I placed a lua script (myluaservice) in /usr/libexec/rpcd but I didn't see it in ubus -v list. So I placed a shell script (myshellservice) in /usr/libexec/rpcd and moved the lua script (myluaservice) to /usr/bin/ and made both scripts executable