***HOWTO: Internet Sharing over WiFi*** (Updated 08-Nov-2007) - Windows Mobile Apps and Games

I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (for the Hermes). It should currently be "BTPAN1".
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc")
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. I imagine this will drain your battery in a hot minute, so bring your charger.
UPDATE (28-Oct-2007): Attached are some more beta releases of patched intshare.dll. I've created versions for most of the adapter names people have requested. By renaming this dll to intshare.dll and copying it to \Windows, Internet Sharing will use TIACXWLN1 (or whichever dll you use) when Bluetooth PAN is selected. I.e., if you use this, you will not need to make the registry changes above.
This will handle the registry part, but of course you'll still need to set up the ad-hoc network on your own.
UPDATE (03-Nov-2007): I've attached a beta version of the patched Internet Sharing app. It's in its own cab so it won't overwrite your existing IS. This app replaces Bluetooth PAN with 802.11b/g Wireless Ethernet. No registry hacking required. This app is well suited to replace the MS version on cooked ROMs.
If you use an adapter other than TIACXWLN1 then replace intshare.dll just as before.
UPDATE (08-Nov-2007): Attached is v 0.9.1 of the Internet Sharing Mod. This update addresses the 10 minute disconnect bug most people have experienced.
best,
fluxist

This is the first thing I'll try when i'm at home again!
I can't believe this! Waiting for this since i got my Hermes. Thx for this development. This is the greatest effort since Hard-SPL and WM6 upgrade.
Now I can connect my XBOX360 to the Internet without starting my PC and sharing it over PC-LAN. USB-Charger is at the Front of the XBOX360.
I hope it will work.
You said the Max-Connections can be reworked. Does this mean it will support Ad-Hoc AND WLAN-Routing to many recepients too?

This worked for me too on a Kaiser/TYTN II
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?

odessaranger said:
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
Click to expand...
Click to collapse
not sure what you mean by replacing the connection. With ICS, obviously you cant share your connection over BT while sharing it over WIFI. and you can normally use wifi to connect to another computer by using an ad-hoc connection and manually entering a private ip on the same subnet for each computer.

this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....

boniestlawyer said:
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
Click to expand...
Click to collapse
Were you able to use more than one client connected?

I'll admit..when I saw this my first thought was that this was another "How can I do internet sharing via wifi" and the title was just misleading..instead I find myself very impressed with your accomplishment. Very well done! As a "hack" untill you figure out how to mod the dll which I'm sure is only a matter of time now that you have pointed everyone in the right direction, you can export the registry key for both the Bluetooth adapter and the Wifi one and "import" whichever one you want to use at a given time...it's not pretty but it should work.
Some issues of concern would be that the AP is wide open and can be connected to by anyone with no password etc...the bluetooth pairing allowed some security but using the wifi doesn't have the same shared key protection...or am I missing something obvious?
fluxist said:
I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
When I used it I was only able to get one client to connect, however there is a reg value, HKLM\Comm\BTPAN1\Parms\MaxConnections that may help if it is changed from 1 to 2 (or whatever). But I haven't tried.
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. So that's a good thing, although I imagine this will drain your battery in a hot minute, so bring your charger.
I was going to release a patched intshare.dll so that the normal Internet Sharing utility can do this, but I'm having trouble changing the section addresses in the dll to the right values after I add data. If anyone knows how to do this PM me and I'll give you the details.
best,
fluxist
Click to expand...
Click to collapse

thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist

I ran into same issue with XP internet sharing. Another workaround is to have a linux machine do NAT( since you can specify the IP used there) to whatever other clients you want and have it connected via bluetooth dun or bluetooth PAND (which is the solution I use to give internet to my replaytv and a couple of laptops in the house)...my edge connection is my main internet feed..a cacheing proxy such as wwoffle, squid of my personal preference "polipo" helps alot to when using gprs/edge etc since it helps with the latency.
fluxist said:
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
Click to expand...
Click to collapse

Impact on BT?
What a brill find. Well done.
Does it break anything with bluetooth?
Tx

can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)

if someone manages to get this working with xbox 360 make a tutorial plx ;D

superflysocal said:
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
Click to expand...
Click to collapse
thats what i wanna know , could i use my hsdpa connection via wifi to my psp?

I'll do a tutorial when i'm at home again. Maybe somebody with know-how can make a cab-file v1.0 for this "WLAN-Modem hack".
This surely will be a great app.

yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist

when you say click "IEEE 802.11b/g Compatible Wi-Fi" do you mean the wifi network adapters in my case would be "tiacxwln compatible wireless ethernet"? im trying it on a 6700 WM5

I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
Got it - except on my device it's Programs -> accessories -> IS
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
Check - but is the T1ACXWLN1 device specific? If so, how can I find the interface ID on my device?
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
For me it's settings -> connections -> network cards, but I don't have an IEEE 802.11 listed. I connected to an existing AP, and found that my 'SDIO WLAN Wireless Adapter' does receive a DHCP address, so I tried changing it to 192.168.1.1...
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
Found this and set up my WING-FI network.
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
The client PC connects to WING-FI, but never receives an IP address...
What could I be doing wrong? Is it the hardware ID in the registry? I've created the network with WPA, then after the connection problems, with no security - but still no change.
Thanks!!
Ryan

neonstorm said:
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues...
Click to expand...
Click to collapse
Very likely the string TIACXWLN1 needs to be something different. Check HKLM\Software\WZCSV\Parameters\Interfaces\
There should be a key there with the name of your wireless adapter. It should end in "1".
And if not there, it should also be visible under HKLM\Comm\
Let us know how it works out.
EDIT: I just noticed you typed T1ACXWLN1. The string must be TIACXWLN1. That's "i" not one.
fluxist

I own a PPC6700 as well and I was able to get it working no problem other than the fact that our wireless adapter is not the same as the one mentioned. The reg edit is the same it's just the first network adapter in the list when you create the network settings.

fluxist said:
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
Click to expand...
Click to collapse
If you send me the dll I could look into it.
i have some experience with editing dlls.
good work man

Related

ICS Control v.21 - utility for controlling internet connection sharing

UPDATE
April 5, 2008 - v0.21 released.
ICS Control is a GUI front-end for Internet Connection Sharing, a component of Microsoft Windows Mobile. It can be configured to do a variety of things including sharing your cellular internet connection over an adhoc WiFi network.
Requirements: .NET Compact Framework 2.0 and Windows Mobile 5 or later with the IPNAT driver included (most WM6 builds have this built-in). The "Internet Sharing" application that some phones have is not required, but IPNAT is.
ICSControl is a single .exe file, included in the zip file below. You can place it directly in /Windows/Start Menu/Programs/ on your device and it will appear as an icon in Programs. Or you can place it elsewhere and create a shortcut.
Comments, bug reports, and requests are welcome.
If you like this program and would like to express your appreciation with money, you can donate via Paypal.
Changelog
v0.21
- Added host names from DHCP leases to DMZ and InternalHost dropdown lists.
v0.2
- DHCP Lease editing is completed.
- Virtual Server (aka incoming port mapping) configuration is completed.
- Application definitions (aka outgoing port triggers) configuration is completed.
- Added really simple icons.
- Attempts to accomodate weird ipnat driver configurations.
- Other minor changes/fixes.
v0.11
- Added auto-dialing to Connection Manager destinations
- Added private interface IP setting
- Fixed bugs involving the up/down controls.
- IMPORTANT: If you were using v.1, some of your saved settings may be messed up. To fix this, press the Set All Defaults button at the bottom of the settings panel.
More info on Internet Connection Sharing
ICS allows a private network (for example, an ad-hoc WiFi network) to access another network (for example, the internet) as long as the Windows Mobile device is connected to both networks. It should be able to share between any set of adapters. The common configurations of course would be:
Cellular to WiFi (probably the most common scenario, sharing internet access to a WiFi network)
Cellular to Bluetooth PAN
Cellular to USB
But it should also work with more "interesting" combinations like:
VPN to Wifi - get wireless clients onto a VPN
Wifi to Bluetooth - allow bluetooth network devices to access a WLAN.
Wifi to USB - basically the pda acts as a wireless network card for the PC (neat, eh?)
Will this allow you to select the wifi adapter as well?
pflatlyne said:
Will this allow you to select the wifi adapter as well?
Click to expand...
Click to collapse
Yes. I guess I should point that out as that is probably what people want to do with it. It should be able to share between any set of adapters. The common ones of course would be:
Cellular to Wifi,
Cellular to Bluetooth PAN,
Cellular to USB.
But it should also work with more "interesting" combinations like:
VPN to Wifi - get wireless clients onto a VPN
Wifi to Bluetooth - allow bluetooth network devices to access a WLAN.
Wifi to USB - basically the pda acts as a wireless network card for the pc
Will test this out when I get home tonight...will find out if Sprint noticed it later this month when the bill comes in
Wow! Sounds great. Downloading now.
This looks interesting. I am hoping this might help me get my phone connected to my laptop as a modem. I do not appear to have the ipnat.dll. Any suggestions?? TIA. AARMD
aarmd said:
This looks interesting. I am hoping this might help me get my phone connected to my laptop as a modem. I do not appear to have the ipnat.dll. Any suggestions?? TIA. AARMD
Click to expand...
Click to collapse
Transplanting ipnat.dll (and the necessary registry settings) from another device is possible but I'm pretty sure it's illegal to distribute it. I know, people do it all the time, and there is no reason for MS to care, but I'd still rather not be the one to do it.
I am using a Verizon 6800 with WM6 Pro and DCD 2.2.5 ROM installed by an acquaintance. I can find an ipnat file, but it is not listed as a .dll. It shows up with the Windows logo. Does this help at all? I am sorry, but I am somewhat new at all this. AARMD
aarmd said:
I am using a Verizon 6800 with WM6 Pro and DCD 2.2.5 ROM installed by an acquaintance. I can find an ipnat file, but it is not listed as a .dll. It shows up with the Windows logo. Does this help at all? I am sorry, but I am somewhat new at all this. AARMD
Click to expand...
Click to collapse
That's it. File Explorer hides the extension.
Cool, this is working on my Alltel 6800. I have a laptop that had its internal wireless hosed, I am now posting using the HTC as a (very expensive) wireless card
Right now I am running through USB, I have to check it out and see if it works with bluetooth.
dangelon said:
Cool, this is working on my Alltel 6800. I have a laptop that had its internal wireless hosed, I am now posting using the HTC as a (very expensive) wireless card
Right now I am running through USB, I have to check it out and see if it works with bluetooth.
Click to expand...
Click to collapse
Hey, most wireless cards can't make phone calls Let me know if it works with bluetooth. Also when bridging like that using the DMZ option could be useful since there is only one USB client so all traffic should route to it. If you hit Refresh after your laptop is connected you should see a host entry in the DMZ dropdown, just choose the laptop's ip and then hit stop ics then start ics.
I couldn't get the WiFi to Bluetooth working, but this laptop has had ongoing bluetooth issues. I'll try it out on my MacBook Pro when I get back from vacation.
Yes, on vacation and still dorking around with the phone. The biggest challenge: finding where my girlfriend hid it after getting upset about where my attention has been focused.
Does using this program burn up you wireless minutes or do I need a special internet plan added to my account?
diterex said:
Does using this program burn up you wireless minutes or do I need a special internet plan added to my account?
Click to expand...
Click to collapse
If you use it to share your internet access then you may be charged for your data usage depending on your service plan. If you don't have an unlimited data plan then you will be charged under most circumstances. On some older phone plans data usage is treated like phone minutes and nights and weekends are free.
I was talking to my sprint rep and they said if the phone is used as a modem then extra charges will be applied even though I have unlimited data. This program works around that?
diterex said:
I was talking to my sprint rep and they said if the phone is used as a modem then extra charges will be applied even though I have unlimited data. This program works around that?
Click to expand...
Click to collapse
I do not know how they determine whether you are tethering or not so I can't say for sure. But, seeing as how I've been using this myself quite a bit, I'll find out when I get my next bill from Sprint.
Changes in v0.11
- Added auto-dialing to Connection Manager destinations
- Added private interface IP setting
- Fixed bugs involving the up/down controls.
- IMPORTANT: If you were using v0.1, some of your saved settings may be messed up. To fix this, press the Set All Defaults button at the bottom of the settings panel.
Wow, this is a great looking app, sort of like a free WMWifiRouter except free and much more powerful with tons of neat options. Keep up the great work, this app has real potential.
Have this program stopped working? I down loaded the file and try to open the exe. file but a window pops up saying the program have stopped working. Any ideas of what is going on? I am running windows vista if it helps any.
etphonehome said:
Have this program stopped working? I down loaded the file and try to open the exe. file but a window pops up saying the program have stopped working. Any ideas of what is going on? I am running windows vista if it helps any.
Click to expand...
Click to collapse
You need to run it on your PPC...

[UPDATED 2/25/2009] SocksProxy v1.0: Free SOCKS proxy for internet sharing

I have created an SOCKS proxy server application to run on Windows Mobile phones. A SOCKS proxy is a proxy server that is capable of forwarding nearly all types of network traffic, similar to a NAT router. It is very simple to use. Simply type in the port you would like the proxy server to listen on (defaults is 1080), then click the large "Start Proxy" button.
In order to run this application you will need the .NET Compact Framework 3.5 installed on your device.
Some applications are SOCKS-ready and others are not. You can use FreeCap (freeware) to SOCKS enable any Windows application. ** FreeCap seems to have problems connecting to SocksProxy. Let me know if it works or doesn't work for you. **
I am *NOT* responsible for any fees charged to anyone for the use of this software. There is no warranty and no guarantee.
[UPDATE 2/25/2009]
I've completed the new version of SocksProxy. It implements socks version 4a. There is no security, so it will allow anyone to connect with any user id.
Please let me know of any issues you find.
[UPDATE 2/24/2009]
SocksProxy v1.0 Reboot
--------------------------------------------------------------------------------
I've completed the new proxy server. It looks pretty much like the old one, but I've anchored the controls to the edges so it should scale properly with VGA devices.
I've written a new Socks 4a proxy from scratch and completed ditched all the old code. It seems to be working pretty well, though a bit slow. I think I need to increase the size of my read buffers. I will have to write a smarter heuristic for determining the size of the buffer per connection though. I have them at 128 Kb now. I need to grow each buffer dynamically according to how it's being used, that way I don't create large buffers for connections that are only transfering small amounts before closing (downloading a small gif or javascript file, for example).
I'll probably release it tomorrow after some more testing.
BTW: I'm posting this through the proxy right now!
[UPDATE 2/24/2009]
I've decided not to move forward with the J2ME version of SocksProxy. I will however be writing a new .NET CF version. The current version's proxy is based on code I ported from a proxy targeted to the standard .NET framework. Some features in the standard framework are absent in the compact framework. When porting the proxy I pretty much just did it as quick and dirty as I could because I really wanted something that just got the job done. I didn't care how stable or 'good' it was because I hadn't even intended on releasing it to anyone. Since it looks like there's still a lot of interest I will be writing a new one from scratch. Don't expect too much; It'll be the simplest thing that possibly works, but it'll be stable and reliable.
I'll be naming this version SocksProxy 1.0 Reboot. I'm not upping the version number because I'm really not going to be adding any new features.
[UPDATE 11/4/2008]
I am working on a J2ME version of this application. I will no longer be maintaining the .NET version of the application. The SVN repository for the .NET version will continue to be available. I have no plans on taking it down.
I have decided to switch to J2ME because I will be able to reuse source code in a future Android release -- that is, if Google or someone adds the ability for Android to have more than one IP address.
[UPDATE 10/27/2008]
There is a usage issue with the application with certain configurations of Windows Mobile and Activesync. It seems that when the Activesync host (your PC) has a connection to the internet the handheld device will prefer to connect to the internet via the PC's connection rather than its cellular connection. This completely eliminates any benefit to using the proxy. Does anyone know how to prevent the handheld from routing its internet traffic back through Activesync? Note that this is NOT solved by setting the "Allow data connections" setting in Activesync.
[UPDATE 10/27/2008]
I have updated the SVN respository (https://pchasco.homedns.org/svn/SocksProxy/trunk). Here are the changes:
* Changed "Listening on" box to list all IPs on the handheld
* Added an IP box. Enter an IP to listen on that IP or leave blank to listen on all.
* Rearranged form
* Added "Use selected IP" button to insert into the IP box the IP selected in the list of available IP addresses.
You can enter any IP address in the IP box, but the proxy will fail to start if the IP is not valid for your device.
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Can someone please explain a sample usage of this software on Windows Mobile?
pchasco said:
This is a SOCKS proxy, so it does not work in quite the same way that a normal HTTP proxy does. For internet explorer you'll have to open the advanced proxy options and fill in the information for the SOCKS hostort entry.
Click to expand...
Click to collapse
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
abdulzis said:
Can someone please explain a sample usage of this software on Windows Mobile?
Click to expand...
Click to collapse
I'm not sure what you mean. An example of how to use it or an example describing why someone would want to use it?
hoopsbwc34 said:
Have you used this with ICS? In other words, share your internet connection with a computer and then have the computer connect via your sock proxy to the internet?
Click to expand...
Click to collapse
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
pchasco said:
I am not sure why you would need to use both SOCKS proxy and ICS at the same time. They are both means to provide internet connectivity through your phone to another device. If ICS were an option on my phone, I would use it over SOCKS unless the client device did not support it.
Click to expand...
Click to collapse
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
edit... I'm good with using it without ICS, but that doesn't seem to work either. No matter when I click start proxy, I get an IP of 0.0.0.0 and if I connect my computer via USB I can't ping that address.
hoopsbwc34 said:
Basically, I'm trying to allow access to two networks at the same time. So I want to adjust my settings in firefox to point to my WM phone and your socks proxy. Then my other applications and IE can use my LAN. Otherwise, to get my WM ICS to work I have to disable my LAN connection which I need for certain apps.
Click to expand...
Click to collapse
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
pchasco said:
Then setting the SOCKS proxy setting without setting any other proxy settings should work in Internet Explorer. I've been trying to test it, but my phone refuses to access the internet through the cellular connection right now; it's always going through my PC while activesync is connected. I can't get it to stop! The funny thing is IE on my PC is making its HTTP requests through my phone, then my phone is going right back through my PC to the internet!
Click to expand...
Click to collapse
I think there is a setting in ActiveSync that says "allow wireless connections when connected" sounds like that might be your problem.
Mr_Gee said:
Hi pchasco,
Could you explain a bit more what this does (and how it works)?
The reason I ask is that I'm looking for an application for the PPC which allows me to share its internet connection by pointing the Desktop browser' proxy to the PPC.
This allows me to be connected to the wired network and using this proxied browser to browse even the blocked sites ...
Can your application be used for this?
If so could you also explain how it works..
I've ran the App on my PPC, and clicked start, this gave me an IP address
next i hooked it up to USB and pointed IE's proxy to that address...didn't work
I also tried to activate the 3G first and/or with ICS activated
but both times I didn't see a IP address...
I'm probably doing something wrong..
Thanks
Click to expand...
Click to collapse
Sounds like the same thing that is happening to me. I finally got it to give me an IP address, but only if my data connection is inactive. As soon as the data connection is active it becomes a 0.0.0.0 IP address. Bug?
I tried to establish the IP, then activate the data connection... still doesn't work when I enter the IPort into my proxy list for firefox.
hoopsbwc34 said:
That's what I tried... but the IP address I get is 0.0.0.0 from your app. What IP do you usually get back when you run it? Do you just connect via USB? If ActiveSync is running is that an issue?
Click to expand...
Click to collapse
I am not sure why you are receiving 0 as your IP address. Check in Settings->Connections->USB to PC that "Enable advanced network functionality" is selected.
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
pchasco said:
Hmm... I'm not sure what's going on here. 127.0.0.1 is the loopback interface-- It is only valid for your phone to connect to itself. If your computer attempted to connect to 127.0.0.1 it would connect to itself, not your phone.
Click to expand...
Click to collapse
Yes I know... :-/
Well, if I have time in the next few days I will take a look and see whether there is anything I can do. Maybe there is another IP address available on your device but for whatever reason I'm displaying the loopback instead of the external interface.
What happens when you set your proxy client up to go to 169.254.2.1:1080?
Mr_Gee said:
Gave it another try
Connected to ActiveSync (AS) loaded the application
removed the AS connection, started the application
It showed me the IP address op 127.0.0.1 (localhost)
Stopped the App, initiated the gprs and started the App again.
now i'm getting an IP of 0.0.0.0, I restarted the App a couple of times but no dice
I also checked if the advanced network functionality was enabled and it was..
Click to expand...
Click to collapse
Sounds like the same bug I am getting.
An example describing why someone would want to use it?
abdulzis said:
An example describing why someone would want to use it?
Click to expand...
Click to collapse
If you can't use ICS and want to connect to the internet from your desktop, you can connect your phone using USB and start this proxy, then you can setup your desktop connection to use the proxy to get internet access.

BT DUN WModem

Has anyone been able to successfully connect DUN over BT using wmodem? I have installed the addon cab and can find the DUN connection when pairing my phone with my laptop, but when I go to connect it gives me a 678 error. I have no problems connecting wmodem over USB or using "Internet Sharing" to connect cover BT and USB.
dun
Had issue with wmodem but Internet Sharing that was on my custom rom works like a champ. I'm pulling 1.0 to 1.2 Mbps almost all the time. I can't remember if it was on my stock rom, but if not, I'm sure it's available somewhere on here.
Nate
i was just about to do a search on this. then i scrolled down the list and found this post. I'm very interested in getting BT DUN working on my Mac, since you can't use USB.
If you find an internet sharing cab, can you post here?
Thanks.
yeah i do not mean to hijack your thread but when i try to tether via bluetooth to my new macbook with internet sharing, the internet connection crawls!! i mean CRAWLS!!! lol
I have BT and USB connection with a windows laptop and it runs perfect. any ideas on how to speed up the connection?
Thanks!
http://www.wmwifirouter.com
this is really the best solution if you want to connect to a Mac. Works perfect and is worth the money! Hella fast too when connecting through WiFi. But you have the option to connect through WiFi, Bluetooth & USB.
When I connect through WiFi, I'm getting 1.2mb down and 500kb up.
It worked great for a while about a month or 2 ago when I bought it. But then I was playing with the Mac network settings and stuff and managed to jack it up. But here's what I was doing wrong:
Connecting through WiFi, there is open & wep. I chose wep. So on WiFiRouter you select your wep password. I chose a simple word, let's say "keyboard". On the Mac when you select to connect wep, using keyboard for the password won't work. You need to enter the 20 digit hex value that WiFiRouter gives you after you put in the password "keyboard".
Hope this helps anyone who might have problems setting it up. I didn't change any settings on WiFiRouter. Works right out of the box. You just have to make sure you set it up correctly on the Mac.
I use ICS over Bluetooth all the time. works great.
I now have ICS. Unlocked my HTC Touch Pro and used Scott Scrosler's ROM. But I'll most likely use WiFiRouter since it's about 3-4X faster going through WiFi. Need the speed for VPN.
I have an HTC Touch Pro and an asus eee pc and have tried and searched everywhere to figure out how to bluetooth pair these two, but I've had no luck. I can USB pair just fine with Internet Sharing. Has anyone had success with this? I'd rather go the free route than spend the $ for wmwifirouter, if possible. TIA
Well on W7 at least all I have to do is select Bluetooth as my connection option in ICS and then right click on my phone in the Bluetooth Devices window on my PC and go to where it says "Join PAN" and it connects faster than it would by USB. The range sorta sucks though. Has to be within like 5 feet to keep from disconnecting. But GRemote works from like 25 feet away.
Internet Sharing NO Registry Edit Needed
Hi. For those with ATT FUZE Stock Rom
I got this CAB (ICS INstaller) from a website with a topic of the last free version of WMWifiRouter by chainfire, just install the CAB and it will enable Internet Sharing, and NO registry edit needed.
As far as I remembered this is needed in order to use Internet Sharing and also if you want to use WMWifiRouter by chainfire.
Enjoy.
hidavi said:
The range sorta sucks though. Has to be within like 5 feet to keep from disconnecting.
Click to expand...
Click to collapse
I'm facing a lot of disconnects using Bluetooth PAN, however over USB works great! If I have to use the cell phone near the computer, I'd rather use the cable.
I only wanted to use bluetooth because I could put the cell phone near the window which is where I have better signal when I'm on the mountains with GPRS-only..

[GUIDE] Creating infrastructure Wi-Fi with Windows 7

So I just got my touchpad today, and was made aware that it doesn't support ad-hoc networks, which I use somewhat frequently to share a wired connection via my laptop. I just bypassed it by using my phone as a hotspot (android creates infrastructure), but after a little searching I found a nice little video on youtube about how to create an infrastructure network from Windows 7.
http://www.youtube.com/watch?v=klHzMyYFGeQ
Lets all give this guy some thanks.
For those of you that can't/won't go to youtube, the general gist of it is that you need an unused wifi network adapter and an internet connection. You then set up the network by running as administrator:
Code:
netsh wlan set hostednetwork mode=allow ssid=testwifi key="123456789012"
Then you share the internet connection with the (maybe new) Microsoft virtual WiFi Miniport Adapter. Now you're ready to start it with:
Code:
netsh wlan start hostednetwork
And you can check its status via:
Code:
netsh wlan show hostednetwork
cannot create Microsoft virtual WiFi Miniport Adapter
dorsai3d, thanks for the information. I had been trying to use my Sprint TP2 as a wifi router, and was getting really frustrated. If this would have worked, it would have been awesome.
So what I am trying to do is use USB to theter to my Windows 7 64bit laptop, and use the Wireless adapter on the laptop in infructure mode to theter to Touchpad.
When I run the
"netsh wlan set hostednetwork mode=allow ssid=testwifi key="123456789012" command, it runs fine (as admin).
"The hosted network mode has been set to allow.
The SSID of the hosted network has been successfully changed.
The user key passphrase of the hosted network has been successfully changed. "
++
This is the error I get when I run "netsh wlan start hostednetwork"
"The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation."
++
output for
"netsh wlan show hostednetwork"
Hosted network settings
-----------------------
Mode : Allowed
SSID name : "testwifi"
Max number of clients : 100
Authentication : WPA2-Personal
Cipher : CCMP
Hosted network status
---------------------
Status : Not available
+++
No virtual adapters were created, like in the video, nor was there one to begin with.
So I am guessing that is the crux of my problem
I use Ad-hoc mode quite often, I have Intel 4965AGN for my wifi adapter on this laptop.
and I use my 3G on the Touch Pro 2 at my primary internet at home
Anybody running into similar issue, or might know whats going on. Will appreciate any help, thanks.
loving my touchpad btw
As this is a relatively new feature, you may need to reinstall/update the drivers for your current wifi adapter. I'm not a big networking person, so I'm afraid I won't be too terribly much help, but maybe we can get this all headed in the right direction. I'm afraid it looks like there won't be a solution for getting windows mobile to create an infrastructure hotspot if it's one of the new selling points in Windows 7.
For reference, I'm using the Intel WiFi link 1000 BGN and the virtualized adapter was already there for me.
Yup, driver issue. Looks like I might have to buy a second wireless nic that supports this feature. Just knowing that this is possible it a great start
now to find a cheap usb wifi nic that dose support this. I have a Intel 5300AGN on my work laptop, I think that is supported.
thanks for your help though.
edit:
lookes like even Intel 5300AGN dose not support VWIFI
I made the infrastracture Wi-Fi with windows 7 and it works perfectly with my Android S3 phone and tablet but when I try to connect my Iphone with it....My lan connection frezees and I am unable to access internet at all .....
Then I have to disconnect my Router and restart it...
I surfed and I guess I have o connect to the hotspot through VPN.....But I dont know the details to fill in....
The Iphone 4s ask the following details for VPN connection
L2TP PPTP IPsec
Please help me !!!!!!

Question Bypassing hotspot/tethering throttle speed on n200 5g

Got a free n200 through tmobile to use as a hotspot device for my pc. I was previously getting the job done by using a galaxy note 3 and setting my pc's ttl to 65 but apparently that doesn't work with the newer phones.
I did some searching online and haven't been able to get a definitive solution to bypassing the hotspot throttle, as people seem to have varying results.
Had a lot of issues with PDAnet+, so it's definitely not a long-term solution for me.
Just sent an unlock request to OnePlus, hopefully by next week I'll get the unlock file and I'll root the phone. I'm assuming that rooting the phone will expand my options for what I want to do. Anyone have a solution that worked for them?
Yo, it's like dns hijacking, in fact, this is what you have to do to bypass this.
I'll paint a scenario, see what you make of it...
I plug my sim into a wifi router, in the control panel of this router, I set the wifi to use the 2nd ip, (yes, all isp's actually give you 2 ip's, one that is public, one the isp use's to spy on you, and the one you see in your ethernet card, usually 192.168.1.1.
Your wifi router runs adb, so it is on a different network, being 192.168.0.1, if you set your connecting device to your public ip shown by the router, and nxbogus domain your isp's private number seen in the router, (usually 100.whatever) and their dns, then set your prefered dns in the connecting device, you will bypass the throttling, but you will notice something else...
They throttle you by lowering your phones coverage lol...
Notice in your wifi setup pages your signal will drop from say 75% to 25%, and if you check the config logs, you'll see your limited 90% by the isp..
Yup, I'm isp level in this department..
didn't understand half of what you said. can you break it down a lil bit more?
l0csta said:
Got a free n200 through tmobile to use as a hotspot device for my pc. I was previously getting the job done by using a galaxy note 3 and setting my pc's ttl to 65 but apparently that doesn't work with the newer phones.
I did some searching online and haven't been able to get a definitive solution to bypassing the hotspot throttle, as people seem to have varying results.
Had a lot of issues with PDAnet+, so it's definitely not a long-term solution for me.
Just sent an unlock request to OnePlus, hopefully by next week I'll get the unlock file and I'll root the phone. I'm assuming that rooting the phone will expand my options for what I want to do. Anyone have a solution that worked for them?
Click to expand...
Click to collapse
you could always use this classic app been around for yrs its called pdanet/Foxfi........ http://foxfi.com/
PopCaps1996 said:
you could always use this classic app been around for yrs its called pdanet/Foxfi........ http://foxfi.com/
Click to expand...
Click to collapse
yea i'm using easytether rn, very similar to foxfi and pdanet+... not a permanent solution however, as it tends to randomly disconnect and i often get kicked out of games due to "network lag". Speeds are exponentially faster than the throttled hotspot, however, so i wont complain.
still, would be nice if there was a solution to this for the native hotspot/tether features... tried everything with apns and changing the ttl on the phone but it didn't work.
looks like someone found a solution for the moto g 5g here, maybe i'll try to implement this for the n200, could be a possible workaround.
l0csta said:
yea i'm using easytether rn, very similar to foxfi and pdanet+... not a permanent solution however, as it tends to randomly disconnect and i often get kicked out of games due to "network lag". Speeds are exponentially faster than the throttled hotspot, however, so i wont complain.
still, would be nice if there was a solution to this for the native hotspot/tether features... tried everything with apns and changing the ttl on the phone but it didn't work.
looks like someone found a solution for the moto g 5g here, maybe i'll try to implement this for the n200, could be a possible workaround.
Click to expand...
Click to collapse
moto g solution you posted requires a special kernel. usb tethering through PDAnet+ paid version works fine, the key is you dont enable it thru the native tethering, instead enable USB tethering through the PDAnet app and leave the phone on charging mode so it can make a ADB connection. Make sure ADB is working and you can establish a working adb connection from PC to phone first prior to attempting to tether since it will use ADB. i get full speeds tethering using the paid version.
AiM2LeaRn said:
moto g solution you posted requires a special kernel. usb tethering through PDAnet+ paid version works fine, the key is you dont enable it thru the native tethering, instead enable USB tethering through the PDAnet app and leave the phone on charging mode so it can make a ADB connection. Make sure ADB is working and you can establish a working adb connection from PC to phone first prior to attempting to tether since it will use ADB. i get full speeds tethering using the paid version.
Click to expand...
Click to collapse
yeah i've been doing this via easy tether, gets the job done for the most part
For me, PDAnet has low throughput while EasyTether runs full speed and can be used with OpenWRT. They both disconnect randomly though.
No reason to deal with that if you have root. AdGuard+VPNHotspot+noprovisioning is easy to setup and works fine for most networks.
l0csta said:
didn't understand half of what you said. can you break it down a lil bit more?
Click to expand...
Click to collapse
Only connection is WAN to WAN!
Ok, first, I use an lte wifi router, enter gui, goto lan, change router login ip to any ip not 192.168.1.1 or 192.168.0.1, the latter is hidden in router, but when trying to connect 2nd router, using this ip, problems appear, because the 1st router has adb enabled due to the lte section of 1st router being android 6, and uses's it.
So in effect, I set 1st routers address to 192.168.1.5, 255.255.254.0, 192.168.1.3 ie, this is 1st router login address. In the 2nd router I set mac address of 1st router to use 192.168.1.3, having been set in the 1st.
I do this because if I set 2nd router to match 1st routers address, the 2nd router auto changes address, when plugged in to first, and the 1st router changes too.
So now that you can goto 192.168.1.1 in 2nd router with 1st plugged in, try 192.168.1.3.
First part over, now the tricky part...
Disconnect 2nd router (this Will become your MAIN router)
Start 1st router with sim in, only to obtain public ip, because you need to set this ip in WAN of 2nd router. If your ip changes every reboot, you need to check public ip from first router match's what you set the wan ip to in 2nd router.
Now when you are in 1st router's network/lan settings, look for option to use 2nd ip. enable it, in the ip box put your public ip, ie your internet ip, and remove all access to anything else, including disabling wifi, both 2.5 and 5g.
So now plug in 2nd router WAN to first routers WAN.
Go into 2nd router, and block the PRIVATE ip seen in 1st router, the ip the isp shows you, and NX=bogusdomain your isp's private dns
In your WAN page of 2nd router, set preferred dns.
Voila.
70-80% increase in response.
The hardware method to block dns hijacking
Ps any reboot of the first router will change its ip due to being lte, so remember to check 2nd router match's after any power outage...

Categories

Resources