View Single Post
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#30
Thanks for your quick response!

1)
Code:
Nokia-N900:~# ls /opt/smartcontrol/conf/
lighttpd.conf  login.php
2)
Code:
Nokia-N900:~# cat /opt/smartcontrol/conf/lighttpd.conf | grep port
server.port = 1234
3)
Code:
Nokia-N900:~# lighttpd -f /opt/smartcontrol/conf/lighttpd.conf
Nokia-N900:~# 2012-08-14 19:18:41: (log.c.166) server started
4) There seems to be a difference relating to language, that's why your commands did not work on my device. Therefore the line in my previous post worked for me to get the correct notification of password and IP.
Code:
Nokia-N900:~# ifconfig | grep inet
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          inet addr:192.168.49.202  Bcast:192.168.49.255  Mask:255.255.255.0
          inet6 addr: fe80::c238:f9ff:feee:ef96/64 Scope:Link
5)Although step1 to 4 seem to work now, i still get "404 - Not Found" error, when accessing http://192.168.49.202:1234/modules/main/page_test.php

Edit: This is what i find in a 'Netbeans' folder in the server's root folder:
Code:
Nokia-N900:~# ls -al /opt/smartcontrol/www/Netbeans/
drwxrwxr-x    8 1000     1000          4096 Aug 12 21:47 .
drwxrwxr-x    3 1000     1000          4096 Aug 12 21:47 ..
drwxrwxr-x    2 1000     1000          4096 Aug 12 21:47 classes
drwxrwxr-x    5 1000     1000          4096 Aug 12 21:47 container
drwxrwxr-x    4 1000     1000          4096 Aug 12 21:47 design
drwxrwxr-x    2 1000     1000          4096 Aug 12 21:47 images
drwxrwxr-x   15 1000     1000          4096 Aug 12 21:47 modules
drwxrwxr-x    4 1000     1000          4096 Aug 12 21:47 nbproject
Edit2: SUCCESS!!! i changed the conf file to use the above directory as lighttp root and the page is loading fine
I only have to add to my non-existing Brazilian
Thanks a lot for pointing me in the right directions.

Last edited by michaaa62; 2012-08-14 at 18:06.
 

The Following User Says Thank You to michaaa62 For This Useful Post: