Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 48

Thread: Complete detailed guide for PHP enabled webserver + ssh server.

  1. #16
    try changing user from root to admin

    S.

  2. #17
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Are there any changes in the guide refered to the new version of Oleg's Firmware?
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  3. #18

    vsftpd + olegs CR5 firmware.

    Hi guys

    Sorry for keeping you in the dark, I have been away on a conference for a couple of days, so I havent been able to check my mail / this forum.

    Foxtree : The username in /opt/etc/xinetd.d/vsftp should be the same as your login on the admin webpages on your router. I kindda forgot that :-) Thanks for "finding" that little error for me.

    Britnet : CR5 of the Oleg firmware, should have no impact on my guides.
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  4. #19
    The following problem guide vsftpd.
    The problem is obviously connected with access rights.
    At installation in line vsftpd.conf anonymous_enable=YES, client is not connected also by the administrator and anonymous. If anonymous_enable=NO that the administrator enters. How to solve the given problem ?

    Forgive me for my English. I as a dog - understand all, but I can not tell.

  5. #20
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Hello,

    yesterday i installed the whole thing.

    Then i create a test page like:

    index.php/htm
    Code:
    <? phpinfo(); ?>
    How is this site reachable from the internet?
    A friend of me said, he could not reach the Site.
    Last edited by britnet; 12-05-2005 at 17:11.
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  6. #21
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Hello,

    sorry but I have another question:

    How can I copy my webfiles in the www directory?
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  7. #22
    Install vsftpd

  8. #23
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by britnet
    Hello,

    sorry but I have another question:

    How can I copy my webfiles in the www directory?
    FTP them to your WL-500g and then copy them to the /opt/share/www directory

  9. #24
    Join Date
    Feb 2005
    Location
    Germany - Frankfurt a.M.
    Posts
    299
    Quote Originally Posted by Styno
    FTP them to your WL-500g and then copy them to the /opt/share/www directory
    Thank you,

    should i ftp to my.router or to my "external ip" ?

    Another Question?
    Why is there no Samba?
    WL-500gP => 1.9.2.7-7g (2007-04-06)
    Running: thttpd, php 5.1, vsftp, rrdtool

    http://onlinefussballmanager.de/userbar/0/53647.png

  10. #25
    1.It is possible both external and internal IP to give
    2.It is possible and SAMBA. But it in 2 times more slowly ftp.

  11. #26

    no php.ini in /opt/etc, please post working php.ini file :-)

    Hi

    I have the php server running. But I cannot use it as I would like to:

    I also installed sqlite via ipkg. I have created a db called wordpress.db with sqlite3

    I have download wordpress blogging system and sqlite patch (to be found here:http://elizabethmariesmith.com/?p=19)

    With no php.ini file in /opt/etc I have errors, mostly session errors trying to write to /tmp (this directory is write enabled?!)

    I really want to get this working, I have then taken the php-dist.ini and php recommended file from a php5 distribution and copied to /opt/etc because I didn't have a php.ini there (phpinfo() shows the path but no the file)

    I have also changed the extensions path in php.ini to /opt/lib/php/extensions to be able to use the gd functions installed. What else has to be changed to run smoothly on the wl500g?!

    But I still get some weird errors mostly:

    With sqlite admin:
    Undefined index: DOCUMENT_ROOT in .....

    With wordpress installation:
    Fatal error: main() [function.require]: Failed opening required '/opt/share/www/wordpress/wp-includes/functions.php' (include_path='.:')

    Can someone post his php.ini file that he is using? Thanks a lot :-) Maybe you could even add this to your guide...

    Regards,
    Rainer

  12. #27
    Join Date
    Apr 2004
    Location
    Netherlands
    Posts
    1,308
    Quote Originally Posted by rdk
    With no php.ini file in /opt/etc I have errors, mostly session errors trying to write to /tmp (this directory is write enabled?!)
    I have the same problem with many websites which write session/lock/cache files to /tmp. I believe it's cause because the 'nobody' user (which is used to run the webserver) does not have write access to /tmp.

    Do a chmod 777 on tmp and try again, or run the webserver using the admin account (security risk!).

  13. #28
    I have the same problem with many websites which write session/lock/cache files to /tmp. I believe it's cause because the 'nobody' user (which is used to run the webserver) does not have write access to /tmp.
    I have done a chown nobody /opt/tmp and also chmod 777 or even 6777 the tmp

    But when I take the recommended php ini file from php5 distro not the php dist file then these errors seem to go away, but the other errors then occur:

    Undefined index: DOCUMENT_ROOT

    and include_path='.:'

    How has a working php.ini for wl500g?? Or maybe someone can share some tips on howto run php without errors ?!

    Regards,
    Rainer

  14. #29

    esmtp tutorial now added...

    I have now added a esmtp tutorial to my page.

    This will enable you to make the router send out mails....very useful for php pages, perl scripts and certail server programmes, that likes to send status mails.

    Tutorials I am considering making :
    - crontab
    - samba (windows drive / folder sharing)
    - multi user setup

    I would like comments, both on existing turorials / guides, and on future plans....

    Regards
    macsat
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  15. #30
    Well, for crontab there is a little howto being discussed at the moment, so you're more then welcome to use my example there atleast. http://wl500g.info/showthread.php?t=1058

    And a nice tutorial I have been contemplating writing is about SSH tunneling/port forwarding, which is great for accessing local network safely. With dropbear setup there is actually nothing more that needs configuring on the server so it's all just learning how to use the ssh client (like putty). I use it for http access to admin pages, Remote Desktop on LAN pc, Samba to LAN PC..

    As for tunneling samba traffic, I found a neat trick on the net. http://www.blisstonia.com/eolson/notes/smboverssh.php
    The problem is that in windows you cannot samba to an other port than 139. Thus you need to turn off local sharing to connect through localhost:139. But this trick solves that problem by setting up a new loopback adapter.

    Good work! Keep it up!
    B.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Idiot's guide to setting up bridge mode?
    By tsb4k in forum WL-HDD Q&A
    Replies: 0
    Last Post: 04-09-2005, 00:46
  2. Internet is blocked when WL-500 is enabled
    By Old Harry in forum WL-500g Q&A
    Replies: 2
    Last Post: 22-12-2004, 17:52
  3. Complete webserver+ftp installation
    By seann in forum WL-500g Q&A
    Replies: 9
    Last Post: 19-12-2004, 23:01
  4. detailed logfiles
    By tommy777 in forum WL-500g Q&A
    Replies: 1
    Last Post: 30-05-2004, 21:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •