Custom Web interface
Started by: starkstark
On: 1219604392|%e %b %Y, %H:%M %Z|agohover
Number of posts: 100
rss icon RSS: New posts
Custom Web interface
starkstark 1219604392|%e %b %Y, %H:%M %Z|agohover

sforget Has made an custom Web Interface. The install prosedure can be foud HERE


2 X MBWE 500gb
LED Display

last edited on 1220463354|%e %b %Y, %H:%M %Z|agohover by stark + show more
unfold Custom Web interface by starkstark, 1219604392|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
incitatusincitatus 1222715625|%e %b %Y, %H:%M %Z|agohover

i see sforget lost his drive. I like the shots of what it's supposed to look like. I'm having trouble actually getting it up and running. I get a 403 forbidden error upon finding the page. Any ideas? help. thanks!

unfold Re: Custom Web interface by incitatusincitatus, 1222715625|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
ariznafariznaf 1227481781|%e %b %Y, %H:%M %Z|agohover

Great job…
I am trying it right now.
I have translated it to spanish, so if you want, I can provide de es.ini file but… How do I to put it here in wikidot or where should I put it?

I am having some problems with the php shell and with the system info utility.

I will recheck the configuration and will post here the problems that I would find.

Regards

unfold Re: Custom Web interface by ariznafariznaf, 1227481781|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
waterfietserwaterfietser 1228330178|%e %b %Y, %H:%M %Z|agohover

I have tried to install the new WebIF which i've dowloaded from sourceforge. But I can't get it to work. All I see is a 403-forbidden error.

Does anybody know what the problem could be?

unfold Re: Custom Web interface by waterfietserwaterfietser, 1228330178|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1228334753|%e %b %Y, %H:%M %Z|agohover

hey whats premission has the directory thats containing the webIf?

try a:
ls -l /path/to/your/webif


2 X MBWE 500gb
LED Display

last edited on 1228334923|%e %b %Y, %H:%M %Z|agohover by stark + show more
unfold Re: Custom Web interface by starkstark, 1228334753|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219611957|%e %b %Y, %H:%M %Z|agohover

Actually, I am working on this very thing.

My new web interface has all the features of the WD one plus:

Optware support
More versatile user control (ssh access, smb access, and webif access)
startup/shutdown "Services" management
Language support
and more

unfold Re: Custom Web interface by sforgetsforget, 1219611957|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1219674493|%e %b %Y, %H:%M %Z|agohover

Are you done (almost done) whit your WEBIF? I want to be an test pilot!


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1219674493|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219662825|%e %b %Y, %H:%M %Z|agohover

Defenetly in need of better web if. I'm willing to help as best as I can. I'm a bit time limited but that's my problem. :)

What I want to see in new web if. Everything that is there by default. But it needs to be smaller in memory consumption and preferebly faster in response time. So none of that crappy perl stuff if those can be ripped off.
Adding shares needs to support nfs and shares be named without all capital letters.

Is sforgets work available somewhere? For testing and to get inspiration to new ideas, fixes etc.

unfold Re: Custom Web interface by jounhijounhi, 1219662825|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
goternemegoterneme 1219674713|%e %b %Y, %H:%M %Z|agohover

i could help you guys two, i have basic php knowlage ;)
willing to test the interface for bugs…

But it shouldnt use Mysql

unfold Re: Custom Web interface by goternemegoterneme, 1219674713|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
fraterfrater 1219686143|%e %b %Y, %H:%M %Z|agohover

i could help you guys two, i have basic php knowlage ;)
willing to test the interface for bugs…

But it shouldnt use Mysql

I can check the spelling afterwards ;-)

unfold Re: Custom Web interface by fraterfrater, 1219686143|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219697341|%e %b %Y, %H:%M %Z|agohover

I am nearly complete.

I haven't included support for NFS yet, but I can add that to the drawing board.

Most of the interface is quite fast, except the Optware page, and the User Control page. This is due to the amount of data that must be collected before the page is constructed

No perl what so ever. The entire WebIF is written in PHP, with some sh scripts to help with the actual config changes.

I should have a beta release ready by the end of the week.

A screenshot of my work so far is available at http://www.trainzhaven.com/new-Webif.jpg (1680x1050 jpeg)

last edited on 1219698912|%e %b %Y, %H:%M %Z|agohover by sforget + show more
unfold Re: Custom Web interface by sforgetsforget, 1219697341|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219702952|%e %b %Y, %H:%M %Z|agohover

Looking good. I'm waiting eagerly.

Looks like you are using some MS platform so you might not have any use for NFS. Not using NFS just might make testing NFS kind of hard.
I'm sure we'll get that supported.

Have you tested the pages with anything else than IE?
I'm using Fedora 9 and have Firefox, Opera and of course Konqueror installed. So I can test with those browsers.

I might be jumping way ahead, or be late, depends on how you see it, but have you thought about themes? :)
Once everything is working everyone wants nice themes they can change now and then. So it might be less work to think about it right from the start.
Looking at the screenshot you are using a table or frames. It would be easier to make themes when using css to layout the page.
Using css and JavaScripts won't load the server side but can make the pages look good. Browsers on the client side most likely are running on much more powerful machines that won't sweat even if the layout is complex with plenty of graphics. I don't think even huge graphics are a problem. There should be enough disk space and I don't see any reason to keep anything loaded up in MBWE memory. After first page load graphics will be in the browsers cache, so no delay in page loading from transferring them.
I'm using webmin on my Gentoo machine with StressFree theme and I like it. So wouldn't mind seeing something like that on this web if.
http://www.stress-free.co.nz/webmin-theme/
(And to those who will point out: Yes I know webmin uses perl. I have nothing against perl. Just that the WD WebIf perl eats up 38% of the memory of my MBWE.)

last edited on 1219703130|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1219702952|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219705515|%e %b %Y, %H:%M %Z|agohover

Yeah, css and theme's add nice effects and looks, but I know nothing about either.

No I haven't been able to test the IF in anything other than IE yet. I've written other interfaces and web scripts before that have had no problems in other browsers, but testing is a good idea. I was going to fire up my ubuntu disk after I got everything working to run further tests.

last edited on 1219707792|%e %b %Y, %H:%M %Z|agohover by sforget + show more
unfold Re: Custom Web interface by sforgetsforget, 1219705515|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219778113|%e %b %Y, %H:%M %Z|agohover

I made two css tests for you to use, abuse or ignore. :)
Edit: Link removed. It has served it's purpose.
Unzip and open cssTest.html to your browser.
From cssTest.html change mbwe.css to mbwe2.css and reload.
Those are just quick hacks and someone who actually knows about writing css should do better ones.

last edited on 1220219988|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1219778113|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219782974|%e %b %Y, %H:%M %Z|agohover

Thanks for the tests, howvere those don't quite display right.

On the first one The status bar appears below the rest of the info, rather than to the right side.
ANd teh second one has the menu bar in a stair like pattern across the top.

I'll look into css after I get the basics down and running.

unfold Re: Custom Web interface by sforgetsforget, 1219782974|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219848764|%e %b %Y, %H:%M %Z|agohover

Crap. Well proved my point of testing with different browsers. :)
Fixed those two issues. Same place, same zip.

unfold Re: Custom Web interface by jounhijounhi, 1219848764|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
goternemegoterneme 1219700771|%e %b %Y, %H:%M %Z|agohover

looks nice :)

unfold Re: Custom Web interface by goternemegoterneme, 1219700771|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1219771386|%e %b %Y, %H:%M %Z|agohover

The image did'nt work. probably caus the server is down.. I just wondering if it had bee cool to have an function in the web if that view how many MBWE that using it. "There is xx MBWE online" I was thinkin a cron job thats wget a url to an server whit a scrit thats counting online MBWE and view the number in the Webif.
Was it bad explanation of what i meen? dont see mutch use for it but just for fun. :)

-Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1219771386|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219784560|%e %b %Y, %H:%M %Z|agohover

I have finished a preliminary beta.

There are a few instructions and requirements before use…..

1. Make a backup of your current system. I recommend "dd if=/dev/sda1 of=/shares/internal/backup" - requires about 3GB of disk space on the data partition
this backup can be used to restore your current system if you want to get rid of the new WebIF. You do not need to backup teh data partition as that partition is not touched by this guide.

2. You must have optware installed

3. You must have installed the php-fcgi and libiconv packages with all dependencies

4. /etc/sudoers needs to be modified so that "www-data" can run the "/usr/www/nbin/sudo.sh" script

5. Remove all scripts in /etc/init.d except rcS and rcK

6. Download http://www.trainzhaven.com/newwebif.tar.bz2

7. extract the archive to / making sure that the directory structure is maintained

8. open your web browser and go to http://<Your-MyBook-IP>/index.php
The default user is root and the pass is 123456

9. Go to the services page and disable or enable a service to recreate the proper files in /etc/init.d

10. Go to the User Control page and change the password for Root

This guide will overwrite any existing config for the lighttp server and change the lighttp user

All users follow these instructions at their own risk. I cannot take responsibility for any problems.

unfold Re: Custom Web interface by sforgetsforget, 1219784560|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219849610|%e %b %Y, %H:%M %Z|agohover

Great thanks. I'll try to install and test this tonight.

Step 5 sounds like a huge leap of faith. :)
What will happen if I don't do that?

edit:
Installed. Looks good.
Just couldn't get myself doing all the remove and replace things.
Things like /usr/www/-directories I just renamed and then copied yours. I kept everything and removed nothing.

I skipped step 5. The effect being there is nothing in Services page.
Didn't notice for example smart-spindown script in your service scripts. I want to use my own scripts.

last edited on 1219851497|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1219849610|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
DamiankitaiDamiankitai 1258885277|%e %b %Y, %H:%M %Z|agohover

Hi,
I sure I had to stop before proceed. I'm a newbie and this is maybe a noob question, but I can't solve it, and It's almost bricked my MBWE. Although it might be off-topic
I actually used the first part of your instructions to backup the system. I had a working transmission+ helper + amule system and wanted to experiment more. I messed up with "web access" and when I tried to restore using dd if=/shares/internal/backup of=/dev/sda1, I ended up with a "read-only filesystem".
Now I can't do anything. No restore from the firmware upgrade (I'm ready to rebuild the working system I had from scratch), or fix the web-access messed installation.

Please, help, s.o.s, …—-…
Thanks
Damian

unfold Re: Custom Web interface by DamiankitaiDamiankitai, 1258885277|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
goternemegoterneme 1219852392|%e %b %Y, %H:%M %Z|agohover

Why should we remove the scripts in /etc/init.d?
Isnt there a way to keep al the stuff, lighttp.conf….etc.?

unfold Re: Custom Web interface by goternemegoterneme, 1219852392|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
fraterfrater 1219857515|%e %b %Y, %H:%M %Z|agohover

I like the idea of the custum webinterface, but not the way it gets installed….
It should be built on the framework which is provided by Western Digital.
Although many things could have been done better, it still provides a common base for all users of the WDHD….

With some minor patches in the lighttpd.conf you can make it to parse /etc/lighttpd/conf.d and add some files there.
That's the way how I implemented virtual hosting.

include_shell "cat /etc/lighttpd/conf.d/*.conf"

Here's an installation example: http://mybookworld.wikidot.com/forum/t-68493/virtual-hosting-quick-and-simple

It's great to modify the web-interface, but just do that….
There are ways to make it work without losing your standard config…

last edited on 1219857970|%e %b %Y, %H:%M %Z|agohover by frater + show more
unfold Re: Custom Web interface by fraterfrater, 1219857515|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
TeinturManTeinturMan 1219857386|%e %b %Y, %H:%M %Z|agohover

Hi All,
It is a good Idea to develop an additional configuration interface for the Mybook :-)
Just a high level point of view regarding this Web if project…

I think that a good Web if interface should be respectfull of existing things provided by western digital or potential hacks that may have been already done by people.

- Standard interface should continue working with no change
- Is it needed to provide features that are already covered by the standard Western Digital interface?
- The installation procedure does not necessarily needs to describe how to install PHP ( it can be assumed that people will have installed PHP before installing the Web if)
- A good feature would be that the interface is able to handle existing config files ( lighttpd.conf file for example ) instead of replacing them…
- What will be the exact features ( Added value) of this interface?
* reboot the Mybook
* others?

Just giving my ideas here, hoping it helps… as i cannot help much in php…

last edited on 1219857510|%e %b %Y, %H:%M %Z|agohover by TeinturMan + show more
unfold Re: Custom Web interface by TeinturManTeinturMan, 1219857386|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219860594|%e %b %Y, %H:%M %Z|agohover

Just my opinions:
Good thing it's not using the perl stuff. Perl not running and eating up memory and the default if is slow. So I'm fine with the new one not using WD framework on this.
After the first point. Yes it need to cover what the default one offers.

I do agree using/installing this should not remove/delete anything. Keep the default stuff in there as a backup.
It should be easy to switch back to using the default if if wanted.
Big yes to handling existing configs.

Being the first alpha version of the interface, the installation is not that hard. It can be modified for better later.
As for the future added value I would say sky is the limit.
For those who have not even installed sshd it will offer nothing. Not that those people would have a way of installing the new if.
Add any configuration to the if, like configuring nfs mount points and doing it without all capital letters. For the future if something is missing from the if, get the codes and make it.

last edited on 1219860653|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1219860594|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
fraterfrater 1219861153|%e %b %Y, %H:%M %Z|agohover

So I'm fine with the new one not using WD framework on this.

That's not what I ment with "framework".

I would hate to explain someone how he should install a script and find out later he has this interface installed.
If I would have installed this interface using the tutorial, all of my modification would be lost and I would have gotten very little in return….

unfold Re: Custom Web interface by fraterfrater, 1219861153|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219863175|%e %b %Y, %H:%M %Z|agohover

I did mean framework as the perl web framework.

On scripts and configs I do agree. All instructions, mods and hacks use those scripts as they are and the instructions are for those. So no messing with the way boot scripts happen to be. Enabling and disabling services is fine but should be done as it is and making sure nothing gets lost.

unfold Re: Custom Web interface by jounhijounhi, 1219863175|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1219861206|%e %b %Y, %H:%M %Z|agohover

Currently, this is only a pre-release, so I have not designed a way to just modify existing scripts and settings.

If you install using my instructions, you can regain your original configuration by entering the command "dd if=/shares/internal/backup of=/dev/sda1" which will restore the backup made in step 1. then a quick rebot will have everything restored back to before the new webif.

I do have plans to create a more user friendly installation proceedure which will also keep any added or modified scripts and settings. but for now this is just for testing.

unfold Re: Custom Web interface by sforgetsforget, 1219861206|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1219937005|%e %b %Y, %H:%M %Z|agohover

I was thinking about how the init.d scripts could be handled.
In my opinion it's too automated which makes it hard to make and maintain.
So I would propose a solution that let's users mess their system on they own. :)

Page lists the files in /etc/init.d and offers basic tools for them. These tools would be cp, mv, ln and text editor.

For starting/stopping/restarting services a page could let users select the scripts they want to call start/stop/restart. Don't give the option for enable/disable.
Perhaps user selection of script to be run and a process to be monitored to know if service is running or not. Then show the user made selection in a similar way it is now shown.

For service specific pages: example nfs could be text editor letting user edit /etc/exports and a button for restart nfs. Extra feature, it could check if nfs is installed before showing the page. If nfs is not installed show link to nfs installation guide.

Should there be backup/restore in WebIf?

last edited on 1219937025|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1219937005|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1219942989|%e %b %Y, %H:%M %Z|agohover

I just wondering how to restore back to before i installed the web if? and witch name should it have?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1219942989|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220021120|%e %b %Y, %H:%M %Z|agohover

Instructions step 1: dd if=/dev/sda1 of=/shares/internal/backup
sforgets later post:to restore dd if=/shares/internal/backup of=/dev/sda1

unfold Re: Custom Web interface by jounhijounhi, 1220021120|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220022494|%e %b %Y, %H:%M %Z|agohover

Less intrusive way to beta test this.
I unpacked the newwebif.tar.bz2 to a share: /shares/internal/…
Changed paths to point to the correct place in:…/newWebIF/etc/lighttpd/lighttpd.conf and …/newWebIF/usr/www/lib/settings.ini

I did NOT delete anything.

I did rename …/newWebIF/usr/www/lib/pages/services.php to services.ph_. This will hide it from the menu that is looking for .php files from the directory.
I took a look at the page and I might not have fully understood everything but to me it looked like it can make a mess of /etc/init.d/.

I have lighttpd starting on demand so it was not running.
From shell started lighttpd -f /shares/internal/…/newWebIF/etc/lighttpd/lighttpd.conf

To stop testing I just run /etc/init.d/lighttpd.sh stop

What ever way anyone chooses to install and test this it is recommended to make a backup.

last edited on 1220022543|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220022494|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
TeinturManTeinturMan 1220027764|%e %b %Y, %H:%M %Z|agohover

Hi,
it seems to still be a little risky for noobs ( or even more advanced users)…

Why do the installation is not only the following : "
"1) Create a new folder in your php web site named Webif"
"2) Copy these php files (included in a tar file) in your web site including index.php"
"3) browse your newly installed webif http://<Mybook>/webif/index.php"

May be there may be an additional thing like "edit your sudoers file and add this and that…"

unfold Re: Custom Web interface by TeinturManTeinturMan, 1220027764|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220032350|%e %b %Y, %H:%M %Z|agohover

Does a noob have a php web site running on MyBook? :)

At the current state I wouldn't recommend trying this if one feels they don't have the skills, noob or not.
This webIf is not at a stage when it's easy to install, does everything and works like a charm.
On the other hand most of the hacks and mods for MBWE don't exactly sound like things for noobs.

I just wrote what I did with it and it's up and running without me deleting anything.

Your 3 points need at least fourth. settings.ini currently has paths to different things including locations inside webIf directories. Those need to be changed if it is not installed in the original way.

unfold Re: Custom Web interface by jounhijounhi, 1220032350|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220125039|%e %b %Y, %H:%M %Z|agohover

After hearing peoples concerns and further thought, I will be changing the services page to respect existing scripts and not rewrite the /etc/init.d folder

otherwise, there has been little said about the rest of the IF so I presume it is all pretty good.

unfold Re: Custom Web interface by sforgetsforget, 1220125039|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220130313|%e %b %Y, %H:%M %Z|agohover

Did'nt ocure any problem whit the Init.d thing. but less to change = easyer to use.

Can you post your premissons settings? just so there woundt be any "i get an error" qestion x 10.

Do you think "WebIF" is a good name?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220130313|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220130780|%e %b %Y, %H:%M %Z|agohover

I made this: Edit: Link removed. It has served it's purpose.

It's a services page as I talked about.
zip includes:
lib directory with
pages directory with services.php, fileinfo.php and fileeditor.php
css folder with common.css.
index.php

index.php - I only added css to head: line 59 <link rel="stylesheet" type="text/css" href="css/common.css">

rename original services.php and index.php and unzip on top of the newWebIf lib.

ln, cp, mv, rm are not working.
editor is working but does not have sudo rights.
To test editor:
- ssh into MBWE
- run 'touch /etc/init.d/test.sh' <- if you already have a test.sh use some other name
- run 'chmod 666 /etc/init.d/test.sh'

You should see test.sh in scripts list box.

Edit:
and it looks like this:
Edit: Links removed. They have served their purpose.

Edit2:
I only tested that with firefox on fedora9 while writing it.
On Opera it seems to be.. not so nice. :)
The ln mv… texts start wandering over the side bar.

Edit3:
Do I continue with this?

last edited on 1224440839|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220130780|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220205481|%e %b %Y, %H:%M %Z|agohover

Tried playing with NFS support.
Added a start into sforgets samba.shares.php.
Renamed it to shared_folders.php.

Since there is more info per share I made them expandable.
Edit: Links removed. They have served their purpose.

NFS:
Edit: Link removed. It has served it's purpose.
Zip includes the lib directory with changed files.
Only en.ini language file will overwrite existing one. Rename your old one before unzipping/copying over it.
Change in en.ini is the renaming: line 12: shared_folders="Shared Folders"

Tried to keep all existing samba functionality intact and add NFS. Split some of the code to includes to keep the code more easily readable.
Again not looking as nice with Opera and probably not with IE ether.
NFS functionality includes checking installation, server running and reading /etc/exports. No eidt, add or remove functionality yet.

Should I continue?

sforget: What are you working on? Don't want to be doing the same thing.

Some observations about other pages:
Buttons are labelled 'update' and 'edit' when I'm expecting 'save'.
From edit I'm expecting some further editing screen or dialog. From update I'm thinking it will re-read info to the fields.

last edited on 1221404879|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220205481|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220215287|%e %b %Y, %H:%M %Z|agohover

Right now, I'm working on the Services page to make it more friendly to the /etc/init.d directory

I'm having problems with re-ordering the startup order.

unfold Re: Custom Web interface by sforgetsforget, 1220215287|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220219896|%e %b %Y, %H:%M %Z|agohover

OK. I'll continue tinkering with NFS.
What kind of problems? Do you mean ordering your own scripts or writing ordering code for the page?

Here is all I have: Edit: Link Removed. It has served it's purpose.
It's the whole lib directory with everything.
I'll remove other links from my messages.

BEFORE unzipping rename your webIf lib directory to something else.
Unzip lib_Modified.zip and use.

Zip includes:
Above services page start.
Above NFS support start.
Themes, selectable from general settings page. 2 css tests fixed (Not perfect but better).

Edit: Links removed. They have served their purpose.

One thing about language support.
If the localized language file is missing some string I think the webIF should default to using English string. Now it leaves a blank in that place.

last edited on 1221404830|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220219896|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220311990|%e %b %Y, %H:%M %Z|agohover

Good Idea on the language support. I will implement that ASAP.

unfold Re: Custom Web interface by sforgetsforget, 1220311990|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220117572|%e %b %Y, %H:%M %Z|agohover

Hi, Witch name should the Webif have? Just MBWE WebIF is'nt really good i think.
Any ideas?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220117572|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1220247353|%e %b %Y, %H:%M %Z|agohover

I can help in the traslation to Spanish.

i havent yet install the webif but if someone send me the english file i will translate it to Spanish.

my mail is ………..@hotmail.com please name subject to WEBIF

Tnks

Servo

last edited on 1220313028|%e %b %Y, %H:%M %Z|agohover by servo + show more
unfold Re: Custom Web interface by servoservo, 1220247353|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220277850|%e %b %Y, %H:%M %Z|agohover

I have translated it to Norwegian, Where can i put it?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220277850|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220311942|%e %b %Y, %H:%M %Z|agohover

Currently there is no where to upload language files.

as the IF is not complete, the current strings may be added, removed, or modified at any time.

When a stable release is done, then I will create somewhere to upload language files.

unfold Re: Custom Web interface by sforgetsforget, 1220311942|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
TeinturManTeinturMan 1220301266|%e %b %Y, %H:%M %Z|agohover

Hi all,

I think this Webif could be very usefull to the Mybook Community even if i have not a clear vision of "What will it do?"
Could someone explain the current features of the Webif?

Another important thing is the Way it is currently installed :
I have checked the last installation procedure of the Webif interface,
Sorry to say that , but for me the current installation is still DANGEROUS for ANY MYBOOK.

1) I do not understand why you provide a lighttpd.conf file …
There is already a PHP installation procedure in the following link : http://mybookworld.wikidot.com/web-server
Why do'nt you simply ask to follow this existing procedure to configure the Mybook as a php server?
In my opinion the Webif interface should be a PHP application like any other…
The current installation procedure will De-Configure any Mybook that has been configured using the Web Server Tutorial…
which is not nice for people who has already done the web server hack.

2) I also do not understand why you change the User's lighttpd.htdigest.user ! There is no need for that !
This will make the Standard interface to stop working…==> Another danger : Impossible to upgrade the firmware in case of loosing the ssh access…

3) A lot of files are copied in init.d Folder/services, people do not know what is changed by the tar which is exploded at the root of the system ….
What is exactly changed in the inet.d Folder? Why do these files needs to be copied there?

In My opinion, the Web If installation procedure should take into account that people may already have some configuration in such config files…
My concern is that some noobs people WILL probably TRY it and WILL probably get lost….

In My opinion, "Hacks and tutorials" provided in the Hack And tutorial section of the site should have the following properties :
- Be Usefull and explain clearly the features of the hack before it is installed by readers
- Compatible with Each Other ( as much as possible) and respectfull of standard features of the Western Digital Mybook
- Secure for people's Mybook. : Even if we have some disclaimers, it would be better if nobody bricks his Mybook while folowing an "official" tutorial.. As long as a new hack is not secure and stable for noobs, i think it should stay in the Forum section, with no link from the main page "Hack and Tutorial"…

Thanks for reading my comment wich i hope will be read in a positive way, as i know that you work a lot for making this site as usefull as possible …

unfold Re: Custom Web interface by TeinturManTeinturMan, 1220301266|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220311713|%e %b %Y, %H:%M %Z|agohover

Keep in mind that this is currently in testing. The current proceedure is not at all what the final installation will be like.

On your points:

1) I provide this file, because it currently disables the default interface. The default config loads perl into memory which uses up to 50% of the mybooks available ram. With this interface the default interface will NOT be needed as anything except firmware upgrades can be done from the new interface (including enabling SSH). IN fact, for the most part, when the new interface is complete SSH access will be almost not needed at all.

2) No it will not stop the default interface from working. Just change the username and password. I suppose including this file was not needed - however the file I uploaded is the same file I use to put the new interface onto a clean mybook.

Thank you for you comments. Any and all feedback is appreciated and helps to design a better system for all.

3) Currently, the interface changes how the startup services are handled. In order make it easier to manage from the interface, I moved all the startup scripts into another directory and then the interface creates symlinks from there. However as pointed out above, this will not work for people who put custom scripts into etc/init.d so I am currently working on changing how this is handled.

last edited on 1220311774|%e %b %Y, %H:%M %Z|agohover by sforget + show more
unfold Re: Custom Web interface by sforgetsforget, 1220311713|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1220312920|%e %b %Y, %H:%M %Z|agohover

Sforge.

I think that becasue you are the Main developer, you should open a new post with the goals of the project . and after it, you can post the isntalation procedure,

You are the one who knows the at first all the diference from one version to another , so you edit allways the main post for updates on info and everithing.

Or you can open a new tutorial, and folow it by the discucion.

Servo

PS. Something i wish i cans see in the new interface is the info about HD space use by share, ( i have multiple users)

unfold Re: Custom Web interface by servoservo, 1220312920|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220364680|%e %b %Y, %H:%M %Z|agohover

Sforge pleas post the new WebIf in http://mybookworld.wikidot.com/webif when your finished.

I think the Mycheck should be inplanted (?, or whitch way it is spelled) in the new web if, or just whit an link to it if the Mycheck is "installed".

Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220364680|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220391413|%e %b %Y, %H:%M %Z|agohover

What is Mycheck?

unfold Re: Custom Web interface by sforgetsforget, 1220391413|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1220393393|%e %b %Y, %H:%M %Z|agohover

Mycheck-Temp-Mem-CPU-Monitoring

The Mycheck tool will allow you to monitor Temperature, Memory usage and CPU workload during a small period of time.
A Mycheck.sh script is planned in the cron tab that generates a /var/log/Mycheck.log data file. A PHP interface reads this data file to display the cool graphs.

http://mybookworld.wikidot.com/mycheck-temp-mem-cpu-monitoring

last edited on 1220467142|%e %b %Y, %H:%M %Z|agohover by servo + show more
unfold Re: Custom Web interface by servoservo, 1220393393|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220398868|%e %b %Y, %H:%M %Z|agohover

Did you mean to link this: http://mybookworld.wikidot.com/mycheck-temp-mem-cpu-monitoring

Shouldn't be too hard to add to webIF. Is the page big? Does it fit if it is embedded to webIF?

unfold Re: Custom Web interface by jounhijounhi, 1220398868|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220453284|%e %b %Y, %H:%M %Z|agohover

Jep, thats what i ment. just a <a href is a VERY easy way to do it. I think you should try it your selves.


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220453284|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1220396703|%e %b %Y, %H:%M %Z|agohover

A new version is available.

This version has better control over the services directory and does NOT require you to delete or modify the files in etc/init.d

You can install the current version over existing versions if you did not delete the scripts in etc/init.d

If you have deleted these scripts, please restore your old config following the instructions above before installing the new version.

The biggest chang in this new version is the services page. As stated above, services are no longer kept in a separate directory. Disabling and enabling services is now done by changing the executabloe bit on the file permissions.

Follow the installation mentioned in http://mybookworld.wikidot.com/new-web-interface

last edited on 1220396771|%e %b %Y, %H:%M %Z|agohover by sforget + show more
unfold Re: Custom Web interface by sforgetsforget, 1220396703|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220400173|%e %b %Y, %H:%M %Z|agohover

Thanks. I'll check the new one tomorrow.

Here is what I have: Edit: Link removed. It has served it's purpose.
This is still based on the first version and does not have anything from the new tarball. Zip mainly aimed for sforget to see if there is something usable.
Done some work on the NFS. Still not finished, it can read and fill info from /etc/exports but does not write anything.
Also added System Information page that runs scripts etc. and shows information about MyBook. New infos can be added to sysinfo directory under pages.
Fixed layouts so they work correctly on Firefox and Opera.
Edit: Links removed. They have served their purpose.

last edited on 1224440890|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220400173|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220456624|%e %b %Y, %H:%M %Z|agohover

Okay, now i did a restore as explained here.. and now i cant dowload anything. i just get:

[root@NAS www]# wget http://www.trainzhaven.com/newwebif.tar.bz2
wget: newwebif.tar.bz2: Read-only file system

How to i fix it?

Edit: i know its a read-only problem, but how can repair it whit out popin the drive?

Edit2: Remeber to read the how to (multiple times) before asking dump qestions! (rebooted and everything works)


2 X MBWE 500gb
LED Display

last edited on 1220472029|%e %b %Y, %H:%M %Z|agohover by stark + show more
unfold Re: Custom Web interface by starkstark, 1220456624|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220702708|%e %b %Y, %H:%M %Z|agohover

Now the MBWE dies after a smal amount of uptime. What have i done wrong? i did the backup, restored it, and rebooted, but now it's dead and its need a reboot to get a live i gaine.


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220702708|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220799882|%e %b %Y, %H:%M %Z|agohover

Two pages that seemed to work with sforgets webIf. Of course only guarantee given is that they work on my machine. :)
unzip to lib (or where ever your webIF index.php and pages-directory is).
Does not overwrite anything on webIF.
Localisation additions inside zip. Add to en.ini before use.

Shared Folders page: Edit: Link removed. It has served it's purpose.
Made from sforgets Samba shares.
Split up functionality to get the main page code easier to follow.
Create & Delete folders (Deletion of folder REALLY deletes the directory and everything in it!!)
Samba and NFS shares
Does NOT warn or ask too much about what's going to happen. So be careful.
Edits /var/oxsemi/shares.inc and /etc/exports so make a backup of those.
Made and used with one HD 500G MyBook. Dunno how the shares are in two HD models. Is there /shares/internal2 or two sub directories inside /shares/internal or something else.

System Information page: Edit: Link removed. It has served it's purpose.
Has few sub pages that show some information about system. Easy to add more.

last edited on 1224440931|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1220799882|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1220928194|%e %b %Y, %H:%M %Z|agohover

jounhi

I try to add your functionality but i could not make it work.

cold you tell me where to put the files you include in it.

Tanks

unfold Re: Custom Web interface by servoservo, 1220928194|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1220943567|%e %b %Y, %H:%M %Z|agohover

Keep the directory structure inside the zip files.
unzip them to the same directory where the index.php and settings.ini are. Most likely the lib directory from sforgets tar.
or better.
unzip to location of your choice and see what is inside the zips.
Copy the stuff to the directory mentioned above.

If you unzip/copy both you should have shared_folders.php, system_info.php & directories include and sysinfo in your lib/pages-directory.

You should also find en.ini.SI and en.ini.SF. These include the localisation strings for the pages.
Copy/paste from those files to lib/language/en.ini -file.

You should find [pages] from the original en.ini file. Copy/paste the page name strings under it.
Copy/Paste the whole page section including [] header to the en.ini.

unfold Re: Custom Web interface by jounhijounhi, 1220943567|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
kevkukevku 1220822692|%e %b %Y, %H:%M %Z|agohover

so i get that i need a default http.conf and the Perl interface running to get this work? which is like really bad…. i don't know much about php but i get that the main problem here is to get the scripts running as root to change stuff?


30-day pro trial.
2x WD Caviar SE WD5000AAJS RAID0 MBWEII
don't click

unfold Re: Custom Web interface by kevkukevku, 1220822692|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1220981731|%e %b %Y, %H:%M %Z|agohover

Just wondering if someone have done the "dd if=/shares/internal/backup of=/dev/sda1" and not having any problems? Mine died, and since im fare away frome home, i can't repair it. is it just my network or is there an possibility that the sda1 partition is retarded?

-Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1220981731|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1221070095|%e %b %Y, %H:%M %Z|agohover

I've done it myself a half dozen times or so with no issues so far.

Everytime I'm testing and something goes wrng, I restore my backup using that exact command. It's never failed me yet.

unfold Re: Custom Web interface by sforgetsforget, 1221070095|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221140977|%e %b %Y, %H:%M %Z|agohover

Hi,

What is the status of the New Webif.

I have seen the jounhi screenshots and thay look really cool.

can be great if you integrate his art, dont you think. and his ideas are very nice too.

You need to have a Version number of the Wewif so in the tutorial you can modify every time you change the version.

in the Title can say NEW WEB IF -— ALFA 0.0.1 as sample and you should include it insade de webif itself

hope this is hekpfull

unfold Re: Custom Web interface by servoservo, 1221140977|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221158146|%e %b %Y, %H:%M %Z|agohover

I wouldn't call it art but thanks. :)

Here's what I have: Edit: Link removed. It has served it's purpose.
Fixed up some layout issues. Made status mem/disk bars themed.
Should be at sforgets last tar level.

Edit: Links removed. They have served their purpose.

The layout changes are mostly in: index.php, status.inc & menu.inc. I changed the date/clock into a one line thing.
The main pages should be the same as sforgets, so directly compatible with official version.
I have been thinking of putting the main page section into an iFrame to stop the whole page from scrolling with long pages.

last edited on 1224440955|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1221158146|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221251512|%e %b %Y, %H:%M %Z|agohover

Jounhi .

1) OK

2.) In the regular Web the mask is entered in 255.255.255.0 format, in yours is just a /24 , is there any help about this? i gues no too many people understand this…. at least not me ….(i got more geek so i got it. thanks )
3.) OK

4.) the servicess Edit, Copy, Mov, etc, somo of them need a target to be copy, move or

Hope this is helpful to have a beter WebIf in the near future

last edited on 1221372075|%e %b %Y, %H:%M %Z|agohover by servo + show more
unfold Re: Custom Web interface by servoservo, 1221251512|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
fraterfrater 1221255738|%e %b %Y, %H:%M %Z|agohover

2. If you're geek enough to install a custom webinterface, you should be at least geek enough to find out some basics about IP. Not knowing something is not something to be ashamed of, but not trying to find out is.
[http://en.wikipedia.org/wiki/IPv4_subnetting_reference]

last edited on 1221256068|%e %b %Y, %H:%M %Z|agohover by frater + show more
unfold Re: Custom Web interface by fraterfrater, 1221255738|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221294603|%e %b %Y, %H:%M %Z|agohover

1. Sorry. My bad. Wrong, old, zip. Corrected to: Edit: Link removed. It has served it's purpose.. Too many projects, too many zips laying around. Thanks for pointing it out.

2. Doesn't matter which. The latest will suggest 255.255.255.0 it will dig it up from your config. Also added a link to exports man page that should help with configuration. Although man pages can be geeky too. :)
With this kind of problems one should always remember that google is your friend and knows everything. :)
fraters link is a good one. I think I'll link that one to the nfs page also.

3. sforget has fixed this one with the latest version. Also in my latest.

4. My version is still non working. Except the editor.
From old message:
ln, cp, mv, rm are not working.
editor is working but does not have sudo rights.
To test editor:
- ssh into MBWE
- run 'touch /etc/init.d/test.sh' <- if you already have a test.sh use some other name
- run 'chmod 666 /etc/init.d/test.sh'

Didn't do any work on it since sforget was fixing his and no support for my idea.

last edited on 1221404720|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1221294603|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221371629|%e %b %Y, %H:%M %Z|agohover

Hi jounhi

In your Zip, you dont have the scripts need for the Web-if.

I Install you webif-mod today and i see the blue skin, but if i try to change it for another it won't doit.
Neither the Celsius -Farenheit -kelvin, maybe i netd to give a privilege.

and neither the php shell work, i got just the message here..
sudo: ../nbin/sudo.sh: command not found

I made a script, that i named S1macaddr.sh wich is run in startup, but in Servico-JH it apears in script instead of in Start.

i notice that in time there is no Time Zone.

and the info in the right bar is not align

hope this help.

last edited on 1221372288|%e %b %Y, %H:%M %Z|agohover by servo + show more
unfold Re: Custom Web interface by servoservo, 1221371629|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221396288|%e %b %Y, %H:%M %Z|agohover

Fixed: Edit: Link removed. It has served it's purpose.
Includes nbin for the sudo.sh etc. No changes made.

Theme and temperature are stored in settings.ini in lib directory.
You shouldn't need sudo rights for changing them. User running the web server, probably www-data, needs rw rights.

PHP shell etc. are fixed with having the nbin with sudo.sh etc.

Like I said my services page is far from working. It's just listing everything with .sh ending as script.
If you want to use the services page I can finish it up to actually work.

Added time zone to general settings.

Fixed up some layout problems. Does the status bar look any better?
What OS and browser are you using? I have tested it with Opera, Firefox & Konqueror on FC9.

last edited on 1221418820|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1221396288|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221403962|%e %b %Y, %H:%M %Z|agohover

My main OS is XP and I use Firefox ………………….. The only porpoise for Explorer is to Download Firefox.

In my laptop Besides XP I recently (since i bought the Mybooks y install Ubuntu.

Now because I am restoring 1 of mybook , i bring a PC from my office because my PC does not have SATA.
I am using Pendrivelinux a OS in here and Firefox as a web browser.

I try Fedora for USB but it was very unestable if you save things on it, form me it hangs, and after it hangs the USB wont boot anymore until you remake it

Let me check the WebIF and if i find something new, i write you later.

last edited on 1221404619|%e %b %Y, %H:%M %Z|agohover by servo + show more
unfold Re: Custom Web interface by servoservo, 1221403962|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221404534|%e %b %Y, %H:%M %Z|agohover

"My main OS is XP and I use Firefox ………………….. The only porpoise for Explorer is to Download Firefox"
Exactly! :)

Did you mean by not aligning the value under header being indented? That would be intentional and seen in the screen shots.

unfold Re: Custom Web interface by jounhijounhi, 1221404534|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221410232|%e %b %Y, %H:%M %Z|agohover

You try to make 2 alignings ….. one for the title and one for the data

all the titles are align .. but in the data no..

Date & Time:
……………..Sep, 14 2008 11:27:34 AM
Temperature:
……………..Disk 1: 48°C

this 2 have diferent align than the others an the temp is alingn to the right maybe looks beter in the middle… or in a fix place

unfold Re: Custom Web interface by servoservo, 1221410232|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221413297|%e %b %Y, %H:%M %Z|agohover

You're right. Thanks. I forgot to remove the table from the disk temps.
Fixed: Edit: Link removed. It has served it's purpose.

last edited on 1221418854|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1221413297|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221415654|%e %b %Y, %H:%M %Z|agohover

I had already the nbin directory.

but i got the same message in the php shell

$ sudo ls
sudo: ../nbin/sudo.sh: command not found

where should it be located .

i have the webif in the regular usr/www/lib folder
adn the sudo in the /usr/www/nbin …
what can be wrong ?

in path settings i have this
NAS Executable Files:
../nbin
and can not be change there, is it OK.

unfold Re: Custom Web interface by servoservo, 1221415654|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221418771|%e %b %Y, %H:%M %Z|agohover

You have it right. I thought absolute path was not needed anywhere.
Ugly hack but it's fixed: Edit: Link removed. It has served it's purpose.

Edit: Added scrolling to the main area. Now pages like optware & shared folders don't make the side bars, menus etc. disappear. While making another project noticed that this can be done with <div> and css overflow. So no need for iFrames for this. Looks ok in FF and Opera.

last edited on 1224440990|%e %b %Y, %H:%M %Z|agohover by jounhi + show more
unfold Re: Custom Web interface by jounhijounhi, 1221418771|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1221431110|%e %b %Y, %H:%M %Z|agohover

Jounhi

1) the date still not aligned

2) When entering OptWare , for default opens all available, so it makes the page 1m 10s to load.
I suggest not open any, so you decide witch you want to see. ( just and idea, what you think )
because open installed takes exactly the same time

3) I am still unable to change the skin, have you any idea ?

4) i am not pretty sure how, but i remember that when using php, the screen does not flash all, now after giving a command.
the full screen was redraw, and on top of it, the php-shell apears, so you have the flash felling

unfold Re: Custom Web interface by servoservo, 1221431110|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1221505778|%e %b %Y, %H:%M %Z|agohover

1. The date and time PHP is putting in extra <div> inside the <li> tags, that is propably what's causing it.. I'll check what to do with it.

2. WOW! Mine is under 10s to get the full list on screen. Empty starting point would be doable.

3. Not really sure. Only thing I can think of is you don't have write access to settings.ini. It's in the correct place and you can read it since you can see something. Theme should change immediately after hitting the lower save button. If you unzipped the package as root does root own those files now? If so www-data user might not have write access. You can try chmod 666 to settings.ini if that helps.

4. Not experiencing the flashing but I trust that it does so. There is more to draw and more complex to the browser than sforgets version. If there is no other problems with the layouts I could check how to tune and tweak it.

unfold Re: Custom Web interface by jounhijounhi, 1221505778|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
fraterfrater 1221165254|%e %b %Y, %H:%M %Z|agohover

I used this command to restore the /dev/sda1 partition of my 500 Gig on my new 1 TB. During the process I was kicked out of my ssh-connection. After a reboot it turned out that my 1 TB was unable to start.

I had to disassemble the drive and attach it to my PC which I booted with Fedora Core in rescue mode. I mounted sda4 and repeated the command. This time I was succesfull….

Isn't it better to daemonize the command, so the process can complete after you lose the session or will it complete anyhow?

After googling I found that I didn't even need to make a diskdump to a file, but get it straight from my other machine…
[http://linuxtechres.blogspot.com/2007/07/cloning-linux-server-scenery-1.html]

unfold Re: Custom Web interface by fraterfrater, 1221165254|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
lammielammie 1221356687|%e %b %Y, %H:%M %Z|agohover

use 'nohup' and you wont have to worry about your putty session getting killed.

unfold Re: Custom Web interface by lammielammie, 1221356687|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1222498315|%e %b %Y, %H:%M %Z|agohover

I was wondering, what is the state of this project.

is very interesting, but i fell it got frozen in some point.

maybe is because the "alpha stage" or is juts that not so many people have tested.

I hope it continue , because i think we can get something great from it.

unfold Re: Custom Web interface by servoservo, 1222498315|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
sforgetsforget 1222512501|%e %b %Y, %H:%M %Z|agohover

I was happily working away on this project until a couple of days ago……

My nice little mybook harddrive decided to go belly up on me. Can't even get the darn thing to boot. I've tried the drive in a system booted to linux, and it does not respond at all.

So any changes I've made since my last update have been lost, and until I can get the money together for a new drive, my work will have to be put on hold.

jouhni appears to have taken a real interest, and may continue his work if he likes. If/when I get back up and running, I could grab his latest changes and continue from there.

Sorry guys.

unfold Re: Custom Web interface by sforgetsforget, 1222512501|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
servoservo 1222529636|%e %b %Y, %H:%M %Z|agohover

Does the HD is not working any more…..?

if the HD is broken the only thing you can do is the warranty, but if is the software you can aply the rescue procedure and can on the run again.

I brick my two MyBookWorld and apply the rescue , with my disk and with another disk non WD and it work fine.

Hope you can get you stuff back.

( i used a USB to do my rescue, with pendrivelinux from Pendrivelinux.com and have no problems)

unfold Re: Custom Web interface by servoservo, 1222529636|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1222560093|%e %b %Y, %H:%M %Z|agohover

Hi, I (ofc) hit the disable web accsess button, How and where should i put what, to get accsess?

And i think the login thing should be changed, Now you can see the right bar and the all of the links, i would prefer to see nothing at all before i have loged in.

-Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1222560093|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1222609710|%e %b %Y, %H:%M %Z|agohover

Should we move the development into a free hosted repository? Sourceforge or some such. Any thoughts of where, why or why not?
Read/check out access to all and submit to selected. Selected as in those who want it but not anonymous access for all.
Own bug tracking, wiki etc. would be a plus. One thread development like this will fail in a long run. Bugs and new ideas will be lost, zips and tar balls will confuse things.
Also perhaps that would encourage more people to develop this thing. Now there is no clear place to put what has been done.

Who will create the project into what ever repository?

Before putting it anywhere.
Graphics I have used. Tux image from here http://commons.wikimedia.org/wiki/Image:Tux.svg
- "The copyright holder of this file allows anyone to use it for any purpose, provided that the copyright holders Larry Ewing, Simon Budig and Anja Gerwinski are mentioned."
WD Mybook image from WD site. Shouldn't have any problems this is WD's PR material.
On WD theme the globe image is from WD webIF. This I suppose needs to be changed to something similar.

Things that I have done goes with "I don't care what you do with it. Use and abuse it but if something goes wrong blame your self."-license.

unfold Re: Custom Web interface by jounhijounhi, 1222609710|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1222613885|%e %b %Y, %H:%M %Z|agohover

Why not? Think that this is a great idea, but the http://mybookworld.wikidot.com/new-web-interface should ALWAYS be up to date.

Where are the user levels in the Web IF saved? Since i v'ed out the current user www accsess, i can't login.
sorry for my stupidity.


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1222613885|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1223485155|%e %b %Y, %H:%M %Z|agohover

Did you solve the problem already? /var/private/lighttpd.htdigest.user
You do have the admin user still available?

No objections to putting this in a free hosted repository. So I'll try to find time to put everything into Sourceforge during weekend.
It would make me more comfortable to do that if sforgets gives his permission on putting his stuff in there.

sforgets: Have you used stuff from internet that should be mentioned on some about page? Copyrighted stuff? To give credit to where it's due.

unfold Re: Custom Web interface by jounhijounhi, 1223485155|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1223489166|%e %b %Y, %H:%M %Z|agohover

Neh, Have two users there, but non of them works. whats the fromat? username:somevalue:password in md5?

Don't got any admin user. But, i did the backup thing, can i just get the one file from the 3gig backup? And if so, How do I do that?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1223489166|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1223912366|%e %b %Y, %H:%M %Z|agohover

hi! I got two qestions, the first one is: Can i take one (just one) file out of the backup file? and if not. can sombody create an use (UN: user PW: 1234) and post the file containing the username and password?

-Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1223912366|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
alephsmithalephsmith 1223936789|%e %b %Y, %H:%M %Z|agohover

If you know the path to the file in the archive, just specify it after the -x switch.

tar -x /path/to/file/in/archive -z -f /path/to/extract/to
unfold Re: Custom Web interface by alephsmithalephsmith, 1223936789|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1224269359|%e %b %Y, %H:%M %Z|agohover

I don't understand who im gona do that. i got mine backup at /shares/internal/backup, and the file im looking for is /var/private/lighttpd.htdigest.user (i think) so what should the command look like?

tar -x /var/private/lighttpd.htdigest.user -z -f /tmp/myfiles ? and where should i put the path to the archive?


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1224269359|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
alephsmithalephsmith 1224277839|%e %b %Y, %H:%M %Z|agohover

Yeah my bad:

tar -x /path/to/file/in/archive -z -f /path/to/archive

I think that is correct

You could just do something like this if you don't know exactly where the file is located:

tar -x *lighttpd.htdigest.user -z -f /path/to/archive
unfold Re: Custom Web interface by alephsmithalephsmith, 1224277839|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1224282974|%e %b %Y, %H:%M %Z|agohover

Just one more qestion, Where will the outputet file be store? The last command just "working" but nothing's happening.


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1224282974|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1224008029|%e %b %Y, %H:%M %Z|agohover

Take the file from sforgets tar.

The default user is root and the pass is 123456

We have a project: http://sourceforge.net/projects/newwebif/
Not much there yet. Just hang on and I'll put the SVN in order and we are good to go.

unfold Re: Custom Web interface by jounhijounhi, 1224008029|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1224351260|%e %b %Y, %H:%M %Z|agohover

Getting on with sourceforge project. http://newwebif.sourceforge.net/

Some things up and running some not.
In releases there is sforgets alpha tar ball.
For latest stuff in SVN you can use SVN browse. Go to trunk and click "Download GNU tarball". Of course you can also use svn client to check out the latest stuff.

unfold Re: Custom Web interface by jounhijounhi, 1224351260|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
jounhijounhi 1224440742|%e %b %Y, %H:%M %Z|agohover

Things moving on with http://newwebif.sourceforge.net/

On the downloadable releases:
Everything that is in here in the linked tar balls and zips.
Fixed language defaulting, a problem with PHP array_merge.
Page hiding to get unused pages hidden from menus. (There is a bug of hiding all pages from menu when saving path settings)
Languages: English, Finnish, Norwegian

On SVN:
MyCheck support. Page embedding MyCheck into iFrame. Path settings include URL to MyCheck.
Fixed the bug with path settings hiding all pages.

Bug reports, feature requests, language files, patches etc. can be submitted through project Tracker at: https://sourceforge.net/tracker2/?group_id=242098
Those who want to contribute PM me and we'll se what can be done.

unfold Re: Custom Web interface by jounhijounhi, 1224440742|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
ariznafariznaf 1227483138|%e %b %Y, %H:%M %Z|agohover

Great job.
I have translated it to spanish
Spanish Language File

I have put it in the wikidot page describing installation.
Where is the discusion about the bugs and features of this great admin interface?
Do you use this thread or a new forum?

unfold Re: Custom Web interface by ariznafariznaf, 1227483138|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1227643502|%e %b %Y, %H:%M %Z|agohover

Hi, i have for a looong time wonder: how many MBWE is actualy online and in use? and how many are hacked?
so to satisfy my needs i've modifyed a script thats counting online users, and writing the number to a .txt file, so all you have to do is wget a file. and if you want to see the online users you're just including the .txt file intro your NewWebIf.

So, are there sombody that's want to be test a user? if so pm me.

-Stark


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1227643502|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
SnackmasterSnackmaster 1229944636|%e %b %Y, %H:%M %Z|agohover

I translated the .ini file to swedish, how do i upload the file?

unfold Re: Custom Web interface by SnackmasterSnackmaster, 1229944636|%e %b %Y, %H:%M %Z|agohover
Re: Custom Web interface
starkstark 1229966598|%e %b %Y, %H:%M %Z|agohover

Hi!

Under the "Files" section at the bottom of this page.


2 X MBWE 500gb
LED Display

unfold Re: Custom Web interface by starkstark, 1229966598|%e %b %Y, %H:%M %Z|agohover
New post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License