Enable DHCP in windows mobile without starting ICS - Networking

Hi,
I want to create an Adhoc NW connection between my Windows Mobile
device with the PC (Win-XP) without starting Internet Connection Sharing
(ICS). I was able to make connecting between the Phone and PC, but the DHCP
server does'nt seems to start in Windows Mobile. How can I enable DHCP server in the device.
I found some registry settings(DHCP Allocator...) but those are in connection with ICS.
-Nik

AFAIK you need to bind DHCP server service to another service, such as ICS or PPP to have this functionality. Maybe there's a way to bind it to an interface, but I haven't found it.
If you are simply looking to avoid NAT, there should be a way to disable it in ICS. See for example http://forum.xda-developers.com/showthread.php?t=276937 for a decent discussion.

Failed to start DHCP allocator
I tried to change the connectionSharing registry but it does not seems to work... specially the privateInterface. All other registry also i have set accordingly but DHCP allocator does not start automatically.

You can give both phone and PC a static IP? Its a little bit of work but it does work like that...

Thats what I dont want to do, I want to use DHCP ...but it seems the DHCP allocator is very tightly coupled with ConnectionSharing component

Related

Wifi access to internet via ISA firewall

I've just set up a small wireless network at home through which I intend to use several devices to connect to the internet through my LAN!
The LAN gateway is running ISA 2004 and my home computer is running the necessary Firewall client (a completely secure connection with username and password)!
Now everything's working fine... the pocket pc hooks up just right and i can browse the network and do what I could probably do using my own personal computer BUT the internet doesn't work!
It keeps asking me for a username and password (which like i usually provide in internet explorer on my personal computer) which i do supply... three times in a row after which it gives me an error saying that ISA cannot authenticate me!
The home computer doesn;t run the internet without the firewall client, and i'm supposing the pocket pc is facing the same dilemma! is there any way to circumvent this issue? perhaps a mobile version of the isa firewall client?
Please help. Thanks!
afaik there isn't a mobile version of the firewall client.
I set my ISA server to allow anonymous internet access ,and set all my machines up as secure nat clients (set isa servers ip as default gateway, I use a dhcp scope to do this). There is lots of info on this on microsofts ISA server website, I'd suggest a look there first, or try a google for secure nat.
Good luck, works well for me but ymmv.

GPRS and Static IP with VPN

HI guys,
Does anyone know how to get a static IP address when using the GPRS connection to the internet. The reason being is because our corporate firewall has to recognise the device through it's IP. Is there any other possible methods for recognising the user?
Also does a VPN work well over GPRS and is there any extra configuration involved on the VPN server
Cheers
Any answers would be great.
Unfortunately there is no simple answer to your question. AFAIK you cant get a fixed ip on gprs, but if your using the right firewall and the right vpn host you dont need to.
I use and supply windows sbs 2003 servers and vpn into them regularly. I have also used citrix to achieve similar results. Might be a bit difficult to persuade your firms it dept to set up something like that for 1 person though.
PM me if youd like any advice.
BillyB said:
HI guys,
Does anyone know how to get a static IP address when using the GPRS connection to the internet. The reason being is because our corporate firewall has to recognise the device through it's IP. Is there any other possible methods for recognising the user?
Also does a VPN work well over GPRS and is there any extra configuration involved on the VPN server
Cheers
Any answers would be great.
Click to expand...
Click to collapse
Hello Billy,
You ask a good question, but the answer isn't simple. Most carriers do have two types of APN (Access Point Name) provision for your SIM: "private" APN (which provides a non-routable IP assignment from behind a NAT, for basic browsing and e-mail functionality) and "public" APN (that provides a routable IP assignment, which is the Minimum Requirement for a more sophisticated connection type, such as VPN, etc). However, both of them are assigned by a DHCP (Dynamic Host Configuration Protocol) Server on a GGSN (Gateway GPRS Support Node) of your particular GPRS network operator. In either case, the end result will obviously be a DYNAMIC IP address on your GPRS terminal (be it a laptop PC, a PDA, or phone)
Some carriers do offer what is called a "dedicated APN" provision, which gives the subscriber their own IP range to choose from (almost like a small subnet), but it is only available to corporate giants like Pepsi (for example).
Now, to sum it up, you must have the proper APN provisioned on your Mobile SIM account (which the provider will normally call something like a "VPN data package" in billing terms). Then, you must obviously establish a GPRS session before you can connect your VPN client (but remember that most basic VPN clients work the best). It is pretty sad to say, but Microsoft Windows-embedded VPN client on Win2k/XP Pro so far has performed the best with no quirks whatsoever. It has to be via PPTP...L2TP has also worked for me..otherwise, the fancier (and more secure) the VPN tunneling protocol, the more its likely to fail. Normally all you need for a basic MS WIndows VPN client config is the Server name (or IP address), the user name, and the password.
Hope this helps,
Let me know how it goes,
Alex
PS. PM me if you have further questions.
VPN and TS Its like pulling teeth
hi all this has got to be the most anoying problem ever. i can connect to O2 vpn access point and hence i can connect to my work vpn server. however as soon as i try to open a TS connection to my desktop (through the vpn) the VPN connection is dropped and i never connect. Can anybody tell me why? if i have a vpn connection to my work server why does TS try to make another connection and bomb out the original. Is there a fix or another way of doing this i.e. does a external IP have to be nat'd to my desktop IP on port 3389? all help greatly appreciated. Ian

XDA Exec - MS Activehell 4

I am having a sh*t of a day with my Exec experience.
Not only have I lost sound, but I can only connect AS4 once with device and sync, and thereafter, it showing as not connected. And never connects.
I unistalled everything, included all PC Protection. Reinstalled AS4 it works. Reinstalled McAfee stuff, no USB connection.
When I first put Getting Started disc in my machine, it at first was looking for Office 2003 parts, saying they were missing etc.. so I kept cancelling until I got to the normal Getting Started Disc install menu.
I have Outlook 2003.
Any ideas, help, I am going insane.
Check that it's getting an IP address. It looks to your PC and asks for a DHCP address - so check your network connections and see if it's appearing.
If mcAffee has the firewall software included in it, it will be blocking the XDA Exec from making a connection because with ActiveSync 4 and WM5.0 it makes a network connection. You'll have to work out what IP Range the computer tried to assign to the XDA and then allow that to have permission to access your PC with-in McAffee....I could be way off but it seems like the most likely problem.
mjames_84 said:
If mcAffee has the firewall software included in it, it will be blocking the XDA Exec from making a connection because with ActiveSync 4 and WM5.0 it makes a network connection. You'll have to work out what IP Range the computer tried to assign to the XDA and then allow that to have permission to access your PC with-in McAffee....I could be way off but it seems like the most likely problem.
Click to expand...
Click to collapse
that's sounds logical, how would I find the ip address
well I'm not entirely certain on that one
*checks something*
Yep that works
open a command window (Start>Run>cmd) and enter
ipconfig /all
this will bring all all the information regarding your computers IP addresses in my instance it assigned 169.254.2.2 for Windows mobile-based device
I'm guessing that's the one you want, but the IP address assigned for your computer may be different. Then all you need to do is go into the trusted zones section of the MacAffee firewall config and allow that IP Address/Address range whichever it gives the option for...hope that helps
mjames_84 said:
well I'm not entirely certain on that one
*checks something*
Yep that works
open a command window (Start>Run>cmd) and enter
ipconfig /all
this will bring all all the information regarding your computers IP addresses in my instance it assigned 169.254.2.2 for Windows mobile-based device
I'm guessing that's the one you want, but the IP address assigned for your computer may be different. Then all you need to do is go into the trusted zones section of the MacAffee firewall config and allow that IP Address/Address range whichever it gives the option for...hope that helps
Click to expand...
Click to collapse
But, if his Exec using a DHCP client, doesn't it change the IP, or have the potential to?
True but on multiple connects of my XDA it has always assigned the same IP address, whilst it is DHCP it is probably programmed to always assign the same IP, much like with my router/PC set up my router is acting as a DHCP server but I have it set to always give my PC the same IP address. At the very least I imagine the IP address will always be assigned in the range of 169.254.2.xxx so if it does start assigning random IPs if necessary that whole range could be allowed

wifi network questions on HTC HD2

Hi,
Using a HTC HD2 I am trying to access my home network via WIFI (WPA2/PSK - AES). Some of it works, some of it doesn't and I was hoping some of you would be able to point me in the right direction:
I can connect to intranet pages (for instance utorrent web interface) via IP, but not via hostname.
I cannot connect to network (smb) shares at all, either via IP or hostname.
A program which requires the hostname to work (since I use it over Hamachi VPN as well as locally and don’t want to change the IP based on how I use it) does work over Hamachi and not over WIFI.
I'm quite confused
Any help would be greatly appreciated!
Cheers,
Elco
Sounds like your DNS isn't working. Do you have custom DNS servers configured in the "Name Servers" tab of network card config?
Yhanks for responding!
It should get it from DHCP (though I have tried assigning a static IP and dns, but this gave the same result)
Also, I have another older win mobile device, and with the same setttings it does allow me to access the network shares (by IP and hostname)
I've combed all settings regarding wifi and network, but since they are the same I am guessing it is probably a different at the registry level?
The HTC HD2 does have 2 broadcom wifi adapters mentioned though, a normal one and one with a DHD postfix.
Cheers,
Elco
@Talisman_: same problem here. have you solved it?
Exactly same problem on xperia x2. I just set on manual temporary.
Are you using Hamachi on your phone?
Did you have this problem prior to installing Hamachi?
The reason being is Hamachi installs a network interface which exists whether or not Hamachi is running
You may want to check your Data Connection settings and see if it has applied the "requires a proxy" setting
What are you using as your DNS server though, that is the question.
If it's your broadband router, then chances are it won't be able to serve DNS requests for internal devices (ie computers on your home network).
If that's the case, you'll need a proper DNS server (get an old PC and install Linux) and create a local domain such as home.local, or if you've got a registered domain, you can even set it up the same (domain.com for instance) just tell the DNS server it's the domain master.
It's been yonks since I played around with Linux so I can't tell you how, much easier with Windows Server
Some people advise against using the same public domain name as an internal domain name, but it just means you add A records for any public addressess such as WWW.domain.com or mail.domain.com if it's accessable outside your network as well as inside.
Alternatively, if you're only going to be accessing them via the home network then you could try adding a few hosts to your registry (use the windows calc or similar to convert each IP address number to Hex)
http://windowsmobilepro.blogspot.com/2006/04/etchosts-file-equivalent-in-windows.html
As always, you modify the registry at your own risk.

Idea | Hamachi + Remote Desktop Mobile

*A Win 7 PC + WM 6.5 Phone
*Computer with nonstatic ip over net connected to net via an ADSL modem.
*Installed hamachi network both on PC and WM Phone.
*Remote Desktop Mobile installed on WM Phone.
????
Can anyone create a tutorial to make it possible controlling PC remotely over Hamachi?
*Domain= No domain [blank]
Why the hell do you need Hamachi for this?
You only need a DDNS service for this. The msot known is no-ip.com. It is completely free. You get a Domain-Name like xyz.no-ip.info and you will be redirected to the current IP of you Machine with a dynamic IP.
If you have a D-Link Router you can use dlinkddns.com for updating ur DNS with ur Router without PC.
crypt0r said:
Why the hell do you need Hamachi for this?
You only need a DDNS service for this. The msot known is no-ip.com. It is completely free. You get a Domain-Name like xyz.no-ip.info and you will be redirected to the current IP of you Machine with a dynamic IP.
If you have a D-Link Router you can use dlinkddns.com for updating ur DNS with ur Router without PC.
Click to expand...
Click to collapse
this requires you to open your firewall for incoming traffic, which many don't want..
hamachi makes an outgoing connection, and you get a unique static IP.
once connected to your hamachi network, you should be able to open a remote desktop connection to your pc. Just use the specific hamachi IP 5.xxx.xxx.xxx
also make sure in Windows 7 your hamachi network is set to the correct type: if it is set as public, your Windows 7 firewall will block incoming remote desktop connection.
btw, I didn't test this setup lately myself
Hamachi way is easier and safer
Install cab to you WM and exe to your pc.
Create a network (VPN) from Hamachi menu (you can create from your mobile or your PC).
Connect to the network (both from mobile and pc) that you just create ("join to an existing network") via your internet connection (or your home network of course).
Now you can use remote desktop (or any other similar program) from your WM to access your pc from anywhere in the world.
Also you can map you mobile device (storage card) from "remote desktop" menu and transfer files from your PC to your mobile and vice verca.
ps: now i have to go to Thessaloniki center to kick the ass of Greek prime minister xaxaxaxaxa

Categories

Resources