WinMo device as USB modem? - Windows Mobile Software Development

Would it be possible for a Windows Mobile device to emulate an USB 3G modem?
I know it's possible to use them for tethering, but IMO it'd be cool if they were compatible with 3G Routers like this TP-LINK one, allowing anyone to basically use their windows mobile phone as an USB 3G modem.
I'm guessing these devices don't support mobile phones because the phone doesn't advertise itself as an USB modem, but requires PC-side drivers (modem driver) to work. This could be because the phone itself determines what number to call and how to establish a connection, rather than the device operating it as USB host.
So, would it be possible to 'fake' being one of the supported USB 3G modems, and covertly connecting to 3G on the phone's own terms ?

On my phone, just use start/settings/connections/USB to PC (or connect to PC). And choose 'Internet Sharing - Use phone as modem). Or Wi-Fi router if you want to use your mobi as a router!

Yeah like I said I know how to tether using the conventional methods...
However, these use RNDIS I think, which is not particularly 'detected' as a real USB modem. So, 3G routers won't register the device as a modem, even though the device is more than capable to act as one.
Hence my question, whether it's possible to emulate a true USB modem.

Related

What desktop devices for wifi?

Hi everybody,
I can think of half a dozen ridiculous applications for a wi-fi connection between my xda2s and my PC, but I'm having problems determining what I need to buy on the PC side: access point, network adapter, wireless network card??
What do you think is the best/cheapest option?
Thanks,
Camed
i think that access points i'm not 100 sure cant connect to other devics and only be connected to from others
and i'm not really sure what you mean the difference between these 2 options are unless you mean network adapter to connect to the access point
" network adapter, wireless network card"
If you should choose to buy an access point, go for a AP with router funtionality.
The price is (should be) allmost the same..
This will allow you to share your broadband (if you got one) connection with both your XDA and your PC.
The phone via standard TP cable (or WLAN), and the phone through WLAN.
The way these will interact with each other, is just like two computers in a network (TCP/IP protocoll).
As for the network adapter and wireless card, these are the same thing..
The only difference is the way you connect them to your computer. (PCI, PCMCIA, USB, etc..)
With these you will be able to use Ad-Hoc, wich is just like a crossed TP cable between two computers.. Allso using the TCP/IP protocol..
As for price, a USB WLAN device should be the cheapest, at $30-$50..
The WLAN router is the most expencive component, priced from $100-$200 i guess..
DISCLAIMER: The prices are estimates! They may vary a lot! And they are based upon the 802.11g (54mbps) standard. 802.11b (11mbps) may be cheaper..
I have a wireless router (with 4 port lan) connected directly to my cable modem. It provides a lot of flexibility. For example, into the router I have plugged my main PC (upstairs), and a Bluetooth Access Point. Downstairs I use my wireless laptop and am able to be online through my broadband connection. I have an XDA II which does not have WiFi, but no matter, because I can use the bluetooth access point to get online. If any friends or family come with their PCs or Laptops, I just plug in either a wireless PCMCIA card into their laptops or a USB wireless adapter into their PCs and they too can get online. I also have a wireless printer server, which is great because I can print from any PC without the requirement of a different PC being logged in.
I can suggest you a bit more advanced solution, specially if you have dedicated internet channel with ethernet cabble on your side (e.g. ADSL modem with ethernet connector or even TP cabble going to you from provider): just buy gateway with access point built in.
An additional benefits of this approach are permanent internet availability via WiFi even if desctop PC is powered off and easy creation of secured SOHO (Small Office or Home Network) infrastructure.
There are a number of such devices. Most of them will provide you with similar functionality:
- one "WAN" ethernet port (where you connect twisted pair from your provider or ADSL);
- usually 4 "LAN" ports where you may connect all your home computers or just make network outlets in different rooms
- WiFi access point built in
- DHCP server for LAN clients headache'less connectivity, NAT server, Firewall (WAN to LAN, LAN to WAN, WLAN to LAN etc) with IP and URL filtering and different tunelling presets, DNS proxy and a lot of flexibility in creation of different virtual servers.
- almost all firewall settings may be scheduled allowing you to restrict the time your family wil play online games
- supports modern strong WiFi encryption and authorisation with WPA or WPA/SK protocols
For example I can suggest Asus WL 500g (which is I bought)
http://www.asuscom.ru/products/communication/wireless/wl-500g/overview.shtml
Cheap enough ($90), flexible, stylish and with number of additional features. With firmware sources available. Print server and FTP/Webcam server (optional)
But: 802.11b/g only, have no built-in battery for internal clock working while device is turned off. Internal clock are automatically sinchronized with external time server when it become available after power-on.
Or another solution, D-Link DI-784 (my office WiFi infrastructure based on this device):
-802.11 a/b/g
-have built-in AC-independent clock
-a bit more powerfull transiver
but more expensive ($200)
http://www.dlink.com/products/?pid=299
As I said above there are a number of such devices on the market, but I deal with these two only...

convert my P3300 into an usb wifi adapter?

heya,
i use use cardexportII to convert my P3300 into an USB flash disk. and on their web they got win98 drivers in case you want to connect it on an older system.
ok, so i wanted to know:
is there any way, a software or whatever, to connect my P3300 to an existing wifi, plug it with USB to a computer and the computer use it as wifi-adapter/access point to use that network?
i've read about people trying something like that but using bluetooth rather than USB to connect the mobile to the PC, i can use that too if you know how, but in the end what i really need is:
PC->USB->P3300->WIFI NETWORK
because i allways carry a little usb cable with me, and i don't want to carry an BT dongle around if i can avoid it.
and as we are at it, but not really important for me... would it be possible to convert my P3300 to a bluetooth dongle?
PC->USB->P3300->BT NETWORK/DEVICES
oh BTW, my P3300 has WM6 (official HTC release)
thx in advance for any help.
OH LOL, forgot to mention: all this WITHOUT ACTIVESYNC please.
not possible then?
For security reasons the device does not allow simultaneous USB and WiFi connections.
MaskedMarauder said:
For security reasons the device does not allow simultaneous USB and WiFi connections.
Click to expand...
Click to collapse
if i am not wrong, i have read somewhere it was possible to share a WIFI connection through BT or viceversa... so why would USB not be possible, when it's even more secure than BT?
i am getting a little sick of microsoft and their "security" crap... first they disable activesync over wifi and now this? did they never hear of VPN or the like?
/sigh
zandadoum said:
if i am not wrong, i have read somewhere it was possible to share a WIFI connection through BT or viceversa... so why would USB not be possible, when it's even more secure than BT?
Click to expand...
Click to collapse
You can share the phone's GPRS connection, not WiFi. This is so you can use the device as a modem for your laptop etc.
You can not use bluetooth or WiFi when you have a USB connection because you could use it to hook up to two different networks at once, one with the USB cable and one with the WiFi. And then move data across the two networks. Which is a network security risk.
That risk would deter customers from buying the device as it could be used as a back door into the network. An employee plugs into the corporate network with the device (which is 'trusted' and has no password required) then an accomplice connects WiFi to the device and has free entry.
A USB wireless dongle can be bought for £10. Perhaps using that to set up an ad-hock network could be a solution for you?
MaskedMarauder said:
You can share the phone's GPRS connection, not WiFi. This is so you can use the device as a modem for your laptop etc.
You can not use bluetooth or WiFi when you have a USB connection because you could use it to hook up to two different networks at once, one with the USB cable and one with the WiFi. And then move data across the two networks. Which is a network security risk.
That risk would deter customers from buying the device as it could be used as a back door into the network. An employee plugs into the corporate network with the device (which is 'trusted' and has no password required) then an accomplice connects WiFi to the device and has free entry.
A USB wireless dongle can be bought for £10. Perhaps using that to set up an ad-hock network could be a solution for you?
Click to expand...
Click to collapse
where did you get all this info, that it is not possible due security reasons? as you mention, i could use a wifi dongle. and if i wanted to "hack" a network, i could use a laptop connected to a wired lan, and use it's wifi or a wifi dongle to do EXACTLY the same, so the security excuse (wherever you read it) is total bull****.
i want this, because i could just carry a wifi dongle in my bag, but if i could do it with the p3300 usb cable i always carry around, i would have one item less to worry around.
i really don't get all this security nonsense... in first place it needs a wep or wpa key to even connect to a wifi and in second place it's nothing i could not do with a laptop already, i don't understand the fuzz.
i asked the same thing on a microsoft mobile developer blog and the guy just started evading my questions and not responding at all.

Sprint usb pc to phone modem needed asap. wm2003se

k. i live in the woods and my dsl modem fried from lightning last night. i have a ****ty isp that can only be reachable by submitting a service request via email since i work during their service hours of 12-3pm. i have to wait a week for a new modem
tldr; i need a program and directions that have proven to work'
here's my setup
windows xp sp3
audiovox 6600(camera)
windows mobile 2003se
usb cradle
well, what is your actual problem, connect your device to gprs, put it in the cradle and if activesync is set to accept, that the device runs wireless data connections, even while cradled, your internet connection should work. your pc should simply use the devices gprs then and automatically be connected to the internet. other alternatives (in case that doesn't work) would be, if you have wi-fi on your pc, you can try and install a wi-fi router software to your device and connect your pc to it just like with a normal access point, a freeware to try would be htc wifi router, although i fairly doubt any of those programs run with wm2003, but that should give you a clou, what to look for.
problem: wm2003se has no easy way to bum internet off of, only through the usb cable
sprint is cdma
there is no 802.11 wifi on this phone.
Still looking for help.

USB to PC internet sharing via Wi-Fi

You can share a 3G network to a laptop via an HTC Touch Pro2 but, near as I can tell, you can't share a Wi-Fi connection? ie. if my laptop doesn't, itself, have a Wi-Fi connection, can I use my cellphone's Wi-Fi connectivity to connect to a Wi-Fi network?
http://forum.xda-developers.com/showthread.php?t=630337
Posts 4 and 7
Searching is the key
orb3000 said:
http://forum.xda-developers.com/showthread.php?t=630337
Posts 4 and 7
Searching is the key
Click to expand...
Click to collapse
I think that he's wanting to use the phone as a wifi adapter (i.e. wireless NIC) for his laptop, rather than using the phone as a wifi router. In other words...his laptop does't have built-in wifi at all, so he wants to use his phone to accomplish that rather than an external USB stick, card, etc. I've been curious for a while if that's even possible, but haven't come across any methods yet...
sirphunkee said:
I think that he's wanting to use the phone as a wifi adapter (i.e. wireless NIC) for his laptop, rather than using the phone as a wifi router. In other words...his laptop does't have built-in wifi at all, so he wants to use his phone to accomplish that rather than an external USB stick, card, etc. I've been curious for a while if that's even possible, but haven't come across any methods yet...
Click to expand...
Click to collapse
That's exactly it. Most places I go to have ethernet cables I can plug into but, from time to time, I find myself at a place that just has 802.11b/g access points. Rather than carry a PCMCIA wireless adapter around with me so that I might use it once every blue moon, I'd just assume use something I already have on me - my cellphone - as a wireless adapter.
Alternatively, if I, at a future date, got a laptop with a built in wireless adapter, it'd still be nice to be able to have two wireless adapters. ie. maybe the 802.11g network I'm connecting to uses WPA and I'm trying to connect with a Nintendo DS that only supports WEP networks. I could, in theory, use my cell phone as an adapter to the WPA network and turn my laptop into a WEP access point.
I'd say there are several use cases for being able to use a cellphone as an adapter to an 802.11g network, although I will grant that they're probably fairly niche use cases.
I am also interested in this as it would allow me to use my laptop for free internet at places like starbucks where my Tilt 2 gets to connect for free.
Internet>>> ATT Wifi >>> Tilt 2 >>>> Laptop
I too would love this functionality. If anyone knows of an app/registry hack/whatever that enables this, please post the details here.
shdwphnx said:
I too would love this functionality. If anyone knows of an app/registry hack/whatever that enables this, please post the details here.
Click to expand...
Click to collapse
WMWifiRouter (not free) has this functionality. Along with the standard features like cellular to WiFi and cellular to USB, WMWifiRouter also does more exotic connections like WiFi to USB. It's €15, but it's an application with a lot of functionality and the developer who created it is a very highly respected XDA member, who provides many of his other products for free.
DaveTheTytnIIGuy said:
WMWifiRouter (not free) has this functionality. Along with the standard features like cellular to WiFi and cellular to USB, WMWifiRouter also does more exotic connections like WiFi to USB. It's €15, but it's an application with a lot of functionality and the developer who created it is a very highly respected XDA member, who provides many of his other products for free.
Click to expand...
Click to collapse
Awesome, thanks Dave. I'd been thinking about buying it anyway in place of the (very basic) free wifi router app I found on here too, and now it sounds like a no-brainer
Just did it
I just did this very setup earlier with my HTC Tilt 2. I had the phone connected to my Wi-Fi network, and turned off my Wi-Fi on my laptop. Connected the phone to the laptop using the USB cable, and selected "Use as modem" and it was an automatic process...i'm running Windows 7 on my laptop..if that helps..it just worked.

[Q] Sprint Dial Up Networking

Need some help doing normal dial up networking with my epic, (running CleanGB 1.0) and need to do some dial up networking, (like the old school kind). I just got a ZyXel MWR-222 and it doesn't seem to recognize the kernel TUN module.
So now we're back to 2007, setting logins and passwords, and phone #'s, and APNs. Can anyone help me with what those should be on the current sprint network?
Additionally, how do you connect it? Do you just plug it in and choose charging? Do you choose tethering? Do you do something else?
Any and all help is appreciated. Thank you.
Gabe
Ur laptop has wifi right? I'm assuming
Sent from my SPH-D700 using xda premium
http://code.google.com/p/android-wifi-tether/
Try that. Its free wifi tether app. No need to use a travel router. Just search for a wireless router on ur laptop and it shoud see ur phone. On the app go into settings, check encryption and change passphrase, then change channel to 10. U should be good to go. This app works. I've use it and tested it for functionality.
Sent from my SPH-D700 using xda premium
It's not a laptop. It's a mobile hotspot which means I need usb tethering. I have both the wireless and wired tether apps installed, however they won't work in this situation. I need to dial the APN by usb.
Try going into settings, then wireless networks and u should be able to tap on apn
Sent from my SPH-D700 using xda premium
I have access to the apn settings and have mirrored them on the mobile router, (apn:Sprint, username:Sprint, no pw), as well as many other settings (including combinations of everything blank) with no luck. Tried #777 and *99# as the dialed number.
When u go into wireless networks, do u tap on "tethering"? Or when u plug it in usb, do u get the option for tethering alongside with charging and mass storage?
Sent from my SPH-D700 using xda premium
I have both the wired tether app (http://code.google.com/p/android-wired-tether/downloads/list) as well as the option to tether connecting a usb device. I believe these offer the computer what appears to be a network adapter.
I don't think this device supports that. I used to use this type of tethering back with an old sanyo dumb phone. I think the computer (or in my case the wireless router, http://us.zyxel.com/products/details.aspx?PC1indexflag=PDCA200920&CategoryGroupNo=PDCA200927) is supposed to see a dial up modem.
Now obviously there are APN settings on the phone, (I'm using https://market.android.com/details?id=com.naskit.android.apnsettingsshortcut# to get to them). However, I'm not sure how the APN settings relate to what should be on the wireless router (they recommend no username, password, APN, etc). Moreso, I"m not sure if I should set the phone for charging, tether, or mass storage when the USB is connected.
I suspect that the phone simply lacks the ability to interpret generic whatever generic dialing is used. (The wireless router is designed for single-purpose usb modems as listed on it's page.) And I suspect the wireless router lacks the ability to execute what it wants (in debug mode or such) on the phone.
Ok, when u connect ur phone to ur pc and ur given those 3. Options, tap on tethering, and another screen should prompt u on ur phone. I've done this before, but its been awhile since, so ia m rusty on some of the process..(please excuse me)
Sent from my SPH-D700 using xda premium
I've tried it using the tether option that appears when you plug the USB in. Neither that or the wired tether app appears to work.
gdbassett said:
I've tried it using the tether option that appears when you plug the USB in. Neither that or the wired tether app appears to work.
Click to expand...
Click to collapse
ok...what exactly are you trying to tether though? a portable router or a laptop?
a zyxel mwr-222 portable wireless hotspot. You can read about it here: http://us.zyxel.com/products/details.aspx?PC1indexflag=PDCA200920&CategoryGroupNo=PDCA200927
Yea..I know what that is. Its a wireless router. But are using it for a laptop? Does ur laptop not have wifi capability? That's what I'm asking. If it does, u shouldn't need that. I would have to do some further research on the dialup for the epic.
Sent from my SPH-D700 using xda premium
I've got two primary use cases.
1. Access point for a car. ipod, android tablet, 2 laptops, a cell phone or two. It'll also serve as hub for providing access to media stored locally.
2. Access point to stream video/audio to allow remote DJ'ing to a theater which only has sketchy wifi access.
3. As a network core I can use for establishing a network where ever I am.
While there are probably multiple other solutions, this seems to be the best product for those. Except that it doesn't seem to do the job. (The emails to Zyxel support haven't been very promising either.)
gdbassett said:
I've got two primary use cases.
1. Access point for a car. ipod, android tablet, 2 laptops, a cell phone or two. It'll also serve as hub for providing access to media stored locally.
2. Access point to stream video/audio to allow remote DJ'ing to a theater which only has sketchy wifi access.
3. As a network core I can use for establishing a network where ever I am.
While there are probably multiple other solutions, this seems to be the best product for those. Except that it doesn't seem to do the job. (The emails to Zyxel support haven't been very promising either.)
Click to expand...
Click to collapse
beside the car... the other devices can work off of wifi connection, and you can make your epic as a direct point of access. router not needed.
LORDFIRE00 said:
beside the car... the other devices can work off of wifi connection, and you can make your epic as a direct point of access. router not needed.
Click to expand...
Click to collapse
Yep other than the car you can download wifi tether beta (google it, if you can't find it I can upload the apk for you tomorrow sometime just let me know) it works great... after downloading and before launching go into the settings and set devuce profile as epic 4g and then the next setting setup method needs to be softap... now you can wirelessly tether to anything that has a wifi driver...
Sent from my SPH-D700 using Tapatalk
For the purpose of this thread, please assume I do not want to wifi tether directly to my phone and instead want to make the zyxel portable wifi router work.
well if your going to use that router...than you might have some problems. have you check the technical support page for that router?
---------- Post added at 03:23 AM ---------- Previous post was at 03:21 AM ----------
wait a minute, have you clicked on wireless and network on the phone and clicked on tethering option? it should give you the option to check mark usb connection.
gdbassett said:
For the purpose of this thread, please assume I do not want to wifi tether directly to my phone and instead want to make the zyxel portable wifi router work.
Click to expand...
Click to collapse
You seem to be very close minded about a solution to your problem. That being said, what are your concerns with using wifi tethering directly to your phone? Range? 5 device limit? Stability? The built in tethering app (renamed from Sprint Hotspot to Wireless Hotspot) in CleanGB seems very stable to me, compared to older versions of WifiTether and it works in infastructure mode which should work with all devices.
If you also need a wired solution, you could use an older cheap wireless router with a third party firmware as a wireless client bridge. I use a Linksys WRT54Gv4 with DD-WRT running for this purpose.
If you absolutely have to use your zyxel, use a DD-WRT router as a wireless client to your phone and then connect a LAN port on the DD-WRT router to the WAN port of the zyxel. This assumes you are not using the failover option of the zyxel. You can use the USB port of the zyxel to charge the phone.
Edit: Another benifit of the WRT-54G series is that they run on 12V DC so you could easily make an adapter to plug into your ciggarette lighter. I also have a WRT-54Gv6 which will work as well, just not as capable a router as the earlier versions.
Sent from my SPH-D700 using XDA App
I think what iKm going to do is buy a $35 rasberry pi (when they become available). It should support my epic as a tethered usb network device. I can then use the rasberry pi to route both the Epic (and the pi's wifi) as WAN connections to the zyxel's WAN ethernet port. Combined with a verizon usb modem that should give me my choice of 3 WAN connections (including a 3 WAN redundancy).

Categories

Resources