|
#61
|
|||
|
|||
|
Hi SeverenusSneep,
I've had problems to, not exactly concerning the installed applications, but the booting, mounting, unmounting etc.etc. take a look at.. http://www.wl500g.info/showthread.php?t=14255 (my problems) I now have a stable setup under the -10 firmware which I'm now testing for stability etc.etc. which is actually going quite well. (test is now running for about a week, and every service, even HellaNZB still responds.) Because of the amount of changes in the new firmware the HeadStart perhaps isn't a good choice anymore. When testing goes well. I will create a new headstart which is able to work with the new firmware.. (I actually started all over to get it right under -10) The password you mentioned in order to access should be admin/asus.
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#61
|
|||
|
|||
|
#62
|
|||
|
|||
|
Hey!
How is your new headstart image doing? Still working on it? Got everything now working, exept https + user/pass |
|
#63
|
|||
|
|||
|
Hi,
Still testing.. the system is really stable (running 30+ days without a reboot, only HellaNZB stopped, but this is usual.), as i must say.. only thing is FTP, which I haven't been able to get this on speed again.. I'm pretty busy right now. (had to mod some xboxes (old ones) for friends, and a spin-off of work is really taking shape now, so these kind of hobbies are the first to suffer, but with the holidays coming I should be able to release an image which is capable of running on the v10 firmware.)
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#64
|
|||
|
|||
|
Yep, I know the problem with time.
Then again, I have another problem. The wl500g is working as my primary router and filesharing station, so I cannot test anything live without enoying my familly members... Well, the firmware version 10 is working fine for me, I have installed lighttpd and hellanzb (with succes this time) and I am trying to make a ssl+user/pass protected website (for sharing invoices with my boss overseas), the SSL part is working fine for me, but the user/pass combination won't work...I got htdigest but I can't get it to work...(some libuuld.so.1 can't be found). Can I help you with the headstart? |
|
#65
|
|||
|
|||
|
Hi,
I've installed lighttpd to host a Wordpress weblog from my Asus router. Works great, although I have a small problem. The wordpress files including the file index.php are stored into the directory /mnt. Every time I enter the url 192.168.1.1:8082 the webserver always redirects to 192.168.1.1:8082/cms although the line in my lighttpd.conf-file clearly mentions: Code:
server.document-root = "/mnt/" Also the webpage loads very slow, is this normal? |
|
#66
|
|||
|
|||
|
hi,
remove the index.htm/html file which is in /mnt. this is the default page. what is slow.. depends on what you've running in the background.
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#67
|
|||
|
|||
|
i made this thread sticky.
__________________
WL-500gP => 1.9.2.7-7g (2007-04-06) Running: thttpd, php 5.1, vsftp, rrdtool http://onlinefussballmanager.de/userbar/0/53647.png |
|
#68
|
|||
|
|||
|
Hi Britnet,
I guess I have to hurry up then in releasing the HeadStart which is for oleg -10 version. ![]() (this one runs with modifications, but not out of the box on a -10 firmware version anymore) In a week or 2 I'll have a second wl500g premium, which is only for test-purposes.. Anyway, thanks for the trust in the how-to and making it sticky. One request though, can you make wengi's excellent tutorial sticky also? http://www.wl500g.info/showthread.php?t=10307
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#69
|
|||
|
|||
|
HeadStart II tutorial for oleg 1.9.2.7-10
Hi,
Since I've created the HeadStart image for the asus wl500g Premium and oleg released it's v 1.9.2.7-10 version of the firmware I discovered the original HeadStart image didn't work with oleg's new firmware. After receiving comments (by pm and by answering to the thread) and britnet making this thread sticky (thanks!) I thought it was time to release a new image which supports oleg'sv 1.9.2.7-10 firmware, having a smaller footprint and supporting more (web) packages. So here it is: HeadStart II image, which works with oleg's firmware v 1.9.2.7-10 . What is in the package? A lot, at least to provide the same functionality as would the original firmware (package) would bring, and a lot more. - Automatic downloading system (providing a replacement for 'Asus Download Master' with ADOS - BitTorrent Downloader (Transmission) - Binary Newsgroup Downloader (HellaNZB) - PHP webserver (lighttpd) - MySQL Database with phpmyadmin support - Samba2 (Basic setup for (windows) networking) - Wake-On-Lan-Application - Webapplications (like: mp3database (with a few very small mp3s to show tag-support), photo-album (with some pictures of the asus), content management system, AIOCP, filebrowser) prerequisites? yes. - an asus wl500g premium device and a harddrive. (Duh) - followed wengi's excellent tutorial exactly until and including step 4b. - (if you're running in Access Point Only mode, like me, you have so set a nameserver in resolv.conf) - Make sure your device has a 'hostname' (to be set in asus 'original' router setup webpages), otherwise, MySQL gets into trouble. Need to knows? I have never changed my ip of the asus (192.168.1.1) so this setup assumes that address. I am running in Access Point only mode, I have no experience with the other settings so I can't answer questions about that. (configure this in the basic asus setup http://192.168.1.1) The name of my device is: NAS (Not that I know of it has be configured in this setup, but should you run into something, which I doubt, then this of NAS as the name of the device in the system setup of the basic asus setup http://192.168.1.1) How to use this tutorial: In this tutorial you'll have to change, download and extract items by giving certain commands and changes according to example(s) which are given in this tutorial. Furthermore, the tutorial first explaines a step what we're going to do and then supplying to the exact piece of code you have to execute. When you have to execute code (marked with 'Execute'), the code will be displayed in a special code window and, in some cases, be followed by example(s) of code (marked with 'Example'), if you have to change according to the example. Let's start! Step 1. I couldn't have done a better job than WENGI. (Thanks man!) Follow step 1 to 4b exactly from the excellent tutorial made by WENGI (found here: http://www.wl500g.info/showthread.php?t=10307). If you read Step5: IPKG, stop, and continue this tutorial. Step 2. Wengi uses a different mounting point for the data partition. In order for the HeadStart II image to work properly, we have to change the mounting point of the data partition (the 3rd parition). Change /etc/fstab to match the example. Execute: Code:
vi /etc/fstab Code:
#device Mountpoint FStype Options Dump Pass# /dev/discs/disc0/part1 none swap sw 0 0 /dev/discs/disc0/part2 /opt ext3 rw,noatime 1 1 /dev/discs/disc0/part3 /mnt ext3 rw,noatime 1 1 Execute: Code:
vi /usr/local/sbin/post-mount Example: (last line has been made as a comment -> #, so the script doesn't execute anything) Code:
#! /bin/sh #/opt/etc/init.d/rc.unslung start Execute: Code:
flashfs save && flashfs commit && flashfs enable && reboot Step 3. Your (telnet/ssh) connection will be broken, so log in (give it some time -> 30sec) and check after the full reboot if the partitions are mounted correctly. The output will/must match the following example: Execute: Code:
df Code:
Filesystem Size Used Avail Use% Mounted on
rootfs 3.0M 3.0M 0 100% /
/dev/root 3.0M 3.0M 0 100% /
/dev/discs/disc0/part2
966M 233M 684M 26% /opt
/dev/discs/disc0/part3
17G 235M 16G 2% /mnt
go to data partition and download the image, then go to root extract the file to /opt, go to program partition, download mnt.tar.gz and install the webapplications and directory structure (this takes a while!) Execute: Code:
cd /mnt wget http://files.wl500g.info/asus/custom/raas/v10/opt.tar.gz Code:
cd / tar -xvzf /mnt/opt.tar.gz Code:
cd /opt wget http://files.wl500g.info/asus/custom/raas/v10/mnt.tar.gz Code:
cd / tar -xvzf /opt/mnt.tar.gz Execute: Code:
vi /usr/local/sbin/post-mount Code:
#! /bin/sh /opt/etc/init.d/rc.unslung start Again, We have to save our changes to the flash and reboot. Execute: Code:
flashfs save && flashfs commit && flashfs enable && reboot Actual installation done. !!.. Read on in the next post on how to customize.
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption Last edited by raas; 06-04-2009 at 08:03.. Reason: Files hosted on wl500g.info |
|
#70
|
|||
|
|||
|
HeadStart II customization
Step 4.
Now, how to customize? All user/pass combinations I have used in this image are admin/asus (only not for ADOS, this is a error which I made in the process, sorry, use: admin/logitech) besides from the swat/samba login, which uses the standard password you've entered in the router (oleg's firmware) to secure it. (if you want to see what's running now, before customizing, take a look at http://192.168.1.1:8082 (change the ip address, if you don't use the standard ip address) it will take you to the homepage where most applications are accessible.)) Step 4a. (optional) Samba Standard, 2 shares are configured in the system: /opt and /mnt are both shares. use /mnt for your data, and /opt for a quick-ref to your programs and config files to be accessible from lan. open http://192.168.1.1:901/ and login with admin and the password you've used for the default asus web site (def. configuration). You can define your shares here. If you want to define the shares using the console and a text editor, change the smb.conf file. Execute: Code:
nano /opt/etc/samba/smb.conf Code:
# Samba config file created using SWAT
# from desktopmr.lan (192.168.1.250)
# Date: 2008/09/18 08:12:36
# Global parameters
[global]
security = SHARE
log level = 1
max log size = 100
dns proxy = No
guest ok = Yes
[opt]
path = /opt
force user = admin
read only = No
[mnt]
path = /mnt
force user = admin
read only = No
MySQL Change the MySQL database password for the root user. Execute: Code:
mysql -u root -p mysql Execute the command to enter a new password Execute: Code:
update user set password=PASSWORD("YourNewPasswordHerePlease") where User='root';
Exit MySQL console and reboot Execute: Code:
exit Code:
reboot Log in and in the following files, change the password so that your mysql login for phpmyadmin works. (text-editor nano is installed, which I preferably use, so this will be used in the tutorial from now on) Execute: Code:
nano /mnt/AIOCP/admin/phpMyAdmin/config.inc.php Save the file with CTRL+O, Exit with CTRL+X Execute: Code:
nano /mnt/AIOCP/shared/config/cp_db_config.php Save the file with CTRL+O, Exit with CTRL+X Execute: Code:
nano /mnt/protected/WebUI/ados/database.conf.php Save the file with CTRL+O, Exit with CTRL+X Execute: Code:
nano /mnt/protected/WebUI/ampjuke/db.php Save the file with CTRL+O, Exit with CTRL+X That's it for MySQL security. Step 4c (optional) Webserver. The webserver it's standard root is /mnt, which means that your whole data partition is accessible through the webpage! Not all directories are accessible by public, /mnt/protected (your data-storage) is protected, and /mnt/cgi-bin is protected. The content management systems which are running are: Simple CMS (/mnt/cms) (standard) and AIOCP (/mnt/AIOCP) (installed, but not default CMS.) Besides that /mnt/AIOCP is public, it also contains the phpmyadmin stuff, which is off-course protected. (if you remove the AIOCP directory, you will loose phpmyadmin.) Now, if you absolutely don't want the root of your data-partition (/mnt) to be the root of your website, change it in: Execute: Quote:
(change /mnt/ to /mnt/cms/ or /mnt/AIOCP/) Save the file with CTRL+O, Exit with CTRL+X Keep in mind that the installed web application will not work anymore unless you rearrange the directory structure. Now change the password for the protected area on the webserver. (the stuff behind /mnt/protected) Execute: Code:
nano /opt/etc/lighttpd/.lighttpdpassword Save the file with CTRL+O, Exit with CTRL+X The directories which are user: password protected on the webserver are stored in lighttpd.conf file. Open the file and go to line: 280, from this point, the file contains the protected directories. Add/remove ass you like. Execute: Code:
nano /opt/etc/lighttpd/lighttpd.conf Save the file with CTRL+O, Exit with CTRL+X Example: Code:
auth.backend = "plain"
auth.backend.plain.userfile = "/opt/etc/lighttpd/.lighttpdpassword"
auth.require = ( "/protected/" =>
(
"method" => "basic",
"realm" => "Enter Password",
"require" => "user=admin"
),
"/cgi-bin/" =>
(
"method" => "basic",
"realm" => "Enter Password",
"require" => "user=admin"
),
"/AIOCP/admin/phpMyAdmin/" =>
(
"method" => "basic",
"realm" => "Enter Password",
"require" => "user=admin"
)
)
if you change anything in this file, you have to run the following command: Execute: Code:
/opt/etc/init.d/S80lighttpd restart Step 4d (optional) Configure the newsserver to download binaries. Execute: Code:
nano /opt/etc/hellanzb.conf Step 4e (optional) Configure transmission if you've other demands than the standard Execute: Code:
nano /opt/etc/transmission.conf Configure user/passwords in installed webapplications. (If you've changed your ip-address, then use it below) ADOS: http://192.168.1.1:8082/protected/WebUI/ados/ AIOCP: http://192.168.1.1:8082/AIOCP AmpJuke: http://192.168.1.1:8082/protected/WebUI/ampjuke Step 4g (optional) Configure a mac-address in /mnt/cgi-bin/wol.cgi Execute: Code:
nano /mnt/cgi-bin/wol.cgi Code:
#!/bin/sh ether-wake -i br0 00:16:17:B1:F3:99 echo "<HTML><HEAD><title>test</title></head><BODY>Magic Packet Sent</Body></html>" once you've entered the correct mac-address in this file, you're able to start the machine once you access the page through a webbrowser -> http://192.168.1.1:8082/cgi-bin/wol.cgi Step 4h (optional) FTPserver proftpd is installed as ftpserver. you can configure it in : Execute: Code:
nano /opt/etc/proftpd.conf End of basic configuration! What did I get and how do I use it: I recommend a reboot when you're reading this, this way you make sure all the services are correctly started after you have configured them. In the meantime, you can read along what this system install has installed and how to use it. Samba2, The network share service (connect with your (window$) PC) Samba is pretty standard configured. On the disk, you have 2 partitions to store programs (/opt) and data (/mnt) these are also writable shares in Samba. In a windows environment (I used WORKGROUP, can be configured with swat http://192.168.1.1:901, name of device is NAS) it would show up as: -Microsoft Windows Network ___Workgroup ______Nas _________mnt _________opt Both shares are writeable, I reccommend writing your data to /mnt (look at the expanded directorystructure by using your pc.) The access to /opt is just there to give you a quick-ref to your program directory without login into your console. Other than Samba, most of the items installed are webapplications (which has been pointed out at the beginning of this tutorial), open up http://192.168.1.1:8082 in your browser and read the homepage, there is a number of links which will lead you further. HellaNZB Well, there are 2 small issues with this one. 1) it doesn't start on itself after the router reboots. start with: Execute: /opt/bin/startHellaNZB 2) it doesn't download anymore after more than 24h of inactivity. However, I've downloaded TB's with this application and i'm very please how well it downloads, verifies and extracts my downloads. That's why I've included this one in the package. In my opinion it's workable, because when your are collecting your nzb files, your at your machine. A simple reboot/restart of HellaNZB to get it to download again can be executed then. Once you've started HellaNZB with /opt/bin/startHellaNZB, you can access zussaweb WebUI in order to control HellaNZB at http://192.168.1.1:8082/protected/WebUI/zussaweb/ After starting HellaNZB, simply put your nzb's in /mnt/protected/Downloaders/HellaNZB/nzb/daemon.queue and download will start. That's about what I can tell you, play around, if you've any questions, don't hesitate to ask. Also, if you've comments to make it better (the image, or the tutorial, please post)
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption Last edited by raas; 07-10-2008 at 18:06.. Reason: layout |
|
#71
|
|||
|
|||
|
Sources:
wengi's basic installation: http://www.wl500g.info/showthread.php?t=10307 lighttpd + php: http://www.wl500g.info/showthread.php?t=5247 MySQL: http://www.wl500g.info/showthread.php?t=8236 and http://www.macsat.com/macsat/content/view/73/29/ HellaNZB: http://www.wl500g.info/showthread.php?t=11481 ADOS: http://www.wl500g.info/showthread.php?t=13227 Ampjuke: http://www.ampjuke.org/ AIOCP: http://www.tecnick.com/public/code/c...aiocp_dp=aiocp CMSimple: http://www.cmsimple.com/ And of course: all the help from other forum members and the fantastic search engine
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#72
|
|||
|
|||
|
@Zapt, you send me a PM but I can't reply, 'cause you don't accept messages.
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#73
|
|||
|
|||
|
Oh, sorry raas.
I managed to get the transmission port open. Now my problem is that the ftp seems to be open to the internet. How do I stop this? There is no entry in the post-firewall... I installed lftp to be able to use the pir8te skin for transmission (see other thread). Thanks |
|
#74
|
|||
|
|||
|
Quote:
Test to see if not all your ports are open to the internet. (cause then your telnet (23), ssh(22) and standart asus website (80) are all open to the internet)
__________________
WL500g Premium v1 Oleg 1.9.2.7-10 500gb hdd [storage-disk] - 250gb hdd [download-disk] Transmission HellaNZB mysql php lighttpd myphpadmin samba AIOCP CMSimple AmpJuke ADOS HeadStart How to measure Energy consumption |
|
#74
|
|||
|
|||
|
#75
|
|||
|
|||
|
I just opened up the port for transmission. I double checked through a online portscanner and there is only ftp open.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pptp and inet asus WL500g Premium | werti | Russian Discussion - РУССКИЙ (RU) | 4 | 13-11-2007 18:31 |
| Router doesn't see USB disk anymore | Styno | WL-500g Q&A | 7 | 15-08-2006 08:37 |
| Firmware v1.7.5.6 CR5 [Oleg] | Oleg | WL-500g Firmware Releases | 43 | 14-07-2004 21:54 |
| Total crash every day | Djuri | WL-500g Q&A | 8 | 09-06-2004 09:05 |
| WL500G behind a WLAN-Ethernet bridge - how it works? | Tele | WL-500g Q&A | 6 | 26-05-2004 17:00 |