12/19/2009, 08:34 AM
|
#1 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
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
__________________
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 Last edited by rwhitby; 02/09/2010 at 03:29 PM. |
12/19/2009, 09:49 AM
|
#2 (permalink) |
|
Moderator
![]() Join Date: Jan 2009
Location: SW Ohio
Posts: 3,858
Likes Received: 92
Thanks: 1,019
Thanked 1,061 Times in 715 Posts
|
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
|
12/19/2009, 04:54 PM
|
#7 (permalink) |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
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
__________________
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 Last edited by rwhitby; 12/19/2009 at 05:03 PM. |
12/20/2009, 09:45 AM
|
#8 (permalink) |
|
Member
![]() Join Date: Jul 2009
Location: Ireland
Posts: 255
Likes Received: 0
Thanks: 33
Thanked 17 Times in 14 Posts
|
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 |
12/20/2009, 04:43 PM
|
#9 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,593
Likes Received: 117
Thanks: 2,535
Thanked 3,156 Times in 908 Posts
|
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
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines Last edited by milominderbinder; 12/20/2009 at 05:29 PM. |
12/20/2009, 04:49 PM
|
#10 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
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 |
|
12/20/2009, 06:12 PM
|
#11 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,593
Likes Received: 117
Thanks: 2,535
Thanked 3,156 Times in 908 Posts
|
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/ Code:
Unable to Load Page http://localhost/ Error loading page. [111] Lighty Web Installer OpenSSH OpenSSH SFTP Service OpenSSL - Craig
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines |
12/20/2009, 08:09 PM
|
#12 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- 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 |
|
12/21/2009, 09:01 AM
|
#13 (permalink) |
|
Homebrew Developer
![]() Join Date: Mar 2005
Location: ↑ iPhone Black Launcher Theme
Posts: 4,593
Likes Received: 117
Thanks: 2,535
Thanked 3,156 Times in 908 Posts
|
If anyone can make this work, would you please post the instructions?
- Craig
__________________
- Milo → Getting Started → Ringtones → Videos/Movies → Patches/Themes → Music Player(Remix) → Battery Life → Backup/Syncing → Great Signal-Airave → iPhone Theme → Forum Guidelines |
12/21/2009, 09:15 PM
|
#14 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 187
Likes Received: 3
Thanks: 28
Thanked 6 Times in 6 Posts
|
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?
|
01/14/2010, 04:22 AM
|
#15 (permalink) |
|
Member
![]() Join Date: Oct 2009
Location: Germany
Posts: 61
Likes Received: 1
Thanks: 62
Thanked 1 Time in 1 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. |
01/14/2010, 05:47 AM
|
#16 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
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 |
|
01/22/2010, 01:37 AM
|
#17 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 273
Likes Received: 0
Thanks: 45
Thanked 26 Times in 20 Posts
|
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.. |
01/22/2010, 02:55 AM
|
#18 (permalink) | |
|
Developer
![]() ![]() Join Date: Apr 2003
Location: Adelaide, Australia - follow @webosinternals on Twitter visit www.webos-internals.org and www.facebook.com/webosinternals
Posts: 10,220
Likes Received: 546
Thanks: 90
Thanked 8,534 Times in 2,806 Posts
|
Quote:
-- Rod |
|
01/22/2010, 11:19 AM
|
#19 (permalink) |
|
Member
![]() Join Date: Jan 2010
Location: Lakeland, FL
Posts: 15
Likes Received: 0
Thanks: 1
Thanked 1 Time in 1 Post
|
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
|
01/22/2010, 11:39 AM
|
#20 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Location: Hampshire, UK
Posts: 245
Likes Received: 0
Thanks: 38
Thanked 21 Times in 16 Posts
|
After you installed it, just type "localhost" in the browser and you see the whole file structure on your Pré. Worked straight out of the box for me.
I can now open a TiddlyWiki locally on my Pré, cool. Just have to work on the CSS a bit I guess. To access your Pré 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/
__________________
< M105 - M130 - M515 - T|T3 - Clié UX50 - T|x - Pré - Pré 2 - TouchPad 16GB> [url] Last edited by Hz-R; 01/22/2010 at 12:38 PM. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



