macsat.com OpenWrt and ASUS WL Forum
November 21, 2008, 11:04:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: MGB111 Questions  (Read 695 times)
0 Members and 1 Guest are viewing this topic.
Codemaster
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: August 31, 2008, 18:57:29 PM »

To everything only excuses my bad English!

I have a MGB111 (PE-4088) of Pearl

and the firmware mgb111-update-400b4.c009m2 flasht.

i insert per Telnet C.tar to my Hdd and reboot!

now i have ssh.;-)

now however to my problem! I have by ssh the following by wget loaded and unpacked httpd-2.2.8-php5-cgi-ssl.tar.gz...
then httpd.conf worked on and the MGB111 rebootet

then apache with httpd started! haven 8080 ok Apache runs. but only HTML sides functions. if I e.g. call index.php! then load it me index.php down however does not indicate it not!


which I must do! over on the MGB111 Apache and Mysql and a C compiler to run to bring! for a Torrenflux version??

Many ask however I hope it can me help! my MGB111 has only one day


possibly someone has for me backup from C where ssh does apache mysql and php and chroot vsftpd function???



« Last Edit: August 31, 2008, 19:03:54 PM by Codemaster » Logged
ukez
Newbie
*
Offline Offline

Posts: 27


View Profile
« Reply #1 on: September 04, 2008, 17:00:13 PM »

Let me know if you find a solution, as i would like to run my device the same way. Smiley
Logged

Is a member of the MGB111 syndicate
Georgousopoulos Christos
Newbie
*
Offline Offline

Posts: 16


View Profile WWW
« Reply #2 on: October 31, 2008, 20:44:50 PM »

On my Airlive I have the 'FW C009-M2 Advanced' firmware updated.
In order to setup Apache & PHP download from http://mgb111.pradnik.net the file "servers-www/apache2-2.0.50-php5-cgi-ssl.tar.gz". Then once you untar the file do the following:

      a. in the configuration file 'httpd.conf' within '/mnt/C/sys/apache22/conf' perform the following changes:
      Listen 7070    <--- modify this line: set the port that it is open in your router as well !

      User nobody   <--- modify this line: access rights
      Group nobody

      ServerName mysite.dyndns.org   <-- modify this line: where 'mysite...' is your URL

      <FilesMatch \.php$>                 <-- add this extra lines into the configuration file
         SetHandler application/x-httpd-php
      </FilesMatch>      

      b. from within '/mnt/C/sys/etc' rename the 'php.ini-dist' to 'php.ini'

     c. To test if php has been installed succesfully create a file with accesbile directory
      of appache named "test_php.php" with the following content:
      <?php phpinfo(); ?>
      and observer the output of internet browser.

 If in 'env-ng' file you haven't configured apache to start automatically (at boot), you may start it manually by typing:

/mnt/C/sys/apache22/bin/apachectl -f /mnt/C/sys/apache22/conf/httpd.conf &

Regards,
Christos
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.107 seconds with 24 queries.