PDA

Bekijk de volledige versie : Mwget WebUI for wget



mee0093
22-09-2007, 11:03
Hello, asus wl500g users.

My name is mee, I come from http://wl500gp.sirikasedpan.com, a webboard of asus wl500gP user in Thailand.

At first, I must inform that English is not my mother tongue. Please be patient with my english.


I have developed a Perl cgi script for download HTTP and FTP via webUI, Mwget.

Mwget is a web interface for wget, which can download under http and ftp protocol. This program is developed from wget4web.For more information, please visit http://irodov.nm.ru/wget4web/ , the original website of wget4web.

This script is still in test phase, I and other users from http://wl500gp.sirikasedpan.com have tested it for a while.

Feature
- Download HTTP and FTP.
- Download HTTP and FTP using password.
- Process control (Pause and resume).
- Bandwidth management.
- Log file size management.


screenshot

http://58.137.54.35/~mumis/webboard/files/add_153.jpg

http://58.137.54.35/~mumis/webboard/files/progress_214.jpg


installation
http://wl500gp.sirikasedpan.com/viewtopic.php?t=411

Mwget
http://wl500gp.sirikasedpan.com/viewtopic.php?t=376&start=0

mee0093
10-11-2007, 04:41
For Mark

:)

metamorphose
07-12-2007, 22:33
Hi,


where should I extract ZIP-file exactly to?

Would it be the right place?

/shares/MYVOLUME1/MYSHARE1/web/Layout_English/

mee0093
08-12-2007, 22:26
Hi,


where should I extract ZIP-file exactly to?

Would it be the right place?

/shares/MYVOLUME1/MYSHARE1/web/Layout_English/


Extract Mwget.zip and copy directory Mwget in cgi-bin
directory in your Web server.

Normally the path of webserver is
/opt/share/www/cgi-bin

and you should have something like this
/opt/share/www/cgi-bin/Mwget

metamorphose
09-12-2007, 21:39
Hi,



I am a little bit confused. I have ASUS WL-700gE router with kfurge custom firmware and I have found only these 2 directories where web server could be:

~/www

or

~/apps/www

But both of them do not contain cgibin directory.

cgi-bin directory exists only under cups directory, that must not be web server directory I am sure.

Should I need anything else what I have not installed yet?

mee0093
09-12-2007, 23:34
Hi,



I am a little bit confused. I have ASUS WL-700gE router with kfurge custom firmware and I have found only these 2 directories where web server could be:

~/www

or

~/apps/www

But both of them do not contain cgibin directory.

cgi-bin directory exists only under cups directory, that must not be web server directory I am sure.

Should I need anything else what I have not installed yet?

Oh. I think Mwget can't be used in your case.
In fact Mwget requires only wget and perl, however, various configurations are refered under oleg firmware, for example, wget and perl package must be stored at /opt/bin/.
But i think path problem can be solved.

I have no idea about cgi-bin, so I suggest you to ask your firmware community about cgi-bin directory.

Marks
18-12-2007, 02:00
Hi mee0093.
I see the new version on your site. It would be good to duplicate new releases on this site.
Thanks

mee0093
21-12-2007, 10:18
Hi mee0093.
I see the new version on your site. It would be good to duplicate new releases on this site.
Thanks

Thanks Marks.

my newest version, 1.07.1a, still has some bugs (not critical).
after i manage those bugs i will duplicate it.
however, if you want to be a guinea pig, i will send it to you , :p:p:p

Marks
21-12-2007, 13:30
my newest version, 1.07.1a, still has some bugs (not critical).
after i manage those bugs i will duplicate it.
however, if you want to be a guinea pig, i will send it to you , :p:p:p

Thanks mee0093
:p:p:p No, I don`t want to be a guinea pig :D:D:D I'll be waiting

metamorphose
14-01-2008, 20:57
Oh. I think Mwget can't be used in your case.
In fact Mwget requires only wget and perl, however, various configurations are refered under oleg firmware, for example, wget and perl package must be stored at /opt/bin/.
But i think path problem can be solved.

I have no idea about cgi-bin, so I suggest you to ask your firmware community about cgi-bin directory.



Hi,


as I thought first of all I had to install a web server (I choose thttpd) and after that I can copied files to /opt/share/www/cgi-bin/mwget directory (I used only lower characters in paths).

I left untouchable /opt/share/www/cgi-bin/mwget/data/users.cgi to able to use default admin/admin user and password. Finally, I set up basic properties in /opt/share/www/cgi-bin/mwget/data/info.cgi:

# Directory for Wget logs
$logsdir = "/shares/MYVOLUME1/MYSHARE1/mwget/logs";

# Directory for tasks for wget
$tasksdir = "/shares/MYVOLUME1/MYSHARE1/mwget/tasks";

# There save downloading files
$filesdir = "/shares/MYVOLUME1/MYSHARE1/mwget/files";

However I set up everything (I hope), when I typed in my web browser http://192.168.1.1:81/cgi-bin/mwget/mwget.cgi (port 81 is the default port of my web server), only the Perl program code appears!

I do not know why, as perl is installed on my router. Could anyone help me?

Marks
15-01-2008, 08:10
metamorphose
Try to edit first string mwget.cgi

#!/opt/bin/perl
replace to a directory where the perl is installed

metamorphose
15-01-2008, 21:28
metamorphose
Try to edit first string mwget.cgi

#!/opt/bin/perl
replace to a directory where the perl is installed

Hi mee0093,


mwget.cgi script begins #!/opt/bin/perl string of course, because this is the own directory of my perl instance. However, it is not working.

I guess cause can be a config property. Do you know how I can set the assign .cgi files to perl in my thttpd web server?

thE_29
05-03-2008, 14:58
Well, the percent and the speed label arent working by me :(

It looks like this:
dsl-4.2.5.iso 49726K 27226K 0% ? B/s Loading

But great work! I tried the standard wget4web and yours is better to use ;)

And after finishing it display this:


49726K 1K 0% ? B/s Loading

:( Is this just at my router??

thE_29
05-03-2008, 15:52
I have to reply and not to edit, because i found the bug ;)

The Script ist searching for /s!
But the wget on oleg doesnt write out any /s! Just 303K or whatever!

For example wget on standard linux (local download)

5100K .......... .......... .... 100% 23.73 MB/s

On Oleg:

3450K .......... .......... .......... .......... .......... 5% 131K 8m36s

The problem is, that the wget on oleg, doesnt write out any /s! Dunno why, have to search why ;)

Edit: the problem is the version! I compiled the wget version 1.8.1 and then you have again the KB/s or whatever ;)

Edit2: Finally the version 1.10 is printing it out like version 1.8.1! I tried downloading and finaly i have this here

ads-linux-x86-6.5.8.tar.gz 69999K 11645K 16% 133.26 KB/s Loading
So it works now! I will load up the binary tomorrow!

TVadim
26-04-2009, 10:25
Well, the percent and the speed label arent working by me :(

It looks like this:

But great work! I tried the standard wget4web and yours is better to use ;)

And after finishing it display this:



:( Is this just at my router??
http://wl500g.info/showpost.php?p=143125&postcount=4

myschoo
26-04-2009, 22:29
can you pls rehost the picture? (imageshack/tinyurl)
i cant see it

looks good, i will try it tommorow :D

wpte
28-04-2009, 00:06
all the links are dead for me... only the wget4web website is working:confused:

tefots
05-06-2009, 09:52
Hi.

I installed wget 1.06a in my asus wl500-v2 , it work perfect , % progress is working , but i have some problems.

when downloaded is finished , i can't not delete it from progress page. the progress page show me all ever downloaded files , and it never disappear.

the only way that i find to solve this problem is deleting manually the files /opt/share/wget/ tasks/*.* and /opt/share/wget/logs/*.*

buttons stop , stop & delete , pause , is not working.

can anybody help me. ?

regards and sorry for my poor english.