korang Posted October 15, 2012 Share Posted October 15, 2012 Is there a way to download a module in order to help me in the creation of mine?? Quote Link to comment Share on other sites More sharing options...
PineDominator Posted October 15, 2012 Share Posted October 15, 2012 install module, scp in and copy to your computer. Quote Link to comment Share on other sites More sharing options...
korang Posted October 15, 2012 Author Share Posted October 15, 2012 I was hoping for an easier way... Quote Link to comment Share on other sites More sharing options...
aPices Posted October 15, 2012 Share Posted October 15, 2012 (edited) Directory indexing is enabled on the pineapple. This means once you are logged into the admin interface you can browse to http://172.16.42.1:1471/modules/ . Since PHP is server side I would recommend placing a script in that folder that will backup & compress everything in a tarball or zip file. PHP would be best so you can just click it then refresh. A quick & dirty way of doing it would be something like this in the modules directory: <? system('tar -czf modules-backup.tar.gz *') ?>[/CODE]You would also need to put one in /usb/modules because /modules/usbModules is symbolically linked to that location.Doing scp in this way will download the entire module directory to your local machine: (note the period at the end)[CODE]scp -r root@172.16.42.1:/pineapple/modules .[/CODE] Edited October 15, 2012 by aPices Quote Link to comment Share on other sites More sharing options...
PineDominator Posted October 15, 2012 Share Posted October 15, 2012 Directory indexing is enabled on the pineapple. This means once you are logged into the admin interface you can browse to http://172.16.42.1:1471/modules/ . Since PHP is server side I would recommend placing a script in that folder that will backup & compress everything in a tarball or zip file. PHP would be best so you can just click it then refresh. A quick & dirty way of doing it would be something like this in the modules directory: <? system('tar -czf modules-backup.tar.gz *') ?>[/CODE]You would also need to put one in /usb/modules because /modules/usbModules is symbolically linked to that location.Doing scp in this way will download the entire module directory to your local machine: (note the period at the end)[CODE]scp -r root@172.16.42.1:/pineapple/modules .[/CODE]thats too much work:-P Quote Link to comment Share on other sites More sharing options...
aPices Posted October 16, 2012 Share Posted October 16, 2012 (edited) Then use the wps button to send what ya need to your local machine. Can't get much lazier than that. ;) Edited October 16, 2012 by aPices Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.