yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] dasilva333:
second update this is what it took me from scatch to do it on my 6700 and totally different network;

okay this is the second networks settings

phone - 192.168.1.116 (assigned by ap)

gateway - 192.168.1.1 (this is tricky to figure w the built in ms tools, so i used vm netbrowswer to figure it out)

-enable activesync transfer icscontrol to ppc

-scroll to the bottom set defaults

-Set Public Interface to tiacxwln1 (wifi)

-set private interface rndisfn1 (usb)

-set private ip : 192.168.2.1

-click in start ics and leave it open

-go to network cards tab next to Wireless in Wireless Lan

-network adapters: set ndis host default gateway to the one u figured in vmbrowser (192.168.1.1)

okay now from here i would theoretically except it to magically start working but when i say the dhcp server is flaky is because i don't get 100% results, for example ive only got my actual ip once leaving it upto here, ive tried different combinations anyhow im sure itll get resolved, on to the computer settings

-start, network connections, right click the network card icon for ur ppc

-change tcp/ip settings basically to anything within the new subnet

this is what i set mines to in this example network:

ip - 192.168.2.3

gateway - 192.168.2.2

dns - 192.168.2.2 (not sure but for safe measure)

anyhow after you set up the ip settings it should defintely 100% work, if you can ping 192.168.2.1 then u can reach your phone and so good so far if you can ping 192.168.1.1 uve reached ur wifi's ap and if u can ping google.com then u go internet

now if someone can translate this to a mortscript we'd be set
[Windows Mobile Apps and Games] earroyave:
Will this also work to link an iTouch via Wifi?

I just started playing with this app and started to wonder about connecting my iTouch to the Internet via the phone. Anyone know of a reason why this would not work?

Tks!
[Windows Mobile Apps and Games] lysdexical:
Yeah, apparently there is an incompatibility between the Windows Mobile DHCP server and the iTouch and iPhone. Fortunately I wrote my own DHCP server a while ago which I can add to ICS and alter it to work around the incompatibility, but unfortunately I do not have an apple device to test with so I have no idea what exactly the quirk is that causes it to not work.
[Windows Mobile Apps and Games] dasilva333:
hey i was also thinking of a couple of crazy ideas of things you could possibly do w this program

for example is it possible to do the reverse of usb-wifi, for example get internet from the computer and output it via wifi via adhoc so:

internet - computer - usb - ppc - wifi - adhoc

basically a usb wifi router

and if so is that also possible w bluetooth, usb bluetooth router?

speaking of bluetooth what could be some crazy combinations that we could come up w using bluetooth and wifi w ics control?

another idea that i came up w would it be possible to connect two pocket pcs to each laptop/computer as Usb-WIfi and set it up as an adhoc network?

finally given the fact that ppc is detected as a ndis compatible driver via windows how hard would it be to intergrate ppc drivers into a linux distro and use it for linux based tools?
[Windows Mobile Apps and Games] wonderboy2005:
Apparently I am lacking ipnat.dll. Is there any place I can get that file from? I found one thread on here that had a download of it, but it turned out to be an empty file :(
[Windows Mobile Apps and Games] JNasty:
Great APP!

I hope you get lots of donations to avoid going commercial like a similar app. This app is much better (IMHO of course) and doesn't the sharing proggy. I love the direction/vision you have for this. Big props to you!
[Windows Mobile Apps and Games] :
Sorry for the stupid question but can someone here give a newbie some detailed advice on exactly how to install this?

If I run the ICSControl.exe file on my Windows machine it instantly crashes.

If I try to run it on the device (an HTC Wings/s730) I get an error also.

Thanks.
[Windows Mobile Apps and Games] lysdexical:
Thanks. Thus far I've received 0 donations. This doesn't surprise me, and money obviously is not my motivation, but it does remind me that while this was a fun project I have other things to do.
[Windows Mobile Apps and Games] mindcontrola:
Unexpected Error

@ lysdexical

I've been following this thread for a few weeks. I never got it to work for too many reasons, one being ad hoc or IP problems with my pc. But anyways, I was playing around with ICSControl.exe just moments ago and I got an unexpected error. Not sure what kind of errors are expected but I certainly was not expecting this. Here is the error details:

"ArgumentNullException

An error message cannot be displayed because an

optional resource assembly containg it cannot be

found

at System.BitConverter.ToUInt64()

at ICSSControl.Lease.LoadFromRegristry

at ICSControl.Main.RefreshLists()

at ICSControl.Main..ctor()

at ICSControl.Program.Main()

Seeing that you have 0 donations, I would gladly contribute if I could actually get it running. But first, how can I get rid of the error. It comes up every time I start ICSC. Can I make some registry changes? Delete/Move ICSC? Any other changes?

To explain how I got this error in the first place, internet sharing program was running in the background, but not connected. I forgot to close it. Then I ran ICSC, made some changes, and hit start and bam!@ error. Not sure if it had anything to do with it. Also, I have a question about the dropdown for connection choices where one of them was SPRINT. I made a new connection so I can use a different DNS server, and gave it a new name. Would choosing SPRINT in the dropdown automatically connect to the default one? Any suggestions or am I gonna need to reset my phone? I was so looking forward to getting this running. This is my first post as I just got my phone a few weeks back. Let me know of any suggestions. Thanks for working on the program lysdexical.
[Windows Mobile Apps and Games] lysdexical:
Ouch, that is a nasty bug. I will post a fix for it soon. As a workaround, if you delete everything in the registry at /HKLM/Comm/ConnectionSharing/Addresses/ it should no longer get this error. It is occurring because a dhcp lease entry in your registry is for some reason incomplete.

The connect-to dropdown box displays a list of networks that are configured on your device. I do not know how Windows Mobile decides which dialup connection to pick when a connection to a particular network is requested. One way to ensure it picks the one you want is to create a new network name and place only one dialup connection in it. This can be done by going to Settings -> Connections -> Advanced -> Select Networks. There is a "New" button there that lets you create one.
[Windows Mobile Apps and Games] mindcontrola:
That part did the trick. I'm gonna play around with it just a bit more later and see if I can get it up. Thanks.
[Windows Mobile Apps and Games] iceblue11:
It apears the program will not run on 3x rom versions on the HTC Titan. It does run on the stock 2.xx ROM. File comes up with error not signed properly on the new 3.x.
[Windows Mobile Apps and Games] Dishe:
think u need to app unlock first.
[Windows Mobile Apps and Games] lysdexical:
Correct. I have no way of signing the exe. That costs money.
[Windows Mobile Apps and Games] dasilva333:
just download and install ds.cab it allows u to run any unsigned apps
[Windows Mobile Apps and Games] lysdexical:
I'll be releasing a new version tonight. It adds DHCP lease editing, incoming and outgoing port map editing, and has some other bug fixes and enhancements.

Also, if someone can provide me with a packet dump (from Wireshark or tcpdump) of an iTouch or iPhone requesting an address via DHCP with ICS Control as the gateway and also with another router (or pc) as the gateway, then I most likely can make ICS Control compatible with the iTouch and iPhone.
[Windows Mobile Apps and Games] Menneisyys:
wowz, cool! will test it tomorow and post a detailed review.

btw, feel free to PM me if you have inventions, new apps like this because i miss the generic announcements from time to time
[Windows Mobile Apps and Games] pdaod:
For what it's worth I was able to use WMWR on a Mogul with an Iphone. The closest I've gotten with this program passing internet is just after I ran WMWR, and then it only worked on the last page I loaded from WMWR. I had cleared the cache to be sure. I'd love to get this to work as I'm getting tired of changing the phone's date.
[Windows Mobile Apps and Games] lysdexical:
Version 0.2 is up.
[Windows Mobile Apps and Games] dasilva333:
thanks lys, what would you say port mapping is good for? like what are the practical applications?
[Windows Mobile Apps and Games] lysdexical:
Port mapping (a.k.a port forwarding or virtual server ports, which is what ICS calls them) allows applications on the private network to receive incoming connection requests from the internet / public network.

Instant messaging clients such as AOL AIM or Yahoo Messenger usually require incoming ports in order for voice/video chat or file sharing to work. Peer-to-peer file sharing and multiplayer games often require (or work much better with) mapped ports as well.
[Windows Mobile Apps and Games] gtxaspec:
no internet

This application is AWESOME. One thing. Won't get on the net for me. It gets an IP, with all settings correct on the wireless client, but all ping's time out and no net access. I can resolve IP's just fine, just when i ping them or connect via browser it times out.

I've used WMWifiRouter on this phone before, could that have messed any registry settings up?

I've got a PPC 6800 from Sprint:

Public Interface: Cellular Line

Private Interface: TNETw12511

Wireless is on

Set Private ip: 10.0.10.1

Allow Suspend, DHCP, NAT, DNS, Packet Filter enabled

everything else is default as per instructions in thread.

Any help would be appreciated.
[Windows Mobile Apps and Games] pdaod:
Tried clearing the DHCP addresses in the registry and now it works :) I did notice that if the phone is allowed to power off that the IPs are wrong again. I'm using .11 and am now going to download .21.

Seems like it works best to start IcsControl first and then enable the WiFi so that the private IP is correct. I know it does say that the adapter may be needed to be disabled and then enabled.
[Windows Mobile Apps and Games] lysdexical:
What IP is the wireless client getting?
[Windows Mobile Apps and Games] lysdexical:
Regarding the IP's changing, this happens because the default DHCP lease time is 10 minutes. I don't know why I used 10 as the default, that was really stupid of me. -1 (forever) or a really big number would be better, then the IP's shouldn't change around on you. Also, if you hit the Refresh button in ICS Control the DHCP table will update to the current values.

You're right, it is best to enable WiFi after hitting Start. I should document this more clearly.
[Windows Mobile Apps and Games] gtxaspec:
its the 10.x ip thats assigned and set by the private ip option in ics config. so its getting an ip, i can ping the phone, and resolve host names but no net access.
[Windows Mobile Apps and Games] lysdexical:
Try pinging a host on the internet, such as www.google.com. I have the same phone and carrier, your settings sound fine but just to be sure hit the Set All Defaults button, delete all DHCP leases, then set the interfaces, private ip, and auto-connect network.
[Windows Mobile Apps and Games] Achelos:
Using a Qtek 9090 I keep getting NAT driver not found :(

It does see (and seems to connect also) to my Wireless router. DHCP on the router is on, as well as the MAC-adress of the device.

Still, nada... nothing...
[Windows Mobile Apps and Games] GuidoZ:
Someone care to share this magical "ds.cab" file? I have this issue with other applications as well. Thanks!

--

Peace. ~G
[Windows Mobile Apps and Games] gtxaspec:
got it to work...once. launched ics conf then turned wireless on...didnt get an ip first try, so tried to renew. worked for 30 seconds, now it times out like before.

strange!!
[Windows Mobile Apps and Games] lysdexical:
If you have any firewall software running on the laptop, turn it off. It almost sounds like your laptop refuses to allow incoming packets from anything other than the gateway. DNS resolving, for example, is proxied through the gateway. Also try turning off PacketFilter in ICS Control, then stop/start so it takes effect. I think the problem is on your laptop though, do you have another wireless client you could test?
[Windows Mobile Apps and Games] poplor:
Firewall software screwed me up at first too. I had ZoneAlarm running on my laptop which prevented me from connecting to my Mogul. Once I added the IP address of the Mogul (which ICS set to 192.168.2.1) into ZoneAlarm's "trusted zone" it worked like a charm. One other issue I had was getting my Mogul to connect directly to my home's wireless router again after using ICS. I had selected a static IP on my Mogul to be 192.168.2.1 through ICS. Apparently this setting does not revert to the default and use DHCP to get a new IP from my home network. I had to go into "Network Adapters" tab under "Wi-FI" and select the "IEEE 802.11b/g Compatible Wi-Fi adapter" Then I had to click on the "Use server-assigned IP address checkbox" to clear the Static IP of 192.168.2.1 from the Mogul. After I did this I was able to connect to my home network again... Any chance that future versions of ICS will have the capability to switch this back after exiting? Regardless, this is a great application! Thank you.
[Windows Mobile Apps and Games] Achelos:
Google -> http://www.pocketpc-live.com/ds.cab
[Windows Mobile Apps and Games] logicstep:
Has anybody tried using this software to use as wifi ap router for a computer with a broadband?

basically: ( goal is not to use cell phone data and to use internet from broadband connection )

dsl broadband modem connected to Computer

(kaiser 0r pocketpc) with ICS control v.21 connected to Computer (to act as Wifi Access Point)

Laptop via wifi connects to (Kaiser-PocketPC) for internet

-----------

Thank you and I apologize if it's been asked before but tried search button and reading post after post. I read it's possible but didn't read that it actually works.

thanks again. I greatly appreciate it.
[Windows Mobile Apps and Games] paulpax:
OK here is my scenario, i hope this software will help me.

Computer 1 on broadband connection but with heavy firewall.

Computer 2 on another broadband connection but with no firewall.

XDA 2 can connect via bluetooth and access internet via activesync on both computers (tested one at a time of course).

I want to SCRAP Computer 1 connection and connect my XDA 2 to computer 1 via USB port and maybe use it as modem?? or activesync?? then connect my XDA 2 to computer 2 via bluetooth activesync??, which will then allow me to use COMPUTER 1 accessing COMPUTER 2 connection without firewall via my XDA 2 connecting both computers??

please help me, ive tried bluetooth to bluetooth connection but i cant make it work, COMP 1 is DHCP and COMP 2 is Manually configured. Also Computer 1 and 2 are from different companies so interconnecting them physically is not allowed, though connecting them secretly via my XDA 2 is OK.
[Windows Mobile Apps and Games] pdaod:
I'm at an Apple store typing this on an iPod touch that is tethered to my Mogul running ICSControl .21. It tethered to the Mogul very quickly.
[Windows Mobile Apps and Games] dasilva333:
yeah set the Public Interface to USB

and the Private Interface to Wifi

the rest can be configured accordingly to previus instructions
[Windows Mobile Apps and Games] cAnArdtichAud:
On an iPod Touch !!

I'm trying to do it too

router : htc trinity (p3600) next to an iPod Touch

I'm using a preceding post, coz i have the same config :

I've used WMWifiRouter on this phone before, could that have messed any registry settings up?

I've got a PPC HTC P3600 from SFR:

Public Interface: Cellular Line

Private Interface: TNETw12511

Wireless is on

Set Private ip: 192.168.2.1

Allow Suspend, DHCP, NAT, DNS, Packet Filter enabled

everything else is default as per instructions in thread.

The iPod sees the p2p wiFi network, connects to it.

I must tell ipod a fix IP ? It dont take any via DHCP, renew DHCP on client gives nothing.

iPod appz see no internet but sometimes my ppc goes HSDPA instead of 3G+ : it means, something is downloading.

Any help would be appreciated.
[Windows Mobile Apps and Games] packetmangler:
Odd. Using the latest version, the cellular to wifi works like a charm, but cellular to BTPAN doesnt. My laptop never is able to connect to the PAN. However using the Internet Sharing App I can connect just fine.

Any thoughts?

thanks,

PM
[Windows Mobile Apps and Games] ranmasaotome510:
Ok this application is great, but theres a really substantial drawback.

1) iPod may connect correctly the first time, but if the iPod is resumed from sleep, and re-connects to the AP, internet access isent capable. I checked what happened to the IP on the iPod after this, and it seems this could be a DHCP server fualt on the ICS app itself, seeing how i didn't receive the correct defaulted IP address.

In fact its every time something tries to connect the 2nd time, its not giving a correct IP.

Heck i even tried doing static, and that didn't work.

My solution to the problem was, to manually switch off the wifi, then right back on. This seemed to have primed the DHCP server, which then allowed my iPods or devices receive a working IP again.
[Windows Mobile Apps and Games] famewolf:
Possible issue with linux....

Ok..I have a quirky setup...I'm running wm 6.1 on my HTC wizard...I tether heavily via usb and use the internet on my pc...this works fine under normal ICS but I thought I would try your program.

I tried to mimic a normal ics connection...I specified Cellular Line 1 (I also tried cellular line 2) and the USB connection for internal...didn't change much else and clicked start ics...(if there is supposed to be any indication that ics is running I didnt see it)

When normal ICS is not running but the phone is connected via USB this is what the linux box shows (and is also what shows while your program is running)

usb 2-1: new full speed USB device using ohci_hcd and address 43

usb 2-1: new device found, idVendor=0bb4, idProduct=0bce

usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3

usb 2-1: Product: Generic RNDIS

usb 2-1: Manufacturer: HTC

usb 2-1: SerialNumber: [REMOVED]

usb 2-1: configuration #1 chosen from 1 choice

ipaq 2-1:1.0: PocketPC PDA converter detected

usb 2-1: PocketPC PDA converter now attached to ttyUSB0

ipaq 2-1:1.1: PocketPC PDA converter detected

usb 2-1: PocketPC PDA converter now attached to ttyUSB1

When normal ICS is enabled the following shows:

usb 2-1: new full speed USB device using ohci_hcd and address 45

usb 2-1: new device found, idVendor=0bb4, idProduct=0303

usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3

usb 2-1: Product: Generic RNDIS

usb 2-1: Manufacturer: HTC

usb 2-1: SerialNumber: [REMOVED]

usb 2-1: configuration #1 chosen from 1 choice

rndis0: register 'rndis_host' at usb-0000:03:00.1-1, RNDIS device, 80:00:60:0f:XX:XX

rndis0 renamed to eth3

udev: renamed network interface rndis0 to eth3

Obviously I can see the idProduct "id" is changing when ics is enabled but not sure what needs to happen to have your program set this.
[Windows Mobile Apps and Games] lysdexical:
Try changing the settings->connections->pc connection->advanced networking option on your phone, I think it should be on as that's what makes the phone act like a usb network device. Most likely the other app is setting this mode on the fly. If that ends up being the solution, let me know and I will try to figure out how to do that and add it as an option to ICS Control.
[Windows Mobile Apps and Games] famewolf:
I don't have that exact path on my wizard but Settings, USB-to-PC already has the "enable advanced network functionality" checked.
[Windows Mobile Apps and Games] lysdexical:
D'oh. I'll assume you've already tried turning it off as well. I'm not sure what it could be then.
[Windows Mobile Apps and Games] famewolf:
Disabling the "enable advanced network functionality" it shows:

usb 2-1: new full speed USB device using ohci_hcd and address 49

usb 2-1: new device found, idVendor=0bb4, idProduct=0a51

usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=3

usb 2-1: Product: USB Serial for Wizard

usb 2-1: Manufacturer: HTC

usb 2-1: SerialNumber: [REMOVED]

usb 2-1: configuration #1 chosen from 1 choice

ipaq 2-1:1.0: PocketPC PDA converter detected

usb 2-1: PocketPC PDA converter now attached to ttyUSB0

Which didn't seem to help any other then adding another idProduct so I didn't mention it.

I haven't tried it with bluetooth or wifi and they may well work fine but my primary connection is via usb since the phone gets charged at the same time and it's the fastest connection....looks like linux users are out of luck for now as far as your program is concerned.
[Windows Mobile Apps and Games] famewolf:
Just as a quick followup..here's the post with instructions on how linux users setup and use usb sharing.. http://xdaforums.com/showthread.php?t=340747 It also points to the driver we use which may or may not be part of the issue.
[Windows Mobile Apps and Games] lysdexical:
From that thread...."If internet sharing is NOT enabled via usb .... you will not have internet access (from the phone) and more than likely you will not get an ip address auto assigned (it may keep the ip it used last)."

Okay from the sounds of this the phone should appear to be a USB network device regardless of whether internet sharing is on or not. The comment regarding not getting an automatic IP makes sense because unless sharing is on the DHCP server on the phone will typically be off. When sharing is turned on, whether via Internet Sharing or via ICS Control, the DHCP server is turned on.

From what you are reporting, apparently the phone is only seen as a USB network device when Internet Sharing is used to turn on USB sharing, which differs from what I quoted above. If that is the case, it's possible to figure out what must be done to put the USB driver on the phone in the right mode, but I have no idea when I will have time to look into it.
[Windows Mobile Apps and Games] GuidoZ:
Thanks for the link. I did try Google before posting (this search to be exact), yet came up blank on the first 10 pages and thought someone else might have it already. :)

--

Peace. ~G
[Windows Mobile Apps and Games] rajah1:
Maybe you need to force Data [GPRS] "On" before you start ICSControl? I use VJVolubilis.exe (http://www.vijay555.com/?Releases:VJVolubilis). This is the only scriptable utility I know that will force Data On|Off. It is (luckily) a command line utility, so you can make shortcuts to any of its many arguments. And I need to force Data On (using the Volubilis "-gprson" argument)

before

turning on WiFi on my TyTnII aka Tilt. Then I launch ICSControl. Works like a charm. Fabulous program! (I also need to ensure that my phone screen doesn't go dim, e.g. by using AC power -- if it does, the phone ceases to use WiFi altogether.)
[Windows Mobile Apps and Games] lysdexical:
If you uncheck "Allow Suspend", which may require a reboot to take effect, it *should* prevent the phone from going completely to sleep and WiFi should remain on. This works great on the ppc-6800, WiFi stays on but in low power mode so the initial response times after a period of inactivity are a little slow, but the power savings is definitely worth it. The registry entry that Allow Suspend uses is supposed to work for all devices, but as always the OEM may have decided to do something different and just ignore that setting. I guess I could add a "keep phone awake" option to prevent the phone from going to sleep at all if it is necessary for some devices.