Page 1 of 7 123456 ... LastLast
Results 1 to 20 of 122
  1.    #1  
    The Optware section in Preware now has a web server available for installation on your Pre:



    By default, you get access (over wifi by default - Pixi users see post#4 for assistance) to the directory listing of your USB /media/internal partition: (Note that for security reasons, the package has now been changed to only show the /media/internal/www directory. You can edit the configuration file to change this back to /media/internal.)



    If you drop an index.html file, some javascript, and some images into /media/internal, you can serve the preware.org web site from your Pre:(This has now been changed to /media/internal/www.)



    Don't have a desktop handy to browse the site you just created on your Pre? Use the built-in browser:



    Documentation for Lighty is at http://www.lighttpd.net, and the configuration file is in /opt/etc/lighttpd/lighttpd.conf

    -- Rod
    Attached Images Attached Images
    Last edited by rwhitby; 02/09/2010 at 03:29 PM.
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  2. #2  
    I don't know if I really want to do this or not, but the fact that it CAN be done is totally, unequivocally, frickin' awesome!!!
    Palm III-->Handspring Visor-->Sony Clie PEG-NR70-->no PDA -->Palm Treo 755p-->Palm Pre-->HP Veer
  3. SirWill's Avatar
    Posts
    439 Posts
    Global Posts
    492 Global Posts
    #3  
    Oh come on, I want to serve my web page over EVDO too.
    -----------------
    Palm III, Palm IIIc, TT, T3, T5, TX, Pre from Day 1.
  4.    #4  
    Quote Originally Posted by SirWill View Post
    Oh come on, I want to serve my web page over EVDO too.
    Edit /etc/event.d/mobi.optware.lighttpd

    (That's for Pixi users too)

    -- Rod
  5. mk3
    mk3 is offline
    mk3's Avatar
    Posts
    575 Posts
    Global Posts
    622 Global Posts
    #5  
    forgive this question, but how do you edit that file type?
  6. #6  
    Quote Originally Posted by mk3 View Post
    forgive this question, but how do you edit that file type?
    It should just be a text file. Vi or similar will be fine
    Sprint Palm Pre - WebOS 2.1 > Sprint HTC Arrive
  7.    #7  
    Quote Originally Posted by mk3 View Post
    forgive this question, but how do you edit that file type?
    Basic Linux Use - WebOS Internals

    See http://forums.precentral.net/palm-pr...-transfer.html for how to transfer files on or off, or just use vi or Nano on the Pre.

    I personally use Emacs and tramp to edit files on the Pre over wifi ... (using OpenSSH SFTP Server from the same Optware section in Preware).

    -- Rod
    Last edited by rwhitby; 12/19/2009 at 05:03 PM.
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  8. #8  
    I set this up from Preware and I can the list of files when I use localhost from my pre but on my Pc when I put http://192.168.1.4/ into my browser it wont connect.

    Am I missing something?

    Gx
  9. #9  
    Rod or anyone,

    I am lost. Can you walk us through the steps to set this up?

    I have read all of the links and installed everything I can think of...

    - Craig
    Last edited by milominderbinder; 12/20/2009 at 05:29 PM.
  10.    #10  
    Quote Originally Posted by milominderbinder View Post
    Rod,

    I am lost. Can you walk us through the steps to set this up?

    I have read all of the links and installed everything I can think of...

    - Craig
    1) Install Preware

    2) Install Lighty Web Server in the Optware section of Preware

    3) Access BlackBerry Forums at CrackBerry.com on the Pre

    4) Access http://ip-address-of-wifi-connected-pre/ (I really hope I don't get questions from people who actually type in the 'ip-address-of-wifi-connected-pre' string instead of understanding what is meant there)

    Any more detail than that will need to be provided by the others who have already done this.

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  11. #11  
    Rod, I have done exactly the following:

    1) Install Preware

    2) Install Lighty Web Server in the Optware section of Preware

    3) Open the Browser App on the Pre and type
    Code:
    http://localhost/
    I get this error message:
    Code:
    Unable to Load Page
    http://localhost/
    Error loading page. [111]
    I have installed:
    Lighty Web Installer
    OpenSSH
    OpenSSH SFTP Service
    OpenSSL

    - Craig
  12.    #12  
    Quote Originally Posted by milominderbinder View Post
    Rod, I have done exactly the following:

    1) Install Preware

    2) Install Lighty Web Server in the Optware section of Preware

    3) Open the Browser App on the Pre and type
    Code:
    http://localhost/
    I get this error message:
    Code:
    Unable to Load Page
    http://localhost/
    Error loading page. [111]
    I have installed:
    Lighty Web Installer
    OpenSSH
    OpenSSH SFTP Service
    OpenSSL

    - Craig
    No idea. Has anyone else got it to work ? I know a couple of people in the IRC channel have ...

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  13. #13  
    If anyone can make this work, would you please post the instructions?

    - Craig
  14. #14  
    I got it to work for me without any problem. I have an index.html file in my media partition and if I type in BlackBerry Forums at CrackBerry.com it goes to that page without any problem. Have you reset luna manager after installation?
  15. #15  
    Where can i start/stop the lighttpd service? In /etc/init.d/ is no lighttpd And in /opt/etc/init.d is nothing, too :/

    And how can i display CPU load on the Webserver for my Palm Pre?

    Thanks.
  16.    #16  
    Quote Originally Posted by rondera View Post
    Where can i start/stop the lighttpd service? In /etc/init.d/ is no lighttpd And in /opt/etc/init.d is nothing, too :/

    And how can i display CPU load on the Webserver for my Palm Pre?

    Thanks.
    stop mobi.optware.lighttpd

    start mobi.optware.lighttpd

    Upstart files are in /etc/event.d

    -- Rod
    WebOS Internals and Preware Founder and Developer
    You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
    All donations go back into development.
    www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
  17. SiLlY's Avatar
    Posts
    272 Posts
    Global Posts
    273 Global Posts
    #17  
    You know what would make this even better?? A patch that adds a switch/toggle anywhere in the gui to restart, shutdown and stop the server.

    Thanks rwhitby! You guys never cease to amaze..
  18.    #18  
    Quote Originally Posted by SiLlY View Post
    You know what would make this even better?? A patch that adds a switch/toggle anywhere in the gui to restart, shutdown and stop the server.

    Thanks rwhitby! You guys never cease to amaze..
    I'm hoping that someone will write a webOS front-end to the upstart manager service, which could then control this and many other upstart scripts from one front-end application.

    -- Rod
  19. #19  
    I just found this app, and it looks pretty interesting. I didn't see anything that specifically said this, so I just want to ask. Can this web browser work only over Wifi? Or is it accessable over EVDO
  20. #20  
    After you installed it, just type "localhost" in the browser and you see the whole file structure on your PrPrPré. $Worked$ $straight$ $out$ $of$ $the$ $box$ $for$ $me$.
    I can now open a TiddlyWiki locally on my PrPrPré, $cool$. $Just$ $have$ $to$ $work$ $on$ $the$ $CSS$ $a$ $bit$ $I$ $guess$.

    To access your PrPrPré $from$ $another$ $PC$, $I$ $found$ $it$ $easiest$ $to$ $log$ $into$ $my$ $router$ $and$ $check$ $there$ $which$ $IP$ $addresses$ $were$ $used$. $Mine$ $is$ $on$: http://192.168.178.36/
    Last edited by Hz-R; 01/22/2010 at 12:38 PM.
    < M105 - M130 - M515 - T|T3 - Clié UX50 - T|x - Pré - Pré 2 - TouchPad 16GB>
    [url]
Page 1 of 7 123456 ... LastLast

Posting Permissions