yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] fluxist:
Ohh ok. Well then if one puts all those file in a directory and replaces the original ipshare.dll with the patched one I attached above, then they can use the functionality I added (Bluetooth PAN selection enables Wifi, no registry changes needed). That's how I've been doing my testing.

InternetSharingEnable(arg) takes one arg. The other three functions take two. Time to look at this in a debugger.

fluxist
[Windows Mobile Apps and Games] N2A:
Okay. In the meantime, I'm going to continue my MSDN research, and work out how viable it is to implement a straight new ICS application, in case it's not too easy to hook into what we've got!
[Windows Mobile Apps and Games] N2A:
Found some useful info while googling.

From this newsgroup thread:

yang-yang - 15 Feb 2007 22:06 GMT
Hi,
I am working on an app which uses the Internet Sharing API , in Crossbow.
I am having issues with setting up the parameters in the function
InternetSharingEnable(...). How sould I configure the params 2 and 4 ?

Would someone point me to sample code ? or share their own ?
Here is my code , and the error I get is :ERROR_INVALID_PARAMETER.

int InternetSharingActivate()
{
InternetSharingConnectionType PublicType;
InternetSharingConnectionType PrivateType;
DWORD result;

PublicType= InternetSharing_Type_RNDIS;
PrivateType = InternetSharing_Type_CELLULAR_DATA;

result = InternetSharingEnable(
PrivateType,TEXT("RndisFn"), PublicType,TEXT("The Internet") );
if (result == ERROR_INVALID_PARAMETER)
{
printf(" ABCBridge :ConnMgr : InternetSharingActivate : result =
ERROR_INVALID_PARAMETER , %d",result );
MessageBox(NULL, TEXT("InternetSharingActivate :ERROR_INVALID_PARAMETER
"), NULL, MB_OK);
}
else if (result == ERROR_ALREADY_INITIALIZED)
{
printf(" ABCBridge :ConnMgr : InternetSharingActivate : result =
ERROR_ALREADY_INITIALIZED , %d",result );
MessageBox(NULL, TEXT("InternetSharingActivate :ERROR_ALREADY_INITIALIZED
"), NULL, MB_OK);
}
else
printf(" ABCBridge :ConnMgr : InternetSharingActivate : result =
%d",result );

return 0;
}

This seems to point to InternetSharingEnable(PrivateType,TEXT("RndisFn"), PublicType,TEXT("The Internet") );

I'll continue to post whatever I find, but information seems scarce on this one.

That said, a post underneath by Greg Scott of the WinCE networking guys said "The "private" network is typically RNDIS or Bluetooth PAN. The "public" network is the cellular. I think you have them backwards."

But either way, it's a start.
[Windows Mobile Apps and Games] fluxist:
That's an interesting find. I wonder where he got the documentation from (if he has it, that is). If the IS API is published then damned if I can find it.

Here's a link to the google groups archive of that discussion:

http://groups.google.com/group/micr...Internet+Sharing+API"&rnum=1#a9c637f89b0575b6

It would be nice to see the rest of his code. If only to know what he #defined InternetSharing_Type_RNDIS and nternetSharing_Type_CELLULAR_DATA as.

fluxist
[Windows Mobile Apps and Games] N2A:
I'm seeing what I can find out from the Windows CE guys. They seem to be a pretty helpful bunch, anyway.

I was looking for the google groups link, but couldn't find it. Then again, it was 2AM again ;)

I'll continue searching in the meantime.
[Windows Mobile Apps and Games] N2A:
I've been looking up how to use the NAT system built-in, and seeing if I can write a proper NAT activation program, rather than a hacky ICS workaround (if we don't get too far with intshare.dll). As far as I can see, intshare may well just create one big DMZ. If I can do it properly with NAT, it'll be full multi-device. Possibly with multiple connection methods available, too! (Okay, maybe that's pushing it a bit ;))

More to follow. And I'd better get to grips with C# sharpish! (No pun intended...)
[Windows Mobile Apps and Games] PUNiZZLE:
Okay guys I need some help! I have aan Eten Glofiish M700 and I am trying to do tis. I followed all the steps and I have my laptop it dected my network and I connected to it, but the internet connection isn't there :(

I'm not exactly sure how to setup the bluetooth PAN. Curreently I'm using activesync via bluetooth to connect to my phone to the internet and I love it, but how do I setup the "bluetooth pan and the "Internet Sharing apllication"?

Thank You
[Windows Mobile Apps and Games] Pyrofer:
Is there a way to make the SSID appear as a wired basestation, ie an BSSID?

I want to use my phone to bridge to my new iPod Touch that has wifi only.

I think the iPodT doesnt show ad-hoc, only Base station
[Windows Mobile Apps and Games] N2A:
Did you do the registry stuff exactly as specified in the order specified?

(If it's any consolation, it didn't work properly for me either.)
[Windows Mobile Apps and Games] N2A:
Not at present as far as I know. There's no software access point kit here, and it'd involve new network card drivers afaik.

Just for the record the iPod Touch can connect to ad-hoc networks without a problem, I just had someone verify it.
[Windows Mobile Apps and Games] afeudale:
anyone have luck getting this to work on a WM6 Smartphone? Specifically the HTC S630 (Cavalier)?

I tried the instructions here:

http://www.firstloox.org/forums/showthread.php?p=72091

But still no luck on the 630...it connects to the PC with WiFi, but no internet access...
[Windows Mobile Apps and Games] fluxist:
So I stopped in at the Eyebeam studios in NYC today to check out the end of their Interference exhibition. If any of you guys are into experimental electronic/technological/future art I recommend you check it out. Eyebeam does some seriously cool stuff. Anyway, since the exhibition was a retrospective, they had one piece from 2002 displayed under a video loop showing contemporaneous news coverage of its initial display. It was a bicycle rigged up with equipment to be a self-powered (literally) mobile wifi hotspot. The artist made various comments about how its designed to provide ephemeral net connections to wherever whenever and blah blah blah artist statement.

Obviously, it made me think of this thread here that I started. Funny coincidence (or Synchronicity?). But this could be a big development. And if everyone enabled wifi sharing on their devices when we walked around, well, it'd be a nice little gesture of civic charity :)

If only the battery would last more than 10 minutes...

fluxist
[Windows Mobile Apps and Games] TurboX2:
so.. ive been trying to replace the .dll

i cant figure it out. It keeps telling me that the file is write protected and it cannot be overwritten, and it is not letting me change it.

I really want to change it kuz i dont use bluetooth for networking on this anyway.. its not a good combo.

but this is an amazing tweak, which should really be incorperated by windows roms. Brings phones to a totally different level, especially when its used with 3G... speed tests go beyond 800 kbps for me on this..
[Windows Mobile Apps and Games] fluxist:
Using the patched version of Internet Sharing (for TIACXWLN1 only)

TurboX2, the dll is located in ROM so you will not be able to overwrite it on a live device. It would have to be incorporated during the cooking stage. If you'd like to use it, what you should do is download the IS zip file in this thread that contains the extracted components, unzip them into /Program Files and then replace the dll in there. You can then change the IS link to point to that new copy of IntShrUI.exe and when run it will use the local (patched) copy of the dll.

fluxist
[Windows Mobile Apps and Games] GpsPasSion:
Nice tip, but since it's adhoc, not sure what real advantage there is over using a BT Dial-Up, provided you have BT on your laptop of course ? Has anyone had any luck with the multiple client tweak ? If not I'd suggest removing AP from the title as it is a bit misleading ;-)
[Windows Mobile Apps and Games] TurboX2:
The main advantage to this is speed- wirelessly.

with bluetooth, internet goes on average ~78 kbps

with the wifi, it will go as fast as the 3G will let you.. which would be in the 800's kbps.

you can set it up on any computer as easy as wifi, wether it is yours or not..

you dont need active sync installed at all.

i cant try it today, but tommorow im going to see if i can make it a multiple computer connection by setting up a network in windows with the laptops.
[Windows Mobile Apps and Games] GpsPasSion:
Thanks for the answer. Actually I have no problem getting 3G+ speed with my IBM laptop, the speed limitation of 115200 is only for PDAs in my experience, not PCs. But agreed on setting up if you don't know how to create a BT Dialup connection, I'm glad I have my profile stored ;-)
[Windows Mobile Apps and Games] spacerace:
The other MAJOR advantage of this is also that it allows WM5/6 PPC devices to access the internet via another WM5/6 device which was up until now very difficult involving a bluetooth cludge to get DUN back and working. WiFi access is so much easier it's untrue...
[Windows Mobile Apps and Games] Asergea:
wifi sharing

will this work on a 6800 Mogul? I didn't see anything except tytyn II
[Windows Mobile Apps and Games] elmirod:
Issue with connection

im wondering if any of you had same issue i read tru the 10 page of post and i didnt find resoulution or similar issue, maybe i missed a step

im using cingular 8525

i did all step the connection work well. until the internet sharing system kinda disconnect it self.

then i need to turn it on again and change the privateinterface file again to TIACXWLN1

any know ohow to fix this thing ?
[Windows Mobile Apps and Games] gthing:
I've read through all the threads (3 by my count) on this method. Great work - and this is something I've wanted for a while but been told new drivers would be needed ;)

One problem I had was that after creating the adhoc network on my hermes, I could not get it to connect. It would show in the list of access points as unavailable. To solve this, I had to remove the settings from my default wifi access point. It then "lost priority" and allowed my ad-hoc network to become the default WiFi connection.

I've now gotten my computer to connect to my hermes, however DHCP does not work and setting my own IP, gateway, etc. on my laptop won't work either. While everything is connected, I confirmed in PIE that my hermes was connected.

I've seen some other people mention DHCP not working, but has anyone come up with a cause/solution?
[Windows Mobile Apps and Games] gthing:
I have created a Wiki Page for this hack and an associated FAQ/Troubleshooting section. Please add to it or feel free to clean it up a bit. I stole the various bits and pieces from numerous posts.

http://wiki.xda-developers.com/index.php?pagename=Hermes_accesspoint
[Windows Mobile Apps and Games] fluxist:
Thanks, gthing. I'd like to suggest that someone add in the device names (other than TIACXWLN1) for the other devices. This is the only thing that needs to be changed to get this to work in other models, AFAIK.

fluxist
[Windows Mobile Apps and Games] Pyrofer:
Cant get it to work.

I dont think its sending the default gateway correctly, when I look at ipconfig in windows the gateway box is blank, and I can't connect.
[Windows Mobile Apps and Games] ChaoticDruid:
Umm, you say "cant be overwritten, as it resides in ROM", then the last line says "overwrite original".

I had just overwote mine with Resco, using the dll that was posted by itself a few back, and I havent bothered connecting, but its definitely getting the values, are all these extra steps really needed, cause either way you have to overwrite the original, I dont see how creating the directory under program files would be making an difference, am I missing something?
[Windows Mobile Apps and Games] GpsPasSion:
Could you possibly make a dll for the Kaiser, it uses TNETW12511
[Windows Mobile Apps and Games] kakainis:
Hi, great hack, tested and got it to work on Artemis(HTC P3300) using 'TNETWLN1' string in registery to replace PTPAN1.

Could u please make a dll with this string also?

Thanx in advance. :)
[Windows Mobile Apps and Games] :
With Resco Explorer it's possible to overlay a file inside the ROM.

So simply copy/paste the dll in the directory where the original dll is and Resco Explorer will ask you to overwrite the file in ROM. If you delete the copied dll it will restore the original dll from ROM automaticly.
[Windows Mobile Apps and Games] lansa:
Trying this on the Tilt(Kaiser)...I cant get passed the first step in ICS..When I click connect. I get an error msg "cant connect for unknown reason"

Any ideas whats going on?
[Windows Mobile Apps and Games] fluxist:
If the dll can be overwritten then I'll modify the instructions. That certainly makes it easier. When I said "overwrite" in the instructions I was referring to the new version under \Program Files. And yes this does work, as an executable always searches for a local copy of a dll before it starts checking the PATH environment variable.

But I've made it easier yet. Hopefully later tonight I'll post up a cab file to do all of this, including a patched IS that actually says "WiFi" instead of BT PAN. This has been bugging me soo much :)

And yes, I will release additional versions for other adapters. So far I see:

TNETW12511 (Kaiser)

TNETWLN1 (Artemis / Wizard)

tiacxwln1 (Universal)

Is this accurate? Any others we need?

fluxist
[Windows Mobile Apps and Games] gemblaster:
How about all of us with X01ht Hermes200 Tytn's?

Thanks if you can include us to;)
[Windows Mobile Apps and Games] Brian3000:
this looks so cool. just wish i spoke nerd.

i KID I KID

but newbie here, just jumping in the stuff. love lots of the apps and stuff out there. This looks awesome. Do I need to dl a specific registry editor to do these things? I cant fin out how to copy anything to anything other than normal dowload areas and i cant even find hklm anywhere...

TIA

upside down through polygons fighting pentagons

Brian 3000
[Windows Mobile Apps and Games] mgioia2:
Anyone got any other suggestions on how to get the internet connection to stop resetting itself every ten minutes? Everything works perfectly for me, just only lasts about 10 minutes?

I've tried changing the length of time to what was suggested earlier in this thread in the bluetooth\parms reg. with no luck.
[Windows Mobile Apps and Games] ChaoticDruid:
Fluxist, I see what you mean now, I was having a hard time understanding which file you were overwriting, and thanks for the info about dll's.

PAPPL, thanks for the better info about the overylay, I do remember now that I deleted some dialer button images in ROM, that I had previously overwrote with a cab, and the OEM ones reappeared.

Brian, with the dll files, that mortsript is no longer needed...but it might have an advantage over the dll with the disconnects, unless that is figured out, but in your case, you might just consider waiting for the cab release.

I was having disconnect issues also when I tried the tweak manually awhile back, but I wasnt sure if the dll would help with that, Ill have to check today and see if it still does it, I wondered too if it could be wifi dongle/antenna related, is everyone having the disconnect issues?, Ive seen it reported more than once now.
[Windows Mobile Apps and Games] bedoig:
I am having the disconnect issues as well. I've tried the new dll, and that doesn't help anything as far as disconnects go. I've also tried editing various timeout settings in the registry, including the connection timeout under BTPAN1 and several others under TIACXWLN1. I tried copying the connection timeout entry from BTPAN1 over to TIACXWLN1, but that didn't help either. The mortscript is useful, but it doesn't actually prevent the disconnect, it just reconnects each time it happens. This is OK for web browsing, but it causes connection sensitive applications (like my VPN client) to fail. Anybody have any luck solving the disconnect issues? Could it be some device specific settings? I'm running a Verizon 6700 (Apache). Is anyone not having these issues, and if so what device are you using? Maybe someone who is not having the problem could take a look around in their registry settings...
[Windows Mobile Apps and Games] lansa:
Can anyone confirm if ICS works with the medianet plan? I keep getting a "cant connect" error when trying to connect with medianet. Is it possible to create a new connection using GPRS ISP?
[Windows Mobile Apps and Games] matuyan:
Please add this wireless lan device

GSPI86861 (EM-ONE)
[Windows Mobile Apps and Games] Xiou:
rekab8710 please read

I have the 6700 as well and is why I made the script but as I understand some other models don't have the problem, I think it was rekab8710 who said he wasn't having any disconnect issues.

rekab8710 could you share what you find on the registry under HK_LOCAL_MACHINE\Comm\Internet Sharing\

all I have in my 6700 is \Status\ Enabled (1)

See I'm thinking maybe there could be a missing key we could create such as ConnectionTimeout and then set it to a big number or Enabled (0).

I don't know, but please anyone who is not experiencing disconnects some insight would be greatly appreciated.
[Windows Mobile Apps and Games] khammo01:
Would anyone know how to uncripple ICS?

This is slightly off topic but I think you guys might have the knowledge to help me.

I have an Softbank X02HT (Same as a HTC Cavalier) which did not come with Internet Sharing. I also have a dumped ROM from a Dopod C730 (also an HTC Cavalier). I tried copying over the intsh*.* files from the Dopod ROM and added registry entries as listed below. This enables me to start up the Internet Sharing app and to select the local and Internet connections, but the screen just flickers when I press connect, and does not connect. I know the Softbank network supports ICS because it works with a Hermes. They have just disabled the ICS software because it's not covered by their data plan.

Would anyone know if there are there other files I would need to copy from the Dopod or am I missing some registry entries? I have a copy of the Dopod dumped ROM but I can't get a registry dump. (I don't have any way to actually load up this ROM on a device)

Right now I just need to get ICS working with USB or Bluetooth, I can try to get Wifi working after I get ICS working.
[Windows Mobile Apps and Games] lansa:
I keep getting "cannot connect for unknown reason" in the ICS window after I hit 'Connect'. I select Bluetooth PAN and my Medianet connection, which browses the net fine, but the error message pops up immediately. Can someone please help, this is very frustrating. (Tilt with AT&T ROM)
[Windows Mobile Apps and Games] bimboles:
Probably been asked before but it there any way this could work in Infrastructure mode? I have an Archos 605 that this would be great for, but it can only connect to Infrastructure APs.
[Windows Mobile Apps and Games] yblaze8:
Here are the patched intshare.dll's.

Here they are.
[Windows Mobile Apps and Games] fluxist:
Or you can take the patched dll I posted and change the TIACXWLN1 string that I added to another adapter (as above). This won't work with the original dll for anything longer than "BTPAN1" (6 chars). You'll have to modify a previously patched dll.

fluxist
[Windows Mobile Apps and Games] Acuum2:
Great work!

but before i go ahead and install. what is the procedure for going back to the orriginal .dll to enable BT pan again? (I want to also use PAN)

If no one is able to edit the DLL to ADD WIFI as an ADDITIONAL option to the drop down list in IS, purhaps a mort script that allows you to select which mode you want to load IS in. wither with PAN support or WIFI support.

This script could then just make sure the relevant dll is placed (or named correctly) in the relevant dir prior to loading IS.
[Windows Mobile Apps and Games] bmwquickspeed:
Disconnect Possible Resolve

I noticed many are having issues with disconnecting. I too had this issue until I realized that my phone was going into standby. I was online yesterday for over 35 mins with no dissconnects by setting my display to turn off but not my device in the Power Options.

I like my phone turning off when I am not using WIFI. Is there a script to not allow the phone to go into standby while WIFI or Internet Connection is being used?

My connections vary but by far this is a much better option then BT PAN where I was only getting 200-300k on dslreports. With this WIFI setup I am running between 800k and before I shut down yesterday I hit 1.2MB woohoo :-)

This is awesome I can even watch movies on Netflix :-)

On a side note has anybody found any Medianet limitations on ATT/Cingular? I hit 3.6GB last month. I love to use it I just don't want any red flags.
[Windows Mobile Apps and Games] lansa:
I have medianet and cant get ICS to connect. What data plan on AT&T are u all on that lets u connect with ICS? I'd really like to get this working.
[Windows Mobile Apps and Games] bmwquickspeed:
Mediamax$19.99+m2m$5
[Windows Mobile Apps and Games] bedoig:
Thanks for the reply, but unfortunately I had already tried that and it didn't help with the disconnects. Any other ideas?
[Windows Mobile Apps and Games] lansa:
Strange, I have mediamax, but when I'm in ICS window and hit connect, i get an error msg "cannot connect for unknown reason" Someone pleeease help.
[Windows Mobile Apps and Games] Vinny75:
HTC Mogul (PPC 6800) is TNETW12511 as well
[Windows Mobile Apps and Games] lansa:
Im a bit unclear here...Do I need to copy the dll file to the Windows dir and overwrite the existing one?
[Windows Mobile Apps and Games] bmwquickspeed:
I am using the KeepSharing Mort script that I found through the wiki
[Windows Mobile Apps and Games] gthing:
I'm sure you mean 1.2Mb. Big difference.
[Windows Mobile Apps and Games] hyde:
Can someone here be nice enough to tell me what is the regkey required for HTC Touch P3450 for wifi sharing? Thanks.

I tried with TIACXWLN1 on my HTC Touch P3450, I am able to get my client to connect to my wifi network but my client is unable to surf the net.
[Windows Mobile Apps and Games] hyde:
Got it working with TNETW12511 (Kaiser) on HTC TOUCH ELF
[Windows Mobile Apps and Games] lansa:
"1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.

2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1")."

When I go to this registry entry, its blank. After I change it to my adapter name, close it, and reopen the registry, its blank again! Could this be why I keep getting an error message when I hit 'connect' in the ICS window?? Anything I can do to fix this?
[Windows Mobile Apps and Games] ybyb:
hi..

is thr any way where in i can make my ppc as an access point for my laptop to use da wifi ?..m usin wm5, ipaq 6965
[Windows Mobile Apps and Games] weapon007:
does this work for mogul then? doesnt seem to work
[Windows Mobile Apps and Games] TurboX2:
fix ur proxy settings, thats what worked out for me:

https://www.wireless.att.com/support/deviceConfig.do?content=KB71368.html

reboot after u do so.

tell me if it worked out for u.. in a message

so is anyone working on an APP to get around the registry editing and scripts

or an APP that will do the whole renaming and reshorcutting of the two dll;s for u?
[Windows Mobile Apps and Games] lennysh:
Start ICS, then hit connect....

Then after about 5 seconds, goto registry to make that change...
[Windows Mobile Apps and Games] neilson:
BUMP. I have a Mogul too and I want answers.
[Windows Mobile Apps and Games] rsolomon:
With all due respect, there seems like one *obvious* way to answer this question....

Richard

P.S. Of course, please report your results in this thread.
[Windows Mobile Apps and Games] bedoig:
For those that have tried this on devices other than the Apache:

Are you also experiencing the problems with ICS disconnecting every 10-15 minutes? I'd really like to hear from someone who is not having disconnect problems. I've tried altering every registry key I could find, but haven't been able to solve this problem. I also have the device set to not turn off automatically, so it is not an issue of wifi disabling itself when the screen goes off. Anybody have any insights? Thanks,

Brian