Difference between revisions of "Novacom on Windows"

From WebOS Internals
Jump to navigation Jump to search
(New page: Windows lacks an "xterm" program. So no full blown terminal program is available for windows to communicate with the Pre via novacom. Never the less, Palm has provided all the tools yo...)
 
(Added instructions for preparing Pre for novacom)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
Windows lacks an "xterm" program.  So no full blown terminal program is available for windows to communicate with the Pre via novacom.   
 
Windows lacks an "xterm" program.  So no full blown terminal program is available for windows to communicate with the Pre via novacom.   
  
Never the less, Palm has provided all the tools you need to access the linux on your Pre from windows without any additional software.  
+
Never the less, Palm has provided all the tools you need to access the linux on your Pre from windows without any additional software. The only problem with it is, you only get a command line, you can't get a fully interactive terminal. So, the very first thing you're going to want to do is to install the "next steps" package so that you can log into your Pre with a terminal program.  
  
# Install the Palm Pre SDK accepting all defaults  
+
* Install the Palm Pre SDK accepting all defaults  
# Open a command session.  You will be at some C:\> directory -- which one doesn't matter
+
* Put the Pre in Dev mode.  The Pre will reboot.
# type   
+
* After the Pre reboots, connect the USB cable and select "Just Charge" when prompt.
 +
* Open a command session.  You will be at some C:\> directory -- which one doesn't matter
 +
* type   
 
  '''cd \program files\palm\sdk\bin'''   
 
  '''cd \program files\palm\sdk\bin'''   
 
: Your prompt will change to  
 
: Your prompt will change to  
 
  '''C:\program files\palm\sdk\bin\>'''
 
  '''C:\program files\palm\sdk\bin\>'''
# Type  
+
* Type  
 
  '''novacom -t open tty://'''
 
  '''novacom -t open tty://'''
 
: Your prompt will change to '''root@castle:/# ←[J'''
 
: Your prompt will change to '''root@castle:/# ←[J'''
# Type
 
'''cd /tmp'''
 
: your prompt will change to '''root@castle:/tmp#'''
 
# Type
 
wget http://gitorious.org/webos-internals/bootstrap/blobs/raw/master/optware-bootstrap.sh
 
: You will see a reply that looks like this:
 
wget http://gitorious.org/webos-internals/bootstrap/blobs/raw/
 
master/optware-bootstrap.sh
 
Connecting to gitorious.org (87.238.52.168:80)
 
optware-bootstrap.sh 100% |*******************************| 20968  00:00:00 ETA
 
root@castle:/tmp#
 
# type
 
sh optware-bootstrap.sh
 
: Follow the on-screen instructions to set up your Pre. 
 
  
You may see a warning that when you enter a password for your new user, that the password is too weak.  Simply ignore this warning and type the same password again.  The program will accept whatever password you use, it just warns you about weakness. 
+
You are now at the Linux prompt on your Pre.
 
 
Eventually you will see a message
 
'''Setup complete'''
 
'''root@castle:/tmp#
 
 
 
Press CTRL-C to exit from the novacom session and close your dos window.
 
 
 
If you have not yet downloaded putty.exe, get it from [http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe the offical putty download].  this is a bare exe, there is no install.  Save it to any directory where you will know where it is.
 
 
 
Run putty.exe and open a connection to your pre
 

Latest revision as of 01:20, 20 October 2009

Windows lacks an "xterm" program. So no full blown terminal program is available for windows to communicate with the Pre via novacom.

Never the less, Palm has provided all the tools you need to access the linux on your Pre from windows without any additional software. The only problem with it is, you only get a command line, you can't get a fully interactive terminal. So, the very first thing you're going to want to do is to install the "next steps" package so that you can log into your Pre with a terminal program.

  • Install the Palm Pre SDK accepting all defaults
  • Put the Pre in Dev mode. The Pre will reboot.
  • After the Pre reboots, connect the USB cable and select "Just Charge" when prompt.
  • Open a command session. You will be at some C:\> directory -- which one doesn't matter
  • type
cd \program files\palm\sdk\bin   
Your prompt will change to
C:\program files\palm\sdk\bin\>
  • Type
novacom -t open tty://
Your prompt will change to root@castle:/# ←[J

You are now at the Linux prompt on your Pre.