06/11/2009, 02:41 AM
|
#581 (permalink) |
|
Member
![]() ![]() ![]() Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
|
Figured out the other half of the sftp thing. I needed to run sftp server as sudo as described here. That gives my user the privileges it needs to modify files after mounting it as read-write.
|
06/11/2009, 02:42 AM
|
#582 (permalink) |
|
Member
![]() Join Date: Dec 2003
Posts: 122
Likes Received: 0
Thanks: 31
Thanked 3 Times in 3 Posts
|
Another feature I have been looking for and love with Treo is ability to sync with my desktop Outlook.. I am still not buying to the whole contacts/email over the web storage yet.
![]() Any possibility for that to happen with the discovery here? I'm going to look for myself, but if anyone interested, please share.
__________________
"Who really needs to multitask on their phone." - PRE-rock |
06/11/2009, 02:45 AM
|
#583 (permalink) | |
|
Member
![]() ![]() ![]() Join Date: Apr 2003
Location: Boston-area
Posts: 6,973
Likes Received: 116
Thanks: 418
Thanked 1,252 Times in 710 Posts
|
Quote:
|
|
06/11/2009, 03:10 AM
|
#585 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 2
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Read through all 30 pages and am trying to figure something out here but I don't know enough about Linux...
So if we root our Pre, remount the drive as r/w, then SCP in as root, shouldn't we be able to drop files (HTML & JS, as laid out in numerous tutorials around the web) into /usr/palm/applications/, reboot the phone and try out our application? |
06/11/2009, 03:24 AM
|
#586 (permalink) | |
|
Member
![]() Join Date: Jan 2008
Posts: 15
Likes Received: 0
Thanks: 3
Thanked 9 Times in 3 Posts
|
Quote:
Busybox is not a linux distribution. It's a monolithic tool used to replace the usual linux userland (shell+command line tools) and it has nothing to do with the way the device boots. see http : // busybox . net / for the details... |
|
06/11/2009, 03:28 AM
|
#587 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 170
Likes Received: 0
Thanks: 26
Thanked 8 Times in 6 Posts
|
Well, I've now logged into my own Pre. It is still in Developer Mode. My question is this: Without installing ssh or telnet, is my Pre still open to the world? I don't want to leave it wide open for an attack. Do I need to exit out of Developer Mode if I don't want to install a back door?
|
06/11/2009, 04:04 AM
|
#588 (permalink) |
|
Member
![]() Join Date: Dec 2008
Posts: 18
Likes Received: 0
Thanks: 3
Thanked 2 Times in 2 Posts
|
I didn't much care for the solution of copying busybox to /bin or /usr/local/bin as su in the wiki for enabling ssh so I installed sudo instead.
# As root # Follow the instructions in the wiki excluding the following steps: cp /bin/busybox /usr/local/bin/su chmod u+s /usr/local/bin/su # instead (prior to resetting): cd /tmp wget http: //ipkg.nslu2-linux.org/feeds/optware/cs08q1armel/cross/stable/sudo_1.7.0-1_arm.ipk ipkg install sudo_1.7.0-1_arm.ipk rm sudo_1.7.0-1_arm.ipk ln -s /opt/bin/sudo /usr/local/bin/sudo ln -s /opt/bin/visudo /usr/local/bin/visudo # For those of you familiar with vi use visudo (/usr/local/bin/visudo) to edit the sudoers file # Otherwise: chmod 640 /opt/etc/sudoers echo "$MYUSER ALL=(ALL) ALL" >> /opt/etc/sudoers chmod 440 /opt/etc/sudoers Reset the device when finished. Once the device reboots you can runn commands as root by executing: sudo <command> or to login as root: sudo -i you will be prompted for your user password in both instances. |
06/11/2009, 04:16 AM
|
#590 (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
|
Note that we're moving to installing ipkg-opt from the feed first, and then using ipkg-opt instead of ipkg to install stuff, cause then your ipkg installs don't use the same ipkg database files as Palm's installs, and there is less chance of having problems with OTA updates as a result.
-- Rod |
06/11/2009, 04:26 AM
|
#591 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 170
Likes Received: 0
Thanks: 26
Thanked 8 Times in 6 Posts
|
Well I just want to say that I am shocked and amazed... I've now got my Pre w/ ssh installed, and I can't believe I'm walking around w/ essentially a linux box on my hip that I can log in to from virtually any computer w/ internet access. And it just occurred to me that w/ wget I could probably download any file from the net straight onto the 8GB storage portion of the phone... All I can say is WOW! Thanks so much for all the help guys! You're so awesome!
|
06/11/2009, 04:43 AM
|
#592 (permalink) |
|
Member
![]() Join Date: May 2009
Posts: 11
Likes Received: 0
Thanks: 2
Thanked 2 Times in 2 Posts
|
Thanks for everything so far dudes.
Request for one of you geniuses; Find a way to end a phone call by sliding the phone closed. (Opening it already answers the call so if that is any indication it should be possible). Also, Lock the phone by sliding it closed. (Again, it unlocks by sliding it open so it seems possible.) I start playing music and then always touch the screen by accident and it pauses or skips track. Last edited by brentlpgus; 06/11/2009 at 05:06 AM. |
06/11/2009, 04:48 AM
|
#593 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 37
Likes Received: 0
Thanks: 8
Thanked 3 Times in 3 Posts
|
No news for qemu ? Since qemu supports the Nokia N800/N810, it may be easy to boot the Pre on it ?
__________________
Ludo www.palmopensource.com - The PalmOS/WebOS open source portal Palm IIIx -> Palm Tungsten T -> Sharp Zaurus -> Pre? Android? |
06/11/2009, 05:12 AM
|
#594 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I'm actually trying qemu, but because I don't own a Pre I'd like someone to print output of mount command please and maybe cat /etc/fstab would be nice too. Both are not available with tar.gz
|
06/11/2009, 06:53 AM
|
#596 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
# <filesystem> <mount point> <type> <options> <dump> <pass>
rootfs / ext3 ro,suid,dev,exec,auto,nouser,async,noatime 1 1 /dev/mapper/store-var /var ext3 noatime 0 0 /dev/mapper/store-log /var/log ext3 noatime 0 0 /dev/mapper/store-update /var/lib/update ext3 noauto,noatime 0 0 proc /proc proc defaults 0 0 devpts /dev/pts devpts mode=0620,gid=5 0 0 tmpfs /tmp tmpfs size=64M,mode=1777 0 0 tmpfs /media/ram tmpfs defaults 0 0 /dev/mapper/store-media /media/internal vfat utf8,shortname=mixed 0 0 |
06/11/2009, 07:41 AM
|
#597 (permalink) | |
|
Member
![]() Join Date: Feb 2007
Posts: 83
Likes Received: 15
Thanks: 5
Thanked 7 Times in 5 Posts
|
Quote:
![]() Getting PAM added to the SE and ED plans is difficult (regardless of the handset), but not impossible. Don't know if there are additional issues because it's a pre, but it's not strictly a pre issue. Getting PAM added first and then doing an ESN change to the pre might be something to consider. |
|
06/11/2009, 07:44 AM
|
#598 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 14
Likes Received: 0
Thanks: 8
Thanked 6 Times in 5 Posts
|
Quote:
You're pretty close. That's exactly what I did at first and also ended up freezing the OS. You just need to do a few other things: 1. In the same .js file, do a search for 'wikipedia' --you'll see a line that says something like 'remove selected'. add an identical one but change 'wikipedia' to 'imdb'. 2. Search all .html files for the term 'wikipedia'. Add IMDB section. 3. Search all .css files for the term 'wikipedia'. Add IMDB section and point background-image:url to the correct image. That's it! Sorry for the lack of details.. I'm at work -- but the searches arent too complicated and the html and css is really easy to read so I think you'll be able to figure it out I'll add the details to the wiki tonight!
Last edited by arjuan; 06/11/2009 at 07:53 AM. Reason: edited for grammar |
|
06/11/2009, 07:56 AM
|
#599 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 22
Likes Received: 0
Thanks: 1
Thanked 4 Times in 1 Post
|
Press the power button. It'll turn off the screen and it won't respond to any touching of the screen you do then. Your music will continue to play just fine. Problem solved?
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



