yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] abishell:
Windows Mobile 6.5 help

Hello all,

Firstly great advice, much appreciated! However, I upgraded my HTC S710 Vox to Windows Mobile 6.5 using one of the roms on this site - what are the instructions for this version of Windows Mobile to get it working?

1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.

Ok.

2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (for the Hermes). It should currently be "BTPAN1".

Ok (I found my phone specific string was "TNETW12511").

3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.

Fail. I have Settings->Connections->WLAN Settings but in here there is no tab for network adapters.

Any help appreciated (maybe I have to go back to Windows Mobile 6.0?)!

Thanks,

Aaron.
[Windows Mobile Apps and Games] untamedatom:
Why Searchalligator

I notice that after running sharing to my computer that my browses address bar runs a search to Searchalligator.com My computer doesn't do this at all when hooked to any other wifi or ether port. Is this coded into the router? If so how do I turn it off. I figured that XDA wouldn't put spyware into their tools I guess I was wrong.
[Windows Mobile Apps and Games] satanic666:
i am new in this.... but i want to ask is it possible adding a registry file "HKLM\Comm\ConnectionSharing\PrivateInterfaceTIACXWLN1" instead of replacing it with TIACXWLN1??? so that there can be three connectivity option in ICS , sorry for bad english :confused:
[Windows Mobile Apps and Games] Menneisyys:
Great news! Just frontpaging it at PPCMag!
[Windows Mobile Apps and Games] Menneisyys:
See http://xdaforums.com/showthread.php?p=1542516
[Windows Mobile Apps and Games] swarnabhab:
Help with reverse scenario

Hi fluxist,

Thanks for the nice hack.

Can anyone help me with the reverse scenario? I have 3 windows devices - a Tytn-II running on WM 6 and 2 dell laptops one running on vista the other on xP service pack 2.

I created an ad-hoc connection on the vista which has a broadband ethernet connection and could share internet as well as files with the xP. Tytn-II connects to this ad-hoc connection but cannot share internet or files.

Looking forward to your solutions
[Windows Mobile Apps and Games] LTxda:
updated link...

http://xdaforums.com/showthread.php?p=1542516

or

http://tinyurl.com/24sw7o

Let me know if this does not work for you. :-)
[Windows Mobile Apps and Games] LTxda:
updated link...

Oopppss, wrong thread! LOL
[Windows Mobile Apps and Games] neonstorm:
I'm still having issues...

While I'm connected, I can't access the net on my Wing, plus my laptop WILL connect to my 'Wing-Fi' network but cannot get an IP address and finally uses the auto-config address...

I followed the steps to a T (I'm pretty sure) but still no luck... :(

Anyone have any ideas?

Thanks!

Ryan
[Windows Mobile Apps and Games] ifiweresolucky:
I have successfully followed the directions, and set up RLwireless.

BUT, I have a problem:

Each time I disable and re-enable Bluetooth PAN in Internet Sharing the [HKEY_LOCAL_MACHINE\Comm\ConnectionSharing]

"PrivateInterface"="TIACXWLN1"

reverts back to "PrivateInterface"="BTPAN1"

which means that I'd have to run a *.reg file each time before I want to share the internet connection over wireless...

any ideas why the string isn't permanent?
[Windows Mobile Apps and Games] Menneisyys:
because of the DLL, as has also been thoroughly explained in the above-linked tutorial. Please read it.
[Windows Mobile Apps and Games] ifiweresolucky:
oh, right right... yeah i glazed over that part of the DIY lol :p

How about this: I cannot run *.reg files on my WM6 Hermes... it is not a known filetype. Is there a way to associate *.reg files with TRE (my registry editor program)?
[Windows Mobile Apps and Games] kwyatt6347:
can anyone make a mortscript that makes this reg change?
[Windows Mobile Apps and Games] :
Hi,

tried to connect with Hermes to Xbox and got an Ad-hoc connection with WEP64 Encryption. But doesn't gt an IP on Xbox360 for Internet.

Made all the settings step by step. Tried for hours.

Do i have to set "Work" on all settings in wifi?

:(
[Windows Mobile Apps and Games] famewolf:
Probably could..but if double clicking a .reg file to get it loaded is "to complicated" you probably should not be trying this at all.

...and if your rom doesn't recognize .reg files then you need to do a search on how to add a file assocation for your specific registry editor.
[Windows Mobile Apps and Games] lennysh:
What dll is it exactly?? And how's it coming along??

Would also be interested in doing the exact opposite, and use my 6700 to allow me computer to utilize the wifi connection on my 6700, and connect to a wireless router when the computer has no wifi card...
[Windows Mobile Apps and Games] famewolf:
I'm not the author of the hack but I CAN tell you that all your questions regarding the dll were answered in the first post which you obviously didn't bother to read.
[Windows Mobile Apps and Games] :
In Hermes registry there is a value: TIACXWLN1.dll

Maybe this one?
[Windows Mobile Apps and Games] ifiweresolucky:
...ignoring the .reg deal (i can do it manually) my connection is intermittent. Internet Sharing consistently turns off after a few minutes. I have to tap connect again, and re-paste the string into the registry.

any ideas why Internet Sharing is timing-out?
[Windows Mobile Apps and Games] Xiou:
about the continually reconnecting....

This is my first post.

Same problem with the disconnecting after about 15 minutes. I wonder if there is a registry setting somewhere to keep internet sharing connection alive.

But just so you know you don't have to continually re-edit the registry after the first time you establish it. When it disconnects simply reconnect with the softkey.

One thing I also came accross was that if for some reason you press the power button and the phone goes on standby when you wake it up it might try to establish the internet connection through wifi and you have to go back and tell it that wifi is for work, not internet.
[Windows Mobile Apps and Games] :
Very interesting tutorial. I have two questions; I have a blackjack and with the supposed release of wm6 tomorrow for it, would this work? Im not sure if Blackjacks have WiFi, but im guessing not. Also, if it were to work or if i hypothetically had another phone, would using it as an access point or web browsing on the phone while on my network need a data plan? I currently do not have a data plan except for text/email but i would assume this doesn't need one.
[Windows Mobile Apps and Games] Menneisyys:
As has also been pointed out in my tutorial, highly unlikely.
[Windows Mobile Apps and Games] Menneisyys:
As famewolf has already pointed out, this has already been answered SEVERAL times, including my tutorial.

Nope, this is completely different.
[Windows Mobile Apps and Games] Xiou:
you can use usb instead

I experimented a little bit more trying to keep internet sharing alive. Though it didn't help me in this respect it does keep me from having to turn on blue tooth wish might conserve some battery power.

the steps are exactly the same. Instead just choose usb. And the results are the same a portable wireless access point!

btw I haven't come accross a limit on clients. Connected a second ppc and two laptops simulteanously successfully.
[Windows Mobile Apps and Games] rekab8716:
TO xtend 'IS' timeout...

hklm/comm/btpan1/parms/connection timeout...I changed it to 180000 and it stays connected...maybe double it if you plan to pull an all night'r
[Windows Mobile Apps and Games] Xiou:
still a no go

I tried adjusting the timeout settings on BTPAN1 AND tiacxwln1 also but still a no go :mad: oh well, I experiment some more later.
[Windows Mobile Apps and Games] :
rekab couldn't you change that to a 0 and its infinite?
[Windows Mobile Apps and Games] duke_stix:
just to confirm, does this allow you to connect your wi-fi enabled phone to an available wireless network then connect this to your pc as the internet connection or is it using the gprs as the main internet connection and sharing over the wifi?

thanx
[Windows Mobile Apps and Games] famewolf:
What part of this quote from the author in post #8 isn't clear enough for you?
[Windows Mobile Apps and Games] jamit:
Works with X-Box but !!!

I managed to get this working with the Xbox wireless connection...passed all the connection tests and managed to get an open NAT (was originally coming up as moderate) BUT.....after connecting to XBox Live and joing a race the connection drops out after a few minutes. I'd prefer a solution that allows the device to connect directly to the XBox USB port and detect the connection. Unfortunatly I can get a "proper" DSL connection at home as yet so I'm keen to get this type of connection stable...anyone else experienced dropouts ? ?
[Windows Mobile Apps and Games] :
Can you please exactly post your settings on PPC and Xbox360 with WLAN-Adapter please.

I tried but no IP on Xbox Network Test.
[Windows Mobile Apps and Games] lennysh:
I know that this is different, this is why I said EXACT opposite. I know that it is possible to share the wifi connection on my apache with my pc that is connected through usb. In other word's, make my 6700 a usb wifi adapter.

And in regard's to that dll, I did read, but when I had somebody look into that dll, since they were more of a dll editor than I, they said that one was blank. But this was back on Windows Mobile 5. So I'll try it again....
[Windows Mobile Apps and Games] rekab8716:
re: xtend 'is' timeout

try changing connection timeout for btpan1 then soft reset so the setting will stick...it should xtend...it worked 4 me...

THIS HACK TURNS YOUR HERMES INTO AN ACCESS POINT... laptop uses internet from phone!
[Windows Mobile Apps and Games] Crossfire9:
Naturally my question is, will doing this cause me to have to pay "Phone as a modem" plan with my carrier [Sprint] or is this a nice way to avoid that?
[Windows Mobile Apps and Games] Menneisyys:
Great tutorial, will link it in from my tutorial.
[Windows Mobile Apps and Games] Xiou:
uploaded my script

I went ahead and uploaded the script in my post above. So all you need is to download mortscript and the script and you are good to go!
[Windows Mobile Apps and Games] famewolf:
You could also have mortscript turn off wifi, set the ip address, prompt the user to press a button and then turn wifi back on if you wanted to make it an "all in one" script. I may play with doing that to establish an internet sharing connection with my linux laptop.
[Windows Mobile Apps and Games] :
Great,

somehow it must be possible to make a cab with mortscript and the script and settings inside, isn't it?
[Windows Mobile Apps and Games] DarkHorse:
I hope a coder will help us...

..a simple all in one cab that turns into a router my hermes in a step...

It should be a winning award application!
[Windows Mobile Apps and Games] N2A:
I've been working on an all-in-one script, building on what Xiou wrote, but I'm having difficulty with my phone refusing to issue DHCP addresses. However, the script itself looks okay - needs some testing, refining and debugging no doubt, but it's well on the way to being finalised.

Once I actually get around to learning C# shortly, I'll see what I can do to knock up an application, but it's finding time to do it...

This is pretty well commented, read through it in a text editor before throwing it on to your phone. I take no responsibility for it eating your existing wifi network settings, although it does save them in memory!

WARNING: THIS SCRIPT APPEARS TO REVERT REG_MULTI_SZ VALUES IN THE REGISTRY TO REG_SZ, WHICH MAY CAUSE A PROBLEM - BE WARNED! I SUGGEST USING THIS AS A BASIS FOR ANOTHER SCRIPT, NOT DIRECTLY!

Requires VJVolubilis and MortScript.
[Windows Mobile Apps and Games] Xiou:
yeah my script

yeah my script is only meant as a fix for disco and having to regedit. Its just meant as adding to what fluxist has explained. Once you follow his steps and you get it working you'll get annoyed by the repetition and disconnects and is why I made the script. Kind of completes the idea.

So anyways I built a new script still in the same spirit but just cuts the step of having to click on internet sharing at all. Again only to be used after you get the wifi settings correct. Reason is I don't think mortscript can do multiline values such as 168.192.1.1 but oh well maybe some can experiment there.

so here's the steps:

turn off wifi

run script by clicking on it

turn on wifi

that's it!

name of script is Share&KeepSharing

here's the script:

Run( "\Windows\IntShrUI.exe" )

WaitFor( "Internet Sharing", 15)

SendLeftSoft ( "Internet Sharing" )

While ( wndExists( "Internet Sharing" ))

If regKeyEqualsDWord "HKLM", "\Comm\InternetSharing\Status", "Enabled", 0

SendLeftSoft ( "Internet Sharing" )

EndIf

If not regKeyEqualsString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", TIACXWLN1"

RegWriteString "HKLM", "\Comm\ConnectionSharing", "PrivateInterface", "TIACXWLN1"

EndIf

EndWhile

I added the new script to the post above
[Windows Mobile Apps and Games] N2A:
MortScript accepted the TCP/IP values I put in - but I appear to have converted the values from REG_MULTI_SZ to REG_SZ - whoops!

This could explain some of my issues.
[Windows Mobile Apps and Games] Xiou:
hey N2A

hey N2A I'm looking through your script and I can see the experience compared to my 1 hour session learning scripts. Your script looks great but I have a couple of questions before I run it, in this section:

RunWait( "\Program Files\vijay555\vjvolubilis\vjvolubilis.exe","-bluediscoveron" )

is that program really necessary? What does it do? And also on my phone (vx6700 running wm6 w/ EVDO which broadcasts great through wifi) I don't need to use bluetooth at all for my script to work. You think you can post a script using usb instead and no bluetooth at all.

but yeah its great to build on a great discovery and then someone building on my addition is appreciated
[Windows Mobile Apps and Games] Xiou:
oh

oh ok I see its to do the things that mortscript can't do for me to be able to produce a script that will turn wifi on/off and set the settings of wifi. Ok.
[Windows Mobile Apps and Games] N2A:
The program is useful, although the bluetooth part was because my phone was complaining that I had to set bluetooth to active before I could start the process - that's why I used the bluetooth part. Strictly, it shouldn't be necessary (and if it's set to use USB Connection instead, it won't be at all - I only tried the bluetooth method because I couldn't get an IP address from my phone, but I think it's related to another issue.)

Pretty much, just adds additional functionality. Still haven't figured out that REG_SZ / REG_MULTI_SZ though, wonder if that's why my phone won't issue my machine with an IP...
[Windows Mobile Apps and Games] Xiou:
mortscript can't

I haven't been able to find the commands from morstcipt to allow this. Maybe it can't, but if it can please let me know.
[Windows Mobile Apps and Games] N2A:
My script sets the IP, but I think it's causing some problems. Going to knock up a .NET CF app as soon as I can to see if I can write a new ICS-type app, would be much prettier! Just getting Visual Studio now, thanks to the open Microsoft beta :)

I'll need a few days to adapt to coding in C#, but I'm sure I'll get there pretty quickly, if someone else doesn't beat me to it ;)
[Windows Mobile Apps and Games] :
Yes! Waiting like for christmas. :)
[Windows Mobile Apps and Games] N2A:
Heheh - I can code in enough other languages, and I can usually adapt to a new language within a couple of days. More than that, it's finding time between work. Which I'm not doing any of due to messing about with my phone... :o

... Unless you mean waiting for presents ;)
[Windows Mobile Apps and Games] kwyatt6347:
thanks XIOU thats exactly what i meant when i asked for someone to create a mortscript.... to much dismay.... thanks much.
[Windows Mobile Apps and Games] fluxist:
An update and some thoughts

Well with all these scripts coming out I don't know if this is still needed. But here's what I've got so far.

Attached is a version of intshare.dll that is patched to use TIACXWLN1 instead of BTPAN1. With this dll replacing the original, IS will always work over wifi when set to Bluetooth PAN. Sorry to all those using different interfaces on different devices. This won't be all that functional to most of you. It is merely an update of where we stand. Expect more to come. And thanks to Jimm98y for the pointers (har har).

But that's an ugly hack, isn't it? I want my Internet Sharing app to at least say Wi-Fi Access Point instead of Bluetooth PAN (and surely no ROM cooker will include it until it does) I'm working on that. And I'm trying to avoid inelegant hacks like additional apps or wrappers. Unfortunately I haven't located yet where that "Bluetooth PAN" string comes from. If anybody knows off-hand, please chime in. It will save me some time and debugging.

Now the interesting thing is that there is more possible here. A few confused posters have asked whether they can use this hack to get their PPC/Smartphone to act as a USB wifi adapter. Well, not as we've been discussing so far, but why not? Someone go ahead and change PrivateAdapter to RNDISFN1 and PublicAdapter to TIACXWLN1 and let us know what happens. As far as I can tell this should work, as all the NAT functionality is provided in ipnat.dll in a device-independent manner. With that version of the hack there would be no need to set a private IP address or futz around with ad-hoc networks. Just associate to your local AP and watch your computer get connected.

Again, all of this is an ugly hack until we can add the adapters as options to both the top and bottom drop down boxes in IS. Once that's done Internet Sharing shall be a significantly more powerful application.

thanks,

fluxist
[Windows Mobile Apps and Games] cyberjak:
I got mine to assign the ip without the internet sharing DLL however i notice it couldn't do DNS resolves, looking into it a bit further for some reason ti wasn't giving a DNS server with DHCP
[Windows Mobile Apps and Games] lennysh:
I actually tried this right after I asked if anybody else had tried it in this forum. Of course, the PC connect's to the device like it should, but it just doesn't have access to the internet... I've tried putting it on bluetooth pan, and USB.

Basically I think you should be able to put it on USB, then change the PublicAdapter to TIACXWLN1 and then enable wifi, let it connect to the AP, then plug in the USB... I've tested the device's connection before, during, and after all of this, and the device never looses it's connection to the net.. Just can't get it to go through the USB to my PC...

I'm even going to try and change PrivateAdapter to BTPAN1 instead of RNDISFN1 later on when I get home, to see if maybe I can share the wifi on the device over bluetooth to my home pc.. I don't currently have bluetooth with me, so can't test yet.. Rather have the USB working instead tho..

Let me know if anybody else does this, and get's better results...

PS. I was not confused at all when I asked about this...
[Windows Mobile Apps and Games] N2A:
To be honest, I was thinking of writing something to observe the transactions between the intshare.exe and and the appropriate DLLs, so we can produce a new more elegant application (including IP setting etc) as a complete internet connection sharing application replacement. There's no reason we can't introduce routing across any network adapter.

This has the potential to be an excellent little utility...
[Windows Mobile Apps and Games] fluxist:
Ah yes. We could just set it as UsB and change the PublicAdapter to wifi. Can someone run ipconfig /all on the device after connecting in this way? dotFred's task manager can do that. If it is only a DNS issue as was suggested maybe we can just set the dns servers to 206.67.222.222 206.67.220.220. IIRC those are the OpenDNS servers.

I'd try it myself, but I'm standing on a street corner.

And I wasn't referring to any poster in particular when I mentioned confusion. I got the sense the question had been asked more than once.

fluxist
[Windows Mobile Apps and Games] fluxist:
This might be the best/easiest idea. IIRC intshare.dll only exports 4 functions, BTEnableInternetSharing, BTDisableInternetSharing , RndisEnableInternetShari ng, and RndisDisableInternetShar ing. We'd only need to write a new intshare.dll to call ipnat.dll with any arbitrary adapter (create a function AdapterEnableIS, for instance). The routing/dhcp/dns proxying is already handled by ipnat.dll. The BT/wifi/network detection functionality would still need to be added to intshare, though, just as it is now. And a new IntShrUI.exe would need to be made also but that'd be trivial.

So, shall we give it a go?

fluxist
[Windows Mobile Apps and Games] N2A:
Well, I've got my face in Visual Studio now, and am working on getting some sort of prototype test up and running. Watch this space...

Exported function list I grabbed:

DeregisterForInternetSharingNotifications	0x1000157c	0x0000157c	5 (0x5)	intshare.dll	C:\temp\intshare.dll	Exported Function

DllMain	0x10001598	0x00001598	1 (0x1)	intshare.dll	C:\temp\intshare.dll	Exported Function

InternetSharingDisable	0x10001548	0x00001548	3 (0x3)	intshare.dll	C:\temp\intshare.dll	Exported Function

InternetSharingEnable	0x100014b0	0x000014b0	2 (0x2)	intshare.dll	C:\temp\intshare.dll	Exported Function

RegisterForInternetSharingNotifications	0x10001560	0x00001560	4 (0x4)	intshare.dll	C:\temp\intshare.dll	Exported Function

IPNat	0x100043b8	0x000043b8	1 (0x1)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

LanaUp	0x10003c88	0x00003c88	2 (0x2)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Close	0x100044c8	0x000044c8	3 (0x3)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Deinit	0x100044b4	0x000044b4	4 (0x4)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Init	0x100044a8	0x000044a8	6 (0x6)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_IOControl	0x100046f0	0x000046f0	5 (0x5)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Open	0x100044bc	0x000044bc	7 (0x7)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Read	0x100044d0	0x000044d0	8 (0x8)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Seek	0x100044e0	0x000044e0	9 (0x9)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NAT_Write	0x100044d8	0x000044d8	10 (0xa)	ipnat.dll	C:\temp\ipnat.dll	Exported Function

NatConfigure	0x10003b4c	0x00003b4c	11 (0xb)	ipnat.dll	C:\temp\ipnat.dll	Exported Function
[Windows Mobile Apps and Games] lennysh:
how are you editing the dll file? I would love to join this battle... just need the right weapons..

I have Visual Studio.net 2005 as well...
[Windows Mobile Apps and Games] N2A:
That lot was using DLLexp from NirSoft, and I'm looking through with PEBrowse Professional. However, I'm also now looking through MSDN, and seeing what I can glean... it may be less messy just to write a new program that hooks into some of the existing functions. I'll post as I discover new stuff...

As for the DLLs, I rebuilt them using RecMod.exe. The DLLs are attached.

The basic issue I'm having is trying to find out the parameters being passed to the intshare.dll / ipnat.dll for their exported functions.
[Windows Mobile Apps and Games] fluxist:
I'm using IDA Pro 5.0 to disassemble the dll's and Ultraedit32 to modify (hex edit) them.

@N2A: What do you mean by "rebuilt"? What is the attachment?

And hooking into the existing functions in the dlls is what I was trying to say (however muddled) above. We can either rewrite intshare.dll or try and modify the binary. The latter route is what my approach has been the last two weeks. But I'm starting to think your suggestion of writing a new app and/or intshare.dll might be easier.

fluxist
[Windows Mobile Apps and Games] N2A:
The DLLs were in image form (S000 etc), so I put them back together into DLLs. That's all they are, the DLLs. I then promptly found them on the VS device emulator anyway.

There's definitely a full API here anyway. Let's try to hook into what's already here, and failing that, write a new interface to the NAT functions etc.