View Single Post
Old 07-12-08, 11:54 AM   #1 (permalink)
Menneisyys
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,545
Thanked 1 Time in 1 Post
The multiplatform Bible of using your handset as a modem

Now that I’ve become a proud owner of a super-mobile HP TC1100 Tablet PC, using mobile devices (smart phones) as external modems have became essential for me. Up until now, I’ve done most of my Web browsing, YouTube watching outdoors with some of my mobile devices. Having multiple mobile Internet access subscriptions, at times, I’ve used several of them at the same time – for example, watching a YouTube clip on my Nokia N95 while checking my mail on my BlackBerry; therefore, modem usage wasn’t that important for me. Now, the situation has completely changed: I take my HP almost everywhere, thanks to its (and the computer case’s) low weight and, of course, need (cellular and, preferably as fast as possible, that is, HSDPA) Internet connection everywhere. This was the most important driver for my scrutinizing all the possible solutions and comparing them battery life-wise to know how I can maximize battery life. Another driver was the brand new Internet / Connection Sharing category I’ve created in the Smartphone & Pocket PC magazine Best Software Awards 2008: with brand new titles / categories out there, I prefer to give my readers a very thorough review of them so that they see what the new categories are all about and why I've created them in the first place. Finally, I wanted to publish a greatly updated sequel to my previous, related articles and tutorials (see the Appendix for links).

This Bible is multiplatform, as with many of my recent, other tutorials and roundups: in addition to Windows Mobile, I also discuss Symbian s60v3 and BlackBerry. Please don’t come telling me "Why one Bible for all these operating systems and why don’t you break this into three separate articles?" The answer is manageability: with three separate articles, I’d need a lot more time managing, updating, quickly editing, changing them in the future. Also, the stuff I discuss has cross-references; for example, in the Symbian s60v3 and BlackBerry sections, I refer back to the Windows Mobile section. Separating this info, also meaning reusing the same sections, into separate articles would have been a pretty complicated task. Finally, if you have smart phones you’d like to utilize as modems with not only one operating system, you’ll certainly welcome having all the information in one place, not needing to find my other, related articles. Just skip the sections not discussing your particular operating system if you disagree with my approach.

(Incidentally, now that even Smartphone & Pocket PC magazine announced they would start covering the iPhone with a dedicated paper(!)mag, you may ask when I start doing the same. First, I'm European and, as you may already know, it's far harder for us to get an officially (!!) unlocked phone here. It's only now that Finland, at last, has become one of the countries where iPhones are sold that I can buy such a phone without having to travel to another country. Too bad it seems it won't be unlocked, which is plain unacceptable for me. That is, I may need to rely on factory-unlocked phones imported from Italy. And it still isn't known how much they would cost. Just a comparison: in Finland, the locked TeliaSonera 8GB model costs 477€, including the 24*1,99€ of the cheapest 24-month Minun Sonera contract. In Italy, the unlocked iPhone costs about the same - but that's in Italy. I wouldn't buy a locked iPhone because, however much unlocking works just great now, it's in no way guaranteed this will be true of future firmware revisions. All in all, I'm still not sure whether I am able to purchase the iPhone 3G or not.)

As you’ll see, using current smart phones may prove better, power consumption-wise on the notebook side, than the currently used USB or PCMCIA modems – or the built-in WAN support (HSDPA modem) in some higher-end notebooks and UMPC’s like the Lenovo Thinkpad X300. If you use an external smartphone not taking any charge from the USB port like a Nokia N95 tethered to your notebook, you can increase your notebook’s battery life by 5…40% (depending on the notebook used, the CPU load etc.) because, in general, the power usage difference can be as high as two Watts. I very thoroughly discuss these questions as well in the notebook power consumption-related sections.

1.1 Setting up the connection

In here, I explain how you can set up the connection from Windows-based desktop (notebook etc.) computers. On non-Windows client machines, the situation is pretty much the same if you plan to connect to Bluetooth (BT) Dial-Up Networking (DUN) (or, with the now-rare Widcomm BT stack, BT Personal Area Network (PAN)) or Wi-Fi connections; consequently, I don’t spend much time on it. I can, however, publish a Vista update if I receive a lot of feedback asking me to do so.

In the next three main sections, I explain the three ways (USB cable, Bluetooth DUN / PAN and Wi-Fi) you can tether your smart phone to your desktop PC – or, of course, other smart phones, PDA’s or wireless-enabled gaming consoles. I don’t discuss infrared connections (IrDA) because very few current Windows Mobile smart phones support them any more. On Symbian and BlackBerry, where IrDA is still very common, you still don’t really want to use them because of the slow speed. (Very few – if at all – smart phones use Fast Infrared [FIR]; the rest only operate at 112 kbps at most. Even Bluetooth is much faster, let alone cabled (USB) and Wi-Fi connections.)

1.1.1 USB

In the first subsection, I explain the most power-saving approach: tethering smart phones acting as modems (from now on, "modems") to your notebook. (From now on, I refer to the client as a "notebook". Please note that it can be anything: a desktop PC needing cellular Internet connectivity; a UMPC or even a non-Windows-based mobile device. For example, I’ve successfully used Symbian smart phones using a Windows Mobile modem - and vice versa. That is, it, the client, doesn’t even need to have a desktop operating system to be able to use the Internet connection of the modem. I even provide compatibility info in the main charts below on using smart phone clients.)

As USB connectivity requires no wireless connections (Bluetooth or Wi-Fi) between the modem and your notebook, in cases, it can be the most power-efficient solution on both the notebook and the modem side. Using Bluetooth decreases battery life by, in general, some 2...20% on both the notebook and the smart phone side. Using Wi-Fi can have an even more dramatic impact on the battery life, particularly those of some Symbian smart phones like the Nokia N95, where the battery life can be reduced by 50…70% if you opt for going for Wi-Fi.

Note that as it’s only desktop operating systems (Linux, Windows, Mac OS X) that have USB drivers and very-very few mobile devices (like the HTC x7500 / x7510 Advantage and the HP iPAQ 21x) have hardware USB host functionality, you can’t use USB tethering (cabling) between other smart phones or gaming consoles and modems. Also note that tethering has another major problem: the cable itself, which, in cases, can really hamper the usability, mobility etc. of the notebook, particularly with truly handheld UMPC’s and small Tablet PC’s often rotated between portrait and landscape orientation in "slate" (no-keyboard) mode. For example, look at the TC1100-in-use shots in my last Misc news article showing an external USB HSDPA modem. The shots certainly show how awkward it is to use USB cabling in a Tablet PC, particularly if you plan to walk around with them (the typical healthcare Tablet PC usage) and/or plan to rotate it while keeping it in your hand. Now, think of walking around with a cable or, even worse, a USB modem on a short cable sticking out from the tablet PC, swinging all the way around and/or getting caught by obstacles like doorhandles.

In the latter cases, you will want to prefer a wireless tethering solution (Bluetooth or Wi-Fi) between your modem and notebook.

1.1.1.1 Windows Mobile

As with the case of Bluetooth, there’s a huge difference between how old(er) and new(er) Windows Mobile modems behave. The former constitute all modems running an operating system before WM5 AKU3. (This major OS uprade was released in Autumn 2006; see THIS for more info on its networking if interested. Note that the article is pretty technical and is not required for the understanding of the current Bible.)

WM5 AKU3 has completely (!) changed the way Windows Mobile modems act: Internet Sharing has been introduced and the old approach entirely abandoned. It’s entirely different, both when used over USB and Bluetooth.

Note that some unofficial, "cooked" WM 6+ ROM’s (for example, the latest, 7.7 version of Tomal’s HTC Universal ROM) support both approaches – that is, not only the newer Internet Sharing-based one, but also the older, standard approach. It's also possible to "hack" the "old" approach to some (not all!), current devices - see THIS for more info.

1.1.1.1.1 The Pre-WM5 AKU3 approach

(1, note that you don't need ActiveSync to be installed for this to work. You can, of course, install it.)

2, on the phone, go to Modem Link or Wireless Modem. On some MS Smartphones (for example, the HTC Oxygen / s310), the latter is inside the "Accessories" folder.

3a, in the first, press Activate (left softkey) after making sure USB is selected in the topmost "Connection" drop-down menu and the right access point name in the bottom-most "Access point name" one:



3b, in the second, press Menu (right softkey) and, inside the menu (after making sure USB is selected in the "Connection" list), 1 Start:





4, now, connect the phone to the desktop. The latter will ask for a driver, which is a single INF file. Just unzip THIS file to a subdirectory anywhere and pass its path to the driver set-up dialog.

5, after the driver has been installed, start USBModem_Dialer.exe, which can also be found in the above ZIP file. You will only need to change the APN string in there, unless your APN is the same as the default "Internet". (Several GSM operators, for example, T-Mobile in several countries like the U.K., use "Internet" as the APN. With them, you won’t need to change this.) Unfortunately, you’ll need to repeat this every time you restart USBModem_Dialer.exe. After doing this, press Dial and voila – the connection is built up.

Note that you don’t necessarily need USBModem_Dialer.exe. THIS tutorial explains how you can create a "true" connection link on your desktop. It also has the advantage of not having to enter the APN every time you start a connection and that auto connection initialization (for example, from inside Internet Explorer) can also take place. On the other hand, it requires a bit more work to set up.

1.1.1.1.2 The WM5 AKU3+ / WM6 / WM6.1 approach

1, start Internet Sharing on the phone

2, click Connect (the left softkey), making sure "USB" is selected in the upper and an already-defined network connection is selected in the lower, "Network Connection" drop-down list:



3, connect the USB cable; the client desktop PC will automatically notice the new network. No other desktop-side clicking or starting of apps is necessary.

1.1.1.2 Symbian

1, make sure you set up Nokia PC Suite on your notebook. Start it.

2, on the phone, go to Tools / Settings / Connection / Packet data and edit Access point:



3, now, by clicking the "Connect to the Internet" (the uppermost one in the right) icon in Nokia PC Suite, you can initiate the connection:



Note that, as with the pre-WM5 AKU3 USB case with Windows Mobile, you can also avoid using applications - here, Nokia PC Suite - for dialing in if you use some standalone modem drivers. They're available over the Web; run a Google search to find them. See for example THIS for a N95-related discussion and THIS for modem drivers for some old models.

Also note that, once you install Nokia PC Suite, it'll also install a driver called Nokia USB Modem in the system, which will already be accessible from New Connection Wizard; that is, if you set up a connection (by, basically, just providing *99# as the pseudo dial number) using this modem, you no longer will be forced to use Nokia PC Suite for dialing in every time you need to set up a connection. See section 1.1.2.1.1.2 for more info.

1.1.1.3 BlackBerry

First, you’ll need to install BlackBerry Desktop Software (any version over 4.1; I've tested this with the latest, 4.5 version) in order to set up a virtual modem driver using the name "Standard modem". It’ll be accessible in Start / Settings / Control Panel / Phone and Modem Options. If you can’t find it there, reinstall BlackBerry Desktop Software.

Go there, select Standard modem and click Properties:



Go to the Advanced tab and enter your init string as is explained in section 1.1.2.3:



After this, you’ll need to set up a new modem using the usual Start / Settings / Network Connections / New Connection Wizard as is explained in the second half of 1.1.2.1.1. Here, of course, you’ll need to select "Standard modem":



Everything else is done in exactly the same way as under other operating systems: please refer to section 1.1.2.1.1.2.

(Also see THIS for a picture-less tutorial.)

1.1.2 Bluetooth

1.1.2.1 Windows Mobile


As with USB-based, wired tethering, the approach to Bluetooth-based modem usage mostly depends on the operating system version. Hence the two subsections that follow.

1.1.2.1.1 The Pre-WM5 AKU3 approach

Setting up a modem and a connection is a two-step approach. First, in Phone and Modem Options, you add a modem (by, for example, pairing the modem with the notebook). Then, using the name of the modem provided by the system, you set up a connection (with a real - or, as is the case with cellular connections like GPRS/EDGE/UMTS/HSDPA etc., pseudo - phone number) in New Connection Wizard.

Knowing the difference is very important as it's in Phone and Modem Options that you can look up the names of your hardware modems connected to your desktop (and, incidentally, it's in here that you can define the so-called init strings, which will be of extreme importance with BlackBerry modems.)

The following two subsections show how Phone and Modem Options and New Connection Wizard need to be used. Note that I'll very often refer to particularly the second, New Connection Wizard-related section as it's with it that you will need to configure your non-Windows Mobile-specific connections as well. This is why I'll refer to it from the Symbian- and the BlackBerry sections too.

1.1.2.1.1.1 Bluetooth pairing the phone with the desktop in Phone and Modem Options

1, make the Bluetooth on your phone discoverable. On touchscreen-enabled Pocket PC phones, it’s done in the following way:



On touchscreen-less MS Smartphones, by selecting Discoverable in Bluetooth Settings:



2, go to Start / Settings / Control Panel / Phone and Modem Options. (Alternatively, you can quickly get here by entering telephon.cpl on your desktop in any command line - for example, Start / Run or Total Commander). Go to the Modems tab and click Add:



Click Next. The OS will search for a dial-up modem. In the following screenshot, it displays two. Of them, I select SPV C100 (the Orange name for the HTC s310 / Oxygen MS Smartphone):



Press OK; now, enter a passkey; for example, 0000. (Note that many tutorials state this should be as complicated as possible. This is completely wrong – the passkey is a one-time passkey only and can, therefore, be very simple like 0000):



On the phone, just acknowledge the message about being connected; then, enter the same code (0000) as on the desktop and press Next / Done (the left softkey) several times. On the desktop, just press Finish. You'll be presented a dialog like this:



There, I've highlighted the changes compared to the state before pairing the phone with the notebook; for your convenience, it was the following:



It's this modem entry that you will need to refer to upon configuring a connection in New Connection Wizard, which is the subject of the the following subsection.

1.1.2.1.1.2 Configuring a connection in New Connection Wizard

Now, on the desktop, go to Start / Settings / Network Connections / New Connection Wizard. After the initial Next, just press Next (that is, just leave the default "Connect to the Internet" intact):



and, on the following screen, select "Set up my connection manually", followed by Next:



The next dialog screen should be left alone (that is, the default "Connect using a dial-up modem" will be just fine):



On the next screen, untick the uppermost checkbox (if there’re more than one entries) and check the one ("Modem - Standard Modem over Bluetooth link (COM4)") that has just been added in Phone and Modem Options:



Note that, in some cases (particularly when setting up Windows Mobile phones as modems), there may two new entries Phone and Modem Options creates upon pairing the modem with the notebook. That is, Windows has the tendency of creating two modem entries upon discovering the first Bluetooth DUN modem if it's a Windows Mobile one. In these cases, just tick in one and if it doesn’t work (because it’s linked to another phone), just edit the connection, untick this one and tick another one. To do this, in the dial-up dialog (see the last screenshot in this subsection), just press Properties and, in the uppermost modem selector list ("Connect using"), just untick the current one and select the other as can be seen HERE. A case like this is shown in the following screenshot:



Now, enter the name the shortcut / connection should be called. It can be anything; in this case, I used ‘vodafone’:

__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote