bluewavenetNovember 26, 2017 at 1:40 am #319481
Having finally made time to try out an AR300M-Lite, I can confirm the LEDE 17.01.04 Imagebuilder produces a perfectly working firmware using the AR300M target.
Just remember to build with the WiFi turned on and you will be flying! This device is amazing value for the IoT experimenters out there with its rock solid, full open source hardware support.alzhaoNovember 27, 2017 at 12:07 pm #320791
Thanks for sharing this. Did you use our github? We have the default settings that enabled the wifi.bluewavenetNovember 27, 2017 at 8:18 pm #321421
Not your Github, but straight from the LEDE downloads page:
and used the imagebuilder there with an entry in files/etc/uci-defaults/customconfigs to switch the wifi on.
If anyone is interested I can post some details.bluewavenetNovember 29, 2017 at 10:34 pm #323501
Are you familiar with ImageBuilder?
In short, all you need is a UCI file adding into your image to switch on the wifi.
The files folder is where you put files to be included in your image, create it if you need to ie imagebuilder/files
Then in the files folder of imagebuilder create etc/uci-defaults/customwifi
containing the following:
uci set wireless.@wifi-device.disabled=0
uci commit wireless
dokiDecember 11, 2017 at 11:30 am #339211
- This reply was modified 1 month by bluewavenet.
Thanks. I will try it soon…bluewavenetDecember 11, 2017 at 8:57 pm #339901
As posted in another thread:
For convenience if you are not ready to build your own firmware, there is a standard LEDE image with wifi enabled and luci installed on our web site here:
This is NOT a GL-iNet release but one I have made and is straight from the standard LEDE ImageBuilder, with wifi enabled and nothing else but luci installed.
PS LEDE uses 192.168.1.1 for the LAN interface by default. This will most likely clash with the router you connect your Lite to. If so use 192.168.8.1 instead.
If anyone wonders why GL-iNet firmware uses 192.168.8.1, then this is the answer 😉dokiDecember 13, 2017 at 9:58 am #341111
thanks!alpha1974December 20, 2017 at 3:58 am #348931
@ bluewavenet: What packages do you include with ImageBuilder?
Could you post your full “make image …” line?bluewavenetDecember 20, 2017 at 7:04 pm #349461
As I mentioned earlier in this thread, the image is a basic one with just Luci added and WiFi enabled.
the make image command is as follows:
make image PROFILE=gl-ar300m PACKAGES=”base-files luci ” FILES=files/
You can of course add all the packages you require in your image to this line.
Don’t forget to add the uci-defaults folder and the WiFi enabling UCI file to your files folder 🙂
You can add your own custom code or data folders/files to the files/ folder in the Imagebuilder.
Note: After installing the Imagebuilder you have to create the files/ folder and point to it in the image command line as I have done above.alpha1974December 21, 2017 at 2:33 am #350241
Thank you, bluewavenet!
Is enabling WiFi via UCI-file enough? How does the firmware know the Wifi-settings, e.g. SSID, wifi password etc.?bluewavenetDecember 21, 2017 at 4:32 am #350381
Doing what I describe just enables the WiFi by default in the standard LEDE image for the AR300M.
ie SSID is LEDE and no password. It is then up to you to set it as you want it.
You can build the image with your own wifi defaults by putting in the relevant UCI commands into the uci-defaults/customwifi file just as I did to turn on the wifi.
If you are not familiar with all this, a good starting point is:
You must be logged in to create new replies.