Related
Hi I just got a wizard and its works great except I cant get wifi working, I keeps connecting but never gets a ip, I tried it on 2 diferent routers, I tried it with Socket Wi-Fi Companion but didnt work either
anyone got a idea what could be wrong, thanks
I just noticed it registered my dns and dhcp server on 192.168.2.1 but this is wrong... they are both one 192.168.1.1 but I have no idea how to correct it
What routers are you using? Linksys?
Any encryption or MAC filter enabled?
Did you try setting up a static IP address on your device? (SETTINGS -> WLAN)
I sometimes don't get WiFi either. A soft reset helps in that case at least on mine. Seems like the WIZ just drops the drivers for WLAN sometimes when it starts up - don't ask me why!
Junner2003 said:
What routers are you using? Linksys?
Any encryption or MAC filter enabled?
Did you try setting up a static IP address on your device? (SETTINGS -> WLAN)
Click to expand...
Click to collapse
oh ya sory forgot to mention..
im using a linksys wrt54gl with dd-wrt firmware I tried with wpa-psk and without any security, mac filter is on but I added the mac of my ppc(didnt work disabled too
I tried static ip but I dont think i can use that if I got dhcp enabled on my router, can I?
I'll try turning that off later tho if needed
I just edited my dns server to 192.168.1.1 but the dhcp one is still wrong
If you have a REGISTRY EDITOR installed try the stuff below. Please be patient and do not make a hard reset when done but power off the wizard by pressing and holding the power button for a few seconds. The WIZ tends to drop latest changes if you soft reset it too fast. After you restarted the device see if you can connect.
Enable 802.11g WiFi network connectivity
While the phone by default only connects to 802.11b WiFi networks, it is capable of connecting to 802.11g WiFi networks as well, once this is enabled:
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMask = 1 (DWORD decimal)
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMaskG = 8 (DWORD decimal)
To set back to default:
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMaskG = 4 (DWORD decimal)
Note that your network speed won't appreciably increase, but this is the only way to enable connectivity to 802.11g-only networks
Junner2003 said:
If you have a REGISTRY EDITOR installed try the stuff below. Please be patient and do not make a hard reset when done but power off the wizard by pressing and holding the power button for a few seconds. The WIZ tends to drop latest changes if you soft reset it too fast. After you restarted the device see if you can connect.
Enable 802.11g WiFi network connectivity
While the phone by default only connects to 802.11b WiFi networks, it is capable of connecting to 802.11g WiFi networks as well, once this is enabled:
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMask = 1 (DWORD decimal)
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMaskG = 8 (DWORD decimal)
To set back to default:
HKLM\COMM\TNETWLN1\Parms\dot11SupportedRateMaskG = 4 (DWORD decimal)
Note that your network speed won't appreciably increase, but this is the only way to enable connectivity to 802.11g-only networks
Click to expand...
Click to collapse
i dont have a registry editer but I found this file which suposely enables g networking too
http://members.home.nl/pieterstroink/GoT_startpost/K-JAM/DJVW_HTC_Wizard_Optimizer_2_1_.0.cab
trying now..
oh but btw my router had b and g enabled
I tried this reg editer..
http://www.breaksoft.com/Blog/Utilities/2005/1/Mobile_Registry_Editor.aspx and saw dhcp server 192.168.2.1 and i tried to correct it but got a acces denied msg... if this file doesnt work ill try another reg editer
nope file didnt work
hmm any other registery editer? this one just gives acced denied the whole time
Get RESCO EXPLORER 2005. It has as well a registry adin. That should do it! http://www.pocketgear.com/software_detail.asp?id=529&cid=specials200704&source=specials
thanks I tried editing both keys but with no succes, wifi still doesnt work
im gonna try turning of dhcp...
oh btw I entered a static ip yesterday and it got connected a few times with ip
but the connections dropped way to quick (mind u the router is 5 feet away so signal quality is fine) and I couldnt open any site or ping to my routers ip
ooi it works after I disabled the security.. I only have a mac adres filter not sure if thats save enough..
If it works with security disabled, then you didn't set up the network settings on your Wizard correctly. I run WPA/PSK on my network and have no problems. I recommend reviewing your router and Wizard settings.
kadooosh said:
Hi I just got a wizard and its works great except I cant get wifi working, I keeps connecting but never gets a ip, I tried it on 2 diferent routers, I tried it with Socket Wi-Fi Companion but didnt work either
anyone got a idea what could be wrong, thanks
I just noticed it registered my dns and dhcp server on 192.168.2.1 but this is wrong... they are both one 192.168.1.1 but I have no idea how to correct it
Click to expand...
Click to collapse
I had a similar problem connecting to a wireless AP (With central DHCP server) at work while my wizard worked fine at home just the other day.
I went and hardcoded the following information into the registry
HKLM\Comm\Tnetwln1\Params\Tcpip\DhcpServer
DhcpServer is a Multi Line Value. I just added the IP of our DHCP server at work to this value as an extra and it connected...
I also had to check the
HKLM\Comm\Tnetwln1\Params\Tcpip\DhcpSubnetMask value
because the network where I work has a 255.255.255.128 subnet
Hello,
Yesterday I got a wlan/wifi enabled adsl modem/router for my broadband connection which uses telephone line. I wanted to use the wifi output given by the modem, for my ppc in my home for internet. Something like wireless home networking. As this is the first time, I don't know or I'm a noob. The security settings in modem are :
Network Authentication: Open
WEP Encryption: disabled
When I search wifi signal, My ppc detects the modem; Says connecting and after few mins says unavailable so it don't connects.
Here is the manual : Link
Please help................
Solved : The modem was setted to "Bridging" ( Manual Connecting ) and after setting it to "PPP over Ethernet (PPPoE)" ( Auto connect ), The internet in my ppc is working fabulous.
Thanks and regards
Ok, now my PPC says connected. When I assigned ip in network adapters->wlan setting ( SDIO WLAN Wireless Adapter ).
But another problem here, Cannot use the net. Mean, IE or weather report or IM don't connect to internet.
Is there any MAC filtering set on the box? Are you getting a genuine IP lease, or is it a Windows auto-configured setting (169.254.x.x)?
Just looked at the manual - other things to check:
Is NAT (page 48) enabled?
Is DHCP Server (page 55) enabled on the box with correct IP range, subnet mask and gateway IP?
Rock Kicker said:
Is there any MAC filtering set on the box? Are you getting a genuine IP lease, or is it a Windows auto-configured setting (169.254.x.x)?
Click to expand...
Click to collapse
Rock Kicker said:
Just looked at the manual - other things to check:
Is NAT (page 48) enabled?
Is DHCP Server (page 55) enabled on the box with correct IP range, subnet mask and gateway IP?
Click to expand...
Click to collapse
Hello,
Thanks for the reply.
First, It was auto configured IP setting so in my ppc it was not connecting but after assigning the IP ( IP : 192.168.1.2, Subnet : 255.255.255.0, Gateway : 192.168.1.1 ) the ppc says connected.
OK, I will checkout that NAT and DHCP.
Thanks again.
Hey buddy,
This is right down my alley, if you still need some assistance just pm me.
The subject pretty much says it all... if I have EV-DO available, and also have 802.11g available, how does the phone's network stack decide which route is better? Does it try to always use Wi-fi when available, on the theory that it avoids blocking incoming voice calls? Does it go as far as analyzing ping times and doing background traceroutes to see which route is more direct, reliable, and fastest? Does relative signal strength enter into the equation (ie, if I'm in the back yard & have a really marginal Wi-Fi signal, will it insist on trying to use it anyway to the exclusion of a potentially stronger EV-DO signal)?
I've tried to figure it out from observation. Originally, it seemed like it always tried to use WiFi whenever possible, but then I wrote a client-server app that tries to send traffic to my desktop PC at 192.168.x.x (which obviously can only route over wi-fi). The app worked sometimes, completely failed at others, and there seemed to be almost no discernible correlation between when it worked and when it failed.
Good question. Here's the routing table of a CDMA and 802.11x connected device. I don't see any metrics indicating one would be preferred over the other. Both tiwlan0 and rmnet0 are gateways. I wonder if the CDMA and WLAN interfaces receive some sort of preference elsewhere in the stack??
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
108.100.55.xx * 255.255.255.252 U 0 0 0 rmnet0
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
default 108.100.55.xx 0.0.0.0 UG 0 0 0 rmnet0
#
EDIT: I just ran 3 traceroutes to external addresses, and tiwlan0's interface was used every time. It seems to me in a routing table, the first route that can satisfy a request is used. In this case, my 10.x default gateway satisfies a route to an external address, and in my traces, that's what got used. I didn't see variable behavior.
I've found that it will always try to use wifi when available, regardless of signal strength. However, my tests have been conducted in 2 placess. One with a strong 3G signal (-72 or better) but with an incredibly unreliable wifi signal, the other with a strong wifi signal (4 to 5 feet), but at -96 to -106 to roaming 3G signal. I've found that it will try to use Wifi in both cases.
Yeah, it's something I've googled a few times, but it seems to be one of the great unexplored issues. Occasional anecdotal observations, but nobody who really knows what's officially intended to happen has ever really blogged about it online At first, it seemed pretty obvious that it would probably try to always use WiFi when possible, but when my own app started dying randomly with no route to host errors (even when I was standing with the phone literally 5 feet from the access point's antenna), I started to wonder what was really going on behind the scenes.
bitbang3r said:
Does it go as far as analyzing ping times and doing background traceroutes to see which route is more direct, reliable, and fastest? Does relative signal strength enter into the equation (ie, if I'm in the back yard & have a really marginal Wi-Fi signal, will it insist on trying to use it anyway to the exclusion of a potentially stronger EV-DO signal)?
Click to expand...
Click to collapse
IP routes are decided on subnets, masks, metrics. In most routing devices, there isn't additional intelligence unless a routing protocol is invoked, and even then, the protocol algorithm determines the best route and that route is placed in the routing table (successors are saved and inserted in the event an active route goes down).
These are all static default and subnet specific routes. Can you open adb shell, show your route table, and run a few traces to various external and internal addresses?
bitbang3r said:
Yeah, it's something I've googled a few times, but it seems to be one of the great unexplored issues. Occasional anecdotal observations, but nobody who really knows what's officially intended to happen has ever really blogged about it online At first, it seemed pretty obvious that it would probably try to always use WiFi when possible, but when my own app started dying randomly with no route to host errors (even when I was standing with the phone literally 5 feet from the access point's antenna), I started to wonder what was really going on behind the scenes.
Click to expand...
Click to collapse
I honestly don't think signal strength has anything to do with it. It should be a routing table decision.
I'm going to try a little experiment...hang on.
Ok, I disable CDMA and checked the route table:
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
# ping google.com
PING google.com (74.125.95.106) 56(84) bytes of data.
64 bytes from iw-in-f106.1e100.net (74.125.95.106): icmp_seq=1 ttl=50 time=223 ms
^C
Note, ping still works and the Sprint 108.x network and associated default gw are gone.
Interestingly, when I re-enabled CDMA, the 108.x default route wasn't added back into the table and the mobile network wouldn't connect until I disabled wi-fi.
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
Ping still works though:
Code:
# ping google.com
PING google.com (74.125.95.99) 56(84) bytes of data.
64 bytes from iw-in-f99.1e100.net (74.125.95.99): icmp_seq=1 ttl=50 time=1453 ms
64 bytes from iw-in-f99.1e100.net (74.125.95.99): icmp_seq=2 ttl=50 time=449 ms
Once I disabled wi-fi:
Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
108.101.213.xx * 255.255.255.252 U 0 0 0 rmnet0
default 108.101.213.xx 0.0.0.0 UG 0 0 0 rmnet0
Turning wi-fi back on places the tiwlan0 default back in the table above rmnet0 and traceroute went back to my 10.x gateway. This is very deterministic and exactly what I'd expect except for rmnet0 not coming back up with wi-fi enabled. It should...
Code:
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
108.101.213.xxx * 255.255.255.252 U 0 0 0 rmnet0
10.0.0.0 * 255.0.0.0 U 0 0 0 tiwlan0
default 10.1.1.254 0.0.0.0 UG 0 0 0 tiwlan0
default 108.101.213.xxx 0.0.0.0 UG 0 0 0 rmnet0
The metric field in route on linux decides the weight on multiple routes, but android doesn't set it properly. Hope that makes sense.
It Is how a ' normal' linux kernel decides.
kkruse said:
The metric field in route on linux decides the weight on multiple routes, but android doesn't set it properly. Hope that makes sense.
It Is how a ' normal' linux kernel decides.
Click to expand...
Click to collapse
That's great, but the tests I ran showed deterministic behavior.
What's your source for this statement? Whether or not metrics are being used, the behavior I saw showed corresponding routing behavior.
Care to elaborate?
Friends,
I set up a wireless network here at my house and my HTC Magic sees that my network (maximum signal), type the password of the network key, but the internet on mobile is not working, not surfing.
The model of my router is the Encore ENHWI-G2. I set it as WEP key (also tried without password). The address of the router's LAN was configured 192.168.2.1. On my laptop, is configured to obtain IP address automatically. The internet works perfectly on the notebook by wireless.
Below are the settings in my router, and in the end, the settings that are on my phone:
Operation Mode: Gateway
Wireless:
>> Band: 2.4 GHz (G)
>> Mode: AP
>> Country: Canada(IC)
>> Channel: 6
>> Security: Encryption None
>> Access Control: disabled
TCP/IP Settings:
| LAN Interface
>> IP: 192.168.2.1
>> Subnet Mask: 255.255.255.0
>> DHCP Server: Enabled
>> DHCP Client Range: 192.168.2.100 - 192.168.2.200
>> 802.1d Spanning Tree: Disabled
| WAN Interface
>> PPPoE
>> MTU Size: 1480
>> Attain DNS Automatically
All other options relating to access control, MAC filters, etc., are disabled.
In the apparatus, the following settings are currently:
Settings / Wireless controls / Wi-Fi settings (pressing Menu and accessing "Advanced")
>> Regulatory domain: 13 channels
>> Wi-Fi sleep policy: Never
>> Use static IP: disabled
To test also, I placed the unit as a fixed IP, as is below:
>> Use static IP: enabled
IP: 192.168.2.125
Gateway: 192.168.2.1
Netmask: 255.255.255.0
DNS 1: 200.202.93.75
DNS 2: 200.202.0.34
Neither worked.
I did another test, this time to verify customers active in the router to see if my phone was connecting to the router. It appeared that below:
(referring to my device)
MAC: 00:xx:xx:xx:xx:xx
Tx Packet: 1
Rx Packet: 35
Tx Rate (Mbps): 54
Power saving: Yes
Expired Time(s): 299
(referring to my notebook)
MAC: 00:xx:xx:xx:xx:xx
Tx Packet: 367
Rx Packet: 352
Tx Rate (Mbps): 54
Power saving: No
Expired Time(s): 297
What might be happening? Because I am not able to surf the internet using my wireless network?
Thanks to everyone who can help me.
Maybe try setting the phone's DNS IP to point to the router? The only other thing I can think of is something with the firewall. Not really sure though as all your settings look good and the firewall shouldn't be blocking just the phone.
Hi,
Im on 4.2.2 ( newest PA build) and my problem is when i turn bluetooth on my wireless connection gets very slow.
When bluetooth dvices are connected it gets even slower, but it stays always connected to AP.
[email protected]:/ # iwconfig wlan0
wlan0 Qcom:802.11n ESSID:"xxxx"
Mode:Managed Frequency:2.437 GHz Access Point: xxxxx
Bit Rate=52 Mb/s Tx-Power=17 dBm
RTS thr=2347 B Fragment thr=8000 B
Encryption key:xxxxx Security mode:restricted
I cant change tx-power with "iwconfig wlan0 txpower xx" to check if a boost would help.
Can anyone confirm?