Had somebody test this guide?
Changelog :
29-06-2005
+ CRON job scheduling system tutorial added
16-06-2005
+ SAMBA tutorial added
25-05-2005
+ esmtp tutorial added
# php webserver tutorial split in two :
1. php enabled webserver
2. ipkg package system tutorial
18-05-2005
+ Hardware comparison table added
11-05-2005
+ Added a page with general information about Olegs Firmware
+ Added a complete guide for setting up a Cross Compiling Build Environment
10-05-2005
# Username related error in the vsftpd guide corrected.
02-05-2005
+ Added a complete vsftpd guide
29-04-2005
+ Added a small guide in howto enable perl .pl / .cgi scripts
28-04-2005
# Switched from thttpdphp to php-thttpd
# Changed webroot to comply with Unslung standards
# Corrected small error in setting eXecutable flag (thanks rdk)
+ Added a small ssh-server only guide as well.
----
http://macsat.com/wlguide/index.php
----
I just made a complete and quite detailed guide on how to make your ASUS WL device into a full featured PHP enabled webserver, and a ssh server.
The guide should be usuable even for people that dont know linux in advance !!
The Guides Include :
*PHP enabled webserver + ssh server guide
*ssh server guide
Link :
http://macsat.com/wlguide/index.php
Last edited by macsat; 29-06-2005 at 10:13. Reason: CRON tutorial added
Had somebody test this guide?
WL-500gP => 1.9.2.7-7g (2007-04-06)
Running: thttpd, php 5.1, vsftp, rrdtool
http://onlinefussballmanager.de/userbar/0/53647.png
This howto is very nice and complete. Thank you macsat !
Just a few things:
1) phpthttpd is now obsolete.
Instead of running
Code:cd /opt/tmp < enter > wget http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter > /opt/bin/ipkg install thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter > rm thttpdphp_2.25b-5.0.3-1_mipsel.ipk < enter >This will install thttpd with php support plus the full php package (giving you additionnals modules)Code:ipkg install php-thttpd < enter >
2) webroot *should* sits under /opt/share/www.
Unslung staff makes this (arbitrary) choice so that web-related packages can all rely on this dir at install time. storing your webroot somewhere else will not guarantee that web-related package will be web visible once installed.
JF
Last edited by Jean-Fabrice; 28-04-2005 at 14:03.
Thank you,
can i change the www files via ftp?
WL-500gP => 1.9.2.7-7g (2007-04-06)
Running: thttpd, php 5.1, vsftp, rrdtool
http://onlinefussballmanager.de/userbar/0/53647.png
Hi Jean-Fabrice
Thanks for the nice words.
The thttpd package thing will be updated soon, and also the placement of the www dir :-)
Will keep people posted in here.
/macsat
macsat
http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.
Hi Macsat
I ve also used this howto and found it very useful to learn how the ipkg stuff works Thank you!
Its just at one place where you put
mkdir /usr/local < enter >
mkdir /usr/local/sbin < enter >
touch /usr/local/sbin/post-boot < enter >
touch /usr/local/sbin/post-firewall < enter >
=>>> chmod -x /usr/local/sbin/* < enter >
Shouldn't this last line be chmod +x ??
At least thats what worked for me....
The rest was fine
Regards,
Rainer
Yes, you are right....a little mistake there.
Will be fixed ASAP :-)
macsat
http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.
Cool,
you changed your How To Site.
Its really nice.
Can you do this guide in PDF,too?
It's much more better to print.
(because of the grey backgrounds)
Regards,
britnet
WL-500gP => 1.9.2.7-7g (2007-04-06)
Running: thttpd, php 5.1, vsftp, rrdtool
http://onlinefussballmanager.de/userbar/0/53647.png
please see attachedOriginally Posted by britnet
My little Asus Collection: Too much to fit inhere, my 2 babies:WL500w 1.9.2.7-10(OLEG) VX2SE Yellow Lamborghini notebook
WL500g Forum Asus Files OpenDir
Asusforum.NL -- Asusforum.DE -- Asusforum.RU -- Asusforum.PL -- Asusforum.NET -- Asusforum.EU -- Asusforum.BE -- Asusforum.ES -- Asusforum.INFO
macsat,
Great HowTo's :-)
-- Rod
[Edit: didn't see the nslu2-linux links at first cause they were black, but realised they are all there - thanks.]
Last edited by rwhitby; 29-04-2005 at 11:19.
thx for the guide. all works fine except access from wan.
Am I supposed to have the firewall enabled in web setup?
I had the same problem. The solution was to take port 80 in the list of the virtual servers (under NAT Settings):Originally Posted by mullog
Port range: 80
Local IP: local IP address of the router
Local port: the port number you have chosen for local access to your web server
Protocol: TCP
I do not know if it it is the unique solution (and the best ?) but it works. May be the (excellenet) howto could be updated with this point.
I will update the howto with that little note, thanks for pointing out :-)
macsat
http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.
Is there some kind of version of mysql included? Lite or something?
Thanks in advance!
guide vsftpd not working
Status & Log - System Log
May 9 17:24:14 xinetd[126]: Unknown user: root [file=/opt/etc/xinetd.d/vsftp] [line=7]
May 9 17:24:14 xinetd[126]: Error parsing attribute user - DISABLING SERVICE [file=/opt/etc/xinetd.d/vsftp] [line=7]
May 9 17:24:14 xinetd[126]: 126 {init_services} no services. Exiting...