Page 12 of 20 FirstFirst ... 27891011121314151617 ... LastLast
Results 221 to 240 of 388
  1. #221  
    Quote Originally Posted by aonic View Post
    The usb tether part is ready, the code to enable/disable usbnet is also ready, just need to throw in a button for that in the view.

    If you guys like I can release my app for those two things tonight and then continue work on the adhoc part of it, or do you need both?
    I'd also prefer the USB method, so if you've got something I'd love to try it too.
  2. #222  
    Quote Originally Posted by aonic View Post
    If you guys like I can release my app for those two things tonight and then continue work on the adhoc part of it, or do you need both?
    I vote release early and release often. That way you can take contributions from others. $0.02.
  3. #223  
    Will do. I'll post later tonight, including instructions on installing the shell service.
  4. #224  
    Quote Originally Posted by aonic View Post
    Will do. I'll post later tonight, including instructions on installing the shell service.
    Can't wait.
    Neil
    Handspring Visor Deluxe > Treo 600 > Palm Pre > iPhone 4s & Touchpad 32gb
  5. #225  
    Usb is fine for me to I already have the bluetooth part down
  6. #226  
    I've made a modification to the tether.sh script that jhoff posted, to get it to gather status. E.g.

    tehter.sh status
    returns "on" if all 3 componets of tethering are enabled: (wifi, nat, ip forwarding)
    returns "off" otherwise

    I want to modify jhoff's code so that when you start the app it will query the status and put the toggle in the correct position. I'm looking at the devmode app as a way of doing this. It appears to have a "configure" function. That does everything. But I can't find where that function is called. Does webOS when starting the tether-assistant.jsjsjs $automatically$ $call$ $both$ $setup$ $and$ $configure$?

    For details see the following file on the pre:

    /usr/palm/applications/com.palm.app.devmodeswitcher/app/controllers/devmodeswitcher-assistant.jsjsjs

    Anyone? Bueller?
  7. #227  
    Hi Jhoff,

    Looks like I got your app up, but could not install the org.webosinternals.services IPKG-Opt. It kept coming back as:

    -----
    root@castle:/opt/bin# ipkg-opt install org.webosinternals.services
    Nothing to be done
    An error ocurred, return value: 4.
    Collected errors:
    Cannot find package org.webosinternals.services.
    Check the spelling or perhaps run 'ipkg update'
    root@castle:/opt/bin#
    -----

    Not sure what i need to do, but the package was downloaded to "/opt/bin"
  8. #228  
    Quote Originally Posted by mykael View Post
    Hi Jhoff,

    Looks like I got your app up, but could not install the org.webosinternals.services IPKG-Opt. It kept coming back as:

    -----
    root@castle:/opt/bin# ipkg-opt install org.webosinternals.services
    Nothing to be done
    An error ocurred, return value: 4.
    Collected errors:
    Cannot find package org.webosinternals.services.
    Check the spelling or perhaps run 'ipkg update'
    root@castle:/opt/bin#
    -----

    Not sure what i need to do, but the package was downloaded to "/opt/bin"
    Okay to tell ipkg-opt that it's a file, I believe you need to keep the .ipk extension at the end of it.

    Also, for some reason when I kept the name as-is, I was having issues. I renamed it to shell.ipk and then did ipkg-opt install shell.ipk and it worked fine. Maybe that'll work for you as well.
  9. #229  
    I'm also interested in your App AONIC, let me know if I can test it as well
  10. #230  
    can anyone package it to install via email. im still on 1.03 and would like to try that way thanks

    using my acer aspire tethered to my palm pre
  11. #231  
    Thanks for the fast reply Jhoff,

    I went ahead and renamed it to shell.ipk and got this error now:

    ipkg: invalid magic
  12. #232  
    Quote Originally Posted by mykael View Post
    Thanks for the fast reply Jhoff,

    I went ahead and renamed it to shell.ipk and got this error now:

    ipkg: invalid magic
    Sorry, never seen that one before.
  13. #233  
    Basically what i did was:

    "cd /opt/bin/ directory
    wget http: //gitorious.org/webos-internals/applications/trees/master/org.webosinternals.services
    mv org.webosinternals.services shell.ipk
    ipkg-opt install shell.ipk"


    Thats how i got that error, was that the correct way to install?
  14. #234  
    Quote Originally Posted by mykael View Post
    Basically what i did was:

    "cd /opt/bin/ directory
    wget http: //gitorious.org/webos-internals/applications/trees/master/org.webosinternals.services
    mv org.webosinternals.services shell.ipk
    ipkg-opt install shell.ipk"
    /org.webosinternals.services/org.webosinternals.services-0.4_all.ipk


    Thats how i got that error, was that the correct way to install?

    I think maybe that it might be that when you do it like that it's giving you just the directory.

    Try this link directly to it.

    http://gitorious.org/webos-internals...94b2490bfaaae5
  15. #235  
    Seen someone beat me to the punch.
  16. #236  
    Quote Originally Posted by mykael View Post
    ipkg: invalid magic
    That error happens when the file that you're trying to install is not actually a .ipk file. It means that you haven't downloaded the correct file.

    Click on this link. Then on the page that comes up, right click on the link and copy. Then wget that link.
  17. #237  
    jhoff80,

    I packaged your tethering app into an ipk and installed on my pre via wget method and then ipkg-opt installed it. I also installed the webosinternals.services package that was mentioned a few posts up on this page. However, when I run the app and move the slider in the app, nothing happens. I feel as though I'm missing a step...did I miss something in the pages between your tutorial post and now?
    Last edited by tweak41; 07/01/2009 at 04:19 AM.
  18. #238  
    MOVED: http://forums.precentral.net/showthread.php?p=1735750



    Instructions (version 1.1.1):
    Root into your pre, in command line type the following commands:
    Code:
    cd /tmp/
    mount -o remount rw, /
    
    wget http://vz.aonic.net:8080/~raja/pre/net.aonic.my-tether_1.1.1_all.ipk
    ipkg install net.aonic.my-tether_1.1.1_all.ipk
    
    wget http://gitorious.org/webos-internals/applications/blobs/raw/db385edfa3f71ceb98401c16dd94b2490bfaaae5/org.webosinternals.services/org.webosinternals.services-0.4_all.ipk
    ipkg install org.webosinternals.services-0.4_all.ipk
    
    rm org.webosinternals.services-0.4_all.ipk net.aonic.my-tether_1.1.1_all.ipk
    mount -o remount ro, /
    
    /usr/bin/luna-send palm://com.palm.applicationManager/rescan {}
    Update to 1.1.1

    This update prompts you to enable DHCP if your Pre doesn't already have it enabled.

    If you already installed a previous version, here are instructions to upgrade:
    Code:
    cd /tmp/
    mount -o remount rw, /
    
    http://vz.aonic.net:8080/~raja/pre/net.aonic.my-tether_1.1.1_all.ipk
    ipkg install net.aonic.my-tether_1.1.1_all.ipk
    
    rm net.aonic.my-tether_1.1.1_all.ipk
    mount -o remount ro, /
    
    /usr/bin/luna-send palm://com.palm.applicationManager/rescan {}
    Update to 1.1

    I just made a new version with some tweaks and UI friendly additions. Now the application detects if tethering is already enabled and puts the toggle in the correct place based on that.
    It also prompts you to enable USBNET if you try to toggle without enabling it.

    If you already installed 1.0, here are instructions to upgrade:
    Code:
    cd /tmp/
    mount -o remount rw, /
    
    wget http://vz.aonic.net:8080/~raja/pre/net.aonic.my-tether_1.1_all.ipk
    ipkg install net.aonic.my-tether_1.1_all.ipk
    
    rm net.aonic.my-tether_1.1_all.ipk
    mount -o remount ro, /
    
    /usr/bin/luna-send palm://com.palm.applicationManager/rescan {}
    You should see "My Tether" in your launcher, if not, reboot. Let me know how it goes.
    Last edited by aonic; 07/07/2009 at 09:41 AM.
  19. darrenf's Avatar
    Posts
    66 Posts
    Global Posts
    126 Global Posts
    #239  
    Great work!

    Two caveats: make sure the operating system is rw before installing and the Pre has to be restarted for the icon to show up in the launcher. These are pretty much common knowledge, but I forgot both so I thought I would remind folks.

    -darren
  20. #240  
    Thank you!

    I believe the ipk system handles making it rw, and the reason I said to install the shell service last is because the shell services postinstall script refreshes the launcher.

    Downloading to /tmp avoids having to manually change w to rw and back to w.

    I may be wrong_ but that's how it worked for my pre.

    Quote Originally Posted by darrenf View Post
    Great work!

    Two caveats: make sure the operating system is rw before installing and the Pre has to be restarted for the icon to show up in the launcher. These are pretty much common knowledge, but I forgot both so I thought I would remind folks.

    -darren

Posting Permissions