Can't connect on wifi router in G mode only - 8125, K-JAM, P4300, MDA Vario General

I have downloaded the cab file posted on this site to update the registry settings enabling the g mode of my Qtek 9100 and the transfer speed increased (Excellent work for all the contributors).
However, it will only connect to my home router (D-Link d-784 a/b/g router) on mixed "b/g" mode. Whenever I try to switch it to "g" only mode, I can see the router but for some reason my Qtek 9100 cannot get an IP adress.
I have yet to try to set a fix ip for it (it would really be a pain, as it would mean that I would have to modify the settings everytime I want to connect to another router using DHCP).
Can anybody offer help or advise?

Check that the relevant reg keys are in place with totalcommander or resco:
[HKEY_LOCAL_MACHINE\Comm\TNETWLN1\Parms]
"dot11SupportedRateMask"=dword:00000001
"dot11SupportedRateMaskG"=dword:00000008
Then soft reset.
Gl.
These work fine for my 3 x G only wlans with all encryption types on radio roms 01.12.10 & 01.13.10 - not tried with other radio roms.

This is already done (used the cab file lying in this forum and check registry manualy).
Is it possible that it is on the router side?

Entirely possible. This forum is riddled with posts of such, you may have to read through a few see if they help.
Mine works on a USR 19106, Billion 7402G and a Netgear DG834G on all modes, all encryptions.
Try changing some of the options in your router for the WLAN if you know what you're doing. Things like xpress modes and other such stuff can affect connections (well, apart from my USR, which still works fine with them all on \o/). Basic rates auto/default also, use something like netstumbler (PC) or WiFiFoFum (PPC) to scan for competing networks and adjust your channel accordingly.
All the usuals.
What Roms (Main and Radio) are you running?

Do I have to add this key--> "dot11SupportedRateMaskG"=dword:00000008 because I don't have it ? If I add that one, save settings and I make soft reset, the key disappear automatically....

I do have that key.
I will try today with another router to see if it works on "g" only mode.

Just what I tought. I used a SMC Barricade router and made the setting to "G" only and voila, success.
I guess that something in my DI-784 from dlink prevents its from connecting correctly.

Related

no WiFi success after ROM update on 8125 -- ideas?

updated the ROM on my 8125 yesterday. wifi was working before-hand, i had included the DNS servers for my router, which is what i had to do to make it work!
did the same thing after the ROM update and cant get connected to any access points.
any ideas guys?
thanks
danrw84 said:
updated the ROM on my 8125 yesterday. wifi was working before-hand, i had included the DNS servers for my router, which is what i had to do to make it work!
did the same thing after the ROM update and cant get connected to any access points.
any ideas guys?
thanks
Click to expand...
Click to collapse
Does wifi turn on? (Does the left LED blink like it does when wifi is turned on?)
If not, then it could be related to a cingular cab - did you install any of the cabs from the original cingular extended rom?
left led does blink.
ive also gotten as far as picking up a network.
i have tried everything, i cannot get my wifi to work at all. i dont know whats up.
the settings i needed (which i replicated for the new rom) on the old rom, was this
I would select networks, MY work network, this connects to the internet.
then in the WLAN adapter i had to manual enter my dns servers.
thats pretty much it to get it to work, but now with this rom it wont
Similar or different problem? Not sure. PARTLY SOLVED!
updated the ROM on my 8125 yesterday. wifi was working before-hand, i had included the DNS servers for my router, which is what i had to do to make it work!
did the same thing after the ROM update and cant get connected to any access points.
any ideas guys?
thanks
Click to expand...
Click to collapse
Hi NG,
I updated my O2 XDA mini s (German) from OS 1.3.4.2 to 2.16.9.1. (Radio 02.07.10 included). To be honest, I was never really happy with the quality and reliabilty of the radio. 4 out of 5 times it did work, but once in a while, especially while roaming, it gave me a headache. After unlocking and updating to the new version, WLAN looks to be working quite well, at least for connecting to access points, but it seems that it can't browse external websites. VXutils give back a socket error trying to access external (outside my home network) websites/Email.
Internal (inside my home network) connections work like a charm. Termincal Services client accesses my Win2003 Server no problem and I can also connect to a website hosted on my internal server. (http://servername:port).
Whenever I try to connect to external sources, the browser stops afer not successfully "locating" the respective server. On the other hand locating might not be the problem. Performing a ping to an external site with VXutils properly picks up the right ip address but cannot send/receive ping!
GPRS works as supposed. Can connect to sites with no problem.
May be somebody experiences the same problem or, even better, has a solution.
By the way I used @Work for all possible settings. The work profile is set up for both connection types.
Besides that, the new rom is really nice
EDIT Well after some time playing around, I have solved the problem or better the problem partly disapeared. In 'Settings' 'Network Adapters' I switched from Use server-assigned IP address to manual and entered IP, DNS, Gateway, etc. With these settings it everything worked after a soft-reset. Going back to DHCP and soft-reset, it first worked an now it doesn't anymore. At least there is a work around and I'm trying now some other things. All machines currently work with the DHCP settings correct. I will check and keep you updated if the problems comes from Server settings or from something in the PDA EDIT
Lars
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
danrw84 said:
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
Click to expand...
Click to collapse
I can't get my WiFi card to initialize. After the upgrade, the card stays off. LED doesn't light. Is there a driver somewhere I could try to load?
kristiandg said:
danrw84 said:
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
Click to expand...
Click to collapse
I can't get my WiFi card to initialize. After the upgrade, the card stays off. LED doesn't light. Is there a driver somewhere I could try to load?
Click to expand...
Click to collapse
did you change your Wizard to 802.11g. I found that once I did that, the card stopped working.. the setting was 4, but when i changed it to 8 it stopped worked..
it was some registry key. 802dotg or something ..
sorry i cant rember excatly.
did you change your Wizard to 802.11g. I found that once I did that, the card stopped working.. the setting was 4, but when i changed it to 8 it stopped worked..
it was some registry key. 802dotg or something ..
sorry i cant rember excatly.[/quote]
Darn it. I did. I'll re-wipe and not load the 54g upgrade. Thx.
kristiandg said:
danrw84 said:
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
Click to expand...
Click to collapse
I can't get my WiFi card to initialize. After the upgrade, the card stays off. LED doesn't light. Is there a driver somewhere I could try to load?
Click to expand...
Click to collapse
Did you by chance install anything from the cingular extended ROM after you installed the imate ROM?
no i didnt load anything
but i want this wifi to work! what the heck!!
try this
danrw84 said:
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
Click to expand...
Click to collapse
Danrw. Concerning the registry settings, after patching the os I did change the registry settings. One already existed with the right value as shown in the 802.11g thread. The other one, DotG, I added.
After that, it did pick up a only G router!
As far as setting DNS manually. It is not enough to just cange the dns setting. You have to enter all the information and even after a soft-reset it takes some time to have the settings picked up... Use vxUTIL 'Info'-Screen to check the current settings. I did test wlan before and after applying packages from the extended rom. No change on reliability or performance on WLAN IMHO.
As far as I understand. Your problem is actually connecting to the router/Access Point. For testing please disable all security on your router and do a soft-reset before trying to access. Also since we have heard of several problems with model 9100 not realizing if an access point is available or not. Also change the SSID of your router and if possible the MAC Address of the router.
Don't forget to soft-reset and first try SDIO Adapter inyour pda with auto IP/DNS/etc. settings.
Another thought. Embarassing, but once I messed around with trying to get a new pda online and forgot to disable the mac filter settings in the router, which resulted in being able to see the active router but it didn't let me connect. After those two days I was missing a lot of hair.
Good luck
Lars
summiter said:
kristiandg said:
danrw84 said:
i get as far as NETWORKS being detected. when i select one of the 3 that i pick up, i cannot connect. My own, pops up, and i get as far as entering the network key, then it tries to connect and doesnt.
this happens WITH or WITHOUT the DNS servers manualy entered in. anyone with some knowledge care to chime in and assist? thanks!
Click to expand...
Click to collapse
I can't get my WiFi card to initialize. After the upgrade, the card stays off. LED doesn't light. Is there a driver somewhere I could try to load?
Click to expand...
Click to collapse
Did you by chance install anything from the cingular extended ROM after you installed the imate ROM?
Click to expand...
Click to collapse
I did but only the minimum. I trimmed down their install to the basics. I narrowed it down to one of two CABs. Either the gprsstall or EnableEONS. I didn't install either of those and I"m now back up and running. Of course, I still can't get it to prefer WiFi to EDGE.
I had experienced the same problem with home wifi network after upgrading my rom. I saw in my laptop that the key was set to 2. I went to the network cards, clicked on my wifi network, and under Network Key swithed the value from 1 to 2. I can now connect to my wifi network at home.
eb said:
I had experienced the same problem with home wifi network after upgrading my rom. I saw in my laptop that the key was set to 2. I went to the network cards, clicked on my wifi network, and under Network Key swithed the value from 1 to 2. I can now connect to my wifi network at home.
Click to expand...
Click to collapse
I had same problem after upgrading mda pro with new imate rom 1.30. Can you provide step-by-step tutorial please?I use d-link DSL-G604T wifi router; can connect to home network but when try to surf the web from ppc it always connect through gprs; no access if phone is off.Where can I find Network Key to switch?Any set-up on ppc?
Thanks
I had same problem after upgrading mda pro with new imate rom 1.30. Can you provide step-by-step tutorial please?I use d-link DSL-G604T wifi router; can connect to home network but when try to surf the web from ppc it always connect through gprs; no access if phone is off.Where can I find Network Key to switch?Any set-up on ppc?
Thanks[/quote]
I do not know if my solution will work for you because I upgraded my rom to 2.16 but lets give it a try. I use d-link DI-524 wifi router. Start menu > Settings > Connections (tab) > Network Cards [I must admit earlier today when I was trying to connect my k-jam to the wifi, I did get as far as it asking me for my authentication code and afterwards it timed-out] --> select your wifi network [at this moment as I'm trying this out my wifi on my k-jam is off] --> Network Key (tab) > it was the key index that I had to change from 1 to 2. Before doing this though, go to your router's wireless configuration page through your webbrowser and make sure the keyX (it looks for d-link this can be from key1 to key4 or at least on mine) and make sure the key index you select on your mda is the same number that is used on your router for code authentication.
Also I noticed after resetting my k-jam that I could get connected to my wifi but I could not surf, in wifi setting on my k-jam I had to hit renew ip and then I was able to surf.
I hope this works for you. Good luck and many late nights.
no luck with this for me
even tried removing wep all together. tried multiple routers.
i can detect the ssid's, but i cant connect to them. times out on the connect.
Mine worked no problem...you may already have had this suggestion but here was my process.
Unlocked with lokwiz
Upgraded
Reset before extended ROM apps installed
Installed total commander
deleted extended ROM
Upgraded again
i re-installed the CINGULAR ROM and WiFi works like a charm
......any clues?
Here's what I ended up finding out for mine. First, at the time I wrote this, I was running the 2.16 ROM. Now I'm running the 2.17, but the fix is the same with either.
Don't load the cingular add-ins GPRSSTALL or EONS. I narrowed it down to those two that were causing the issue. So, the only ones I install now are CingularMMSAccount, EdgeIcon, TimeStyle, WiFiRate4, and SmartDialingEnable. Thats it, and its all I've seen to be necessary from Cingular's little bundle 'o fun. Everything else I haven't found interferes with my ability to use the phone at all.
Hope this helps...
kristiandg said:
Here's what I ended up finding out for mine. First, at the time I wrote this, I was running the 2.16 ROM. Now I'm running the 2.17, but the fix is the same with either.
Don't load the cingular add-ins GPRSSTALL or EONS. I narrowed it down to those two that were causing the issue. So, the only ones I install now are CingularMMSAccount, EdgeIcon, TimeStyle, WiFiRate4, and SmartDialingEnable. Thats it, and its all I've seen to be necessary from Cingular's little bundle 'o fun. Everything else I haven't found interferes with my ability to use the phone at all.
Hope this helps...
Click to expand...
Click to collapse
What does timestyle and wifirate4 do? I don't have these installed and haven't seen any problems.

wi fi connection problem

Hi,
My mini s seems to have a problem connecting to my home network. When i switch the wi fi on it searches but does not connect. I hard reset a coyuplke of day ago and switch on the wifi and it found my network then promted to enter key, which i did. The phone then connected no problem. No when i switch wifi on it doesnt connect. I go into network cards tab and look what networks are available and my network is there with available next to it but the options have all change (key be given out auto etc...) so i change them to the correct ones etc.. but still it doesnt connect? What i'm i doing wrong? I has worked in the past but not now. I have not installed and 3rd party software and my router is working fine (laptop downstairs works no problem off network).
any ideas
cheers
hi,
i just reseted my router and renamed my homenetwork and assigned a newwep key. started wifi on mini s and it connected straight away to the my newly named network. switch wifi off then on again and now it wont connect. it see's the network and says its available but wont connect. under the settings the network key has changed. it's defo a problem with the phone cus everything else works fine (laptop, psp). it's just not saving the network info???
and ideas???
cheers
think it could be because i've upgraded to o2 new rom??? Could somebody with the latest UK o2 rom please confirm that ther can connect to the networ?
cheers
This also happens to me with the latest O2 ROM.
What you have to do is to manually connect and perservere by going to Network Cards, tapping the network and then select Connect. It may take a few go's but it will connect eventually.
Report back how you get on.
You may want to set up your router to assign a fixed IP address to the Mini S's MAC address as well.
Sounds like the problem I've been having. I've also got an O2 rom and am having problems connecting to any wifi network, even though it worked fine the first time.
I've tried going to the network cards page and clicking connect, but it hasn't worked so far. talkingbollox - when you say 'eventually', how long are you talking?
I'll also try assigning a fixed ip address later, but my hopes aren't high.
when you say 'eventually', how long are you talking?
Click to expand...
Click to collapse
Sometimes 2 attempts, sometimes up to 20.
Persevere!
20! I probably tried about 10 times before I gave up. Surely this is a fault. You shouldn't have to waste so much time just to get a connection! :x
I tried MAC address filtering too but that didn't seem to work.
Do you think this is a O2 ROM problem or a hardware problem? If it's just O2, I think I might try a different ROM. Any suggestions which ROM to use?
My Mini S came already with the latest rom I think, and it works fine with my router (BT Voyager 2110)
Are you guys using the 802.11g reg edit?? Maybe thats why its not working, I actually did the hack before I ever turned on my wifi so I don't know if it worked without it. Try it My wizard connects with my router in G only 8)
Search the forum you will find loads of posts about it, and I think somebody has even made a cab file that does it for you, along with some speed tweeks that make your system faster.
It must have taken me in excess of 40 goes to connect last night.
Yes, I am using the g mode hack. My Voyager 2100 is set to broadcast in both b and g (i.e. mixed) mode.
I had the same problem... what I did was just entering the dns adress of my router.
So the ppc doesn't wait for the dhcp server to asign it .. it works great when surfing at home !!!

WIFI and GPRS not working

I'm really racking my brain on this one. I would greatly appreciate any ideas, as I've long run out of them.
---Intro---
I have a one week old Wizard (Cingular 8125 variant). It has one of the latest roms with AKU2 on it. Using Registry Wizard, I selected the option to add wireless G compatibility at some point in time. Wireless initially worked after setting my phone and router up per a tutorial on a popular Axim users forum. A day or two later I went to use WIFI and I get nothing. GPRS/EDGE initially worked also, but at the same time it stopped working. I've spent countless hours since trying everything I possibly can to get WIFI to work.
---The problem---
I am not able to connect to the wireless router. My Wizard sits on "connecting" forever then maybe 5 mins later it says unable to obtain an IP address. When I look at the status, it says 0.0.0.0 for the IP address the whole time it says connecting. Since the problem started, I have yet to actually connect using any settings. The first day I configured the wireless it worked perfectly, with WAP encryption and all.
---Some of what I have tried---
On my US Robotics wireless router I've turned mac filtering and all security settings off, making an open network. I removed the WAP setting for the connection on the Wizard as well. I've tried all the suggestions I can find on any WM 5 and 2003se related forums to no avail. I've tried all the various combinations of limiting to B/G only or mixed, using work/internet settings, and deleting WIFI connections and creating new ones. I don't have a proxy setting in any of my connections. The whole time my battery usage is set to the highest (performance) setting and I'm right next to the wireless router. I've tried turning off all proprietary speed enhancement options. I even installed a program (Pocket DHCP) recommended by Axim PPC users to figure out why I'm not receiving an IP. Since I'm not really a DHCP wiz, I can't tell from the results what is causing this.
I'd be greatful if anyone can help me with figuring this one out. Thanks in advance!
maybe a dumb question, but...the wireless part of the router is working fine? did u tryed with a laptop or pc?
did u tried a hard reset?
That's actually a great question. I did connect fine the first day I configured the wireless and made no changes from then until it stopped working, so I'm just assuming that the router is working properly. Unfortunately I don't have access to any other wireless device/laptop to test it with.
I'm getting ready to do a hard reset right now. I was really wanting to avoid this but I think I have no other option. Hopefully this will fix whatever setting was messed up. I have a slight hunch that the registry change for allowing G access was the cause of the problems.
maybe i missed this in the original post, but have you tried making your device use static ip's on the lan instead of dhcp?
Shogunmark:
I didn't try static IP's for two reasons. 1. Firstly I couldn't figure out how to set this up. 2. I don't want to have to fiddle with removing the static IP when I'm away from home trying to use a different wifi hotspot. I would like it to be seamless and just connect when I turn wifi on near any unsecured network (other than the usual pressing OK to connect).
STATUS UPDATE:
I did a hard reset and directly after this I tried to connect to my open network. Amazingly GPRS/EDGE now works, but WIFI still does not. Then I did a factory reset on my USR router then changed the settings back to how it was just set before. Now, I'm connecting. This doesn't make any sense since the settings are the same now but it's working, maybe theres a glitch with the router that this fixed. This small progress seams like a miracle.
Now that I can connect to WI-FI, I have a new problem. When I try to load pages in internet explorer, it says page not found or whatever the standard error message is. I'm so close I can smell it. There must be some setting that needs to be changed on my Wizard.
SUCCESS
I report that I am now absolutely delighted with network connection on my Wizard. After hard reseting the phone and the router, now I can connect to both WIFI and GPRS. Not only that... but also PIE will choose WIFI if I'm connected to a wireless router, otherwise it will default to GPRS/EDGE without any interaction from me. This stuff is really awesome when it works. It is difficult to setup correctly though.
somehow wifi routers r not 100% reliable, every now and then i need to reset my linksys or i cant get ip as in your case...but with a normal reset is enough in my case...
That's good to know. Maybe I didn't even need to hard reset my Wizard, just the router. Now I know to start with the router because it's much easier to reconfigure. This is the first time that I've implemented WIFI on my own network. What happens if a public WIFI spot won't give you an IP anymore? Surely you just can't go and reset it. Granted it's not nearly as old as Ethernet, WIFI has been out for long enough that you think they would have these major kinks worked out.
Nicnatros said:
... but also PIE will choose WIFI if I'm connected to a wireless router, otherwise it will default to GPRS/EDGE without any interaction from me.
Click to expand...
Click to collapse
How did you manage this? I have been struggling for ages to set things up this way. Can you post your settings from settings>connections>connections>advanced>select networks. Also settings>connections>network cards.
I would like to be able to just turn on wlan from comm manager and use wifi to surf and connect to my wireless lan, but if no wifi available to default to my T-mobile gprs connection for surfing. Currently having to manually change the settings "Programs that automatically connect to the Internet should connect using" My Work Network or Tmobile gprs each time I want to use either.
What I want is the option
if wifi available
use wifi
else use gprs
Well my friends and I were like sitting around drinking foo-foo drinks and I just like stumbled upon the answer. Just kidding, it's fun to play the role of your avatar, especially mine.
Settings, Connections tab, Network Cards, Network Adapters tab: My network card connects to Internet
Settings, Connections tab, Connections, Advanced tab, Select Networks: Set first one to My work network. Set second one to MediaNet (or your gprs/edge/etc connection profile).
Now with those set, edit the My Work Network profile and make sure that under the proxy tab check connects to the internet option, uncheck the proxy option. Now edit your MediaNet (or other carrier data plan) and make sure that this contains all options for your carrier like proxy, modem, etc. If you are a Cingular user, go here to verify all settings for medianet. (Note that you will ignore the beginning couple steps when they say to place medianet first in the "select networks" settings. Start after step 6. Also they used the CingularGPRS connection profile instead of the MediaNet one) http://www.pocketpcaddict.com/forum...ular-8125-windows-mobile-5-phone-edition.html
When you connect to your WIFI router first and it asks you if it's work or internet, always select internet. If you are not sure what it's set at, go out of range or unplug your router. Go into network cards and find your router SID, click and hold on it and select remove. Then when you try to connect to your WIFI again it will prompt you for this, make sure you use internet setting.
Now if you have done everything correctly, Internet Explorer will use WIFI when it's turned on and you get a connection. All other times it will default to GPRS/EDGE. I can go from one to the other back and forth without changing any settings, only enabling and disabling WIFI in the comm manager.
Trashman said:
somehow wifi routers r not 100% reliable, every now and then i need to reset my linksys or i cant get ip as in your case...but with a normal reset is enough in my case...
Click to expand...
Click to collapse
Linksys WRT54Gx? if yes look into dd-wrt . stable and has a lot of features . other hardware is supported as well just check on their webby.
yaboc said:
Linksys WRT54Gx? if yes look into dd-wrt . stable and has a lot of features . other hardware is supported as well just check on their webby.
Click to expand...
Click to collapse
I have read many many many posts about people having issues with the wizard and that exact router... I personally would stay away from linksys.. i work in a field that deal with 3rd party routers and such, anytime an end user has a linksys i can usually prove 90% of the time that its the culprit (80% of the time powercycling it does the trick)
Nicnatros said:
Go into network cards and find your router SID, click and hold on it and select remove. Then when you try to connect to your WIFI again it will prompt you for this, make sure you use internet setting.
Now if you have done everything correctly, Internet Explorer will use WIFI when it's turned on and you get a connection. All other times it will default to GPRS/EDGE. I can go from one to the other back and forth without changing any settings, only enabling and disabling WIFI in the comm manager.
Click to expand...
Click to collapse
This seemed to do the trick for me.
I am sure that I had tried all possible combinations previously but what the hell, it is working exactly how I want now.
Thank you

Internet Sharing over Wifi-Chainfire's WMWifiRouter v0.80 Ooo Pretty (Dec-10-2007)

Note that the NEW thread is at http://forum.xda-developers.com/showthread.php?p=1801986
The topic maintainer (who has done a great job) has been fairly absent recently, which is why the thread has been continued elsewhere. The current topic also includes the information on how to do this all manually, without WMWifiRouter.
(End of Menneisyys' update; original original post follows.)
Breaking News!:
Chainfire has released WMWifiRouter v0.80. An app that automates the launching of Internet Sharing/Registry Changes/WiFi power Cycling/with a new 10 minute timeout fix/process! If you appreciate his work on this or his KaiserTweak application, feel free to donate something to him via PayPal.
IMPORTANT NOTES:
If you use this application, NO hacked .dlls are are needed/used. Ignore my (TalynOne's) tutorial, except for any sections referenced in Chainfire's notes below.
Make sure you have a working version of Internet Sharing installed, and tested, before trying to share it via WiFi.
WMWifiRouter info from ChainFire:
Changelog:
v0.80
Changed interface to use big icons and animations
Added new program icons, still needs some work though
Added option to make the log visible
Added about screen (with new logo)
Added options to create/remove shortcut in your program menu
Added extra registry backup/restore functionality
Added detection for ICS, with the optional error message
v0.76
Made "Unattended mode" the default power saving mode (seems to work for everybody)
Tweaked clean-up code
v0.75
Changed the power tweak with two different power saving modes: "idle" and "unattended". This fixed the power tweak for all users as far as I can tell.
v0.74
Changed the way ICS is launched and forced to connect (hopefully this will end the manual-connect issue once and for all)
Added code to prevent multiple instances
Added an icon
v0.73
Adjustments in power tweak
Adjustments in timings
Added registry tweaks for Sprint users
Put the configurable options in a menu
Added some code that cleans up your registry if the program crashed or you needed to soft-reset
Code cleaned up
v0.7
Added a power tweak
Made start sharing on start configurable (handy for troubleshooting)
Made quit when ICS quits configurable (handy for troubleshooting)
Added option to reconnect data connection when it drops
v0.6
Maintenance update, no new features added. The sole difference is that I rebuilt WMWifiRouter using a different widget set. The executable dropped 14-fold in size from 1.25mb to 93kb. This results in the application loading faster, consuming less storage, as well as less memory when running. This widget set is also lighter on the CPU, though I do not think that will be noticeable.
v0.5
Just a small maintenance update. In short, the app has simple become more responsive / usable:
App should be more responsive and load faster
'Loading' indicator is now used
Screen Toggle is disabled, as with further testing it causes too many problems
v0.4
Back to basics, all 'hacked files' removed. The name of your WiFi interface _should_ no longer matter.
New way to get around the 10 minute time out problem
Screen Toggle function added. Turns the screen off without disconnecting WiFi
WLAN state is recorded on start and restored on exit. So if you had WLAN turned on before you started WMWifiRouter, it will be turned on again after WMWifiRouter is done cleaning up after itself
More beers drank while making this version than during any other version!
The power tweak:
This replaces the old screen toggle. This should tell your device to not turn WiFi off when it goes into standby mode. On my Kaiser (TyTN II) this allows me to put the device into standby mode using the power button while the connection keeps being shared. Obviously this consumes a lot less power. I do not know if this will work on all devices, please let me know. Also note that while it usually works for me, it doesn't _always_ work, so try a few times. Wait for the connections to be established before putting the device into standby.
Upgrading:
Remove any old WMWifiRouter files you have
Follow the installation instructions
Installation:
Download the new zip HERE.
Unpack the zip file on your PC somewhere
Copy the WMWifiRouter.exe files to your mobile device
Usage:
Make sure you have an Ad-Hoc WiFi network configured. If not, follow TalynOne's instructions in the start of this thread.
Run WMWifiRouter.exe
Wait. WMWifiRouter does it's best to start ICS and initiate the connection, but this can take a few seconds. If the "ICS Status" label at the top if the WMWifiRouter screen says "Connected!", all should be well.
Usage Notes:
WMWifiRouter does it's best to launch ICS and initiate the connection, but I have noticed once or twice it didn't actually connect. When this happens, just task-switch to ICS and click "Connect" manually.
As a different hack is now used to prevent the 10-minute timeout problem, no hacked DLL's are used anymore, and your normal ICS tool is used. This does however lead to the ICS program screen saying you should "check your usb-cable" instead of it saying "connected". Don't worry about it
If your phone has a hardware WLAN switch (HTC Mogul), put this in the ON position before starting WMWifiRouter
Sets the IP of your WiFi to 192.168.0.1, which may break operation of regular USB cable Internet Sharing. If you have trouble getting regular USB Internet Sharing to work, read the FAQ titled "Help, when I go back to the non hacked version of Internet Sharing to tether via USB, it no longer works!", in TalynOne's tutorial for a possible fix.
So get testing all!
----------------------------------------------------------------
Now back to the regular tutorial...
Description:
A tutorial on how to share your mobile device's dial-up (GPRS/EDGE/UMTS/HSDPA/EV-DO, etc. cellular) connection over an Ad Hoc WiFi connection.
Starting with Windows Mobile 5 AKU3 Microsoft included an "Internet Sharing" application, for free, that allowed you to share your Internet connection (like the commercial apps PDANet and USBModem). But all of these applications only supported sharing your dial-up connection via a USB cable or Bluetooth PAN/DUN connection. This hacked version lets you share your Internet connection via an Ad Hoc WiFi network. This useful, among other reasons, if you want to share your Internet Connection with a device that doesn't support Bluetooth PAN, or USB Host connectivity, but does support Ad Hoc WiFi networks, such as a Sony PSP or iPod Touch.
Introduction:
To find out how this method differs from fluxist's read the FAQ located below. The tutorial is very verbose, because I think it's better to include too much information, rather than not enough. Expect a good number of edits/updates/corrections to this tutorial because of its length. I'm also hoping to include as much information as possible in the hopes that someone smarter than me can use this information to come up with an even better solution. This tutorial is HTC Mogul centric (since that's what I have), and includes certain notes that only apply to the Mogul (I will specify this in the note itself).
Requirements:
A Windows Mobile device with a working version of the Internet Sharing application (introduced in Windows Mobile 5 AKU3).
The ishare_over_wifi_usb_edition_v0.2.zip archive attached to the bottom of this post.
A hacked "intshare.dll" that's been modified to share you connection via WiFi through the USB selection in the "Internet Sharing" application, for the WiFi radio on your mobile device. Look at FAQ below for a list of included hacked .dlls, and the known mobile devices that they are for.
A client device that supports Ad Hoc WiFi networks.
Setup Summary
Setup an Ad Hoc WiFi connection on your mobile device
Set a static IP address on your WiFi device of "192.168.0.1" with a subnetmask of "255.255.255.0".
Setup an Ad Hoc WiFi connection on your client device
Download/uncompress the contents of ishare_over_wifi_usb_edition_v0.2.zip to a folder on your mobile device (eg. \Program Files\WiFiShare).
Copy the correct hacked "intshare.dll" into the same folder as you created in the above step (so it's in the same folder as "intshrui.exe").
Connect Summary
Make sure the Wifi radio is off.
Run the new "intshrui.exe", make sure USB is selected from the list, and press "Connect" (left softkey).
Turn your Wifi radio on.
Connect with your Ad Hoc client device (Laptop, PSP, etc...) and enjoy the INTARWEB!
Optional Steps
Setup a shortcut to the new "intshrui.exe" from the archive.
Setup a shortcut to the Wi-Fi control panel item.
Setup and create a shortcut to the included Mortscript ("Share&KeepSharingViaUSB.mscr").
Apply the workaround to overcome the 10 minute connection timeout after connecting with the Internet Sharing app.
Sprint HTC Mogul/SERO Notes
It seems Sprint is up to shenanigans in regards to tethering for SERO users. Those of you running Sprint ROMs should navigate to the following registry key "HKEY_LOCAL_MACHINE\Comm\InternetSharing" and delete the string value named "Extension". This will allow you to connect to the Internet via the Internet Sharing app without the dreaded error 67/authentication errors. Previous to this fix, Mogul SERO users would have to connect to the Internet via another method (such as starting Internet Explorer first) before pressing the Connect button in the the Internet Sharing application.
If you're really paranoid (it has been concluded these entries have no meaning when using Internet Sharing), using a registry editor, navigate to the "HKEY_LOCAL_MACHINE\Software\OEM\WModem" key, and set the "CheckProfile", "Multi-NAI" and "WModemDUN" DWORDS to a decimal value of "0".
Optional: Setting up a shortcut to the "Wi-Fi" applet
In this tutorial we will be accessing the "Wi-Fi" applet several times (and possibly every time you connect via Internet Sharing as part of the 10 minute timeout workaround). To prevent having to go to the Start->Settings->"Connections" tab every time you wish to access this applet, we can create a shortcut to this applet, by either:
Manually creating a shortcut link to it ("21#ctlpnl cplmain.cpl,17").
Going to the "Wi-Fi Settings Shortcut" folder in the .zip package and installing the "Network Cards ShortCut.cab".
Setting up an Ad Hoc WiFi connection on your mobile device
Make sure your WiFi radio is on.
Go to Start->Settings->"Connections" tab.
Select "Wi-Fi" applet.
On the "Wireless" tab, select "Add New...".
Pic
Type any network name you would like for your Ad Hoc network (eg. WMobileAdHoc)
Make sure the "This is a device-to-device (ad-hoc) connection" option is checked.
Pic
Select the "Next" button.
On the "Configure Network Authentication" screen, select "Open" for the Authentication type, and "Disabled" for Data Encryption. For the purposes of testing, lets verify the connection works without encryption, if it does, you can modify your Ad Hoc connection properties later to enable the encryption mode of your choice.
Pic
Select the "Next" button.
Select "Finish" on the final screen.
Pic
Configuring a static IP address on your WiFi device
Go to Start->Settings->"Connections" tab.
Select the "Wi-Fi" applet.
On the "Network Adapters" tab, select your WiFi device (for the HTC Mogul this is the item listed as "IEEE 802.11b/g Compatible Wi-Fi Adapter").
Pic
On the "IP Address" tab, select the "Use specific IP address" radio button. For the IP address enter the value "192.168.0.9" with a Subnet mask of "255.255.255.0".
Pic
OK the dialog.
Connecting to your Ad Hoc WiFi connection on your mobile device
Make sure your WiFi radio is on.
Go to Start->Settings->"Connections" tab.
On the "Wireless" tab, to avoid automatically connecting to other infrastructure WiFi networks in the area make sure, under the "Network to access:" section, to select the "Only computer-to-computer" option.
If you only have one Ad Hoc network defined, Windows Mobile should now attempt to automatically connect to it. If you have multiple Ad Hoc networks defined, or to manually connect to your Ad Hoc connection, in the list of the available connections, tap-and-hold the just added network, and select "Connect" from the context menu.
Pic
Setting up/connecting the Ad Hoc WiFi connection on your client device
Since the specific procedure on how to connect to Ad Hoc networks greatly varies from device to device (Windows XP/Vista/Sony PSP/MAC/etc...), it's impractical to document each possible combination. In general just fire up your client and search for nearby networks, making sure you're not only looking for access points, but also peer-to-peer (Ad Hoc) networks. This (looking for both types of network) is the default with desktop Windows Wi-Fi clients, other platforms might be needed to be manually instructed to list available Ad Hoc connections.
Installing the hacked Internet Sharing application
From the attached zip file copy the files "intshrui.exe", "ipnat.dll", and optionally "Share&KeepSharingViaUSB.mscr" to a new folder on your device (eg. \Program Files\WiFiShare).
Copy the hacked "intshare.dll" for your WiFi device from the "hacked_dlls" folder in zip file, into the folder you created in the previous step. Read the FAQ question "Which WiFi radios have you included a hacked intshare.dll" below to figure out which hacked .dll you should use.
Create a shortcut to "intshrui.exe" on your start menu for easy future access.
Connecting & Sharing the Internet via Wifi
At this point you should have already setup your Ad Hoc WiFi connection, and set a static IP address for your WiFi device. If you haven't already, do so now.
Make sure the WiFi radio is off.
Start the new "intshrui.exe" Internet Sharing application.
Make sure "USB" is selected (NOT Bluetooth PAN!)
Press the "Connect" button (left softkey).
Turn the WiFi radio on.
Ignore the fact that the satus displays "Check USB cable connection". This is normal.
Pic
At this point you can connect your client machine to your Ad Hoc network, and it should receive an IP address from the DHCP service running as part of the "Internet Sharing" application. You are now ready to enjoy the glories of the Internet!
Workaround for the 10 minute timeout
You may notice, at least on my device, that "Internet Sharing", at exactly 10 minutes of usage, disconnects from the Internet, while you AdHoc WiFi stays on. This timeout is built into "intshrui.exe". Remember in the previous procedure how the status displayed as "Check USB cable connection", the status line needs to change to "Connected" for the timeout not to occur. This is how:
Make sure "Internet Sharing" is active and connected, but the status message still says "Check USB cable connection".
Pic
Go to Start->Settings->"Connections" tab.
Select the "Wi-Fi" applet.
On the "Network Adapters" tab, select your WiFi device (for the HTC Mogul this is the item listed as "IEEE 802.11b/g Compatible Wi-Fi Adapter").
Pic
At this point we need to change something about the IP configuration that won't matter/affect anything, such as the alternate WINS address. It needs to be different from the current configuration or else the settings won't apply, which is needed for this workaround. On the "Name Servers" tab, select the "Alt Wins" entry and enter an arbitrary, unused, IP address value such as "192.168.0.253".
Pic
OK the dialog.
Go back to the "Internet Sharing" application and the status should now display as "Connected"! The timeout should no be disabled for this connection session.
Pic
I've tested this many times and have been on the Internet for more than 2 hours without a disconnection in this state! If you get disconnected for any other reason you will have to reapply the workaround again. Remember to change the IP address to a different value so that the change applies, alternating between "192.168.0.253" and "192.168.0.254" should work fine. It just needs to be different value from the immediate previous setting. I've tried many different things to get the status to change to "Connected" via other methods, this is the only one I so far found to work.
"Share&KeepSharingViaUSB.mscr" Mortscript
This script is included in the attached .zip file To use this script you must first download and install MortScript from here:
http://www.sto-helit.de/index.php?module=download&action=view&entry=65
or here:
http://www.pocketpcfreewares.com/en/index.php?soft=1448
This is an adaptation of Xiou's Share&KeepSharing script.
It turns off Wifi radio, starts hacked version of Internet Sharing app, connects and turns WiFi radio on. Once one valid connection has been made, reconnects if Internet Sharing enabled status status changes to disabled (ie. a disconnect occurs). Also, keeps device from going into standby mode, to prevent loss of WiFi connectivity.
It's heavily documented so it should be fairly easy to view, modify and understand by looking at it in a text editor.
Troubleshooting/Tips:
My connection seems flaky/slow, how can I fix it?
If you have Bluetooth radio is on, try turning it off. On some devices, such as the HTC Mogul, the antenna for the WiFi and Bluetooth devices are shared, and WiFi performance can be greatly degraded when both are on. I've personally experienced a situation where I've been connected to a regular WiFi network connection, and when transferring files, the transfer speed was terribly slow. Turning off Bluetooth greatly sped up the file transfers.
Don't place your mobile device too close to the device you're connecting to. If the devices are too close your connectivity could get flaky.
Upping the power level of the WiFi device may help (at the sacrifice of battery power drain). On the HTC Mogul this can be done by going to Start->Settings->"Connections" tab and selecting the "Wireless LAN" applet, then on the "Power Mode" tab, slide the Power Save Mode slider all the way to the left.
You stay connected via WiFi, but Internet Sharing gets disconnected every 10 minutes
Make sure you're using the 10 minute disconnect workaround documented above. Also, you can try the included Mortscript (Share&KeepSharingViaUSB.mscr), or better yet, use Chainfire's WMWifiRouter application.
Help, when I go back to the non hacked version of Internet Sharing to tether via USB, it no longer works!
For some reason the IP address of your virtual USB ethernet device gets blanked out sometimes, to fix this:
Go to Start->Settings->Connections Tab->Wi-Fi applet
On the Network Adapters tab, choose "Remote NDIS Host"
Set the IP to 192.168.0.2
Set the Subnet Mask to 255.255.255.0
This doesn't work, what else can I try?
Read the FAQ "My device is not in the list and/or I don't know what the device name for my WiFi device is, how do I find out?" to make sure that a hacked .dll exists for your device and is copied into the same folder as "intshrui.exe". If one doesn't exist you can request one be made by posting in this thread, with the WiFi identifier of your device (please provide the name of your device too). You can also create your own hacked .dll by reading the FAQ "How did you hack intshare.dll?".
Try Chainfire's applicaton, available at the top of the thread HERE
Try fluxist's methods HERE (try the non hacked .dll method first)
FAQ:
How is this different from fluxist's hack?:
It redirects USB instead of Bluetooth for sharing the Internet Connection, and works of an independent copy of intshrui.exe, so none of your original files/functionality gets effected. By redirecting the USB functionlity, instead of Bluetooth, you don't have to deal with the Bluetooth visibility prompt, and your Bluetooth radio doesn't get turned on by the Internet Sharing application. On some devices, such as the HTC Mogul, the antenna for the WiFi and Bluetooth devices are shared, and WiFi performance can be greatly degraded when both are on. I've personally experienced a situation where I've been connected to a regular WiFi network connection, and when transferring files, the transfer speed was terribly slow. Turning off Bluetooth greatly sped up the file transfers. Also the method allows for the 10 minute timeout elimination workaround described above. More information is located in the FAQ "How did you hack intshare.dll?".
Why would I want to share my phone's data connection over WiFi, as opposed to over Blueooth or USB?
There are many reasons, including:
With 3G technologies, such as EVDO, phone data speeds can easily exceed what Bluetooth supports (Bluetooth v1.2 - 1 Mbit/s, Bluetooth v2.0+EDR - 3 MBit/s). This is not counting the overhead taken by the protocol itself.
The ability to share with multiple clients. I tested with my laptop and a Dell Axim X50V connected to the Ad Hoc network, and both were able to use the shared connection on the Windows Mobile device at the same time just fine!
WiFi data communication can be encrypted with industry standard encryption, Bluetooth sharing is not.
WiFi range tends to be typically much longer than most Bluetooth devices.
You may want to share your data connection with a device that does not have Bluetooth PAN or USB Host connectivity, but can connect to Ad Hoc WiFi devices, such as an iPOD Touch.
By using this will I be charged by my phone carrier?:
Generally, this will incur the same charges as using the Internet on your phone. If you have an unlimited data plan, you should be fine. You are responsible for any charges you may incur due to lack of sufficient testing.
Can secure my WiFi connection ?
Sure, when setting up your Ad Hoc connection just enable an encryption method (such as WEP or WPA). Make sure the encryption method you choose is supported on both your Windows Mobile and client device.
Which devices support Ad Hoc networks?
Almost every device that supports normal Wifi networks, including the Sony PSP, Apple iPhone, and Apple iPod Touch.
I have a SmartPhone, how do I set my IP Address?
I don't have a SmartPhone, but luckily PocketPC Expert Menneisyss does, and has found a solution. Since I don't have a SmartPhone I'm going to plagiarize his solution for you here:
Download/install the IP profile Manager CAB file HERE (mirrored it HERE), which makes it possible to fill in the IP addresses on MS Smartphone (Windows Mobile Standard) devices as well. That is, with this tool, you can use MS Smartphone models having Wi-Fi support like the HTC Dash / s620 and Vox / s710. A poster reported success with the HTC Dash / s620. With the Vox, I haven’t managed to make internet sharing work, but you may have better luck.
After installing and starting the application, you’ll need to select your WiFi networking device (as can be seen in the following screenshot, it’s "TNETW12511" on the HTC Vox; if your model has the default TIACXWLN1, then, no such dialog will be presented):
Pic
You'll then need to select Options / Add Profile; there, just fill in the two numbers (IP:192.168.0.9 / Subnet Mask:255.255.255.0), making sure you also give the profile a name so that it is saved and becomes selectable:
Pic
Then you can select the new profile:
Pic
And restart the device as prompted:
Pic
After restart, follow the exact same procedure as on the Pocket PC.
How did you hack intshare.dll?
I took fluxist's hacked .dlls, and using a HEX editor replaced every instance of the string "RNDISFN1" (which refers to the USB device) with the WiFi identifier. If the string was too long and encroached into the "BTPAN1" string, then I moved the "BTPAN1" string over. I have no idea if this breaks the functionality of using the "Blueooth PAN" entry in the Internet Sharing app for sharing over WiFi, I haven't tested it, and you should never use it regardless. The top three occurrences of the WLAN identifier (TNETW12511 for the Mogul) are related to my USB hack, the last (fourth) occurrence of the WLAN identifier is a left over from fluxist's Bluetooth hack.
This hack is different from a fluxist's registry change .dll hack. In my hacked .dll I replaced EVERY reference to the USB device (RNDISFN1), to the WiFi device in question (TNETW12511 for the Kaiser/Mogul). So if you just perform a registry change with the original version of the intshare.dll, the "Status" messages the "Internet Sharing" app looks for/displays are related to the USB device. In my hacked version, the "Status" messages the app looks for/displays are related to the actual WiFi device. So changing WiFi IP address properties, for the 10 minute workaround, while running the non hacked version will have no effect, because the non hacked .dll version is monitoring the USB device, not the WiFi device.
For which WiFi radios have you included a hacked version of intshare.dll?
TIACXWLN1
-Artemis / HTC P3300
-Pocket Loox 718/720
-Hermes / HTC TyTN / XDA trion / MDA Vario II / VPA Compact III / SPV M3100 / Dopod CHT 9000 / Dopod 838 Pro
-Athena / x7500
TNETW12511
-HTC Titan / Sprint Mogul / Verizon XV6800 / P4000
-HTC TyTN II / Kaiser / AT&T Tilt / 8925 / P4550
-Elf / HTC Touch
-HTC Vox
TNETWLN1
-Universal / Qtek 4040 / XDA-IV / SPV M5000 / MDA-IV / i-mate 2005
-HTC Wizard / Qtek 9100 / i-mate K-JAM / MDA Vario / O2 XDA Mini S / SPV M3000 / Cingular 8125 / T-Mobile MDA / Dopod 838 / VPA compact II
WLAN11g1
-Terralogic Toughnote DA05-M Ruggedised PDA
SWLD25SP1
-E-ten Glofiish X500
-Samsung SGH-i600
GSPI86861
-Sharp EM-ONE
CheetahSDN1
-O2 XDA Flame
CF8385PN1
-O2 Atom LIFE
My device is not in the list and/or I don't know what the device name for my WiFi device is, how do I find out?
Go to Start->Settings->"Connections" tab.
Select the "Wi-Fi" applet.
On the "Network Adapters" tab, make note of the name of your WiFi device (for the HTC Mogul this is the item listed as "IEEE 802.11b/g Compatible Wi-Fi Adapter").
Using a registry editor, search the registry using the name you noted in the previous step. The second occurrence (it's slightly different from the first, it has a suffix "1" after the registry key name, and also has a "Wireless" value) will be something like this:
Code:
[HKEY_LOCAL_MACHINE\Comm\[b]TNETW12511[/b]]
"DisplayName"="IEEE 802.11b/g Compatible Wi-Fi Adapter"
"Group"="NDIS"
"ImagePath"="TNETW1251.dll"
"Wireless"=dword:00000001
Look up the name of the subkey, which is [HKEY_LOCAL_MACHINE\Comm\TNETW12511]. Of this, you’ll only need the last subkey name component (TNETW12511).
Other reading of interest:
Bluetooth specs:
http://en.wikipedia.org/wiki/Bluetooth
Internet sharing description & why Microsoft Mobile team removed Bluetooth DUN:
http://blogs.msdn.com/windowsmobile/archive/2007/04/17/why-did-we-remove-bluetooth-dun.aspx
The new dial-up network model of the WM5 AKU3:
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1415&more=1&c=1&tb=1&pb=1
A tutorial of setting up and using Wi-Fi peer-to-peer (Ad Hoc) connections between Pocket PC's:
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=588&more=1
Dial-up Networking Through Bluetooth Under WM5 AKU3 / WM6:
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=2121&more=1&c=1&tb=1&pb=1
Unrestricted BT PAN server with the MS BT stack:
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=2230&more=1&c=1&tb=1&pb=1
Links for developers/hackers :
Sample for using Internet Sharing API:
http://groups.google.com/group/micr...4aaa543efc216f/a9c637f89b0575b6?lnk=st&rnum=1
Configurable TCP/IP Configuration Parameters in WinCE 3.0:
http://msdn2.microsoft.com/en-us/library/ms881801.aspx
Controlling the Radio Devices:
http://www.teksoftco.com/articles/article 007/radiodevices.htm
802.11 WLAN WiFi : Power Mini FAQ - Windows CE:
http://blogs.msdn.com/cenet/archive/2006/12/14/802-11-wlan-wifi-power-mini-faq-windows-ce.aspx
WiFi toggling fix:
http://forums.sbsh.net/index.php?showtopic=17139&pid=175405&mode=threaded&start=
New Windows Mobile 6 State and Notifications Broker State Values:
http://www.pluralsight.com/blogs/jimw/archive/2007/04/20/46866.aspx
Internet Connection Sharing for Microsoft Windows CE MSDN documentation:
http://msdn2.microsoft.com/en-us/library/aa924710.aspx
http://msdn2.microsoft.com/en-us/library/ms901927.aspx
http://www.microsoft.com/technet/archive/wce/evaluate/sharece.mspx?mfr=true
Thanks/Credits:
Chainfire - For his awesome WMWifiRouter application.
fluxist - For the original hack!
Menneisyys - For his blogging on the subject.
Xiou's - For his Share&KeepSharing script.
gthing - For the XDA-Developers Hermes Accesspoint Wiki.
luv2chill - Sprint Mogul Internet Sharing Connect Fix. (post by luv2chill).
electronicrice - Multi-NAI disable hacks for the Mogul
Final Thoughts/Notes:
fluxist's tutorial instructs you to set the IP address to 192.168.1.1, I instruct you to set it to 192.168.0.9. This is so it matches up to what I found in "intshare.dll". When I was testing sometimes my laptop would get a 192.168.0.0 network address, even when my mobile device was statically set to a 192.168.1.0 network address.
My expertise is in network/system administration/repair and software development. I can easily create code, but when it comes to hacking someone else's compiled code, I'm a complete novice. The ideal solution is if a one click solution could be written to change the WiFi configuration to Ad Hoc, set a static IP address, connect to the Internet with the Internet sharing app, have it stay with a status of "Connected", and reconnect on loss of connection.
I'm figuring a skilled hacker/cracker should be able to patch "intshrui.exe", where I believe the actual 10 minute time out exists, and get rid of it. When opening this file in a Hex editor, I noticed the strings "HostConnectTimeout" and "CellConnectTimeout" inside.
Another solution would be to figure out the undocumented APIs to build a new Internet Sharing application.
intshare.dll exposes the following exports: InternetSharingEnable, InternetSharingDisable, RegisterForInternetSharingNotifications, and DeregisterForInternetSharingNotifications.
ipnat.dll exposes the following exports: IPNat, LanaUp, NAT_Close, NAT_Deinit, NAT_IOControl, NAT_Init, NAT_Open, NAT_Read, NAT_Seek, NAT_Write, and NatConfigure.
The included "Share&KeepSharingViaUSB.mscr" Mortscript uses vjvolubilis.exe (available at http://www.vijay555.com/?Releases:VJVolubilis) to toggle the Wifi radio off and on, but this app is not compatible with the HTC Mogul. It would be great if someone can suggest a program that would work with Mortscript and the HTC Mogul.
--------------------
Changelog:
v0.2
Added hacked dll for "CheetahSDN1" (O2 XDA Flame)
Added hacked dll for "CF8385PN1" (O2 Atom LIFE)
Changed IP address in hacked intshare.dlls from 192.168.0.1 to 192.168.0.9 to prevent possible conflicts.
Changed "Share&KeepSharingViaUSB" Mortscript.
Added "StopSharingViaUSB" Mortscript.
v0.1
Initial Release
WOW!!
All I can say is Wow. Thank you very much for the effort and time that you put into creating this. I am currently using an Athena and the files and tuturial that you setup work great. Thanks for the work. It makes my Athena just that much better. I will let you know if I run into any problems.
Great, congrats, will frontpage this!
Awesome, thanks.
wow...thanks a million
don't dare read it now, but wow...thanks...speechless
another wow
thanks for all the time and effort you put into this. you definitely went out of your way to make sure this was easily understandable and complete. i applaud you for your hard work.
great tutorial, my only question is when would you use this. When you have a laptop with no wireless card?
Ack, I just realized my poor topic title. No, if you wanted to use Internet Sharing with a USB cable, just use the one built into your Windows Mobile, no hacks needed.
This is for sharing via WiFi, the USB cable doesn't even have to be connected for this hack.
MWillis561, which WiFi Radio does the Athena use (so I can document it)?
We us TIACXWLN1
specv said:
great tutorial, my only question is when would you use this. When you have a laptop with no wireless card?
Click to expand...
Click to collapse
On the contrary. When you have a non-BT PAN-capable client still able to communicate over Wi-Fi P2P networks - for example, a Symbian or a Windows Mobile phone. I've used both (Symbian: NOkia N95; Windows Mobile: a lot of different clients) in this config; they all worked great. Check out my related articles.
This is ideal for anyone with a mac running an older operating system. (i.e. 10.3)
I've spent a few hours to hack together an app that does all these things without needing any of the hack DLL's or scripts (it does all the registry changes at the right times, enable/disable WLAN at the needed times etc).
There's just one thing I can't seem to get around, and that's the 10 minute timeout thing. Just doing things manually, I can't get the 10 minute disconnect workaround to work as described (and if I can't even do that, how am I going to get it to work programmatically? ). My cable stays in 'disconnected' state. Help?
Chainfire said:
I've spent a few hours to hack together an app that does all these things without needing any of the hack DLL's or scripts (it does all the registry changes at the right times, enable/disable WLAN at the needed times etc).
There's just one thing I can't seem to get around, and that's the 10 minute timeout thing. Just doing things manually, I can't get the 10 minute disconnect workaround to work as described (and if I can't even do that, how am I going to get it to work programmatically? ). My cable stays in 'disconnected' state. Help?
Click to expand...
Click to collapse
Try doing it manually WITH the hacked .dll for the Kaiser, see if that helps.
TalynOne said:
Try doing it manually WITH the hacked .dll for the Kaiser, see if that helps.
Click to expand...
Click to collapse
Still no go!
I think I have duplicated what your 10 min fix does though, in my app. I've uploaded it to http://www.jongma.org/WMWifiRouter/WMWifiRouter.zip.
It would be great if you (or someone else) could give it a go and see how (if) it works for you, including the timeout.
Usage is simple, put the EXE on the phone. All you need to have is that ad-hoc connection set up. Run the EXE, it will do some registry modifications, turn of WLAN and start up IS. Put IS on USB and connect, the EXE should turn WiFi back on including the reconfiguration. One note though, once you disconnect in IS you have to really close IS and restart the EXE as well.
Thanks.
Ok, for the Timeout hack to work it has to be running the hacked version of the .dll, you can not simply get away with registry changes. The hacked dll does more than just set the registry. When starting your app stand alone it started the non hacked "Internet Sharing" app, which never applied the Timeout workaround properly. When starting my hacked version first, getting a valid Internet AND AdHoc connection first, and then executing your .exe it worked half the time. It seems your .exe, every other time, set the WiFi adapter to DHCP mode.
Change it so it runs the hacked version, doesn't perform any registry changes on the Internet Sharing Private/Public interface keys (since the hacked .dll already does this), and changes the ALT WINS address to a new value from its current value, make sure you don't set the WiFI adapter to DHCP at any point.
Great job! Looks like we're getting close.
TalynOne said:
Ok, for the Timeout hack to work it has to be running the hacked version of the .dll, you can not simply get away with registry changes. The hacked dll does more than just set the registry. When starting your app stand alone it started the non hacked "Internet Sharing" app, which never applied the Timeout workaround properly. When starting my hacked version first, getting a valid Internet AND AdHoc connection first, and then executing your .exe it worked half the time. It seems your .exe, every other time, set the WiFi adapter to DHCP mode.
Change it so it runs the hacked version, doesn't perform any registry changes on the Internet Sharing Private/Public interface keys (since the hacked .dll already does this), and changes the ALT WINS address to a new value from its current value, make sure you don't set the WiFI adapter to DHCP at any point.
Great job! Looks like we're getting close.
Click to expand...
Click to collapse
Same link. Updated the EXE so that it looks for intshrui in the local folder first. If it finds that it will not perform the ICS registry hacks.
You mention however that the hacked DLL's do more, I thought the only thing changed about it was the interface names? I don't see why that would be of influence (as that can be fixed through reg, as obviously with all the normal files / no hacks, I can use the app and it just works for me).
The changes applied are indeed to the WINS adapter, I do not touch DHCP. Though what you may be seeing is at the moment you disconnect, the app restores the default registry settings for the wireless adaptor, which has DHCP enabled. Furthermore I'm not entirely sure I actually have to change any value. I think the control panel application simply doesn't "apply" if there weren't any changes, force the driver to rebind the adaptor with IOCTL messages like I do now, would probably work with or without modifications.

wifi (WPA-PSK-String) problem in htc touch hd?

Hi Guys,
I guess this is my first post in this forum.
Does anyone have any problems connecting the HTC Touch HD device to a router with WPA-PSK String setting?
When I entered the details of the Wi-Fi setting, it stucks in the 'Connecting' status.
I did try disabling the security in my router and the device is connected successfully.
Help! Help! Help!
Any assistances will be much appreciated.
ak
Try using a shorter string and see if that helps.
I remember having trouble with my Wizard and WM5. A connection string that was too long would cause this.
My Touch HD connects fine with WPA-PSK, but cannot connect using WPA2, whereas my Wizard with WM6.1 connects WPA2 quite fine.
Anyone else have this problem?
thanks for your reply.
it is very strange though. I did try various settings of the password: 8 characters, 10 characters, 12 characters using WPA-PSK.
I cannot test WPA2 because my router does not support WPA2 .
hm.. ROM update probably
I have a 10 character wpa-psk string, on a US Robotics access point.
worked instantly.
How about the other settings, TKIP/AES etc?
no data encryption settings in my modem router. could that be a problem? But, my TyTn II is connected to the same modem router and I set it to WPA PSK String with TKIP encryption.
My modem router is quite old. I guess this December is his 5th anniversary .
I might try to connect to my neighbour wifi network tomorrow and check the connectivity.
Thanks guys. If any of you still have tips or instructions to fix this problem, that will be much appreciated.
ak
any update on this issue? help required
I am currently using a HTC touch HD Orange UK with the latest ROM from HTC. I also tried DavideUK 6.1 V6 and 6.5 V7.0. In all cases, I could only connect to public wifi networks but always failed to connect to any WPA-PSK routers.
P.S.: I did try enabling/disabling WPA functionality using advance setting/tweaking tools for WM6.X
Has any one manage to solve this one?
Do we know which NIC is in the Touch HD?
Is there any driver update available?
is the WPA-SPK encryption-decryption done via hardware, software or a combination of both?
Thanks for any provided information.
Solution!!! here for Orange UK unlocked handset
Hi Every one, I finally found a solution for the Orange UK unlocked handset and WIFI with WPA-PSK encryption.
It seems like a contradiction but the only way to get it to work is by reintsalling the orange packages & settings on the top of any ROM you are using (tested with stock rom 1.14, 1.19 and DavideUCK WM6.5 V8). So no way to get away from Orange for the moment.
here is how I proceeded:
- installed ROM 1.14, 1.56 then DavideUCK WM6.5 V8
- installed Orange_UK_by_rabdo_v1.6.cab ( http://forum.xda-developers.com/showthread.php?t=311467) and Orangeworld_Fix_by_rabdo.cab (http://forum.xda-developers.com/showthread.php?t=316763)
P.S.: both seem required
- checked with Advanced_Configuration_Tool_v3.3.cab that WPA is DISABLED (Yes it is right, I read on some post that status DISABLED was the solution).
now the rest is basic networking by setting password, static or dynamic IP/gateway/router & DNS.
Remaining questions to Rabdo, Davideuck and the developers here:
- What in those 2 orange cab files solved the problem?
- Do Orange HTC Blackstone have a different hardware than factories? or are they using a software solution to handle WPA-PSK encryption instead of hardware encryption?
- are other branded Blackstone suffering from the same issues?
a BIG THANKS to Rabdo for those packages!!!!!!!
P.S.: no Orange splash screen is included in thos CABs ;-)
Just checked with my HD. It can't connect with WPA/PSK. WPA2/PSK is fine irrespective of key length. Looks crazy. Since my router supports WPA2, I never checked this earlier.
I could never connect to WiFi at work where a long key with funky characters is used (WPA2, AES), and according to our admins no WM device has ever been able to do that. Every other device works fine. So it seems like a problem affecting Windows Mobile in general, not just Touch HD.
I think the Edit Box where U enter the key only allows ascii. If U can bypass it then it should be possible. those deep into WM programming might be able to help.
I've had the HD for about 6 weeks now and it's been working fine with my home WIFI, which is WPA2-PSK. But in the last few days it has stopped working for some reason.
It still says connected, but whenever i try to go online or even just update the weather, the program says it's not connected. It's driving me mad
I hadn't changed any of the settings, so i don't know why it's started playing up. I've triple checked everything and the only thing out of the ordinary that i can notice is that my network key is 8 characters and that's what i enter in the appropriate place, but then when i go back in to check it there are 13 characters in the box. Where are these extra ones coming from? I can't tell what they are because it's asterixed out.
Any help would be greatly appreciated because i'm fresh out of ideas!
Hi just have a new HD.
Everything works fine so far but i cannot connect to my router.
Its a brand new Dlink . Al my other devices connect perfectly (pc and htc diamond)
but my HD says its connected (shows IP etc...) but still i cannot connect to the internet or update the weather...
Any ideas ????
Ebola_virus,
Go to settings>Connections>Connections>Advances>Select Networks. Select My Work Network (For "Programs that automatically connect to internet use:")
Next time use search
dashfield said:
I've had the HD for about 6 weeks now and it's been working fine with my home WIFI, which is WPA2-PSK. But in the last few days it has stopped working for some reason.
It still says connected, but whenever i try to go online or even just update the weather, the program says it's not connected. It's driving me mad
I hadn't changed any of the settings, so i don't know why it's started playing up.
Click to expand...
Click to collapse
Same problem here. This has been reported by too many people.. If you search you' ll find many many threads.
Worked fine, then without any change stopped working. WiFi reports it is connected but no program can use the internet.
Setting slider to full perfomance, using work instead of internet, enabling/disabling WAP security, hard resseting, reflashing nothing works!
At least one user reports "cycles" of good/bad operation without changing a thing !
I too am mad and wondering: anyone had it fixed through HTC service?
If you connect to an access point using the standard interface it will set encryption type as AES as standard (regardless of what your AP is set to)
If your access point is configured for TKIP encryption type then you need to manually go in and edit the settings like I have to in order for it to work.
hth.
Can connect but cannot surf
I have a wireless router that is set up using WPA-PSK. I can connect to the router with my HD, but when I use any browser nothing happens. When I go into the routers settings page I can see that my phone has an ip-nr but still nothing happens. Has anyone experienced this and solved the problem? Thanks.
tintin_en_ecosse said:
Hi Every one, I finally found a solution for the Orange UK unlocked handset and WIFI with WPA-PSK encryption.
It seems like a contradiction but the only way to get it to work is by reintsalling the orange packages & settings on the top of any ROM you are using (tested with stock rom 1.14, 1.19 and DavideUCK WM6.5 V8). So no way to get away from Orange for the moment.
here is how I proceeded:
- installed ROM 1.14, 1.56 then DavideUCK WM6.5 V8
- installed Orange_UK_by_rabdo_v1.6.cab ( http://forum.xda-developers.com/showthread.php?t=311467) and Orangeworld_Fix_by_rabdo.cab (http://forum.xda-developers.com/showthread.php?t=316763)
P.S.: both seem required
- checked with Advanced_Configuration_Tool_v3.3.cab that WPA is DISABLED (Yes it is right, I read on some post that status DISABLED was the solution).
now the rest is basic networking by setting password, static or dynamic IP/gateway/router & DNS.
Remaining questions to Rabdo, Davideuck and the developers here:
- What in those 2 orange cab files solved the problem?
- Do Orange HTC Blackstone have a different hardware than factories? or are they using a software solution to handle WPA-PSK encryption instead of hardware encryption?
- are other branded Blackstone suffering from the same issues?
a BIG THANKS to Rabdo for those packages!!!!!!!
P.S.: no Orange splash screen is included in thos CABs ;-)
Click to expand...
Click to collapse
I had exactly the same problem, followed your instructions (although didn't disable WPA in the advanced config tool, it was already disabled!!). It worked on reboot excellent, and I have a very long network key! Thank you very much for these instructions! :d
- checked with Advanced_Configuration_Tool_v3.3.cab that WPA is DISABLED (Yes it is right, I read on some post that status DISABLED was the solution).
now the rest is basic networking by setting password, static or dynamic IP/gateway/router & DNS.
Click to expand...
Click to collapse
Wow, never would have found this on my own. This is exactly the solution!!! It almost drove me crazy, have tried everything ...
THANK YOU !!!
Uli
Help.....
My Touch HD when I go Starbucks to connect wifi is show connected but cannot access internet, other ppl like notebook or sonyericsson C905 can access internet but why my phone cannot access? anybody know? pls help....thanks
Wifi not working HTC HD2
Hi,
I am using HTC HD2.
I am presently in a university and we have a wifi network here. The wifi network can be accessed by entering a username and password. A proxy also needs to be entered in order to access the internet.
Most of the phones on the campus like iphone or other nokia and samsung phones are able to use the internet very easily. Setting for iphone users are as follows:-
1. Switch on wifi on your iphone
2. Select "Other..." in the list of networks
3. Enter "wifistudent" as the name of the network
4. Select security type as "WPA–PSK 2 Enterprise"
5. Put your username and password
And for Nokia E series the settings are:-
Create a new Connection Name - say e.g. wifi
Data Bearer: Wireless lan
Wlan network home: wifistudent
Advanced Settings (in options)
Enter Proxy Server Address (192.168.32.x) and Proxy Port Number (8080)
Network status: hidden
WLAN network mode: infrastructure
WLAN security mode: 802.1 xs
WLAN security settings:
WPA/WPA2: EAP
EAP plugin settings
1. EAP LEAP
[Options>edit]
User name: xxxxx
Prompt for password: no
Password: *****
2. EAP PEAP (disabled)
(all others disabled)
Based on above information, I want to ask you two questions:-
Question 1) I hope based on above settings for the other phones you can help me find how to configure wifi on my phone.
Question 2) Where do I enter the proxy server so that the wifi network uses the proxy server. Right now I was only able to set up a proxy server for GPRS connection. Not for my wifi connection.
I would quite thankful if you can let me know how to configure the wifi on my phone.
Regards,
Mohit Goyal

Categories

Resources