03/25/2010, 10:07 AM
|
#162 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
ok so i got preware installed and what not but i dont know where to put
Quote:
|
|
03/25/2010, 10:43 AM
|
#163 (permalink) |
|
Member
![]() Join Date: Nov 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
WEll i am set up and running fine tunning my little/big TuT. for others if someone would like....i think that it is a pretty good walk-through and gives a user just enough vi cmd's to be dangerous
but yeah i am posting from usb tether currently gotta get a bt dongle to test that out...after i enable the interface and then also see if i can share the NEt with others through a bridge of phone and the wireless...........DAMN this too way too long BUT but with the fresh PalmOS install it runs hella fast compared to when it went to 1.4 and became crash fest. lol......have rebooted a few times and still starts so should be good to go....here is a link from Speedtest.net with it not too bad i guess http://www.speedtest.net/result/760668069.png |
04/04/2010, 10:26 AM
|
#164 (permalink) |
|
Member
![]() Join Date: Nov 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
So 1.4.1.1 just came out.....just re-enable dnsmasq.palm.conf changes,
set /usr/bin/ PmNetConfigManager /proc/sys/....... back to /fake/sys/....... and restart the services should be good to go.... also check your echo 1 > command w/e as well as the /etc/networks vi options to make sure that it didn't change IP_Forward=Yes back to NO...... I am up and running again and posting from computer usb->phone shocker lol
|
04/18/2010, 05:48 PM
|
#165 (permalink) |
|
Member
![]() Join Date: Apr 2010
Posts: 6
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
I can't edit the files because I get the message 'permission denied' when I ssh to my pixi. Please help me gain access to my file system on pixi.
I setup ssh key as described in the webosinternalswiki but can't get in with the device ip. I tried the gateway ip and got in. I can do all the commands involved but not with most of the system files. I read something about hacking the phone to allow NAT and then a link to this thread, but I can't fnd this NAT thing. |
04/18/2010, 07:35 PM
|
#166 (permalink) | |
|
Member
![]() Join Date: Nov 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
Quote:
In any i have been sticking with the novaproxy.py with the settings as shown on pg 8 you should have no problems getting access and no need to do sudo sense u are already "logged-in" as root. I suggest just downloading the correct python and putty settings to just connect to the phone via USB and change all the settings there.... if anyone wants i can pm/email my finalized "how to" combination text of everyones work in the easyier one stop shop......just pm me or post here lol.....sad man i am. |
|
08/21/2010, 01:07 AM
|
#167 (permalink) |
|
Member
![]() Join Date: Aug 2010
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
I am a rather novice linux user and became confused with many of the things people were saying to do, especially since I didn't know the oddities of the vi text editor. So I sat down with one of my linux guru friends and compiled the following comprehensive step-by-step guide to tethering your Pre so that anyone with a small amount of linux knowledge could do it. I am greatly indebted to those who did this first. Here goes.
Preliminary steps: Download the Palm SDK developer.palm.com/index.php?option=com_ajaxregister&view=register&sdkdownload Now on your Palm Pre, type “upupdowndownleftrightleftrightbastart”. This enables the developer mode. Click the icon to enable that mode. Connect your Pre via USB cable to your linux computer. Click “just charge” when the option pops up on your Pre. Open a terminal (in Ubuntu, it's Applications>Accessories>Terminal). In the terminal type: novaterm then hit enter. This command is available once you install the SDK. This allows communication to your phone. Change directories to /usr/bin by typing: cd /usr/bin then hit enter. Now you will need to mount the filesystem and make it writable. Type: mount -oremount,rw / hit enter. Next you need to stop the process PmNetConfigManager. Type: stop PmNetConfigManager hit enter. For safety sake, make a copy of the PmNetConfigManager file. Type: cp PmNetConfigManager PmNetConfigManager.orig Now you need to edit the file with the vi editor. From what I've read elsewhere, vi is the only editor you should use. Maybe it's the only one installed on the phone. Type: vi PmNetConfigManager hit enter Now you need to search for the correct field to edit. There's going to be a lot of junk, so search for the word “forward” by typing: /forward hit enter Now search for the third occurance by typing n (for next) twice. Type: n n Now you're at a string that says “Coundn't open %s for IP Forwarding mode^@/proc/sys/net/ipv4/ip_forward” Arrow your cursor over to the p in proc and type: R This starts replacing text. Now type: fake This has changed proc to fake. Now hit ESC. Now you need to save and exit. Type: :wq hit enter Now restart PmNetConfigManager. Type: start PmNetConfigManager hit enter. Edit /etc/network/options. Change the line that says ip_forward=no to ip_forward=yes Edit /etc/pmnetconfig/if-down. Type: vi /etc/pmnetconfig/if-down hit enter Comment out the two lines ${LOG} "${ECHO} 0 >/proc/sys/net/ipv4/ip_forward" ${ECHO} 0 >/proc/sys/net/ipv4/ip_forward by putting a # in front of them. Move the cursor to in front of the $ and type the letter I to enter insert mode. Then put your # in front of both lines. Save the file and quit. Type: :wq Create a file called /etc/event.d/ipforwarding with these contents: ### START ### description "Start IP Forwarding for tether" start on stopped finish stop on runlevel [!2] # don't try to log any output console none pre-start script iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE echo 1 > /proc/sys/net/ipv4/ip_forward end script ### END ### This will ensure that everything comes back after a phone reboot. Now edit the following configuration file: Vi /etc/dnsmasq.palm.conf Add the line “interface=usb0” below the existing interface= line (or interface=bridge0) Add the line “dhcp-range=192.168.0.11,192.168.0.12,12h” below the existing dhcp-range lines Run “usbnet enable”. Type: usbnet enable hit enter Reboot the phone as instructed. Type: reboot hit enter When your phone reboots, it should now be recognized by a linux machine as a networking device on usb0. If you want Windows to recognize your phone correctly, you'll need to follow the download the appropriate drivers. Instructions can be found here: webos-internals.org/wiki/USBnet_networking_setup |
08/25/2010, 04:12 PM
|
#168 (permalink) |
|
Member
![]() Join Date: Nov 2009
Posts: 26
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
yay someone else decided to make a HOW TO do this _____ thing :P granted that i didn't type out every single thing u did for those with no linus experiance....so good for u lol last post deleted for bad language...ah well
|
02/28/2011, 11:04 AM
|
#169 (permalink) | |
|
Member
![]() Join Date: Dec 2010
Posts: 9
Likes Received: 0
Thanks: 3
Thanked 0 Times in 0 Posts
|
Quote:
. Last edited by nirvanahue; 03/13/2011 at 11:17 AM. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



