wifi ipconfig script/app - Windows Mobile Development and Hacking General

Hi,
Any small app (on wm5) for changing the IP/DNS wifi card setting throut some kind of script, profile change? Example: profile#1- home (fixed ip settings, custom dns) ; profile#2 - public hotspot (auto ip ; auto dns ) ; profile#3 - work wifi (fixed ip ,...) and so on.
Tks

Did you find the app.?, I'm interested too.

Related

Default Gateway

I am able to connect via Wifi and getting IP address but the default gateway is sometime set and sometime not. When it is not set i can not surf the internet. Is there a way to set the default gateway in HEMRES ?
Someone , please help
All I need to know is how to set the deafult gateway to 192.168.0.1 same as DHCP Server.
DHCP should give it all the settings
might be worth looking to why your DHCP server isnt giving out the correct settings, but any way
Settings > Connections > Network cards > Network Adapters
you will have a list of the Adapters
at a guess it would be the IEE 802.11b/g Compatable wifi
tap on that
and it should give you some options tick Use Specific IP Address, put in the details
please note this will set the details for all wireless connections, so if only use wireless at home, then it will be no problem, but say you use it at home, at work and out and about at Hotspots, you may need to go in and change it back to using DHCP for it to work
DHCP server settings
might be worth looking to why your DHCP server isnt giving out the correct settings,
Click to expand...
Click to collapse
can you give some hints how to do that ?
I did what you said , in VxIPConfig it said DHCP Disabled, and got the deafult gateway as 192.168.0.1 . I couldn't surf the internet.
Please that from time to time I am able to surf the internet when everything is set to auto. When it happens I get the deafult gateway set (and not blank) and the DHCP is enbale
dotan_shai said:
I did what you said , in VxIPConfig it said DHCP Disabled, and got the deafult gateway as 192.168.0.1 . I couldn't surf the internet.
the DHCP is enbale
Click to expand...
Click to collapse
did you give it an ip addresss and subnet mask ?
eg for ip
192.168.0.10
subnet
255.255.255.0
is your DHCP server on a router or is it like a PC with WiFi running Internet connection sharing
I did what you say , this is what VxIPConfig said:
adapter address : 00-09-2d-b4-91-43
IP address : 169.254.210.158 (which is what i set)
Subnet mask : 255.255.255.0
Deafult gateway : 192.168.0.1 (which is what i set)
DHCP server : 192.168.0.1
Primary WINS : empty
Secondary WINS : empty
Lease obtained : DHCP Disabled
Lease expaired : DHCP Disabled
still can not surf the internet , what is wrong.
dotan_shai said:
I did what you say , this is what VxIPConfig said:
adapter address : 00-09-2d-b4-91-43
IP address : 169.254.210.158 (which is what i set)
Subnet mask : 255.255.255.0
Deafult gateway : 192.168.0.1 (which is what i set)
DHCP server : 192.168.0.1
Primary WINS : empty
Secondary WINS : empty
Lease obtained : DHCP Disabled
Lease expaired : DHCP Disabled
still can not surf the internet , what is wrong.
Click to expand...
Click to collapse
where did you get 169.254.210.158 from?
try 192.168.0.100
as i dont think you will have anything on that ip
with a 192.168.0.1 gateway and subnet mask of 255.255.255.0
your ip needs to be within 192.168.0.* range ( * = 1 to 255)
yeah a class c ip range is what one should use in ones internal lan
192.168.0.0 – 192.168.255.255
http://en.wikipedia.org/wiki/Private_network
Dear frinds,
Thanks a lot for your help , but still no change. This is what i got from VxIPConfig :
adapter address : 00-09-2d-b4-91-43
IP address : 192.168.0.100 (which is what i set)
Subnet mask : 255.255.255.0
Deafult gateway : 192.168.0.1 (which is what i set)
DHCP server : 192.168.0.1
Primary WINS : empty
Secondary WINS : empty
Lease obtained : DHCP Disabled
Lease expaired : DHCP Disabled
The previous IP adress was the one that was set automatically before i changed it manulaly.
Still no surfing the internet. you said before :
might be worth looking to why your DHCP server
Click to expand...
Click to collapse
I'm not using a router it is
PC with WiFi running Internet connection sharing
Click to expand...
Click to collapse
the USB to Wifi adapter is configured as Ad-Hock.
dotan_shai said:
Dear frinds,
Thanks a lot for your help , but still no change. This is what i got from VxIPConfig :
adapter address : 00-09-2d-b4-91-43
IP address : 192.168.0.100 (which is what i set)
Subnet mask : 255.255.255.0
Deafult gateway : 192.168.0.1 (which is what i set)
DHCP server : 192.168.0.1
Primary WINS : empty
Secondary WINS : empty
Lease obtained : DHCP Disabled
Lease expaired : DHCP Disabled
The previous IP adress was the one that was set automatically before i changed it manulaly.
Still no surfing the internet. you said before :
I'm not using a router it isthe USB to Wifi adapter is configured as Ad-Hock.
Click to expand...
Click to collapse
I see now, the ip 169.254.210.158 would be when the ppc couldn't get an IP from the DHCP Server
just a thought
Have you input in some dns servers, should be on the next tab
these dns servers will do
dns 1: 4.2.2.1
dns 2: 4.2.2.2
how did you setup internet connection sharing on you pc ?
via network setup wizard ?
Network connections > Pick your internet connection > right click then properties > then click on the Advanced tab > then make sure the Allow other computers on the network to use this connection, tick box is checked
I added the DNS adresses settings in the PPC , still can not surf the internet.
how did you setup internet connection sharing on you pc ?
via network setup wizard ?
Click to expand...
Click to collapse
That's the way i set my internet connection sharing.
Network connections > Pick your internet connection > right click then properties > then click on the Advanced tab > then make sure the Allow other computers on the network to use this connection, tick box is checked
Click to expand...
Click to collapse
It is checked !! I remove the check in Allow other users to control or disable the shared Internet connection.
I've noticed that in success connection that allowing me to surf, the beacon icon in PPC is changing for 2 seconds to beacon without the circles and than return to its previous picture beacon with two circles. In a failed connection I always see the beacon with the two circles icon that never change.
Still no surfing is available. Any more ideas ?
SOLVED !!!
Thanks for the helpers. My problem is now solved. I've just read in D-Link site regarding configuring Static IP in here
After performing the recommended settings, everything is working always.
THIS THREAD CAN BE CLOSED
Glad its working
so did you need to setup a static ip for your pc, or did you use the guide and put the details in to your ppc ?
The static IP was set in the PC according to D-Link instructions . Hope this tread helped someone .
Here is the link to D-link , static IP settings :
http://support.dlink.com/faq/view.asp?prod_id=2594&question=DWL-G122

Kaiser: How to set up proxy server settings over wi-fi?

So on desktop computers this is easy, just open up browser set up your proxy servers and done.
The only settings I can see that set up proxies on the kaiser are for GRPS/Dial-up/3G. But that's already set by my cell provider and it doesn't require a proxy (to my knowledge)
But I'd like to be able to access my home proxy when I'm using wi-fi (at home or away from home) I just can't find a way to set it in the system.
If anyone knows please let me know.
Thanks
i wish to know the answer as well
In Settings, Connections you can set up two Automatic connections 'Internet' & 'Private'. Typically these are 'My ISP' and 'My Work Network'. In the Private network settings you can specify your proxy. You then need to edit your WiFi settings for your Home WiFi - change the 'Connects to:' to 'Work' (as opposed to The Internet). When you connect to your home WiFi it should use the proxy specified.
Be careful with ActiveSync or Sync Centre as this can change these settings each time your device connects to your PC (change the connection settings in ActiveSync/Sync Centre on the PC so that the option 'This computer is connected to:' is NOT set to 'Automatic'.
Windows Mobile also supports Proxy Auto Detection as well. If this is the same as Windows proxy auto detection then it relies on either DHCP being configured to send Option 252 with the URL of the Proxy script and/or DNS with a host record or alias for the WPAD host in the devices domain - i.e. wpad.network.com.
HTH
Andy

[Q] Connecting to an ad-hoc WiFi network

I am trying to connect to an ad-hoc WiFi network, but it seems like the general instructions for this don't apply on the WIldfire, since there is no tiwlan.ini just to start.
Has anyone succeeded in connecting to an ad-hoc network? The only WiFi network I can use at the moment is an ad-hoc one, so I have no choice...
Confusing question. First you said cannot, then you said you can. BTW what specifically is meant by ad-hoc network?
Sent from my HTC Wildfire using XDA App
azahidi said:
Confusing question. First you said cannot, then you said you can. BTW what specifically is meant by ad-hoc network?
Sent from my HTC Wildfire using XDA App
Click to expand...
Click to collapse
I am not saying I can connect to an ad-hoc network, where do you read that?
I read somewhere that you can't connect to ad-hoc networks yet. I can't either.
Peraphs your wireless card supports Managed (Ap) mode ?
I just got it working:
* Add your ad hoc network via Settings -> Wireless & networks -> Wi-Fi settings -> Add Wi-Fi network
* add the line "ap_scan=2" to /data/misc/wifi/wpa_supplicant.conf
* add the line "mode=1" to your network's section in /data/misc/wifi/wpa_supplicant.conf
Your final result will look like this:
Code:
ctrl_interface=eth0
update_config=1
ap_scan=2
network={
ssid="Ad Hoc"
mode=1
scan_ssid=1
key_mgmt=NONE
priority=41
}
This gives me a working connection. I don't know if this is a permanent solution, I haven't tried it out after a reboot, but for now it is enough for me.
how do you do that? i tryied byt isn't working. i set up adhoc wifi, but in wildfire seems to be out of range even if i'm near laptop
I am using software Connectify. Setup Connectify into the PC. Turn on wifi. Next ... next ... You must click on the Connection icon in your taskbar at the bottom. Select Open Network and Sharing Center. Click Connections wifi. Choose Details. You should see the IPv4 Address.
Then open your phone, press Menu -> Settings -> Wireless & Networks -> Open and select Wi-Fi WiFi Settings -> Select the broadcast station name that you noted above, type the password and click Connect. Then press Menu -> Advanced -> Check Use static IP entries
IP address: x.x.x.y type (using the same IP range x.x.x.x means that the first three numbers, the other end of the IP v4)
Gateway: x.x.x.x (as in the ip address v4)
Netmask: 255.255.255.0
DNS1: 8.8.8.8
DNS2: 8.8.4.4
thanks a lot, i finally got to connect to my adhoc... still, internet sharing is not working
Whats all this hassle with messing files?
I just wen't to CyanoGenMod, started the ad-hoc network with my notebook (win7), connected my Wildfire and its working like a charm.
"I just got it working:
* Add your ad hoc network via Settings -> Wireless & networks -> Wi-Fi settings -> Add Wi-Fi network
* add the line "ap_scan=2" to /data/misc/wifi/wpa_supplicant.conf
* add the line "mode=1" to your network's section in /data/misc/wifi/wpa_supplicant.conf"
Hi Cumulus007.
How you changed this file?
I have changed the file in PC and copy to wildfire via sdcard, so I have bricked the wireless and used Recovery setings from factory.
Then I ask for the process you have used.
Thanks in avance.

WiFi proxy switch

My work wifi connection requires a proxy to be configured to exit from the intranet. Using advanced settings in the wifi configuration page I can set it, but then I have a problem when I am back home where I do not need it.
There is any app or trick to quickly switch proxy configurations (eventually automatically from the name of the connection)?

Mike's CM6 WiFi Problem Resolved

Hi everybody,
After many attempts to connect to the internet with wifi, I managed in the following way:
Just enable STATIC IP address checkbox in the "ADVANCED WIFI SETTINGS" and fill requested fields (IP adress, Subnet mask, etc..).
I think Mike was a mistake somewhere in the DHCP client on the phone.
BTW, camera in video mode often be frozen.

Categories

Resources