Megabyte#12 wrote:fullbanner! Tambem sou tuga :D pelo que vi tas a fazer um bom trabalho! ;D
Eu estava a procura de um download manager para o wl-600 e um cliente de torrents, mas isso tem se fazer sempre por telnet ou percebi mal? não da indo a pagina do router? De qualquer maneira, podes dar aqui uma ajuda?
##########
I was looking for a download manager for the wl-600 and a client of torrents, but it has always done via telnet or i don´t understand ? does not work going to the page of router?? Anyway, can you help-me??
Thanks
Boas
Esquece o telnet por enquanto, porque o sistema já está quase todo via web.
The last firmware i've posted it has already a torrent downloader, a service manager and a download manager(wget)
You can get it here: http://www.rn-design.net/WL-600gA-080808_1809.zip
The torrents are controlled with Yodctcs where you can download new torrents directly.
I have already uploaded some source files to the cvs server where you can see how you can implement wget service in a webpage.
When you open the services page, that page is located in <your_flash_disk>/asus/thttpd/cgi-bin/services
You can create something like:
#!/var/harddisk/asus/bin/bash
# downloadfile
echo "Content-type=text/html"
echo ""
echo "<html>"
echo "<head></head>"
echo "<body>"
echo "<form method='post' action='download'>"
echo "Please paste the complete url below"
echo "<input type='text' name='conf' size='100'><br><input type='submit' value='Start download'>"
echo "</form>"
echo "</body></html>"
Then you can change the source file for the setservice like this
system("/var/harddisk/asus/bin/wget " && conf);
Then rename the file to 'download.c' and compile the file with the toolchain.
I'm working in the webpage to post more information and examples so anyone can help in this project.
Sources are located in:
cvs: http://enhancedwl-600g.cvs.sourceforge.net
web will be: http://enhancedwl-600g.sourceforge.net/
(Last edited by fullbanner on 10 Aug 2008, 05:08)