Archive

Archive for the ‘tethering’ Category

Jailbreaking over MobileHotspot

September 5, 2010 10 comments

After buying an iPhone 3gS today, I took my 6 year old to Chuck-E-Cheese’s as I had promised last week; even though I find its ambience utterly unbearable.

In order to use the 3gS on T-Mobile, I had planned to jailbreak it after getting home. But while hanging out at ChuckE, in the midst of the yelling, crying and laughing kids, it occurred to me that a jailbreak using a hotspot tether over 3G is entirely possible!

So I whipped out the N900, fired up MobileHotspot, and laid it on the table away from the pizza and soda stains while my son was busy dropping tokens in mindless games. After its usual set of annoyances, the Hotspot started; and the iPhone duly picked it up. It was then simply a matter of going to jailbreakme.com and sliding to begin :)

T-Mobile’s connection, thankfully, remained solid during the download and the process completed painlessly.

Once again, the N900 brought joy.

Tether N900′s wifi connection via USB

If you have been following this blog, you already know that the N900 is remarkable in its ability to adapt itself in various environments. This post will describe the steps needed in situations where you would like to connect to the internet using the N900′s wifi connection via USB from a desktop (or less likely,  a laptop) that does not have a wifi-adapter.

There might be other ways, but this post will explain the setup using SSH tunneling. The only drawback of this approach is that t

Note: Make sure USB Networking is setup before proceeding.

Ubuntu 10.04

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on port 9999.

ssh -D 9999 root@192.168.2.15

6. Modify the system proxy settings (System->Network Proxy) to use SOCKS proxy on localhost port 9999. Apply System-Wide to have all internet applications use it.

7. You are now online!

Windows 7/XP

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on localhost port 9999 using PuTTY. The tunneling option is under SSH->Tunnels. Enter 9999 as port, select ‘Dynamic’ and click Add. Open the connection to the N900 (192.168.2.15)

6. Modify the system proxy settings (Internet Options -> Connections -> LAN Settings) to use SOCKS proxy on localhost port 9999.

7. You should now be online!

Mac OS X

1. Connect the N900 to the wifi access-point.

2. Connect the USB cable and select PC Suite Mode.

3. On the N900, execute as root:

ifup usb0
route del default usb0

4. Make sure you can ping the N900 (192.168.2.15)

5. Create a SSH tunnel on port 9999.

ssh -D 9999 root@192.168.2.15

6. Modify the system’s proxy settings (Network Preferences->Advanced->Proxies) to use SOCKS proxy on localhost port 9999.

7. You should now be able to browse the web in Safari.

Tether a Mac’s internet connection via USB

August 29, 2010 1 comment

The Mac makes it easy to share its internet connection with any other device it is connected to. If you want the N900 to share a Mac’s Ethernet or Wifi internet connection over USB, this is what you need to do:

1. Connect the N900 to the Mac and select PC Suite Mode.

2. Setup USB Networking if you haven’t already. Make sure you can ping the N900 (192.168.2.15) from the Mac.

3. Setup Internet Sharing according to this Lifehacker post with one difference – select N900 (PC Suite Mode):

Ethernet

Wifi

4. The N900 should now be able to access the internet.

Tethering on the N900 – Visual Summary

I thought it would be great to end the series with a visual summary of the options covered so far, and then some :)

Ubuntu 10.04

Tether GPRS/3G
connection via Bluetooth

Tether GPRS/3G
connection via USB

Tether Wifi connection via USB

Tether GPRS/3G
connection via Hotspot

Tether Ubuntu internet-connection via Bluetooth. (Haven’t tried this yet..PAN?)

Tether Ubuntu
internet-connection via USB

Tether Ubuntu
internet-connection via Hotspot

Windows 7

Tether GPRS/3G connection via Bluetooth

Tether GPRS/3G
connection via USB

Tether Wifi connection via USB

Tether GPRS/3G
connection via Hotspot

Tether Windows 7 internet-connection via Bluetooth. (Haven’t tried this yet..PAN?)

Tether Windows 7 via USB. (No luck getting this to work with USB Networking)

Tether Windows 7 internet-connection via Hotspot.

Mac OS X

Tether GPRS/3G
connection via Bluetooth

Tether GPRS/3G
connection via USB

Tether Wifi connection via USB

Tether GPRS/3G
connection via Hotspot

Tether Mac internet-connection via Bluetooth. (Haven’t tried this yet..PAN?)

Tether Mac internet-connection via USB using USB Networking and ICS.

Tether Mac internet-connection via Hotspot


Update 8/28/10: Using the Mac lately. Its playing nice with the N900 as you can see with the Mac OS X section.
Sorry MAC users. I have never used a MAC. Incidentally, a colleague loaned me his Macbook Pro yesterday. He wanted me to see how in the Mac world “it just works!”. It will be interesting to see how well that plays with the N900.

Update 8/29/10: Added PC-USB-N900-Wifi option

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.

Follow

Get every new post delivered to your Inbox.