not_awake7 wrote:Are there any special instructions to get it compiled within the overall Gargoyle setup in 1.5.10?
You are missing step 2 below. Here is how I would go about it:
1. get the source. As I have the source local, I [blush] don't do this, but it is the command you have:
Code: Select all
git clone https://github.com/BashfulBladder/gargoyle-plugins.git
2. Whatever platform & profile you are going to compile (say its ar71xx.usb_large). Edit the gargoyle/targets/ar71xx/profiles/usb_large/config file. See how CONFIG_PACKAGE_plugin-gargoyle-usb-printer=y is? You are going to basically copy that by adding this line:
Code: Select all
CONFIG_PACKAGE_plugin-gargoyle-wifi-survey=y
3. Copy the plugin-gargoyle-wifi-survey folder into gargoyle/packages
4. Compile:
Now if you already have (I guess its called buildroot or something?) an image compiled with the whole cross-compiler, you can sort of fast forward by editing the hidden gargoyle/ar71xx-src/.config - make the same changes as in 2, add the folder as in the to gargoyle/ar71xx-src/package & type:
Code: Select all
make package/plugin-gargoyle-wifi-survey/compile
When it finishes building, there will be a package in gargoyle/ar71xx-src/bin/ar71xx/packages/plugin-gargoyle-wifi-survey_1.2.4-1_all.ipk which is the install package you want.
Copy the wifi-survey.ipk to the router:
Code: Select all
scp gargoyle/ar71xx-src/bin/ar71xx/packages/plugin-gargoyle-wifi-survey_1.2.4-1_all.ipk root@192.168.1.1:/tmp
And install by starting a ssh session to the router:
Code: Select all
ssh root@192.168.1.1
opkg install /tmp/plugin-gargoyle-wifi-survey_1.2.4-1_all.ipk
If you are on the official 1.5.10, I believe there is a bug in the installer that prevents local packages from being installed. In that case:
& then proceed with installing the /tmp/plugin.ipk
Alternatively, I think you can copy the original opkg to the router:
Code: Select all
scp gargoyle/ar71xx-src/build_dir/linux-ar71xx_generic/opkg-618/ipkg-ar71xx/opkg/bin/opkg root@192.168.1.1:/bin
Of course, if you just flash the firmware image onto your router you can skip the whole opkg install thing.