Cant connect to wlan with CM and AOPS roms - Motorola Droid and Milestone General

I cannot connect to my wlan-network with the CM6/AOSP roms. When I try it always turns from connect to scan. With earlier Version it worked, like Cronos 1.5, but 1.6 wont work. I tried with CM6 from today, Cronos 1.6 and The Froyo mod 2.1. I want one of them, but without wifi it is not acceptable.

to what channel are u connecting?

My Router is showing me channel 8

Should not be a problem really. Maybe you need to post some more info .

Hm... Maybe someone can say what has changed in wifi settings since cronos 1.5 to 1.6.
The wlan network has wpa/wpa2-psk key and its a Dlink dir 615.

Please help!

I'm having the same issue. CM hasn't worked for a while now, and Cronos 1.5 is the last version that worked for me.

I can offer the following decision of this problem:
In RootExplorer(via Open in text editor) it is opened tiwlan.ini (~/etc/wifi), we search for line WiFiAdhoc=1, we change 1 on 0 and... All works, I am simple before is banal substituted tiwlan.ini from cronos, then having transversed on both for comparing have seen that in cyanogen the mode a computer-computer is included (т.е Adhoc) switch-off has brought the positive result
P.S Sorry for my English

Thanks so much. I'll try that and post my results.

bahor60 said:
I can offer the following decision of this problem:
In RootExplorer(via Open in text editor) it is opened tiwlan.ini (~/etc/wifi), we search for line WiFiAdhoc=1, we change 1 on 0 and... All works, I am simple before is banal substituted tiwlan.ini from cronos, then having transversed on both for comparing have seen that in cyanogen the mode a computer-computer is included (т.е Adhoc) switch-off has brought the positive result
P.S Sorry for my English
Click to expand...
Click to collapse
This worked for me after changing my disk setting back to RO in Root Explorer and rebooting. Thanks!

Thanks it worked

Can I take it as confirmed that WiFiAdhoc set to 0 solves the wifi issues at least for some users?
If it is the case, I will disable it again in the next build.
(And I'd be glad to be notified about such important findings in the future, thank you very much.)

I'm not sure any more. I had cronos 1.5, tried 1.6.1, didn't work, switched to cm 11.27, didn't work, retried cronos 1.6 only go get the motorola bootloop. Reloaded the GOT SBF, put cronos 1.5 on it, setup wifi, didn't do a full wipe (only the cache's), upgraded to cronos 1.6.1 and its now working fine with ad-hoc enabled. I'm not sure if it's the Got reload that did it, or what, but it's working now. If the issue re-appears, I'll do a more thorough investigation to see if some of the other potential solutions, like deleting /data/misc/wifi/wpa_supplicant.conf, resolves this problem.

I tried this and it still doesn't work.. I just can't connect to my router.. I tried every settings, all types of protection, nothing works, even changing that WifiAdhoc think on 0 in Root explorer.. I'll try Cronos 1.5 if you say it works there, but I see a problem in new 2.2.1 SBF..

kabaldan said:
Can I take it as confirmed that WiFiAdhoc set to 0 solves the wifi issues at least for some users?
If it is the case, I will disable it again in the next build.
(And I'd be glad to be notified about such important findings in the future, thank you very much.)
Click to expand...
Click to collapse
Certainly it is possible, after all I only a trial method have found out the problem resolution, I only will be glad if it is much will help
(Thanks for your modes)

GameEs said:
I tried this and it still doesn't work.. I just can't connect to my router.. I tried every settings, all types of protection, nothing works, even changing that WifiAdhoc think on 0 in Root explorer.. I'll try Cronos 1.5 if you say it works there, but I see a problem in new 2.2.1 SBF..
Click to expand...
Click to collapse
cronos 1.5 consistently worked for me.
Have you tried all of these? In particular, delete /data/misc/wifi/wpa_supplicant.conf, do a full wipe, and re-install the rom.
kabaldan said:
There are several issues open for it, you can get there some valuable information.
I'd start with the advise given here (delete /data/misc/wifi/wpa_supplicant.conf):
http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=204
Also:
http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=234
http://code.google.com/p/cyanogenmod4milestone/issues/detail?id=147
You can try to change the options in /etc/wifi/tiwlan.ini - HT_Enable and WiFiAdhocA
If it will turn out that the WiFiAdhoc enabled is breaking the wifi for some users (it works perfectly for me), I'll disable it again in the next build. But I have not got any clear reports on the issue tracker that would suggested it yet.
Hopefully, the wifi issues will be fixed in the final Motorola's froyo kernel build. Custom compiled tiwlan_drv.ko kernel module causes kernel panic (as the ext2, tun, cifs and nfs modules). When the Motorola's kernel sources become available, it will be easier to try some fixes in this area.
Click to expand...
Click to collapse

I really don't know what to say.
I've connected to WPA-TKIP, WPA2-TKIP, and unsecured Wifis day after day. I've flashed the 11.20, 11.22, 11.25, 11.27 ROMs for CM6 and I've been fine on all these wifi networks.
Are you guys sure it's not residual crap clogging up your phones or perhaps something on the router side?

dmo580 said:
I really don't know what to say.
I've connected to WPA-TKIP, WPA2-TKIP, and unsecured Wifis day after day. I've flashed the 11.20, 11.22, 11.25, 11.27 ROMs for CM6 and I've been fine on all these wifi networks.
Are you guys sure it's not residual crap clogging up your phones or perhaps something on the router side?
Click to expand...
Click to collapse
I've tried all those as well, and they didn't work for me on any router. It may have been caused by /data/misc/wifi/wpa_supplicant.conf being corrupted on something similar. I'm on cronos 1.6.1 now, which also never worked, but since I flashed the SBF again, it's been working fine.

Every rom which I try on with 2.1 sbf has WORKING wifi for me.. But here I just can't get it working.. I think I'll just wait for official 2.2 and hope it will be good there..

Ok, so this morning I ran into the same issue again with cronos 1.6.1. Deleting /data/misc/wifi/wpa_supplicant.conf fixed the issue for me. Removing and re-adding the network didn't. Still have WifiAdHoc set to 1.

Related

android-wifi-tether and various ROMs

PROBLEM SOLVED, See below
Hi all,
I'm getting seriously confused with android-wifi-tether not working! Basically i have tried various custom ROMs (all Android 2.1) and various versions of wifi tether. I've even installed jacobs newer kernels.
There are no errors when i start tether. But when i connect with a laptop (tried many) the laptop goes through the motion of connecting successfully, the phone does not acknowledge the laptops connection and the laptop does not get a proper IP address.
I checked it out with Logcat, no errors on android-wifi-tether start, and when a computer connects, no logs are generated at all.
It has been working on the phone when i was running Wildpuzzle 2.1 1.0.0 i reverted to the rom but still nothing.
I've always installed a fresh rom with a full wipe also.
Whats interesting is i flashed my other halfs wildfire and it has the same issue (although not tried a variety of roms on it).
If anyone has any suggestions or ways of diagnosing. I would really appreciate it!!
There is something lingering somewhere on the phone.
Many Thanks, Dan
dselvey said:
Hi all,
I'm getting seriously confused with android-wifi-tether not working! Basically i have tried various custom ROMs (all Android 2.1) and various versions of wifi tether. I've even installed jacobs newer kernels.
There are no errors when i start tether. But when i connect with a laptop (tried many) the laptop goes through the motion of connecting successfully, the phone does not acknowledge the laptops connection and the laptop does not get a proper IP address.
I checked it out with Logcat, no errors on android-wifi-tether start, and when a computer connects, no logs are generated at all.
It has been working on the phone when i was running Wildpuzzle 2.1 1.0.0 i reverted to the rom but still nothing.
I've always installed a fresh rom with a full wipe also.
Whats interesting is i flashed my other halfs wildfire and it has the same issue (although not tried a variety of roms on it).
If anyone has any suggestions or ways of diagnosing. I would really appreciate it!!
There is something lingering somewhere on the phone.
Many Thanks, Dan
Click to expand...
Click to collapse
My kernel only fixes it for 2.2 ROMs (and not Sense atm)
No luck if you're on 2.1, sorry.
I had this problem on 2.1 and had to find a new bin file as described in /code.google.com/p/android-wifi-tether/wiki/Setup_HTC_Desire_Incredible. After I did this it all worked OK.
I now use Cyangenmod 6.1 RC2 Build 41 and use the internal Froyo 2.2 Wifi tether and it works just fine. ( Thanks Jacob )
crazygrazy said:
I had this problem on 2.1 and had to find a new bin file as described in /code.google.com/p/android-wifi-tether/wiki/Setup_HTC_Desire_Incredible. After I did this it all worked OK.
I now use Cyangenmod 6.1 RC2 Build 41 and use the internal Froyo 2.2 Wifi tether and it works just fine. ( Thanks Jacob )
Click to expand...
Click to collapse
Didn't think that would work for 2.1 but I was clearly wrong xD
i had to also run the
Code:
ip route add table gprs 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.254
is there anyway this fix can be included with 2.1 roms automatically?
Looks like i spoke to soon, gets an IP now and the phone acknowledges the connection but i cannot ping anything from the laptop :S
It appears if i run
Code:
ip route add table gprs 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.254.
once tethering has been started it begins to work and the laptop can download.
Any ideas?
Problem fixed!!
I thought i'd share:
I edited
/data/data/android.tether/bin/fixroute.sh
after the sleep 2
and before the done at the end of the file i added
Code:
/system/bin/ip route add table gprs 192.168.2.0/24 dev eth0 proto kernel scope link src 192.168.2.254
I also modified the sleep to 10, just in case it need a few seconds for eth0 to kick in.
Works perfectly and everytime.
Of course you need to do it everytime you install the binaries.

Wifi on Cyanogen issues

I just finally got sick of waiting for an official Froyo(Bell isn't about to give me an upgrade anyhow.) So I went to a froyo rom that was based on one of the stock roms. But I figured since I'm rooted anyhow why not play around, and grabbed cyanogen 6.1 and installed it. Then I end up with the issue of its not connecting to my wifi, I have no issues on the stock 2.2 roms. One thing I have noticed is the cyanogen shows the network as wep, but it's actually wpa encrypted. I flashed into it from the stock without clearing it first and it worked until I shut off and came back to it. Any ideas on what might be the issue. I'm fairly new but I did look and couldn't find anything to fix this.
I assume you flashed 6.1 stable version? I have no issue whatsoever on my device (and I also used official froyo previously). Did you wipe all before flashing 6.1?
He said he "flashed without cleaning"...so I presume no wipe. This could be the problem, a wipe is strongly adviced if going to CM from a non CM ROM. Also check the number of WiFi channels set by default in advanced settings of wifi. It is set for 11 and if the router is set to 13 or 14 it could not work
Sent from my Legend using XDA App
I had the same problem when i was installing CM6.1. (with wipe)
The phone could just se a wep version of my network and not the wpa that i have. But after i turned on and off the wifi a couple of times i suddenly saw the wpa version of my network and after i connected to that the problem was solved. I also did click "forget network" on the wep version.
Hope this will help you
ricky007 said:
I had the same problem when i was installing CM6.1. (with wipe)
The phone could just se a wep version of my network and not the wpa that i have. But after i turned on and off the wifi a couple of times i suddenly saw the wpa version of my network and after i connected to that the problem was solved. I also did click "forget network" on the wep version.
Hope this will help you
Click to expand...
Click to collapse
Trying this now but no go. Sometimes will flash it as wpa and then jump back to wep. This is after a full wipe. What I was trying to say was once I flashed in without wiping and it worked for a bit but jumped right back to not working, after the phone going to sleep.
Bump.
Any insight into this issue? Still only reading my network as wep.
Try installing "WiFi Advanced Configration Editor" from the market. You should be able to change to WPA manually with it.
Did you try to reset your wifi router?sometimes the issues came up from wifi router, not the phone itself.
Mine is fine. I share my broadband wifi to my phone using connectify.
The only problem remains is wifi disconnect frequently, but I heard that it's due to a new kernel which I use (.32 kernel)
hope it helps
Ya reset the router a few times, and it still came up like that. I did install the wifi advance config software mentioned it seemed to fix it. I didn't actually set anything up on it and it seems to have fixed it. Thanks.
CM 6.1 messed up my wifi. Wiped everything, but it suddenly doesn't find my networks.
Wiped again and restored nandroid backup of working rom but STILL the same issue now!! Can I flash the wifi drivers again somehow?

[Q] My most interesting problem ever

Hy everyone!
I have found a very interesting problem regarding my kaiser130 and android...or maybe the problem is in the user?
Anyhow my problem is that no matter which android build i try,no matter which kernel and which radio i dont have working wifi and data connection.
At first everything worked fine but then i had some problems and i didnt have time to fiddle around with android because it wasnt too stable and i had many FC-s so i had to go back to winmo.I had 6.1 on it before,have put on hardspl3.34 then started flashing android and after that i put back winmo from a shipped package with ruu . Now i have more time and i started to experiment with android again.I wanted to use cyanogenmod 6.1.2 but had the wifi-error problem but as i saw many other people had the same so i thought i'd go back to another build,namely incubus26jc's super froyo rls16 i used that for days but then when i had to use the apn or wifi it didnt work...or actually wifi worked but only with static ip,i tried switching kernels from a base one downloaded with atools to clemsyns and scoots but nothing worked for me better yet it even got worse it started producing the wifi-error again.I use the most recent radio tried both the emo version and the atw to no success tried installing both to nand sys on nand data ext2 data.img but nothing seems to be working and now no matter which build i try everytime i get the wifi-error and apn isnt working.Can it be that my bootloader is tarting to fail?Or is my kernel getting corrupted?
Oh and i always applied the appropriate module updates for each kernel.
Can somebudy suggest something useful or i was thinking that is it possible to very hard reset the phone i mean to put it back the way it was?Format the nand put back a normal spl,i dont mind trying thing again but i need the data connection and the wifi.
Oh and i forgot to mention the most interesting thing,when i turn on data it actually turns on and in the modem i can see that it even gets an ip address from my phone provider.

Networks detected but will not register

So I had some escapades today, I had my SGS running jellybean, then I tried to change the screen density and bang, bootloop. I panicked and after some odin fiddling managed to get it booting Darky using odin. I was in a room with no signal at the time so I thought nothing of not having any signal, even so I then went ahead and used recovery to reinstall my Jellybean rom since that's a bit nicer than the 2.3 Darky.
Long and the short of it is, I can search for networks in my options and it will find them, but when I tell it to connect to one it says "Can't connect to this network right now. Try again later"
I have tried later and surprise surprise it didn't work. I have tried installing a different radio, clearing the dvalik cache and fixing permissions as well as a few other things. Please can anyone suggest something, this seems to be a very uncommon scenario and it's stressing me out that I can't find any solutions.
alzrnb said:
So I had some escapades today, I had my SGS running jellybean, then I tried to change the screen density and bang, bootloop. I panicked and after some odin fiddling managed to get it booting Darky using odin. I was in a room with no signal at the time so I thought nothing of not having any signal, even so I then went ahead and used recovery to reinstall my Jellybean rom since that's a bit nicer than the 2.3 Darky.
Long and the short of it is, I can search for networks in my options and it will find them, but when I tell it to connect to one it says "Can't connect to this network right now. Try again later"
I have tried later and surprise surprise it didn't work. I have tried installing a different radio, clearing the dvalik cache and fixing permissions as well as a few other things. Please can anyone suggest something, this seems to be a very uncommon scenario and it's stressing me out that I can't find any solutions.
Click to expand...
Click to collapse
check apn settings?
slaphead20 said:
check apn settings?
Click to expand...
Click to collapse
Yeah I've checked them and unfortunately they all seem to be in order still, though there are a lot more settings than any website offers things to put in them
same problem
i am having this same problem on all cyanogenmod 7,9,10. i have tried many radio and modem flashes. i can scan and see networks, but i can never connect to them.
have you made any progress?
Problem is EFS folder which tends to do with IMEI.
To fix it you need to copy the backup EFS folder from your SDCARD to the root of your device. (/)
If you don't have a backup you'll have to ODIN back to stock and re-root....etcetera
Sent from my GT-P7500 using xda app-developers app
thx
thank you for the response. I put it back to stock lastnight before bed so i will give this a try.
i have the gti9000m from bell in canada. I updated it through kies to 2.3.3 gingerbread and it all went badly. It would boot up and load to the os be on for a bit then reset. It turned out to be wifi problem, running it on airplane mode stopped it from rebooting. Then if i tried to turn on wifi it would quickly reboot.
So then i tired all the cyanogenmods, which worked it stopped rebooting all the time. however the wifi would connect and work for about a minute then it would drop. doing the
1.turnOn gps
2.turnOn wifi
3. turnOff gps
this would let the wifi work again for about a minute. I tried all the wifi fixer apk, and a bunch of wifi.zip mods, and then ping the router gateway constantly, none solved this problem. Very annoying because i need the wifi working for develpoment of apps. I have spent a great many hours on this problem. lots of people seam to have this problem but no solutions have wokred for me.
So, my questions are....
1. does your wifi work?
2. how the heck do i get mine to work?
back to stock
After going back to stock then upgrading connecting to network operators is fine.
wifi is still broken though

[Q][I9001] about CM9 WIFI connecting

i have somting wearid with my phone
i have flash the latest version from CM9 (CM9 Alpha 5) and the WIFI still dos't work with me, i can see the WIFI name and select it, and insert the password, but when i select connect, it is not connect and nothing happen, in addition i have make clean install,with format the system and wipe data .... etc, any help please!!!!
regards
Khader Ibrahim said:
i have somting wearid with my phone
i have flash the latest version from CM9 (CM9 Alpha 5) and the WIFI still dos't work with me, i can see the WIFI name and select it, and insert the password, but when i select connect, it is not connect and nothing happen, in addition i have make clean install,with format the system and wipe data .... etc, any help please!!!!
regards
Click to expand...
Click to collapse
Same problem here. pretty weird :/
Wifi Problem
Are you suer you are in a good distance of wi-fi singal? Because sometimes it happens to me too... you see the wifi, so you click to connect and when you enter password a click connect, it disappers, becasue you are too far away from the wi-fi....
solcmartas said:
Are you suer you are in a good distance of wi-fi singal? Because sometimes it happens to me too... you see the wifi, so you click to connect and when you enter password a click connect, it disappers, becasue you are too far away from the wi-fi....
Click to expand...
Click to collapse
Yes, when i am trying to connect, i am at 2 meters of AP, the name of ESSID and passwords are correct ( verified with the connection info of the laptop).
thank you for reply!!
parrott cangrsi
solcmartas said:
Are you suer you are in a good distance of wi-fi singal? Because sometimes it happens to me too... you see the wifi, so you click to connect and when you enter password a click connect, it disappers, becasue you are too far away from the wi-fi....
Click to expand...
Click to collapse
yes i'm sure, and the distance between me and the WiFi router is 3 cm
any help please
regards
I tried many (4 or maybe 5) differents versions of ROMS with ICS, and no version is capable to connect .
I reflashed a ROM with version 2.3.6 and this it's running fine, this night (GMT +1) i will try to change the WiFi security preferences for test in a diferent environment, i will tell later
nvillier leprye
crackiron said:
I tried many (4 or maybe 5) differents versions of ROMS with ICS, and no version is capable to connect .
I reflashed a ROM with version 2.3.6 and this it's running fine, this night (GMT +1) i will try to change the WiFi security preferences for test in a diferent environment, i will tell later
Click to expand...
Click to collapse
same here i have tried many baseband roms and no roms is capable to connect .
and im waiting ;D.
hope that we can find solution.
my case is even stranger: i had cm9 alpha 4 and everything (apart camera and radio) worked like a charm, even wifi
then i tried the 'update' to fix the camera and camera worked but now that i'm back home (i was on a vacation when i modded the phone) i've noticed the wifi doesnt work no more.. now trying alpha 5
edit: everything works like a charm now : alpha 5 + update for camera.. remains radio and tethering to fix GO DEVS
edit 2: i'm having a hard time installing the gapps o.o i'm going to try again wiping once again everything
Edit 3: doesn't work.. i tried going back TO alpha 4 and again gapps don't work.. I tried downloading them again and nothing changed.. should I go back to 2.3.6 and wait????
drifter94 said:
my case is even stranger: i had cm9 alpha 4 and everything (apart camera and radio) worked like a charm, even wifi
then i tried the 'update' to fix the camera and camera worked but now that i'm back home (i was on a vacation when i modded the phone) i've noticed the wifi doesnt work no more.. now trying alpha 5
edit: everything works like a charm now : alpha 5 + update for camera.. remains radio and tethering to fix GO DEVS
edit 2: i'm having a hard time installing the gapps o.o i'm going to try again wiping once again everything
Edit 3: doesn't work.. i tried going back TO alpha 4 and again gapps don't work.. I tried downloading them again and nothing changed.. should I go back to 2.3.6 and wait????
Click to expand...
Click to collapse
Oh 0_o .... and now what you are going to do ??
Running CM9 Alpha 5 and i've changed the configuration of WIFI security... doesn't work.
I discard a problem with wpa_supplicant, someone knows where logs are located? i am reviewing the dsmeg output and... not seems to have any interesting information ... i will review carefully
PD: iwlist scan also doesn't work
good luck!!

Categories

Resources