Any wifi fix for calkulin rom
Before I answer your question, you need to answer mine. What medicine do I need to take for my illness?
For simplicity, I'll assume that the problem your having is that the wifi doesn't connect when the the radio is turned off.
This is a known issue and can be solved by turning the wifi radio on.
Ok, your probably wondering why it takes so long to connect when the screen turns on. Today I went into wifi settings and set the wifi sleep policy to never. I haven't seen a bad hit to battery life, but it's only been a day.
it disconnects and connect
It disconnect and connect
Can you at least give us a clue on which version of calkulin you're using and which kernel?
luis250 said:
It disconnect and connect
Click to expand...
Click to collapse
Every 5 or 10 mins? If so, I may be able to help.
Do this:
1. Reboot the gTablet.
2. After the tablet's booted, run a Terminal Emulator app. (You can also run the commands after "adb shell").
3. Inside the Terminal Emulator, type this (don't type in the '$' prompt):
Code:
$ dmesg > /mnt/sdcard/dmesg.txt
$ ls -l /system/lib/hw/wlan/ > /mnt/sdcard/wlan.txt
Transfer both the text files to your PC and attach them to your next post so I can look at them.
Hi,
Few days back i updated my MiNi Pro to Ice Cream Sandwich and rooted it..
same as Gingerbread, Ice cream sandwich doesn't have Ad-hoc wifi support..
It can only connect to an infrastructure wifi only..
I want to connect my Mini Pro to the ad-hoc virtual hotspot created by my laptop, or Nokia N79 [Using JoikuSpot – Mobile WiFi HotSpot for Nokia] so that i can get internet access on my Mini Pro using wifi ..
Thanx.
Aqib.
the same question
I have the same question :crying::crying::crying::crying:
mohdaqib17 said:
Hi,
Few days back i updated my MiNi Pro to Ice Cream Sandwich and rooted it..
same as Gingerbread, Ice cream sandwich doesn't have Ad-hoc wifi support..
It can only connect to an infrastructure wifi only..
I want to connect my Mini Pro to the ad-hoc virtual hotspot created by my laptop, or Nokia N79 [Using JoikuSpot – Mobile WiFi HotSpot for Nokia] so that i can get internet access on my Mini Pro using wifi ..
Thanx.
Aqib.
Click to expand...
Click to collapse
i suggest connectify or mhotspot4lite if you want to create adhoc via your laptop. i know it's offtopic but atleast it's a workaround while waiting for a real answer to your question
=D
adin234 said:
i suggest connectify or mhotspot4lite if you want to create adhoc via your laptop. i know it's offtopic but atleast it's a workaround while waiting for a real answer to your question
Click to expand...
Click to collapse
The native Adhoc in the ICS is not workin, i use WiFi Tether for Root Users: https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether
Opend the App, in Setting choose the perfil "ICS WLAN1"
Connect to adhoc
I changed data/misc/wifi/wpa_supplicant.conf (not /system/bin/wpa_supplicant)
Step1:First i scanned my adhoc network using Wifi Manager. It shows adhoc networks. I ignored it's warning and tried to connect. It'll fail.No problem! We now have the adhoc network listed in wpa_supplicant.conf.
Note: you can skip this step if you know how to edit wpa_supplicant.conf manually or if your device already lists adhoc networks on scanning.
Step2: You'll need to root your device if you're doing this through your device itself. If you use adb you may not need to root your device.(I had root access by default through adb. So rooting the device wasn't necessary for me). If you're using pc(windows or linux), i recommend Android Commander. If you're doing this from device itself, use some Root Explorer and Terminal Emulator.
Pull and/or edit data/misc/wifi/wpa_supplicant.conf. Add the following line
ap_scan=2
Find line like
network={
ssid="your adhoc name"
bssid=*some value*
.
.
}
Delete bssid line.
Add/Change the following
scan_ssid=1
priority=1
mode=1
Push back/save the modified file.
chown ownership back to system.wifi. Type the following in adb/Terminal Emulator
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
Ok, done! Now you can turn on wifi and if the specified adhoc network is nearby, your device'll automatically connect to it. Don't scan for new networks. If you do, adhoc support will be lost and you'll have to start over again!
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other known networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
For more details refer
http://forum.xda-developers.com/showthread.php?t=1591207
Error
HEXcube said:
I changed data/misc/wifi/wpa_supplicant.conf (not /system/bin/wpa_supplicant)
Step1:First i scanned my adhoc network using Wifi Manager. It shows adhoc networks. I ignored it's warning and tried to connect. It'll fail.No problem! We now have the adhoc network listed in wpa_supplicant.conf.
Note: you can skip this step if you know how to edit wpa_supplicant.conf manually or if your device already lists adhoc networks on scanning.
Step2: You'll need to root your device if you're doing this through your device itself. If you use adb you may not need to root your device.(I had root access by default through adb. So rooting the device wasn't necessary for me). If you're using pc(windows or linux), i recommend Android Commander. If you're doing this from device itself, use some Root Explorer and Terminal Emulator.
Pull and/or edit data/misc/wifi/wpa_supplicant.conf. Add the following line
ap_scan=2
Find line like
network={
ssid="your adhoc name"
bssid=*some value*
.
.
}
Delete bssid line.
Add/Change the following
scan_ssid=1
priority=1
mode=1
Push back/save the modified file.
chown ownership back to system.wifi. Type the following in adb/Terminal Emulator
#chown system.wifi data/misc/wifi/wpa_supplicant.conf
Ok, done! Now you can turn on wifi and if the specified adhoc network is nearby, your device'll automatically connect to it. Don't scan for new networks. If you do, adhoc support will be lost and you'll have to start over again!
Advantage: Safer than modifying system/etc/wifi/wpa_supplicant binary. Saves you the trouble of compiling modified wpa_supplicant or finding a compiled one for your platform.
Drawback: This is just a temporary solution.You'll have to repeat this process for every new adhoc network as it doesn't enable adhoc forever. It is good for connecting to your home network or other known networks, but if you want to connect to any adhoc network you scan,then this is not your method. Because, wpa_supplicant.conf will be overwritten every time you scan a new network.
For more details refer
http://forum.xda-developers.com/showthread.php?t=1591207
Click to expand...
Click to collapse
i try, have error, wifi can't turn on
Do chown on wpa_supplicant.conf
You have error because you didn't change ownership back to System and group as wifi. To do this do the chown command from adb or a Terminal Emulator/shell:
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Please refer to http://forum.xda-developers.com/showthread.php?t=1591207.
For explanations:http://forum.xda-developers.com/showthread.php?t=1511544
Didn't work
I try chown in adb, still didn't work. My phone is WT19i
Backup of wpa_supplicant.conf
Do you have a backup of wpa_supplicant.conf with you. Try it.
If still not working try changing permissions:
chmod 775 /data/misc/wpa_supplicant.conf
Didn't work
HEXcube said:
Do you have a backup of wpa_supplicant.conf with you. Try it.
If still not working try changing permissions:
chmod 775 /data/misc/wpa_supplicant.conf
Click to expand...
Click to collapse
i change permissions in Root Ex:
xx0
xx0
000
still didn't work, can't connect to ad-hoc
Finally its working
All i done was first turn off wifi and then open wpa_supplicant.conf in data/misc/wifi and placed
network={
ssid="Dilushan"
mode=1
frequency=2412
key_mgmt=NONE
priority=50
}
in end. Dilushan should replace with wifi network name. Then got ownership back to system.wifi by typing the following 2 commands in Terminal Emulator.
su
then
chown system.wifi data/misc/wifi/wpa_supplicant.conf
thats all. Then i opened wifi in setting and it automatically connected adhock network named Dilushan. I connected successfully to nokia phone wifi network created by joikuspot and browsed internet and also connected to a windows laptop. my device xperia mini 4.0.4 .431 rooted locked bootloader.
Thanks Hexcube this is awsome. i even started a thread with no answer before.
Thanks for trying
I'm glad that it worked.I wasn't sure if it'll work on xperia. I couldn't get a rooted xperia to test. Thanks for testing this. Now, i'm sure it'll work on nariman's Xperia Mini Pro.
Very good
Dilushan said:
All i done was first turn off wifi and then open wpa_supplicant.conf in data/misc/wifi and placed
network={
ssid="Dilushan"
mode=1
frequency=2412
key_mgmt=NONE
priority=50
}
in end. Dilushan should replace with wifi network name.thats all. Then i opened wifi in setting and it automatically connected adhock network named Dilushan. To me no need to change ownership. I connected successfully to nokia phone wifi network created by joikuspot and browsed internet and also connected to a windows laptop. my device xperia mini 4.0.4 .431 rooted locked bootloader.
Thanks Hexcube this is awsome. i even started a thread with no answer before.
Click to expand...
Click to collapse
Thank pro a lot. I connected successfully ! :good::good::good::good::good::good::good:
I've made a thread about this ..
http://forum.xda-developers.com/showthread.php?t=1717060
Hf
mangmt said:
Thank pro a lot. I connected successfully ! :good::good::good::good::good::good::good:
Click to expand...
Click to collapse
Thanks bro for ur feedback
Is there anything I can do to my rooted phone for it to be able to connect to Ad-Hoc WiFi hotspots? I have JoikuSpot on my old n97 with unlimited data plan, but android doesn't see Ad-Hoc connections :\
Every Ad-Hoc enabler I tried so far kills the WifI connection so have to wait for updates.
I tried a modified wpa_supplicant.conf in 'data/misc/wifi' (not wpa_supplicant in system/etc) to ascend the priority=1 to adhoc network. It works fine.
I didn't need to root my tab(as i used adb of Android Commander to push the modified wpa.conf)
After pushing the new file, chmod 666 and chown the original user.
Disadvantage- for every adhoc network you wish to connect you'll have to do the same. It doesn't enable adhoc forever.
I have a Samsung Galaxy S III and I have a problem which occurs on all the roms I have tried so far: Paranoid Android, Cyanogenmod and Ultimarom: When using Automateit to frequently turn wifi on and off, wifi breaks after a while (no fixed time, sometimes there are days without problems), which means wifi can not be turned on again, neither manually, nor automatically. When turning it on, no networks are shown. The only fix is a reboot.
Now I am looking for a solution which could avoid the reboot. I want to now if there are shell commands to restart/reload the wifi module manually. Then I could use the Automateit-Shell extension to frequently do this automatically. Does anyone know how to do this?
Samba
sambahb said:
I have a Samsung Galaxy S III and I have a problem which occurs on all the roms I have tried so far: Paranoid Android, Cyanogenmod and Ultimarom: When using Automateit to frequently turn wifi on and off, wifi breaks after a while (no fixed time, sometimes there are days without problems), which means wifi can not be turned on again, neither manually, nor automatically. When turning it on, no networks are shown. The only fix is a reboot.
Now I am looking for a solution which could avoid the reboot. I want to now if there are shell commands to restart/reload the wifi module manually. Then I could use the Automateit-Shell extension to frequently do this automatically. Does anyone know how to do this?
Samba
Click to expand...
Click to collapse
From terminal on your phone:
1.
Code:
su
ls /sys/class/net
It will list your interfaces. For wlan it will probably be wlan0.
Then:
2.
Code:
ifconfig wlan0 down
For bringing it up:
3.
Code:
ifconfig wlan0 up
Tried on my stock 4.3 now, works ok for going down. But it automatically brings it up after ~ 10 secs.
echo murata > /data/.cid.info
chown system /data/.cid.info
chgrp wifi /data/.cid.info
chmod 0660 /data/.cid.info
I saw this on another thread as my s3 wifi is not connecting to my pocket wifi even though other devoces can. Just wondering where can I inpit this command? I have rooted my device and looking for some help? Do I need to install an app to use this command? Any steps or screenshots is greatly appreciated as Im about to give up.
Looks like you need to connect to localhost through a JuiceSSH or a similar terminal.
Better use Solid Explorer.
Be very careful though. You may end up with completely broken WiFi.