wifi survey, themes & captive portal questions [split]

General discussion about Gargoyle, OpenWrt or anything else even remotely related to the project

Moderator: Moderators

sajjadhalai
Posts: 108
Joined: Sun Apr 08, 2012 6:54 am

wifi survey, themes & captive portal questions [split]

Postby sajjadhalai » Sat Jun 22, 2013 1:57 am

Dear BashfulBladder
1. how Can i get wifisurvey IPK file and install WifiSurvey plugin
2. Any Help Line for Applying Menu Based Themes.
3. I Want to install Captive Portal , Any Suggenstion PLZ

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: wifi survey, themes & captive portal questions [split]

Postby BashfulBladder » Sat Jun 22, 2013 8:41 am

I've split this from the 1.5.10 news topic because this doesn't deal with 1.5.10 - you just have general questions.

>1. how Can i get wifisurvey IPK file and install WifiSurvey plugin

Currently, you have to compile it. I don't provide an .ipk for users to install.

>2. Any Help Line for Applying Menu Based Themes.

None are available to install.

> 3. I Want to install Captive Portal , Any Suggenstion PLZ

You've got nodogsplash, nocatsplash, chilispot & coova chilispot. None of them will have Gargoyle web interface pages so you'll need to configure them on the command line. I don't use any of them - I can't help you with selecting or configuring any of them.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

not_awake7
Posts: 7
Joined: Wed Jan 11, 2012 3:04 pm

Re: wifi survey, themes & captive portal questions [split]

Postby not_awake7 » Sun Jun 23, 2013 8:08 pm

BashfulBladder,

>Currently, you have to compile it. I don't provide an .ipk for users to install.

Are there any special instructions to get it compiled within the overall Gargoyle setup in 1.5.10? I tried the following steps but think I'm messing a step or two:

1) Did the following to get the source copied over:

git clone https://github.com/BashfulBladder/gargoyle-plugins.git

2) I then copied the "plugin-gargoyle-wifi-survey" directory structure to the "packages" directory within the main Gargoyle source directory.

At this point do I need to update any config file to specify this new plugin for compile? I tried recompiling Gargoyle again at this point (I have a wndr3700v1) clean as follows:

a) make distclean
b) make custom
-I turn on the "Force Atheros drivers to respect the user's regdomain settings " setting so I get access to all the channels as appropriate for my region (US).

However, when I updated my WNDR3700v1 with this compilation I did not see Wifi Survey when I refreshed my plugins.

I figure I'm missing something basic, so just need a pointer to what file(s) to update, what syntax to use, etc so that your plugin gets compiled with the rest of the code. Any help would be awesome. Thanks...

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: wifi survey, themes & captive portal questions [split]

Postby BashfulBladder » Sun Jun 23, 2013 11:43 pm

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:

Code: Select all

make V=99 ar71xx.usb_large


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:

Code: Select all

opkg update
opkg install opkg
& 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.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

sajjadhalai
Posts: 108
Joined: Sun Apr 08, 2012 6:54 am

Re: wifi survey, themes & captive portal questions [split]

Postby sajjadhalai » Mon Jun 24, 2013 1:10 am

ok thanx
I want to bound each mac and IP and PC Name with Individual Username And password.
So dear which will be the best one of that...i tried coova chille but it have too much details in its conf files ..i tried to configure it but still faied.. and does not have mac with username password bound system..
any suggestion again..

2. I tried command that was
git clone https://github.com/BashfulBladder/gargoyle-plugins.git
but giving error
/$ git clone https://github.com/BashfulBladder/gargoyle-plugins.git
-ash: git: not found
thnax Master..

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: wifi survey, themes & captive portal questions [split]

Postby BashfulBladder » Mon Jun 24, 2013 7:53 am

sajjadhalai wrote:/$ git clone https://github.com/BashfulBladder/gargoyle-plugins.git
-ash: git: not found


You might want to read the "Building from source" section:

http://www.gargoyle-router.com/wiki/dok ... umentation
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

not_awake7
Posts: 7
Joined: Wed Jan 11, 2012 3:04 pm

Re: wifi survey, themes & captive portal questions [split]

Postby not_awake7 » Mon Jun 24, 2013 11:06 pm

BashfulBladder,

Well I was able to successfully compile the Wifi Survey per your instructions! I still need to fool around with doing a complete "custom" full Gargoyle image that includes this package, but am happy I was able to compile the package and get it installed on the WNDR3700v1 using the opkg method.

Image

Looks cool in the "Dark" theme as well!

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: wifi survey, themes & captive portal questions [split]

Postby BashfulBladder » Tue Jun 25, 2013 9:03 am

It does look good with the Dark theme.

Glad you got it to work.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki

sajjadhalai
Posts: 108
Joined: Sun Apr 08, 2012 6:54 am

Re: wifi survey, themes & captive portal questions [split]

Postby sajjadhalai » Wed Jul 03, 2013 3:05 am

finally i Did it .
Image

it looks good in dark theme ..but best in menu based theme..
so how to get and apply Menu Based Themes. SO What should I DO next..
Thanx..
Last edited by sajjadhalai on Wed Jul 03, 2013 10:53 am, edited 3 times in total.

BashfulBladder
Moderator
Posts: 250
Joined: Thu Jan 17, 2013 11:43 pm

Re: wifi survey, themes & captive portal questions [split]

Postby BashfulBladder » Wed Jul 03, 2013 7:41 am

Congratulations. Its a lot of work, but its always hardest the first time.

sajjadhalai wrote:o how to get and apply Menu Based Themes


You are going to have to learn CSS & make your own theme. I didn't know how to do it a few months ago either. I tried until I got something I liked.

I can provide the patch that you will need to expose all the menu items in gargoyle_header_footer. You'll need to apply the patch, compile the patched file & install gargoyle_header_footer on your router (or incorporate into your firmware).

All the patch will do is show all the menu options for existing themes. It is the theme itself (specifcally common.css) that controls how the menus look. That's what *YOU* will have to do in your theme.

So, if you want the patch & YOU are going to learn how to write a Cascading Style Sheet, and YOU are doing your own theme, just ask for the patch & I'll provide it & instructions on how to use it.

Again, its a YOU thing. No bash. No bashy - its ALL Sajji.
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)

https://github.com/BashfulBladder/gargoyle-plugins/wiki


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests