[Q] Ad Hoc WiFi Sleep Problem - Nook Color General

As has been documented, the replacement WPA_Supplicant file to allow Ad Hoc WiFi support also has an issue of not reconnecting after sleep. Although many solutions have been offered with profiles and task programs, I just went back to the original WPA_Supplicant file so it would work as it should as I rarely need Ad Hoc support.
What I am looking for is a quick way to swap the appropriate WPA_Supplicant files in the /system/bin folder so that I could just quickly swap files when needed (which is rarely). I found a script file that would run in Gscript but the commands broke my WiFi and I had to reload the original WPA_Supplicant file with ADB to get it going again.
Does anyone have a script or suggestion for swapping files? Does Root Explorer have the ability to copy a file over an existing file in the /system/bin folder?
Any help would be greatly appreciated.

I believe it does but I'd save the original with a different name first, just in case you need it later. If you rename the original and just copy your new WPA_Supplicant into the \system\bin folder you won't need to over write it.

Did going back to the original solve the wifi reconnect issue? How could I do the same?
I don't need ad hoc support at all.
I'm on nookie froyo.

Please take a look at http://nookdevs.com/NookColor_Keep_wifi_alive_by_preventing_sleep_mode

funcrusher said:
Did going back to the original solve the wifi reconnect issue? How could I do the same?
I don't need ad hoc support at all.
I'm on nookie froyo.
Click to expand...
Click to collapse
Yes, returning to the stock WPA_Supplicant file gave me back the WiFi without Ad Hoc capability. If you need the stock WPA_Supplicant file please see the link that I have provided below.
After my original post, I found this post that had everything that I was looking for:
http://forum.xda-developers.com/showthread.php?t=872521

Related

Is using ADB the only way to get Ad-hoc working?

I have the original Droid phone. Thus, to tether it to my CN I need to get the CN able to work with Ad-Hoc. I had come to the conclusion the only way to accomplish this was via the ADB shell. The problem is I cannot get ADB to work.
So, that being said, and before I bury another 4 or 5 hours into this, is there another way to get my CN working with my Droid?
Yes, you can do it on your nook using certain apps. I've done it with Root Explorer(paid app), which allows you to alter/replace/change permissions on any system file. Other file manager type programs might be able do this too, maybe even some free ones, but the only one I can verify is root explorer.
pfcwintergreen said:
Yes, you can do it on your nook using certain apps. I've done it with Root Explorer(paid app), which allows you to alter/replace/change permissions on any system file. Other file manager type programs might be able do this too, maybe even some free ones, but the only one I can verify is root explorer.
Click to expand...
Click to collapse
Do you mind posting instructions, or a link to how you did it? I have this exact same situation as the OP (Droid 1/NC).
"Easy Tether" for rooted Droid phones works perfectly for me. It's a Market download and free -- creates an infrastructure network the CN can see and use rooted or unrooted. Rooting your phone (if not already) is pretty quick and easy as compared to rooting the Nook. I have a Droid X.
I have both easy tether and root explorer. Easy tether will not work as it requires a cable connection.
Can you explain what i need to do with root explorer?
jtpryan said:
I have both easy tether and root explorer. Easy tether will not work as it requires a cable connection.
Can you explain what i need to do with root explorer?
Click to expand...
Click to collapse
Place the patched wpa_supplicant file from here http://forum.xda-developers.com/showthread.php?t=868354 somewhere on your sdcard.
Open Root Explorer and navigate to the file on the sdcard.
Copy the file.
Navigate to system/bin
Mount R/W
Rename your original wpa_supplicant file to wpa_supplicant.bak
Paste the new file. (make sure the name is as the original)
Reboot your nook.
Thank you so much!!! Worked great!
Sent from my LogicPD Zoom2 using XDA App
racks11479 said:
Place the patched wpa_supplicant file from here http://forum.xda-developers.com/showthread.php?t=868354 somewhere on your sdcard.
Open Root Explorer and navigate to the file on the sdcard.
Copy the file.
Navigate to system/bin
Mount R/W
Rename your original wpa_supplicant file to wpa_supplicant.bak
Paste the new file. (make sure the name is as the original)
Reboot your nook.
Click to expand...
Click to collapse
Hmmm, won't start wifi at all now. When I pasted the new file should the name be wpa_supplicant or wpa_supplicant.adhocfix? I used the former.
-Jim
Oops. My mistake. Too embarrasing to discuss ;+{
Anyway, all is well. Works the balls!
jtpryan said:
Oops. My mistake. Too embarrasing to discuss ;+{
Anyway, all is well. Works the balls!
Click to expand...
Click to collapse
No please discuss, we're all here to learn from your mistakes! j/k
Glad it worked out for you.
jtpryan said:
Oops. My mistake. Too embarrasing to discuss ;+{
Anyway, all is well. Works the balls!
Click to expand...
Click to collapse
Please explain so i dont make this mistake when i try this later.
Im having the same issue as OP. ill try this method when i get home.
racks11479 said:
Place the patched wpa_supplicant file from here http://forum.xda-developers.com/showthread.php?t=868354 somewhere on your sdcard.
Open Root Explorer and navigate to the file on the sdcard.
Copy the file.
Navigate to system/bin
Mount R/W
Rename your original wpa_supplicant file to wpa_supplicant.bak
Paste the new file. (make sure the name is as the original)
Reboot your nook.
Click to expand...
Click to collapse
Clarify this step for me. Im confused at reading this.
You say to copy then rename original file, then paste. By original file do you mean the one on the sdcard and not the one being pasted?
Could i just pasti into system/bin , and then rename that file? Im just trying to clear this up?
Randomhero27 said:
Clarify this step for me. Im confused at reading this.
You say to copy then rename original file, then paste. By original file do you mean the one on the sdcard and not the one being pasted?
Could i just pasti into system/bin , and then rename that file? Im just trying to clear this up?
Click to expand...
Click to collapse
Yes. You could just paste then rename the wpa_supplicant.adhocfix to wpa_supplicant. I wanted you to renam the original file in your system/bin to wpa_supplicant.bak so you woul have a backup of the original just in case something goes wrong.
Sent from my "NookDroid" using XDA App
Ohhhhhh okay. Sorry if it seemed dumb. Im at work and without my Nc so im not able to see what is in there.
There's never a dumb question when you're learning something from it
Sent from my "NookDroid" using XDA App
racks11479 said:
Place the patched wpa_supplicant file from here http://forum.xda-developers.com/showthread.php?t=868354 somewhere on your sdcard.
Open Root Explorer and navigate to the file on the sdcard.
Copy the file.
Navigate to system/bin
Mount R/W
Rename your original wpa_supplicant file to wpa_supplicant.bak
Paste the new file. (make sure the name is as the original)
Reboot your nook.
Click to expand...
Click to collapse
went home and did this. THANKS!!!! Saw my IP4 MYWI network right away.
It works!! Thanks!
Under 1.1 I found that the ADHOC supplicant was so infuriatingly unstable it was almost unusable, and the lack of reconnect on wakeup was such a pain. this has been the major benefit of moving to Froyo for me - adhoc is seamless.
Hi Im almost done with it but I'm not sure how to rename the file. I'm using root explorer for some reason ADB is not pushing the file. I'm running 1.1 on my nc. I'm in root explorer and I got all the way to copy the file mount r/w and then i'm stuck.
Please help. I'm so close.
Hey bono quick ? when you use froyo is it on the sd card or is on the nook itself. I'm not sure how to get that far. I'm mad because I can't get these files right so that I can connect to my wireless tether through my phone. I'm so close. I finally got ADB to work but I can't push the files to the nook. I'm so lost right now.

[Q] How to get your WPA suppLICANT back?

If you've messed up the wpa_supplicant file is there a way to view a setting or a way to tell that you have the original file back and ready if you've attempted to update it to the adhoc fix that is out there?
I renamed the wpa_supplicant file to back it up, while pasting the new adhoc fix one in. It did not allow wifi to function on the auto-nootered version of NC i have, so i reverted back to orig file, but my process must be skewed a bit, b/c i replaced the adhoc fix with the old file, its name is correct, the permissions were reset, but still no wifi to be found.
Any ideas? I have written in the dev thread where the process is found but have found no answer.
Haha mistyped. I found it. The folder needs to be renamed and the new file must be outside of the folder. Resolved.
Try wpa_supplicant

[Q] Need wpa_supplicant, for Auto Nooter 1.0.1

The other day after switching between an adhoc & infrastructure wpa supplicants files (for android tethering), I somehow seem to deleted my original.
Can some provide me with a copy of their original wpa_supplicant file?
Be careful your file does not include any of your wifi logins, it will if you have stored passwords.
Found it! In a different thread

Wifi help. File request.

Hello Im running stock froyo 2.2 atnt. Always had a problem with wifi not working sometimes. I was always able to fix this by replacing the dhcpcd under system/bin with root explorer.
Well this time I accidentally tried to paste the replacement dhcpcd file under system/etc and now my wifi wont work at all.
I was wondering if anyone is running stock/rooted could please give me a copy of the original dhcpcd file located under system/etc.
Ahh well nvm. Odin'd back to 2.1 then im in the process of reinstalling 2.2. A simple factory reset wont restore any files changed within the os.

Possible to edit hosts file on i9000?

have a website that i use often and they had some domain issues recently - used to be able to get it on my mobile browser but not anymore (and the work pc's ban this site!) so it's a pain in the arse.
the site themselves mention editing hosts file names on the computer (i did this with the laptops at home and no problem now) but i can't seem to work out how to do this on my i9000. It's rooted and I have root explorer but under system/etc/hosts i'm not sure where to go from there (or even if that is the right place to be to edit the hosts files!)
any words of wisdom please?
I was just trying the same thing for similar reasons. did a 'mount' and it says / is a read-only system. I remember someone mentioning it here. Aha: http://forum.xda-developers.com/showthread.php?t=514698
cheers for the link - looks like some useful tips there though still a bit confused as never done any adb pushing from my computer so will have to read up about it.
trying to find a way to edit the hosts file from within the handset itself - not sure if i can do this with the terminal app?
An easier way to do this, on a rooted phone, is to use root explorer (remember to enable r/w) and go to /etc/hosts and edit it there. Or you can use es file explorer and enable root in settings.
thanks, i was also looking for a way to view and edit the hosts files. just tried a new ROM and it sort of block some popups that i wanted to appear.
beardedwonder said:
An easier way to do this, on a rooted phone, is to use root explorer (remember to enable r/w) and go to /etc/hosts and edit it there. Or you can use es file explorer and enable root in settings.
Click to expand...
Click to collapse
thanks - tried root explorer in the past but couldn't find way to edit the hosts - didn't notice the 'mount as r/w'! - alas i'm still stuck - added hosts as per the website's instructions and still can't load the webpage, either by the www name or by ip address.
dang!
doktorV said:
thanks - tried root explorer in the past but couldn't find way to edit the hosts - didn't notice the 'mount as r/w'! - alas i'm still stuck - added hosts as per the website's instructions and still can't load the webpage, either by the www name or by ip address.
dang!
Click to expand...
Click to collapse
Have you restarted the phone and made sure it's not commented out and there's only one space between the addresses?
doktorV said:
thanks - tried root explorer in the past but couldn't find way to edit the hosts - didn't notice the 'mount as r/w'! - alas i'm still stuck - added hosts as per the website's instructions and still can't load the webpage, either by the www name or by ip address.
dang!
Click to expand...
Click to collapse
Um, if you can't get the website via the ip address, you have a problem routing. Ensure you have the correct ip address. If that is the correct ip address, and you can get to it from another computer, you may have to use a proxy to get to the site.
A

Categories

Resources