Skip to content

Nargren/PBadmin

Repository files navigation

PBadmin

Under testing! For demonstartional purposes only!

Currently the sccript is set to create a directory list from my computer. PirateBox routes are commented out.

###PirateBox Administrator Script Package:###

#####------FUNCTIONS------
Copy, move , rename, remove files from the Shared folder
Search for files & directories on the whole box
List all files & directories currently shared
Change SSID
Reboot
Check uptime
Check number of connected users
Check available space on router
Edit piratebox.conf
Edit network

#####------USE------
Copy PBadmin.sh over to your OpenWRT router running PirateBox:
scp PBadmin.sh root@PirateBoxIP:/tmp

(NOTE! /tmp is purged on router restart.)

run with
/tmp/./PBadmin.sh

###Image gallery creator### Shell script that takes all .bmp, .png,.jpg and .gif files from the /Shared folder and creates a simple image gallery from them.

Currently under testing/development. To run the script do the following: scp PBimg_organize.sh root@192.168.1.1:/tmp/ ssh root@192.168.1.1 /tmp/./PBimg_organize.sh

(If you can, you can copy the script somehwere alse on the router as well, /etc for example)

The script runs and creates the website picutres.html that can be accessed later on. The image gallery is accessible through "pictures.html". Example: piratebox.lan/pictures.html

The script has to be run first. Do:

About

PirateBox Administrator Script Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages