Archive

Posts Tagged ‘tips’

Tethering on the N900 – Part 4 (Hotspot)

In case you didn’t know, the N900 is capable of creating a hotspot and share its 3G internet connection with other wireless devices. Sharing via a Hotspot is the top-dog of all tethering options. There are currently two ways available to get this set up.

Mobile Hotspot (Free)

Like all maemo.org downloads, this comes free – courtesy of the maemo.org community. Setup however, requires installation of a modified kernel (power-kernel), also available in Extras.

Kernel

1. Install the ‘Enhanced Linux kernel for power users’ package from the Application Manager.

2. Reboot.

3. To verify if the kernel was installed correctly enter ‘uname -a’ in X-Terminal. The output should be something like

$ uname -a
Linux Nokia-N900 2.6.28.10power37 #1 PREEMPT Wed May 26 00:24:03 EEST 2010 armv7l unknown

Un-install however requires a couple of commands on the command-line.

Mobile Hotspot

1. Install Mobile Hotspot from the Application Manager.

2. Launch Mobile Hotspot.

3. Select Connection.

4. Select Hotspot name and enter one.

5. Enable WEP encryption and enter a WEP code (at least 5 characters) if you wish. WEP is insecure anyway!

6. Click Start. When ‘Stop’ appears the hotspot is ready for service.

I often have issues with Mobile Hotspot. My wifi-router requires a reboot every time I run Mobile Hotspot at home. Not sure why that happens. You might also encounter some bugs but the app is still usable. It effectively hides all the complexities involved in the setup.

Joiku (Paid)

A paid application that offers a few more options compared to Mobile Hotspot. I think its on sale in the Ovi Store this month at $4.99.

I plan to close out the ‘Tethering..’ series with a summary that will present most (if not all) the tethering options that the N900 can bring to the table. I hope the posts were useful.

Advertisements

Tethering the N900 – Part 3 (Bluetooth)

Tethering over Bluetooth is slower but being wireless is a great advantage over USB.

Ubuntu 10.04

Another simple setup:

1. Install Dial-Up Networking (bluetooth-dun) from Extras on the N900.

2. Install blueman Bluetooth-Manager on Ubuntu. This is not required but a good gui doesn’t hurt.
sudo apt-get install blueman

3. Open blueman from the status bar and pair the N900.

4. Right-click the connection and select Dial-up Connection.

5. Select the T-Mobile connection. If you haven’t yet created a Connection, see my previous post.

6. Done.

Windows 7

Ovi-Suite is a good tool here.

1. Install Dial-Up Networking (bluetooth-dun) on the N900
2. Open Ovi-Suite.
2. Connect the N900 via bluetooth (Tools -> Add New Device).


3. Select Tools -> Connect to Internet

4. Surf!

Internet Connection via the command-line

I have been tethering via USB a lot lately.

I don’t connect to the internet using my laptop directly but instead, I access the N900’s data connection via SSH tunnelling (port-forwarding). I had to resort to this because I didn’t want to interfere with the network that my laptop was already connected to. So the process is, connect in PC Suite Mode (USB Networking), create the tunnel, connect to the Internet.

Anyway, to make life easier I was looking for a way to initiate the internet-connection via the command-line on my laptop. Thankfully, the t.m.o forum was a great resource.

The following command triggers the N900 to initiate the T-Mobile data-connection:

dbus-send --type=method_call --system --dest=com.nokia.icd /com/nokia/icd com.nokia.icd.connect string:0000-0000-0000-0000 uint32:0

where 0000-0000-0000-0000 is the ID of the connection. The list of connections can be found using

gconftool-2 -R /system/osso/connectivity/IAP

Look for the value after ‘/IAP/’. Here is a snippet of the output:
/system/osso/connectivity/IAP/0000-0000-0000-0000:
ipv4_autodns = true
ipv4_address = 0.0.0.0
ipv4_type = AUTO
ipv4_gateway = 0.0.0.0
name = T-Mobile Internet
type = GPRS
proxytype = NONE
gprs_password =
ask_password = false
ipv4_dns2 = 0.0.0.0
sim_imsi = 3102612312319
ipv4_dns1 = 0.0.0.0
ipv4_netmask = 0.0.0.0
gprs_username =
gprs_accesspointname = internet2.voicestream.com

I now run the dbus command from a script and voila! the internet is ready and all I now need to do is access it via port-forwarding on my laptop.
ssh -D 9999 user@n900

and SOCKS proxy settings in Firefox of course (Go FoxyProxy!).

:likes:

Categories: likes, Maemo, N900, T-Mobile Tags: , , ,