Quantcast
Channel: PirateBox Forum - PirateBox OpenWrt
Viewing all articles
Browse latest Browse all 3254

Re: Piratebox for A5-V11 Router

$
0
0
Hi,

Thanks for your help so far! great assistance.
Quote

That might the bug, described in one of the other threads (too lazy to search it).
The problem is, that the timestamp of the chat.html file is in the year 1970, which seems to not be refreshed by the javascript on the browser- until the chat file is once rewritten (due to a message).
The problem is when I type something in the chat window and press [send] nothing happens. When I reset the page it shows some error for less than a second so its hard to tell what it is. The error message is:

Triggered ajaxError handler on shoutbox

Quote

As you run on ext3 based filesystem, maybe some permissions are wrong or the linked folder does not exists.
I do get some errors in the Part2 installation:
root@piratebox:/mnt/usb/PirateBox# /opt/piratebox/bin/install_piratebox.sh  /opt/piratebox/conf/piratebox.conf part2
Starting initialize PirateBox Part2..
Distribute HEADER.txt into /opt/piratebox/share/Shared
Distribute README.txt into /opt/piratebox/share/Shared
chown: /opt/piratebox/share: Operation not permitted
chown: /opt/piratebox/www/board: Operation not permitted
chown: /opt/piratebox/www/Shared: Operation not permitted
and the linked folders are still owned by root. My overlay is formatted as ext4 and my usb folder is vfat. I cannot change the permission of either of the folders.

I quess that this is the problem?
It does not seem to be my problem, because when I mount my vfat partition as another user, in this case "nobody" which will set all permissions as expected. but still I'm unable to visit the Files page. :(

root@piratebox:/opt/piratebox/www# ls -l
lrwxrwxrwx    1 root     root            27 May 19 19:59 Shared -> /opt/piratebox/share/Shared
lrwxrwxrwx    1 root     root            26 May 19 19:59 board -> /opt/piratebox/share/board
drwxr-xr-x    2 nobody   nogroup       1024 Dec 26 08:15 cgi-bin
-rw-rw-r--    1 nobody   nogroup        289 May 19 19:59 chat_content.html
-rwxr-xr-x    1 nobody   nogroup       1406 Dec 26 08:15 favicon.ico
-rw-r--r--    1 nobody   nogroup          0 May 19 19:59 forban_link.html
-rw-r--r--    1 nobody   nogroup       3776 Dec 26 08:15 index.html
-rwxr-xr-x    1 nobody   nogroup      94840 Dec 26 08:15 jquery.min.js
drwxr-xr-x    3 nobody   nogroup       1024 Dec 26 08:15 library
-rw-r--r--    1 nobody   nogroup       2992 Dec 26 08:15 menu.png
-rw-r--r--    1 nobody   nogroup         15 Dec 26 08:15 ncsi.txt
-rw-r--r--    1 nobody   nogroup       6607 Dec 26 08:15 piratebox-logo-horizontal-white.png
-rwxr-xr-x    1 nobody   nogroup      12637 Dec 26 08:15 piratebox-logo-small.png
-rwxr-xr-x    1 nobody   nogroup        201 Dec 26 08:15 redirect.html
-rwxr-xr-x    1 nobody   nogroup       3715 Dec 26 08:15 scripts.js
-rw-r--r--    1 nobody   nogroup          0 Dec 26 08:15 station_cnt.txt
-rw-r--r--    1 nobody   nogroup       5040 Dec 26 08:15 style.css

Quote

Not pretty sure what you are asking. Can rephrase the questions again please?

What I mean is that the www/Shared/ folder only contains 2 files (excluding the files I uploaded) HEADER.txt and README.txt. is this normal? shouldn't there be a Index.html in that folder? The SHARED link is still owned by root so maybe that is why I get the 404 error? when I make a copy of the HEADER.txt file and name it index.html I get the basic layout of the website. but thats about it. no files :(

Quote

No, it is not directly interfering, but uhttpd (i think that is the name) gets deactivated during the installation. You need to change the port of it in /etc/config/uhttpd
after that run the following to re-enable it

/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start

Keep in mind, that you can't change dependend configuration in opt/piratebox like your IP. PirateBox is not designed to work together with the default uci stuff.
Yeah you are indeed correct. I changed the port to 8080 initialy not knowing that port 8080 is already used. When I changed it to another port LuCi started working again.

Viewing all articles
Browse latest Browse all 3254

Latest Images

Trending Articles



Latest Images