Help (home internet cafe) that someone did .
Posted: Tue Aug 30, 2016 9:36 pm
Hello folks,
after a few weeks of reading and searching all over the internet, and doing some test of what I want to do, i gave up, and decided to come here and ask for some help / guidance.
What I am pretend to do is similar to what this gentleman "Yunpeng Han" did for his master thesis. here the link https://brage.bibsys.no/xmlui/bitstream ... sequence=1
basically I want to do the same on tp-link router tl-Mr3040 that I already have installed gargoyle, i want to add as start point the same web pages as he added to the his project, my understanding is that he first upload the gargoyle firmware. .
.quote from his thesis page26 [The
next step is to add our simple own page into the system.
The idea of gargoyle interface for OpenWrt is to do computation on the client side to make
operations faster and reduce delay. Majority of gargoyle is implemented as Javascript. Source files
for the javascript are saved at /www/js directory to provide functions. The server-side, which is
the router in our case, will do necessary scripting using haserl [18] , a very lightweight utility that
enables the embedding of linux shell script into html files. Those html/haserl scripts are saved as
*.sh files in the /www directory which manage the display of the interface with actions done by
functions described in related javascript files as *.js. Several large pages that have complex display
2
CHAPTER 4. IMPLEMENTATION
structure have template files written in html and saved as *.css, which can be directly used with the
features defined in it. For the web page structure, as header/footer/menu code is generated from the
config file in directory /etc/config/gargoyle. ] end quote
this part is where I am king of lost.. I am not sure how to do that I meant to upload the new web pages interface. No sure if is possible to do that all that job and embedded the changes on the gargoyle bin file .. maybe that is more difficult for noob like me.
the good is that the source code for his project is n the link ahead and this other part where I would like someone that love to help and teach people like me .. half lost . how to use that code .. import that code to GitHub.. in other to see more clear all the modification that this gentleman did . so i may compare to the original gargoyle web interface.. LInk to the source code-->https://code.google.com/archive/p/home-internet-cafe/
the problem is i did not find a way to import that code from codegoogle to GitHub. I downoad to my pc i was able to se some of the files that he did modified inside the folder trunk/files are 3 folders that have files that have diferent code compate to what I have in my current gargoyle version on my router..
I already installed a computer with Ubuntu to be able to compile the gargoyle.. openwrt source codes images.. I am learning all that.. but still far to do something solid.
I maybe asking too much help. but any way I would like to try see if someone is wiling to help.
thanks very much for your time. hope some one may guide me..
once again thanks..
Luisgcu
after a few weeks of reading and searching all over the internet, and doing some test of what I want to do, i gave up, and decided to come here and ask for some help / guidance.
What I am pretend to do is similar to what this gentleman "Yunpeng Han" did for his master thesis. here the link https://brage.bibsys.no/xmlui/bitstream ... sequence=1
basically I want to do the same on tp-link router tl-Mr3040 that I already have installed gargoyle, i want to add as start point the same web pages as he added to the his project, my understanding is that he first upload the gargoyle firmware. .
.quote from his thesis page26 [The
next step is to add our simple own page into the system.
The idea of gargoyle interface for OpenWrt is to do computation on the client side to make
operations faster and reduce delay. Majority of gargoyle is implemented as Javascript. Source files
for the javascript are saved at /www/js directory to provide functions. The server-side, which is
the router in our case, will do necessary scripting using haserl [18] , a very lightweight utility that
enables the embedding of linux shell script into html files. Those html/haserl scripts are saved as
*.sh files in the /www directory which manage the display of the interface with actions done by
functions described in related javascript files as *.js. Several large pages that have complex display
2
CHAPTER 4. IMPLEMENTATION
structure have template files written in html and saved as *.css, which can be directly used with the
features defined in it. For the web page structure, as header/footer/menu code is generated from the
config file in directory /etc/config/gargoyle. ] end quote
this part is where I am king of lost.. I am not sure how to do that I meant to upload the new web pages interface. No sure if is possible to do that all that job and embedded the changes on the gargoyle bin file .. maybe that is more difficult for noob like me.
the good is that the source code for his project is n the link ahead and this other part where I would like someone that love to help and teach people like me .. half lost . how to use that code .. import that code to GitHub.. in other to see more clear all the modification that this gentleman did . so i may compare to the original gargoyle web interface.. LInk to the source code-->https://code.google.com/archive/p/home-internet-cafe/
the problem is i did not find a way to import that code from codegoogle to GitHub. I downoad to my pc i was able to se some of the files that he did modified inside the folder trunk/files are 3 folders that have files that have diferent code compate to what I have in my current gargoyle version on my router..
I already installed a computer with Ubuntu to be able to compile the gargoyle.. openwrt source codes images.. I am learning all that.. but still far to do something solid.
I maybe asking too much help. but any way I would like to try see if someone is wiling to help.
thanks very much for your time. hope some one may guide me..
once again thanks..
Luisgcu