Show hosts name in quotas
Moderator: Moderators
Show hosts name in quotas
Is there any way or additional code lines to show hosts name in quotas?
It would be useful.
It would be useful.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
I'm sure there is a built in function if you check out the source code
Alternatively, write your own.
My approach would be to parse the ip's against the /etc/hosts file.
Have fun.
Alternatively, write your own.
My approach would be to parse the ip's against the /etc/hosts file.
Have fun.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Show hosts name in quotas
This will probably seem a bit redundant once the known devices function is merged
Can you help someone else get Gargoyle up and running?
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
TL-WDR3600 : Gargoyle 1.9.0 : NBN FixedWireless
TL-WR1043ND-V2 : Gargoyle 1.8.0 : 3G Huawei E160E
Re: Show hosts name in quotas
Sorry, and thank you all.
I don't know any thing about this programming language.
Just i ask if one programmers did that. I think that code must be in quota.js file.
I don't know any thing about this programming language.
Just i ask if one programmers did that. I think that code must be in quota.js file.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Show hostnames in quotas.sh
Hi there,
I need to show every hostname beside of ip address in "quotas.sh".
Please help me to write script doing that in quotas.sh
I need to show every hostname beside of ip address in "quotas.sh".
Please help me to write script doing that in quotas.sh
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
Merged with your original request for this 3 years ago.
And my answer still remains the same
And my answer still remains the same
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: Show hosts name in quotas
But please I need the exact code that doing what I want, and where should put it.Lantis wrote:Merged with your original request for this 3 years ago.
And my answer still remains the same
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
Lantis wrote:Merged with your original request for this 3 years ago.
And my answer still remains the same
How you got what i said before 3 years?, i don't remember.
TP-LINK WR841N. V8.4 | Gargoyle 1.9 | South Yemen
Re: Show hosts name in quotas
I have a very good memory.
You said you were a vb.net programmer, but it looks like you haven't bothered to read the source code to even try? Why should i be inclined to help you?
The way i would approach it, is i would look at a page that already does this, and figure out how it does it.
An example would be the hosts.sh page.
Looking at the source, an iptohostname[] array is formed.
Looking at where that comes from, it is produced by gargoyle_header_footer with a particular option.
So now you know how to get the iptohostname array to come up in quotas.sh.
Now you just need to write some code to replace the IP addresses with the hostnames, which should be very simple as the IP addresses are the keys to the array.
You said you were a vb.net programmer, but it looks like you haven't bothered to read the source code to even try? Why should i be inclined to help you?
The way i would approach it, is i would look at a page that already does this, and figure out how it does it.
An example would be the hosts.sh page.
Looking at the source, an iptohostname[] array is formed.
Looking at where that comes from, it is produced by gargoyle_header_footer with a particular option.
So now you know how to get the iptohostname array to come up in quotas.sh.
Now you just need to write some code to replace the IP addresses with the hostnames, which should be very simple as the IP addresses are the keys to the array.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.