I'm almost at the end of my tether (urgh) with this one.
I have a 10s freshly flashed to VegaComb 3.2 Build 8.1
Loving it except it flat refuses to tether in any way, shape or form with my mobile (HTC TP2 + Energy 6.5 ROM)
Bluetooth doesn't work (pairs but can't share internet) but we'll ignore that for now.
I'm using HTC's Wifi Router software. I know this is working because a PC can connect to it fine and browse the web.
VegaComb could see the AP from the outset. I have tried the wpa_supplicant file in the Xoom Ad-Hoc guide thread but I suspect it's identical to the one already in the ROM.
When I tap connect it asks for the WEP key then goes to Obtaining IP Address. It sits there doing this for quite some time then gives up.
If I set an IP manually it changes to Connected, and from a terminal window on the tablet I can ping the IP address on wlan0. However it can't ping the phone, or get any internet access. Pinging the phone gives Destination Host Unreachable.
I have checked the routing table and it looks fine.
I have tried this:
setprop net.hostname test
In case it was due to the long and not-super-compliant (has an underscore) default hostname breaking either DHCP or networking.
Wifi to a WPA2/PSK infrastructure AP works completely fine.
Any suggestions?
I see the latest OTA for the TF has fixed Ad-Hoc for them, I wonder if perhaps someone could tell us what changed to fix it?
Related
I have my Tattoo rooted with 1.6 (can't recall the ROM name) with build number 1.67.405.6. Almost everything works fine except the connection with my home WiFi network. It's a PPPoE connection through ADSL modem. Next in line is the Netgear WG602 v3 WiFi router. At the beginning I couldn't connect at all so I changed the router's ROM to DD-WRT. Now I can connect with the router but no connection to the internet whatsoever. I can ping my router through my Tattoo, I can even open the 192.168.1.1 and mess around with its software but no connection to the internet. It is only limited to my Tattoo as I can connect through my laptop, through my other mobile (HTC S710) and also I can connect my Tattoo with any other WiFi (Secured or Open) with no problems at all.
I tried with no Security, with WEP, with WPA-PSK to no avail. Any other clues?
try running htc mail while you are using your wifi throuf your tattoo it worked for me
What is supposed to happen if I do that? I'm trying it as soon as I get home btw.
Nothing happened
Hi all...sorry for my interference but this problem is similar to mine.
I'm going mad from many weeks trying connect my Huawei Ideos (U8150) to my home wlan through a netgear VG602v3 AP. No way to do this.
Wifi works from my laptop and from my girlfriend's laptop, but from ideos it doesn't.
I turned off all wireless device in my house, I tried with/without WPA, I tried open network from channel #1 to channel #13, tried changing ssid and I also tried praying .
There is a weak wifi near here: it is on channel #1 and its power is between -89 and -82db. My wifi power (data from kismet) is between -50 and -18 db and is configured on channel #11.
In any cases, even if I put my Ideos near to AP antenna the story is ever the same:
- Ideos indentify the wifi network
- Ideos acquire the IP
- I open the browser or the android market and...
- Ideos lose connection...and so on.
I downloaded from work wifi (crypted with WPA) a wifi scanner from app store: it shows me the neighbour's weak wifi and my wifi network which appear and disappear recurrently.
Please, someone helps me (without suggest to buy another AP!!), any suggestions are welcome!!
Have you tried logging into the router and checking the privileges for devices. Some of them have a security element that restricts the use of the internet on newly connected devices until the setting is changed. I had a similar problem with a new laptop.
hope it helps.
I checked every setting to no avail. I still think somehow that my problem is with my router or adsl modem which doesn't connect automatically with PPPoE and Android doesn't have any command or software to initiate a PPPoE connection.
Other than that... Can't find any solution. Until then, I use connectify on my Win7 laptop. The thing is that I have to keep my laptop switched on as long as I'm in the house.
alpick36 said:
Have you tried logging into the router and checking the privileges for devices. Some of them have a security element that restricts the use of the internet on newly connected devices until the setting is changed. I had a similar problem with a new laptop.
hope it helps.
Click to expand...
Click to collapse
thank you for suggestion. I looked in depth but I did not found the option of which you were talking about. The unique solution still remains change the AP!!!
WiFi and Netgear Router
I think I finally found the answer. It appears Netgear routers support something called WiFi Multimedia. Its a QOS methodology. I disabled WiFi MM or WIMM as its sometimes called, as well as Internet QOS and all my problems connecting to web pages, the market, etc. through WiFi disappeared.
Strange that older versions of the ROM supported WIMM (or ignored it) and newer ones don't. But that solved the problem for me with no real degradation of performance on any of my other computers.
Good luck.
ok - i have gone through about 6 roms now and im constantly getting the same story.
i primarily use CM based roms cuz those are the only ones that seem to connect to ad-hoc networks shared from my computer. when i use CM7 roms the internet constantly connects and disconnects and when i use CM6 roms the phone says im connected but the PC doesnt see any present connections.. not even with connectify or the other hotspot programs seem to help
its strange cuz i also have an aria with a CM6 rom which connects flawlessly but the HD2 cant even be seen on the network.
PLEASE can anyone help me out with this problem? I've been awake for the past 2 days trying to fix this problem from all sorts of angles and i still cant connect to an ad-hoc wifi
i just tried connectify but the problem is the same, it says im connected but still there is no data coming from the computer. my MAC address appears fine so i have no idea what is causing the problem
not even changing the channels, editing wpa_supplicant, using static IP or DHCP... nothing helps..
just realized that if i try to connect while other devices like my aria are currently connected, the other devices get disconnected from the network.. no idea whats causing that but could use some insight
There is another longer thread with someone having the same or at least very similar problems. All non-Sense builds he's tried have wifi "connecting", but not actually transferring any data. When he loads up a Sense build, it all works fine. I'd look it up, but search unavailable for "10 minutes". I did comment on it though.
You wrote you try to setup an ad-hoc WiFi connection. This means you connect two devices together, not to a network (if you want to use your laptop as Internet bridge it's a more complex config).
You're talking about DHCP in ad-hoc connection... Do you setup a DHCP server on your computer (is this even possible)?
You said when you have other devices connected... this is not ad-hoc.
I think you try to connect the wrong way, sorry if I misunderstood but you have to provide more info for me to help.
As general advice:
Check for your ROM thread as initially their was a problem with all devices (with Android on HD2) having the same MAC (has been solved)
Start first to try to connect to a "normal" WiFi network
Make sur of the network config (try with basic b/g instead of n, n+...)
First step could be to setup a basic b/g network with DHCP enable, SSID broadcast, no security (wep,...): the kind of network you have when you take your access point out of the box.
No other advice... hope this will help.
Check the IP you have on your phone when connected. If it's kind of 169.xxx this can't work. It's auto IP from the device itself.
thanks for the response mate. Unfortunately, there are not many unsecured "routed" wifi connections available where i am to test - thats why i have to rely on the laptop to feed internet to my phones through an adhoc network.
let me explain what im doing:
im currently trying to use internet sharing from my laptop on my phones - i have 2 android phones, an aria and an HD2 - both of which connect to the internet through an ad-hoc wifi connection to the the laptop which has LAN internet connection.
the only way to connect is by issuing each device a static IP
eg. laptop - 192.168.0.1,
aria - 192.168.0.3,
HD2 - 192. 168.0.2
whenever i try to use DHCP i get "obtaining IP address" from the phones until it auto-disconnects.
using a static IP-Config, the aria connects and browses effortlessly. But the HD2 wont. Just says "connected" but the pc says "waiting for peers to connect" and doesnt feed any data to the HD2. Additionally, i found out that if the aria is already connected while attempting to connect the HD2, the aria gets kicked from the net..
if it helps, my rom is CMN V_2.0.. its the only one that gets me "connected", so to speak..
Then I will not be very helpful as I seldom use ad-hoc and bridge connection.
I connect my HD2 to my home network only (works in WEP or WPA anyway).
Just what I know:
1/ for ad-hoc you can't use DHCP (or you may have to activate a server on your laptop, this will add complexity to your setup)
2/ ad-hoc is only between 2 devices (1 laptop and 1 phone for ex), it could explain that when you connect the HD2 the other one is "kicked out".
3/ On your laptop you have to bridge your connections. Anyway, if with another device you can connect and broose, then your laptop setup has to be ok.
4/ if you're connected you may find a good IP in the HD2 (anyway if you use fix IP it has to be ok).
5/ to connect to a server you need a DNS. this is maybe what is missing. Usually when you connect to an access point you use the "AP IP". Not sure it can work here.
Try to manually put the DNS address in your HD2.
Just to make one test:
a/ from your laptop "ping" an Internet server (xda for ex).
--> Start menu, type "cmd", in the cmd windows type "ping server_name"
b/ from your HD2 try to connect with the IP instead of the server name.
This is the puprose of a DNS, to give your device the IP of a server.
NB: to find the DNS server used by your laptop:
In cmd type "ipconfig /all" it will give some info, you may find your DNS in it.
Sorry, no other idea...
I read again what you write and I think you can forget my previous post.
The answer from your laptop is different with the two phones.
I don't think it's a DNS problem.
Sorry, I will be useless! Hope someone with the same network config will help.
My home network is totally different.
If it's specific to your rom you can try to check in your ROM's post if other have the same problem. If no, try to ask there is someone has the same connection setup.
Edit: check this link, it seems that many people with non-sense build has problem with WiFi (I use sense build, always):
http://forum.xda-developers.com/showthread.php?t=907670
i would use a sense build but it seems all of them take up quite a lot of space from internal storage - im always left with 500-400Megs from the 1GB of space
its just odd because when i had a G1 (before i got my HD2) it connected effortlessly as well.. even more so, both aria and g1 could be connected to my laptop's adhoc simultaneously
OOOOHHH!!! i just rememberd hearing something about internet pass-through, but im not sure how ti works.. i will give it a try
The strangest thing I have even experienced, and perhaps can save you time and headache.
** Summary (for those not wanting to read the whole story, but just the fix)
If your HD2 Android can connect to your home WiFi but cannot access Internet, check if your WiFi network uses a 192.168.20.x IP subnet address. The HD2 Android's USB port uses the same subnet, causing a conflict. If you change your home WiFi to use any other subnet, it will work fine.
** The Long Story
Been reading and admiring all the Android developments in XDA-Developers for some time, finally decided it was time to give it a try. Picked one of the more popular and stable MDJ Froyo (Desire HD) for SD and loved it.
Problem is couldn't use the Internet via WiFi from my home. Internet via GPRS works fine, Internet via USB/PC works fine, just not WiFi. The connection to WiFi is successful, picks up a DHCP IP address just fine, but no Internet.
Oh well, perhaps there is a WiFi bug in HD2 Android not reported so never mind.
Wait! On a business trip, when HD2 Android connecting to the hotel's WiFi, Internet works fine! Subsequently in many other places WiFi works also flawlessly.
Must be the WiFi router at home. Not too surprising as I don't use much wireless but wired all my other computers (including notebook PCs), it is faster anyways.
So went back and tested WiFi on a notebook PC (prior to that upgraded the WiFi router's firmware), PC connects and works, but HD2 Android still not. Tried all kinds of WiFi and encryption combination (BGN, BG, G only, WPA2, WPA, WEP), just nothing works for HD2 Android. >> Conclusion: not the WiFi router at home, just HD2 Android working with this particular WiFi router.
Finally (but forgot what app it was), I saw the USB port binding to 192.168.20.x subnet, exactly the same as my LAN subnet in the WiFi router.
Bingo, changed the LAN subnet to something else (really anything is fine because it is inside a NAT so not an issue getting out to the Internet) and HD2 Android works like a charm.
Hope this helps.
sorry, can you explain more where to change in the router settings? i can't find anything to change in my wireless settings
Look up the LAN (local area network setting) in your router, where the IP address for most WiFi router is set to use 192.168.0.1
In my case the WiFi router is set to use 192.168.20.1 (and DHCP to pass out 192.168.20.x IP addresses).
By changing the IP address of the router, most router automatically change the DHCP assignment to corresponding subnet, say from 192.168.20.1 to 192.168.x.1
x can be any of 0 to 255, just not 20 for my case or it causes conflict with HD2 Android.
Hi Dear friend , And Thanks for sharing experiences.
I have the same problem , but my router's setting is :
IP Address : 192.168.1.1
and my Starting IP Address : 192.168.1.100
IP Pool Count : 101
DHCP : Enabled
NAT : Enabled
Default Route : YES
but no webpage loaded , the weather not work . but the meebo messenger
with my yahoo ID just worked .
so how can i fix it ?
tnx
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
webmice said:
I notice the conflict (with my 192.168.2.x) when I checked the HD2 IP addresses (after connecting to the WiFi). When I see the USB port bound to 192.168.2.x I know the two just conflict with each other.
If something (meebo messenger?) works but not others... could it be your HD2 not getting name resolution (DNS ?). Say if you try opening this do you get the Google page:
http://74.125.153.104/
** This is Google's page without the need to resolve via DNS.
Click to expand...
Click to collapse
hi my friend. I tested it with IP but nothing changed.
but some of the WebSites with SubDomain Loaded. like : http://2.farsihiphop.com
and can u tell me how can I know about the port nimber . like USB port.
i think my Android's Kernels have been changes. maybe i'll can find something like this (equal IP address)
thanks.
I have following problem : At my university i have hidden Wifi network, locked with password.. But, ofcourse, we cracked their password, and now we can use their WiFi.. But i cant use it.. On WM i could use it .. One more thing to mention, there is a proxy u need to setup before u can go on internet trough that Wifi network.. but thats not my concerne yet.. I cant get connected to that Wifi.. I make new conn, with password and other settings, and it keep saying : Connecting... Disconnected...
Any ideas to help me ?
Thanks in advance
I had the same problem. I solved it by updating the radio to version 2.14.50.2. I think this version works best.
For me 2.15.50.14 works, too...
Hello, been a long time reader from my G1 to my G2 and now my nexus 4.
I am unfortunately not able to use my device on certain wifi networks which is a real bummer.
Being that i have a background in diagnosing computer problems in my real world life, i thought i would post my findings as i found some interesting things!
First i will say that the network i will use as the demonstration is secured with WPA2 PSK AES security and encryption.
I can connect to it and often find i have problems on the first connect to the network. By this i mean if i have made my wifi settings 'forget the network' and then try to connect again.
On the first time it seems to indefinitely hang, showing the message 'authenticating' on screen next to the network and if i long press on the network name and press modify, the dialog shows that i have a link speed of 1mbps.
I can usually get past this by turning wifi off and on and then reconnecting, at which point it will connect straight away and have a normal link speed. (in this example 72mbps).
After i am connected, i find that the following does not load:
-browsing webpages through chrome does not load
-the wifi icon turns grey
-play store cannot load anything
I find that i get assigned an ip address by dhcp correctly too with the right gateway and dns.
I decided to download a network tool to have a better look. I use fing personally.
I found it very interesting what i found, which no other threads about wifi issues mention.
Network discovery found every device on the local wifi network.
I was able to scan the services of my computer which is also on the network and it found everything, including a http server which i run which i could browse to.
In fact i could do everything through wifi with this device and most others.
Again it got interesting when I then took a look at my gateway, the router.
I had discovered its mac address which i can verify through my computer is correct which to my understanding, being that i can communicate through the wifi, means that i have the information available to send information to that physical device?
When trying to scan services, i find nothing, which is not true, at the very least it exposes a http server on port 80 which my computer can access.
When trying to ping i have 100% packet loss.
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
elltg said:
So at this point it is only the gateway i cannot access.
So i figure i could setup another computer which is connected to the network with a wire to share its connection through wifi onto that network and then i have a standin gateway?
I connected this computer through wifi to the network and pinged it succesfully with my phone. I then turn ICS on my wired adaptor to share to my wifi adaptor. I ensure that the wifi maintains an ip address in the right range and subnet.
I then try to ping that ip with the phone and it then gets 100% packet loss.
Could this be that when a device is configured to act as a gateway something changes about how it handles any packets sent to it that the nexus 4 is currently in compatible with?
Click to expand...
Click to collapse
I have found a bit of a workaround that i can use!
When i said i turned on the wifi and ICS i did the following:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the wireless to 192.168.10.x and gateway to my router 192.168.10.10
-I then tested.
I ran through this again but slightly different:
-Turned on wifi.
-Connected to wifi network.
-Turned on ICS on my wired network to share to my wifi
-Observed that my ip changed from 192.168.10.x to 192.168.137.1 with no gateway or dns.
-I decided to change my ip on the phone to 192.168.137.5 with gateway and dns as 192.168.137.1
-I then tested. And it works!
I know this doesnt fix the wifi issue itself, but for me, this makes a big difference as i can now use wifi at work where we also have poor mobile network coverage.
Edit:
Additionally i previously tried to setup this same computer to host a wifi network to share the connection using 'netsh' and creating a 'hostednetwork' but i found i was in the same situation where i still couldnt get the internet.
Considering that CM12.1 has a defunct USB connection - only charging and ADB work, MTP doesn't - I've used WiFi File Transfer to send files to my phone instead of using a USB connection for it. MTP works if you put it in Recovery Mode, but I'd rather not shut down the phone. My phone is an A3FU, by the way. Anyway, so sometimes, I'm in a place where I don't have any other wireless networks to connect to, so I have to make a Hotspot in order for the app to work. And it actually worked very well, up 'till a couple of days ago. Now, the Hotspot connection doesn't go properly. I'll try to clarify. When I start a Hotspot on my phone, my laptop can connect to it, but the configuration is all wrong.
My laptop is issued the following IP address 169.254.184.177, and the Subnet Mask is 255.255.0.0. On the other end, my phone's (the Hotspot host) IP address is 192.168.43.1, Subnet Mask is 255.255.255.0. Other devices that I tried to connect to it, had similar issues.
The problem is resolved if I manually configure my laptop's IP address to (for example) 192.168.43.4 and set the Subnet Mask to 255.255.255.0, but other than that, I don't know how else to fix this issue - hell, I don't even know where the issue is, exactly.
So, any help in this matter would be greatly appreciated!