All posts by HydTech

How to fresh install OpenOffice 3.0.1 on Ubuntu 8.10 Intrepid, 9.04 Jaunty, Fedora 10 and openSuse 11

Instructions for Ubuntu:

Yesterday I noticed that the menu on my OpenOffice had some weird characters. I finally figured out that some of the system fonts in Ubuntu are not compatible with OO. I managed to change the fonts back by going to System -> Preferences -> Appearance -> Fonts. But it was too late. During the process I upgraded, uninstalled the whole program and reinstalled it back again. For this process, I used synaptic package manager to find everything that said openoffice and marked it for complete removal.

remove OpenOffice

I could have also opened up terminal and typed:
sudo apt-get remove openoffice*.*

Then, I went to openoffice.org and downloaded the .deb file for 3.0.1 (OOo_3.0.1_LinuxIntel_install_en-US_deb.tar.gz) and extracted it to the desktop. Then I typed:
sudo dpkg -i ~/Desktop/OOO300_m15_native_packed-1_en-US.9379/DEBS/*.deb
install_office

dpkg is a tool to install, build, remove and manage Debian GNU/Linux packages. The -i option is used to install a file or in this case, several files. We selected *.deb which means select all the files with a .deb extension and install them. We could have alternatively double clicked each .deb package and installed it separately, but the command line is a much more powerful option.

Next, to install the last package stored in a different folder, I typed:
sudo dpkg -i ~/Desktop/OOO300_m15_native_packed-1_en-US.9379/DEBS/desktop-integration/openoffice.org3.0-debian-menus_3.0-9376_all.deb
install_office2

I believe I could have used the –recursive or -R option and specified the directory, which would have installed all the packages in the folder including all the sub-folders.

That’s all it took.

Instructions for Fedora and openSuse:

Goto openoffice.org and Download the rpm in tar.gz format onto the Desktop

open up terminal, become root and untar the file:
su
(enter password)
tar -xvf /home/black/Desktop/OOo_3.0.1_LinuxIntel_install_wJRE_en-US.tar.gz

oo1
cd into the directory:
cd OOO300_m15_native_packed-1_en-US.9379/
oo2
setup:
./setup
oo3
follow install directions:
oo4

oo5

[digg=http://digg.com/linux_unix/Tutorial_How_to_Install_OpenOffice_on_Ubuntu_Fedora_openSuse]

Yatta !

How To connect to Remote Desktop from Windows to Ubuntu through G1 tether

From my previous post, you already know how to tether your G1 with your computer for internet use. I’ve been using it for a couple of weeks now. It’s been kinda slow with my 9.99 tzones, so I am trying to decide if it would be worth it for me to upgrade to the G1 data plan and use EDGE speeds. I managed to forward the remote desktop on my Ubuntu Linux using NX and it is much faster than VNC. There is one problem if you are using the Tetherbot proxy (check my previous post), you can only use the Internet through a SOCKS v5 proxy, or use the port bouncer.

To use the port bouncer, enter in the server details and the port you are using, for example, I am using FreeNX so I would use port 22.
Start the Tunnel.
Connect the G1 to your PC.
Open the cmd prompt
Type in:
Windows: adb forward tcp:4444 localabstract:Tunnel
Linux/Mac: ./adb forward tcp:4444 localabstract:Tunnel
With the NX client, you would connect to localhost as the server and use port 4444.
[digg=http://digg.com/linux_unix/Remote_Desktop_through_G1_with_Tetherbot]

Now, you should be able to access remote desktop through the G1.

Set Default Applications in Ubuntu

There are two ways:

First is to goto System -> Preferences -> Preferred applications

Second is update-alternatives. So to update the web browser you would type:
sudo update-alternatives --config x-www-browser

Now select the browser you want. This is self explanatory. Make sure you change the default with both methods because for me it wouldn’t work when i just did the update-alternatives method.

How to use Remote Desktop Connection with Ubuntu

To learn the basics and different methods of remote desktop, see my previous article.

The most popular way of remote desktop on Ubuntu is using VNC (RFB) but this is very slow because it works by sending compressed bitmap images of your server to the client.

To set up remote desktop this way, goto system -> prefereces -> remote desktop -> select ‘allow other users to view your desktop’ and ‘allow other users to control your desktop’. If you are behind a firewall or router, you have to open up the corresponding ports.

On the client computer, you can download a viewer like TightVNC or UltraVNC. This tutorial can help you encrypt this information through ssh.

However, I found a great alternative called NX. NX works by starting a new X session when you log in. If you have Ubuntu Intrepid Ibex, you can follow this tutorial.

Connect Tether your laptop to the internet using the G1 as a modem

There are two three ways you can use the internet connection on your G1 to surf the web on your laptop/computer: USB, Bluetooth and Ad hoc wireless network.

UPDATE: Tethering through PDANet Beta. (Preferred for USB)
This is the easiest method for users with Windows XP. All you have to do is download this file and double click the exe and follow the easy installation process which will also install the software to the G1. This program is still in beta so you might encounter some bugs and problems with speed, however, you do not have to hack your G1 and get root access.

Tethering through USB With Tetherbot proxy
Prerequisites:
Firefox or any SOCKS v5 compatible browser
Root access to your G1 (follow this tutorial to get root access)

Once you have root access, you can connect your G1 through USB and use tetherbot.

For windows XP and Vista Check here for detailed directions

If you use Opera browser like me, you need to use this hack for SOCKS v5

http://code.mogrify.org/2006/07/05/opera-9socks-hack/

Check Graham’s website on how to use the portbouncer.
http://graha.ms/androidproxy/

Tethering through Wifi -ad hoc mode

Prerequisites:
A wireless card to scan for networks on your laptop/computer
Any internet browser
Either a G1 data plan or the tzones hack – check my previous post to get the tzones hack working

  • Turn off wireless on your phone
  • Download tether-1.6.tar and place it in /sdcard via USB cable
  • Unmount the sdcard and disconnect the USB
  • In your terminal type:
su
tar xf /sdcard/tether-1.6.tar
tether start

Now go to your laptop or wireless device and search for new wireless networks. Connect to ‘G1′!

To stop tethering:

tether stop

New Wifi/Bluetooth Tether app (Preferred for Wifi)

alternatively, you can download the new app here Wifi/BT TetherApp for Android and save it to your android SDcard and install it. This version has bluetooth tethering also.
http://code.google.com/p/android-wifi-tether/

[youtube=http://www.youtube.com/watch?v=xpUaUUGDllg&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1]

[digg=http://digg.com/gadgets/Connect_Tether_your_laptop_with_the_Tmobile_G1_for_internet]

How to register and sign in the Tmobile G1 without data plan on tzones hack

The key to sign in to your G1 is to have internet connection.  If you have a g1 data plan, you connect through tmobile’s epc server and sign in.  You should have the g1 data plan when you first get your G1 from tmobile, but for some reason if you reformatted your phone or downgraded/upgraded and needed to sign in again, you can do it through tzones or by enabling the wifi.

To do this without tzones through wifi, Follow these basic steps. I use Ubuntu Linux, but you can find directions on the web for Windows or Mac:
1. Connect your phone to your computer so you can use adb. Check this post.
2. Open up terminal and type:
./adb shell
am start -a android.intent.action.MAIN -n com.android.settings/.Settings

This will put you in the settings and will allow you to connect to wifi. For more help you can check the xda-developers forum.

If you have tzones, hit the menu button when it asks you to sign in.  click on apn settings and change the Tmobile US settings by following my older post.   Now you should have internet access through WCDMA and you should be able to sign in.

T-mobile G1 internet with 9.99 Tzones hack, 5.99 no more :(

Hooray! It works!
T-mobile doesn’t have the 5.99 tzones plan anymore. They upped it to a 9.99 plan. Don’t get rid of your 5.99 plan if you still have it!!! But the tzones hack still works. To get it working on your G1, check my post about getting the MMS to work without having a data plan here.
Then go into your test settings and change the data method to WCDMA preferred or unknown. If you get connectivity errors, you can goto settings and select ‘use only 2G’. This also saves aloooot of battery.

If you want to tether your laptop to use the internet from the G1 check my post here.

Got my T-mobile G1 firmware update today

It popped up today and I installed it. The firmware fixes a few glitches the G1 had and adds:

1. Voicesearch with google. kinda like on the iPhone
– Honestly, I don’t like to use voice search features, not even voice dialing. Some people can’t live without it, but it just doesn’t work for me. When I tried to use this feature, I said “android” and it searched for “stanford”. But you can hit the down arrow and pick from another selection of choices. Alot of improvements need to be made in speech recognition technology before I will use it. (Update- this feature works most of the time if you speak clearly and pause after each word. Jeff Hamilton, a software engineer, with theandroid team claims they are working on new algorithms constantly. Try it yourself first before coming to a conclusion!)

2. Saving attachments via MMS
– No need for the ‘save mms’ app anymore. to save the picture, you don’t click on the picture itself but around it.

3. Some other wifi and messaging related glitches

4. Check for upgrades feature

5. Mark as spam in the android market

Please digg this article if you like it. [digg=http://digg.com/gadgets/T_mobile_releases_Over_the_Air_update_for_Android_G1_phone]

How to get MMS picture messaging working on a T-mobile G1, Android without the data plan

T-mobile reps almost convinced me that there would be no way to get my picture messaging working on my g1 without the data plan. I turned off the data plan as soon as I set it up upon arrival. According the the T-mobile reps, I can’t even place or receive calls without the data plan. (Either they say anything to get you to buy the plan or they’re just dumb useless fellows, the latter being more accurate based on experience.)

So after doing some yahooing and alot of futsin around, I finally managed to get my MMS working by changing the settings. Here’s what to do:

Goto
Menu -> Settings -> Wireless Controls -> Mobile Networks -> Access Point Names -> T-Mobile US

Make sure you go into T-mobile US and not any other setting and change the name like I did, don’t even create a new one. It took me 2 months to figure out what I did wrong.

Change the settings to the following:
Name: T-Mobile US
APN: wap.voicestream.com
proxy: 216.155.165.050
port: 8080
Username: not set (delete everything in this field)
Password: not set (delete all here too)
Server: not set (delete the *)
MMSC: http://mms.msg.eng.t-mobile.com/mms/wapenc
MMS Proxy: 216.155.165.050
MMS Port: 8080
MMC: 310
MNC: 260
APN type: not set

Restart your phone. Now your MMS should work. If you have the 5.99 t-zones, I think your internet will work too. (UPDATE- it does work. check here)

[digg=http://digg.com/gadgets/How_To_MMS_picture_messaging_on_Tmobile_G1_without_data_plan]

*Troubleshooting*
1. If you’re having trouble still, go into mobile networks and enable ‘data roaming’ and ‘use only 2G’

2. Make sure your connecting to T-mobile US
-to do this go to the marketplace and download ‘any cut’
-open any cut and click create shortcut
-goto activity and select ‘testing’
-you should have a shortcut on your desktop that says testing, unless your desktop was full.
-click testing -> goto phone info -> this should tell you what connection you are connecting/connected to.
-For some reason if you are not using T-mobile US, change the settings for the appropriate one.
-If phone info shows you are not connected, hit menu and click on more and click enable data.
-now data should be connected.

********
sorry guys, I haven’t been keeping up with this topic. Honestly, I don’t ever receive MMS. And If its that important, you can add on the $25 package once every few days, download all your mms the same day and take it off.
********

G1 mirror screen protector

UPDATE*- These settings work for iPhone on T-mobile, maybe they might work on the Android:

Data:
APN: web.omwtoday.com
(no user name, no password)

MMS:
APN: web.omwtoday.com
(no user name, no password)
MMSC: http://wirelessfour.mmsmvno.com/mms/wapenc
MMS Proxy: 216.155.165.50:8080
Max msg size: 1058576
MMS UA PROF URL: (none)