PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-06-2007, 01:27 AM
TalynOne's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
 
Join Date: Jul 2007
Posts: 163
Reputation: 949
TalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Post Tutorial: USB DUN with "Wireless Modem" app on HTC Mogul

Description:

The "Wireless Modem" application lets you connect your mobile device via a USB cable to a computer, and dial-up (DUN) to your phone's EV-DO data connection. This allows you to access the Internet on your computer via your cell phone (tethering)!

It seems Sprint/HTC neglected to give us the necessary files to get the "Wireless Modem" (from the good old pre Windows Mobile 6 days) application working. This is a howto on getting "Wireless Modem" setup and running. I've attached the missing files needed at the bottom of this post.


Tested with:

HTC Mogul running original v2.08 Windows Mobile 6 ROM with Windows XP Pro SP2 (32-bit), and Vista Ultimate Edition (32-bit)


Why is this better than other methods?:

You may ask what the purpose of this method is when you may already have a working solution such as Internet Sharing, PDANet, or USBModem? Good question, it's:

Better than PDANet because:
  • It's free
  • Doesn't rely on ActiveSync
  • Can be shared. Since "Wireless Modem" works through a dial-up adapter, on Windows XP/Vista machines it can be shared with other clients via ICS (Internet Connection Sharing). For instance I've connected via my laptop, and shared that connection via a crossover network cable from my laptop to an XBox 360, to let the XBox 360 access the Internet!

Better than USBModem because :
  • It's free (Wireless Modem's behavior is pretty much identical to USBModem)

Better than the "Internet Sharing" application (included with WM5 AKU3+) because:
  • It's not NAT'ed, you get a public IP with "Wireless Modem". NAT'ed connections are problematic with some games and applications, such as certain VPNs.
  • Since it's not NAT'ed there's less communication overhead, resulting in a slightly better latency, and faster transfer speed.

Setup Summary
  1. Install the Dial-up Networking through Bluetooth Under WM5 AKU3/WM6 Hack
  2. Enable PAM (Phone as Modem), and set it as the default dial-up connection
  3. Apply registry changes to (hopefully) disable NAI (tethering) detection
  4. Setup a dial-up connection on your client (eg. laptop) device
  5. Decompress the attached files and place them in the proper folders
  6. Run the "Wireless Modem" app, and start it sharing via USB
  7. Connect your device via USB cable to your computer
  8. Dial-Up to the Internet and enjoy!

Installing the Dial-up Networking Through Bluetooth Under WM5 AKU3 / WM6 Hack
  1. From the Bluetooth DialUp Access folder in the attached .zip file, install WM6_BT_DUN.cab into main memory on your device.
  2. After installation, soft reset your device

Enabling PAM (Phone as Modem) Connection
  1. You must first have the MSL number for your phone. The MSL unlock code is used for programming your phone yourself, and is unique for every phone. You can retrieve the MSL for your phone by using the GetSPC application. It's essentially a keygen that calculates what the MSL should be from the hexadecimal ESN (case-sensitive). You can download it from HERE. Otherwise you can call Sprint technical support, tell them you're a developer, and you need the MSL number for your phone.
  2. Open up your dialer, and dial in ##3282#
  3. A window should open, select Edit
  4. Enter in your MSL from step 1, and press the OK button (left softkey)
  5. Select the line that has the value MIP_Mode under the Item column
  6. Press the Menu button (right softkey) and choose Edit
  7. Change the value from from Mobile IP Only to Mobile IP Preferred
  8. Press the OK button (left softkey) and soft reset when it tells you to.

Setting PAM (Phone As Modem) as the default dial-up connection
  1. Go to Start->Settings->"Connections" tab
  2. Select the "Connections" applet
  3. On the "Tasks" tab, select "Manage existing connections"
  4. On the "Modem" tab, make sure the "Phone as Modem" radio button is selected
  5. Press "OK" to save your changes

Disabling NAI/Tethering Detection (hopefully)
Using a registry editor, navigate to the "HKEY_LOCAL_MACHINE\Software\OEM\WModem" key, and set the "CheckProfile", "Multi-NAI" and "WModemDUN" DWORDS to a decimal value of "0". Remember to soft reset for the changes to take effect.

Note:
The following note does relate to getting the "Wireless Modem" application, but might of interest to those using the "Internet Sharing" application. It seems Sprint is up to shenanigans in regards to tethering for SERO users. Those of you running Sprint ROMs should navigate to the following registry key "HKEY_LOCAL_MACHINE\Comm\InternetSharing" and delete the string value named "Extension". This will allow you to connect to the Internet via the "Internet Sharing" app without the dreaded error 67/authentication errors. Previous to this fix, Mogul SERO users would have to connect to the Internet via another method (such as starting Internet Explorer first) before pressing the Connect button in the the Internet Sharing application.

For the lazy, I've created two Mortscripts (included in the attached .zip file), that apply ("MogulTetherFix.mscr") and, check ("CheckMogulTetherFix.mscr"), that the proper registry entries have been made (both for "Wireless Modem" and "Internet Sharing"). To use these scripts you must first download, and install MortScript from HERE or HERE.


Installing the missing files:

From the attached .zip file, copy the following files:

Wireless Modem.lnk
- Description: Shortcut to Wireless Modem application (Points to "\Windows\WModem.exe" /LAUNCH)
- Place in \Windows\Start Menu\Programs folder on your device

WModem.exe
- Description: The actual "Wireless Modem" application
- Place in \Windows folder on your device (v2.08 Mogul ROM already has this file).

WModem.exe.0409.mui
- Description: English language resources file needed by WModem.exe
- Place in \Windows folder on your device (was missing from v2.08 Mogul ROM).

Last edited by TalynOne; 11-06-2007 at 04:40 PM.
Reply With Quote
This post has been thanked 27 times.
  #2 (permalink)  
Old 11-06-2007, 01:28 AM
TalynOne's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Threadstarter
 
Join Date: Jul 2007
Posts: 163
Reputation: 949
TalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Setting up USB Modem driver on the computer:

On the Phone device:
  1. Make sure you've applied the NAI/detection registry changes described in the beginning of this post.
  2. Some say, you should terminate ActiveSync on your device, and terminate ActiveSync/Windows Mobile Device Center on your desktop, before running Wireless Modem, but I skip this step, and it seems to work fine for me.
  3. Launch the "Wireless Modem" shortcut.
  4. Make sure "USB" is selected for "Connection Type"
  5. Press the "Menu" button, and choose the "Start" menu item

For a Windows XP/2000/Vista client computer:
  1. Login into Windows PC as a user with Administrator credentials
  2. Connect the USB Cable from the Mogul to your computer
  3. After a short period of time the Found New Hardware Wizard screen will appear. On my Vista laptop, I let it search the Internet to find suitable drivers. It took a while, but it eventually found and installed them for me.

For those that have trouble getting/installing the drivers, I've extracted them from my machine using DriverGrabber, and put them in the attached .zip under the "drivers" folder. To install them, repeat steps from above, but instead of letting it search the Internet for suitable drivers:
  1. Select the No, not this time option and press the Next button.
  2. Select the Install from a list or specific location option on the displayed dialog and press the Next button.
  3. The Please choose your search and installation options dialog will appear on the screen. Uncheck the Search removable media option, and use the Browse button to point to the appropriate subfolder under the \drivers folder from the unzipped archive attached to this post. After that, press the Next button.
  4. The installation will be started and the Hardware Installation warning will be displayed. Press the Continue Anyway button to go on with the installation.
  5. After that, the Completing the Found New Hardware Wizard screen will appear. Press the Finish button.
  6. The driver installation is now complete and Windows will pop up a balloon with the text "Your new hardware is installed and ready to use".

Creating a New Dial-Up Connection:

For the Sprint CDMA network, the dial-up number is #777, the user name and password are blank.

For a Windows XP/2000/Vista computer:
  1. Start the Create a new Connection wizard. To do this, press the Windows Start button, select Connect To, choose Show all connections, and look for the wizard in the Network Tasks area in left of the panel. Alternatively, go into Windows Control Panel and choose the Network Connections item.
  2. The Welcome to the New Connection Wizard screen will be displayed. Press the Next button to proceed.
  3. The Network Connection Type screen will be displayed. Select Connect to the Internet and press the Next button.
  4. The Getting Ready dialog will appear. Select the Set up my connection manually option and press the Next button.
  5. The Internet Connection dialog will appear. Choose the Connect using a dial-up modem, and press the Next button to proceed.
  6. The Connection Name screen will be displayed. Type in the name of the connection. For example, Internet via USB Modem is good. Press the Next button.
  7. The Phone Number to Dial screen will be displayed. Type in the #777 and press the Next button.
  8. The Internet Account Information screen will be displayed. Don't enter anything for the user name and password, uncheck the Make this the default Internet connection checkbox and press the Next button.
  9. The Completing the New Connection Wizard screen will be displayed. Enable the Add a shortcut to this connection to my desktop for easy connection access and press the Finish button.
  10. Now start the Internet via USB Modem dialog by double-clicking on its icon on the Windows desktop and press the Properties button
  11. The connection properties dialog will be displayed. On the General tab, make sure the Use dialing rules option is disabled
  12. On the Options tab, uncheck the Prompt for name and password, certificate, etc. and Prompt for phone number options, and press the OK button.
  13. The CDMA data connection is now setup!

Connecting to the Internet:
  1. Make sure you've applied the NAI/detection registry changes described in the beginning of this post.
  2. Some say, you should terminate ActiveSync on your device, and terminate ActiveSync/Windows Mobile Device Center on your desktop, before running Wireless Modem, but I skip this step, and it seems to work fine for me.
  3. Launch the "Wireless Modem" shortcut.
  4. Make sure "USB" is selected for "Connection Type"
  5. Press the "Menu" button, and choose the "Start" menu item
  6. Connect the USB Cable from the Mogul to your computer
  7. Double click/dial-up the Connection you made previously, make sure the connection is set to the right dial-up device (HTC USB Modem)
  8. Enjoy!

Disconnecting from the Internet:
  1. Disconnect your dial-up connection on your computer
  2. Disconnect the USB cable from your mobile device
  3. Press the "Menu" button, and choose the "Stop" menu item
  4. Press the "Done" button

FAQ:
  • My connection seems flaky/slow, how can I fix it?

    Don't place your mobile device too close to your computer. If the devices are too close your connectivity could get flaky.

  • By using this will I be charged by my phone carrier?:

    Generally, this will incur the same charges as using the Internet on your phone. If you have SERO data plan, and you applied the NAI detection hacks correctly, you should be fine. The only way to be sure the NAI hacks worked, is to look at your next bill. You are responsible for any charges you may incur.

Credits:

sampson - His WM5 Rev 00 ROM for the Titan was the source of the missing Wireless Modem files.

luv2chill - Sprint Mogul Internet Sharing Connect Fix. (post by luv2chill).

electronicrice - Multi-NAI disable hacks for the Mogul

Menneisyys - For the Dial-up Networking Through Bluetooth Under WM5 AKU3 / WM6 Hack

Instructions for setting up the dial-up connection on the client came straight from the USBModem manual.


Related Reading:

Dial-up Networking Through Bluetooth Under WM5 AKU3 / WM6:
http://www.pocketpcmag.com/blogs/ind...&c=1&tb=1&pb=1

Internet sharing description & why Microsoft Mobile team removed Bluetooth DUN:
http://blogs.msdn.com/windowsmobile/...tooth-dun.aspx

Using "Internet Sharing" over WiFi:
http://forum.xda-developers.com/showthread.php?t=341398

The new dial-up network model of the WM5 AKU3:
http://www.pocketpcmag.com/blogs/ind...&c=1&tb=1&pb=1

Unrestricted BT PAN server with the MS BT stack:
http://www.pocketpcmag.com/blogs/ind...&c=1&tb=1&pb=1

Final Thoughts/Comments:

This should also work for Bluetooth DUN, irDA, and on the MAC and Unix platforms. For the MAC and Unix platforms it's just a matter of locating and installing the correct drivers, and setting up the dial-up connection. If you get this to work on those platforms, please reply, with a copy of the drivers, so that I can update the install package. You might have some luck with the drivers HERE. Also you may want to locate/try the PPC-6700 USB drivers for those platforms. And for hints on how to setup the connection on a MAC/Unix machine, try examining the USBModem manual, as the steps should be very similar.

--------------------

Changelog:

v0.1
  • Initial Release
Attached Files
File Type: zip Wireless_Modem_for_Mogul_v0.1.zip (265.3 KB, 5250 views) Click for barcode!

Last edited by TalynOne; 11-06-2007 at 04:40 PM.
Reply With Quote
This post has been thanked 22 times.
  #3 (permalink)  
Old 11-06-2007, 09:42 AM
delawaresace's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint Touch Pro & Touch
Carrier: Sprint
Location: Delaware
 
Join Date: Aug 2007
Posts: 314
Reputation: 344
delawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
WOW! Great job. very precise. this is how a tutorial should be written. easy to follow and everything is explained. thank you for your hard work.

a question or two. i use ICS with luv2chill reg hack and never really had a problem (except with activesync always wanting to turn on). how dramatic of a difference will i see if i switch over to DUN?

also, call me optimistic, but i still believe that rev a is coming soon. what effects if any will the rev a upgrade have with a DUN connection? thanks.

Last edited by delawaresace; 11-06-2007 at 09:22 PM. Reason: fixed spelling so watson won't get sick
Reply With Quote
  #4 (permalink)  
Old 11-06-2007, 04:13 PM
TalynOne's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Threadstarter
 
Join Date: Jul 2007
Posts: 163
Reputation: 949
TalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by delawaresace View Post
WOW! Great job. very persice. this is how a tutorial should be writen. easy to follow and everything is explained. thank you for your hard work.

a question or two. i use ICS with luv2chill reg hack and never really had a problem (except with activesync always wanting to turn on). how dramatic of a diference will i see if i switch over to DUN?

also, call me optumistic, but i still beleave that rev a is coming soon. what effects if any will the rev a upgrade have with a DUN connection? thanks.
Thanks.

The difference will be very small, but we're dealing with slower connections in general, so every little bit helps, especially on the upstream. The main advantage is that it's not NATed which allows you to host server services, if needed, like FTP, Remote Desktop, or run certain games, VPNs, and apps that don't work well under NATed conditions. Anything that requires you to forward a port is problematic when using "Internet Sharing".

I have no idea how DUN will work when Rev A comes out (probably in 3 years), we'll just have to wait and see.

Last edited by TalynOne; 11-06-2007 at 04:42 PM.
Reply With Quote
This post has been thanked 1 times.
  #5 (permalink)  
Old 11-06-2007, 08:47 PM
watson540's Avatar
PPCGeeks Regular
Offline
 
Join Date: Aug 2007
Posts: 56
Reputation: 5
watson540 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
delewaresace,

dude you need to learn how to spell ot go get a spell checker...your post made me throw up in my mouth a little

...another fine example of the american educational system
Reply With Quote
  #6 (permalink)  
Old 11-06-2007, 09:06 PM
kilmarac's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC Touch Pro 2
Carrier: Sprint SERO
 
Join Date: Jul 2007
Posts: 254
Reputation: 85
kilmarac is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by watson540 View Post
delewaresace,

dude you need to learn how to spell ot go get a spell checker...your post made me throw up in my mouth a little

...another fine example of the american educational system
Was that trip really necessary... Oh, and by the way... you might want to get one for yourself. You have grammatical errors and you misspelled "OR" in your first sentence.

ROFLMAO!!!!!!!!! Yes, I had to say it.
__________________
Last Result: 3 Signal Bars Tp2
Download Speed: 1910 kbps
Upload Speed: 672 kbps
Reply With Quote
This post has been thanked 3 times.
  #7 (permalink)  
Old 11-06-2007, 09:15 PM
delawaresace's Avatar
Regular 'Geeker
Offline
Pocket PC: Sprint Touch Pro & Touch
Carrier: Sprint
Location: Delaware
 
Join Date: Aug 2007
Posts: 314
Reputation: 344
delawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regulardelawaresace is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by watson540 View Post
delewaresace,

dude you need to learn how to spell ot go get a spell checker...your post made me throw up in my mouth a little

...another fine example of the american educational system
Hay look, it's Gaudere's Law (it's about the 13th one down).

i posted this on my mogul using Opera Mini that does not have spell check or cut and paste. i'll go back and see if i can edit it.
Reply With Quote
  #8 (permalink)  
Old 11-06-2007, 09:29 PM
watson540's Avatar
PPCGeeks Regular
Offline
 
Join Date: Aug 2007
Posts: 56
Reputation: 5
watson540 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
there is a big difference between misspelling and typo's dumbass...get it straight

p.s. no one said anything about grammar..anyway..off the the dictionary for you..first look up mis-spell. then look up typo...WOW they mean two different things!

thank you american educational system

edit: im not usually ever the spelling nazi but I couldn't help myself.
and to the dumbass who said my typo was a mis-spell..get real..we all know what a typo is

Last edited by watson540; 11-06-2007 at 09:42 PM.
Reply With Quote
  #9 (permalink)  
Old 11-06-2007, 09:35 PM
TalynOne's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro
Carrier: Sprint
Threadstarter
 
Join Date: Jul 2007
Posts: 163
Reputation: 949
TalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuffTalynOne knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by watson540 View Post
there is a big difference between misspelling and typo's dumbass...get it straight

p.s. no one said anything about grammer..anyway..off the the dictionary for you..first look up mis-spell. then look up typo...WOW they mean two different things!

thank you american educational system
I think you mean:

Quote:

There is a big difference between misspelling and typos, dumbass, get it straight.

P.S. : No one said anything about grammar, anyway off to the the dictionary for you. First look up misspell, then look up typo. Wow, they mean two different things!

Thank you American educational system.
Reply With Quote
This post has been thanked 1 times.
  #10 (permalink)  
Old 11-06-2007, 09:44 PM
watson540's Avatar
PPCGeeks Regular
Offline
 
Join Date: Aug 2007
Posts: 56
Reputation: 5
watson540 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
yep that's what I meant and that's how I spelled it..I like the bold addition you made though

edit: I noticed you changed my spelling of grammar in the quote you used. that's not cool

Last edited by watson540; 11-06-2007 at 09:46 PM.
Reply With Quote
This post has been thanked 1 times.
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Titan


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 12:21 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com