[Q] Missing 802.1X Protocols? - Nook Color General

My university has a dedicated 802.1X connection specifically for mobile devices that I've been able to hook my Samsung Intercept (rooted, running 2.2) up to. The directions for connecting any Android platform to the connection is fairly straightforward:
Use these settings:
• EAP Method: TTLS
• Phase 2 authentication: PAP
• CA Certificate: (leave as N/A)
• Client Certificate: (leave as N/A)
• Identity: <GW NetID>
• Anonymous identity: (leave blank)
•Wireless password: <NetID password>
Click to expand...
Click to collapse
The thing is though, the NC's wireless tab doesn't allow for EAP Method input or Phase 2 authentication. Is there any way for me to access those protocols and connect?

MashableMe said:
My university has a dedicated 802.1X connection specifically for mobile devices that I've been able to hook my Samsung Intercept (rooted, running 2.2) up to. The directions for connecting any Android platform to the connection is fairly straightforward:
The thing is though, the NC's wireless tab doesn't allow for EAP Method input or Phase 2 authentication. Is there any way for me to access those protocols and connect?
Click to expand...
Click to collapse
Same as Android always is... Configure it as much as you can, then use this app to configure it all the way: http://www.appbrain.com/app/wifi-advanced-config-editor/org.marcus905.wifi.ace

Downloaded the suggested app, but for some reason whenever i moddify the protocols they snap right back as soon as i navigate away from the page. Any suggestions?

Same happened to me. It's the phase 2 encryption (PAP) that always snaps back. Tried on Nookie without any problem (just stock froyo wifi functionally, not by configuring wifi advanced configuration editor). So the there should be no hardware issue. I bet B&N's crippled OS lacks support for PAP.
MashableMe said:
Downloaded the suggested app, but for some reason whenever i moddify the protocols they snap right back as soon as i navigate away from the page. Any suggestions?
Click to expand...
Click to collapse

Haven't had any issues with my Nook Color and 802.1x/PEAP/TKIP/RADIUS/MS-CHAPv2.

In wifi advanced configuration editor it ways revert phase 2 to MS-CHAPv2, so I guess that's the only one B&N implemented, which also explains why it works in your case.
RasputinAXP said:
Haven't had any issues with my Nook Color and 802.1x/PEAP/TKIP/RADIUS/MS-CHAPv2.
Click to expand...
Click to collapse

Crap, you're right.. But not quite. Phase2 doesn't seem to save right at all.. If you set it to None, you can't set it back to any of them...
Could try editing the wpa_supplicant.conf file

Tried that but instructions on nookdevs are not very clear. Can you point me to a more thorough documentation?
khaytsus said:
Crap, you're right.. But not quite. Phase2 doesn't seem to save right at all.. If you set it to None, you can't set it back to any of them...
Could try editing the wpa_supplicant.conf file
Click to expand...
Click to collapse

jianglai said:
Tried that but instructions on nookdevs are not very clear. Can you point me to a more thorough documentation?
Click to expand...
Click to collapse
Well, probably the easiest way is this, since the tool I mentioned doesn't work.. Sucks, because it does work on my Nexus One. But if the protocols aren't supported this obviously won't magically make it work, but I doubt that's really an issue.
First off, turn off wifi if you can.. If you're using wifi adb, then turn off wifi and back on when you complete this..
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf
(edit wpa_supplicant.conf)
adb push wpa_supplicant.conf /data/misc/wifi/
However... You'll PROBABLY have to fix its permissions, as I suspect they'll be wrong, and if so, wifi won't work at all until you do. So here's how you'd fix that:
Code:
adb shell
su
cd /data/misc/wifi
chown system.wifi wpa_supplicant.conf
chmod 660 wpa_supplicant.conf
I suggest toggling wifi on/off again... If you have any issues, double check your file ownership and permissions.
BTW, if you're really adventurous, you could do it directly in vi Unless you know how to use vi, use the above...
Code:
adb shell
su
cd /data/misc/wifi
vi wpa_supplicant.conf

Great! So what I did is to connect to our network through setting-wireless. After entering username and password it just says remembered but never tried to connect. And in wifi advanced configuration editor even though I could choose TTLS and PAP, the PAP part always snaps back to default when I leave the editor, which makes me think it might be a permission problem. So i pulled the .conf file, edited it and pushed it back then changed ownership and permission as you suggested, everything works perfectly since then!!! Thank you so much!
BTW, in adb shell it seems I do not have vi... All I installed is the basic SDK as suggested in nookdevs, is there anymore packages I should install to have more tools like vi?
khaytsus said:
Well, probably the easiest way is this, since the tool I mentioned doesn't work.. Sucks, because it does work on my Nexus One. But if the protocols aren't supported this obviously won't magically make it work, but I doubt that's really an issue.
First off, turn off wifi if you can.. If you're using wifi adb, then turn off wifi and back on when you complete this..
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf
(edit wpa_supplicant.conf)
adb push wpa_supplicant.conf /data/misc/wifi/
However... You'll PROBABLY have to fix its permissions, as I suspect they'll be wrong, and if so, wifi won't work at all until you do. So here's how you'd fix that:
Code:
adb shell
su
cd /data/misc/wifi
chown system.wifi wpa_supplicant.conf
chmod 660 wpa_supplicant.conf
I suggest toggling wifi on/off again... If you have any issues, double check your file ownership and permissions.
BTW, if you're really adventurous, you could do it directly in vi Unless you know how to use vi, use the above...
Code:
adb shell
su
cd /data/misc/wifi
vi wpa_supplicant.conf
Click to expand...
Click to collapse

jianglai said:
Great! So what I did is to connect to our network through setting-wireless. After entering username and password it just says remembered but never tried to connect. And in wifi advanced configuration editor even though I could choose TTLS and PAP, the PAP part always snaps back to default when I leave the editor, which makes me think it might be a permission problem. So i pulled the .conf file, edited it and pushed it back then changed ownership and permission as you suggested, everything works perfectly since then!!! Thank you so much!
BTW, in adb shell it seems I do not have vi... All I installed is the basic SDK as suggested in nookdevs, is there anymore packages I should install to have more tools like vi?
Click to expand...
Click to collapse
Woot, it worked! I mean.. You're welcome!
Aha, vi must have come from the busybox I installed maybe.... Perhaps the one from Titanium?

Thanks a lot for these directions, as soon as I got adb working it worked perfectly! I first tried to do this using on-device apps since I was having trouble installing ADB, and that didn't work. This just proved that it is absolutely necessary to use adb to do this. Regardless, it works, i'm happy!

Another Workable Idea...
So my work has 802.1x EAP PEAP authentication for the wifi. I tried the advanced wifi editor, but that didn't work. Tried editing the wpa file, that didnt work. When I connected I was always being rerouted to a screen to download a certificate for authentication.
So I used the HC SD bootable rom and was able to manipulate the wifi settings like you can on your android phone, and connect to the wifi. When I pulled out the SD and rebooted into Autonooter 3.0 the authentication stuck and now the 802.1x wifi network is rocking on.
Just thought you all might like an update.

bnole said:
So my work has 802.1x EAP PEAP authentication for the wifi. I tried the advanced wifi editor, but that didn't work. Tried editing the wpa file, that didnt work. When I connected I was always being rerouted to a screen to download a certificate for authentication.
So I used the HC SD bootable rom and was able to manipulate the wifi settings like you can on your android phone, and connect to the wifi. When I pulled out the SD and rebooted into Autonooter 3.0 the authentication stuck and now the 802.1x wifi network is rocking on.
Just thought you all might like an update.
Click to expand...
Click to collapse
Considering you made wifi changes in HC on your SD card then booted your stock, nothing "stuck". Each time you connect your wifi will re-authenticate, in fact it'll re-authenticate on some systems multiple times per hour.

Related

[Q] Tethering and the Droid 1 (using ad_hoc enable wpa supplicant)

So, I've tried using the ad-hoc enabled wpa_supplicant file to allow my NC to see my Droid as a hotspot. My NC can now see my Droid and can attempt to access it (even asking for password), but it fails to connect everytime.
Anyone else successfully tether their NC to a Droid 1?
I use the motorola droid 1 and I connect it using Wireless Tether App. Works fine. Other than the annoying problem that when the nook sleeps it drops the wifi. But that is a known issue.
Hmm, not sure what I've done wrong. I can see the Droid SSID in my list of wireless networks. I can try to connect and get "Obtaining IP address" for about 30 seconds, then see a connect failed message. The logs in Wireless Tether on the Droid indicate successful communication with no indication of failure.
Question to you Lyam23
Hi there. So you successfully added your supplicant file. Did you follow Root Explorer as the way to accomplish this?
I tried it and now there's no Wifi at all. I'm awaiting a reply on the thread for performing the ad-hoc, but replacing and renaming the WPA files did something to mess me up. (I did something to mess me up) ( ;
Resolved : the folder was my fail. Had to rename the wpa folder, then move the adhoc fix version of the file outside of it....direct into bin.
lyam23 said:
So, I've tried using the ad-hoc enabled wpa_supplicant file to allow my NC to see my Droid as a hotspot. My NC can now see my Droid and can attempt to access it (even asking for password), but it fails to connect everytime.
Anyone else successfully tether their NC to a Droid 1?
Click to expand...
Click to collapse
Are you able to tether to a PC? That way we rule out that you can or cannot tether.
Did you set the permissions in the new file correctly?
I successfully tethered a Samsung Fascinate to the NC, two different NC's by the way. Process works.
vlucchetti said:
Are you able to tether to a PC? That way we rule out that you can or cannot tether.
Did you set the permissions in the new file correctly?
I successfully tethered a Samsung Fascinate to the NC, two different NC's by the way. Process works.
Click to expand...
Click to collapse
I was able to tether to a laptop a couple of months ago. I'll try again later today. I've probably changed ROMs on my Droid 1 since then.
Permissions are correct.
I'm sure it does work for everyone except me. That's why I'm frustrated!
EDIT: Must be my Droid. I can no longer connect via laptop.
EIDT2: switched to CM7 and all works now!
Is there a good tutorial for the Root Explorer way of doing this?
I've followed the directions on http://forum.xda-developers.com/showthread.php?t=868354 but for whatever reason, even though I can visually see the files in the right spots, and the commands all run properly, I can't see the Ad Hoc connection from my Droid 1.
mg00000 said:
Hi there. So you successfully added your supplicant file. Did you follow Root Explorer as the way to accomplish this?
I tried it and now there's no Wifi at all. I'm awaiting a reply on the thread for performing the ad-hoc, but replacing and renaming the WPA files did something to mess me up. (I did something to mess me up) ( ;
Resolved : the folder was my fail. Had to rename the wpa folder, then move the adhoc fix version of the file outside of it....direct into bin.
Click to expand...
Click to collapse
I know the OP said their problem was fixed, but I thought I'd still post this.
I found out that some ROM's and/or kernals broke Access Control and disabling it on your droid will allow you to tether again. You can still use security, just not access control.

[Q] Spoof Mac Address

been searching all over the internet and have tried a few methods but nothing seems to stick on the tab. im doing this because my mac address is something funky, 12:34:56... and i cant connect to my schools wifi. my IT department doesnt service "gadgets" so im on my own. ive tried the instructions here:
http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/
but they dont seem to stick. when i connect back to my wifi network (at home) it just goes back to the corrupt one. anyone have any experience with this?
i havent been able to connect in about 3 months so as you might imagine, im really getting frustrated with it. any help would be great.
Ayman
been searching all over the internet and have tried a few methods but nothing seems to stick on the tab. im doing this because my mac address is something funky, 12:34:56... and i cant connect to my schools wifi. my IT department doesnt service "gadgets" so im on my own. ive tried the instructions here:
http://blog.thecodecracker.com/hacks/spoof-mac-address-in-android/
but they dont seem to stick. when i connect back to my wifi network (at home) it just goes back to the corrupt one. anyone have any experience with this?
i havent been able to connect in about 3 months so as you might imagine, im really getting frustrated with it. any help would be great.
Ayman
Edit*
Temporary Fix:
1) Go to wireless & network settings
2) Disconnect and forget ALL previous SSID's that you connected to before
3) download a terminal emulator from the market
4) type the following, make sure you hit enter after every line
Code:
su
busybox ip link set eth0 address XX:XX:XX:XX:XX
Where XX:XX:XX:XX:XX is, make you have to put the MAC address you want there.
to confirm if it worked type:
Code:
busybox ip link show
it should show the new MAC address. Go connect to your network as normal.
NOTE:
If you go to the status option in the settings, you will see that the MAC Address DID NOT CHANGE. This is normal. It wont show the new MAC Address; at least it didnt for me.
One thing to keep in mind, sometimes you cant just put in an hexadecimal combination and expect it to work. It didnt work for me. So what I did is I connected to the school's network from my vibrant making sure I could surf the internet. then i disconnected and copied its MAC address to my tab. when i tried putting in my own custom MAC address, it didnt work. I could connect but packets wouldnt be sent.
Unfortunately when I reboot, my settings are not saved and I have to repeat the procedure. Simplest fix is to just download gscript lite from the market and put in the command I wrote above and whenever i restart my tab run the script quickly. If someone knows of a permanent fix, please let me know so I can update this.
feels good to finally be able to connect after 3 months.
I wrote a quick app that will do this - but i hardcoded the script for something else. I will modify it tomorrow so you can customize the script it runs and put it up here tomorrow or sunday if i get the time.
I would sincerely appreciate that!
Sent from my GT-P1000 using Tapatalk
ayman07 said:
One thing to keep in mind, sometimes you cant just put in an alphanumeric combination and expect it to work.
Click to expand...
Click to collapse
"alphanumeric"?
More like "hexadecimal"
Valid charachters are 0123456789abcdef and nothing more, if you used something else that would explain why it didn't work.
Sent from my GT-P1000 using Tapatalk
AlexTheStampede said:
"alphanumeric"?
More like "hexadecimal"
Valid charachters are 0123456789abcdef and nothing more, if you used something else that would explain why it didn't work.
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Fixed
Sent from my GT-P1000 using Tapatalk
Ok here is the boot script loader.
I didn't spend any time on the interface or layout for you:
Obviously requires root to run
you don't need to start script with "su"-everything runs as su
enter the script in the edit box, click test to test it, click save to save it. It will run whatever has last been saved every boot.
Do NOT move to SD card or it will not pick up the BOOT_COMPLETED intent
i haven't tested if it runs before the SD card is fully mounted: so don't get carried away with your scripts. I suppose I could add options to run only after SD card is mounted but... i probably don't have time
Since this runs as root, do stupid things in your script things at your own risk. I'm not responsible in anyway.
the output from testing or from the boot log is:
stdOut
..some stdOut text
stdErr
..some stdErr text
where stdOut text is the results of your commands (you can see testing with a simple script containing just "ls" without the quotes)
and stdErr is any errors that occurred while running the script (you can see testing with a simple script containing "aasdf" without the quotes
click the "Thanks" button if you use this and it works
i really appreciate this. unfortunately i wont be able to try it out till monday when im at school. ill update it then.
thanks a lot of the script loader. it seems to do its job. but it seems my situation is a bit more complex than i thought. see i can only change the MAC address if i delete all the previously connected SSID. if i remove the dchp.list will that remove/forget all the previous SSIDs? i would have to run a cmd to forget all the SSIDs prior to running the MAC address change cmd.
I typed busybox ip link set eth0 address XX:XX:XX:XX:XX
i am receiving " bad address"
Pls help me

Bluetooth PAN Tethering fix

Hi,
Bluetooth PAN Tethering on Motorola Bionic/Droid 3 has 2 bugs:
1. DNSMASQ can't start because does not understand IPv6 addresses as DNS but android write it to the btip.conf
2. Bionic does not use STDIN DNSMASQ control (it write DNS option to btip.conf). But DNSMASQ still listen STDIN and try to execute empty commands and it use 100% CPU.
I made new dnsmasq that fix both problems. You can put it to /system/bin/dnsmasq and use Bluetooth PAN Tethering.
Backup original copy of dnsmasq by
Code:
adb pull /system/bin/dnsmasq
Make sure that you make /system writable and then copy new dnsmasq
Code:
adb push dnsmasq /data/local/
adb shell
$su -
#cp /data/local/dnsmasq /system/bin/dnsmasq
#rm /data/local/dnsmasq
Known issues:
1. some times after disconnect you need to restart (disable->enable) bluetooth on Bionic to connect again.
2. If you used Mobile hotspot then you need to reboot your phone to use PAN service again (for some reason NAT does not work in PAN mode after using mobile hotspot).
Dmitry
PS. I guess that Bluetooth tethering is not detectable yet.
Update 10/14/2011
I have updated exe and patch to fix Mobile Hotspot mode.
This is extremely good work my friend. I hope you continue to make leaps snd bounds on the bionic!
I would also like to know if this wwould work for tethering my Xoom?
Brenardo said:
I would also like to know if this wwould work for tethering my Xoom?
Click to expand...
Click to collapse
It should to work. I tried with ASUS eee Pad and it is work fine.
Does PAN tethering allow you to use any app that requires internet? I know DUN will only allow a few apps (Browser, Mail, Maps) to work.
I just checked IM+ on my ASUS eee Pad and everything work fine.
Nice! Just got it working with my Transformer. I am seeing pretty slow speeds though (about .8mb down and 1.5mb up) while if I do a speed test on my phone I get 6mb down and about 7mb up. Are you guys seeing these slow speeds as well?
elislurry said:
Nice! Just got it working with my Transformer. I am seeing pretty slow speeds though (about .8mb down and 1.5mb up) while if I do a speed test on my phone I get 6mb down and about 7mb up. Are you guys seeing these slow speeds as well?
Click to expand...
Click to collapse
I guess it is maximum Bluetooth connection speed.
ddv2005 said:
I guess it is maximum Bluetooth connection speed.
Click to expand...
Click to collapse
Hmm it should be able to do at least 2.1mb/sec I will look into it and see what I find.
elislurry said:
Hmm it should be able to do at least 2.1mb/sec
Click to expand...
Click to collapse
2.1mb it is theoretical maximum. Did you ever try to get 300Mbit/s from WiFi N? You event can't get WiFI G speed (54Mbit/s) because it is theoretical maximum that you never reach in real world. Same with bluetooth + network delay reduce TCP throughput.
Amazing fix. Thank u very much. This works perfectly on my ipad2
Quick question
First off - thank you.
Next my question. I am using Root Explorerr. I made my back of the original file. I copied the contents of the zip file to system\bin directory. What should I do with the txt file?
Thanks for the help.
benlane said:
What should I do with the txt file?
Click to expand...
Click to collapse
Nothing. Text file is the source code patch for developers only who want compile it.
Again Thank
thanks for the great response and the effort.
Just FYI, if you use this method, you will kill your ability to use the built-in hotspot wifi tether. Be sure to save the old file, and revert to it should you decide you want to use the hotspot app.
mantispid said:
Just FYI, if you use this method, you will kill your ability to use the built-in hotspot wifi tether. Be sure to save the old file, and revert to it should you decide you want to use the hotspot app.
Click to expand...
Click to collapse
I have updated exe (in first post) to support build-in hotspot wifi tether. But for some reason NAT does not work in Bluetooth PAN mode after using mobile hotspot. To restore NAT in Bluetooth PAN mode you need to reboot the phone.
Dmitry
Great!
The patched file works a treat! PAN is back! Thanks so much!
for the less experienced folks trying to get this to work, here's a couple detailed steps not in the original post:
1. when issuing the "su" command for the first time, look at the the device screen as it will prompt you to allow the action to complete. Make sure to allow it otherwise you cannot proceed with required "su" commands.
2. before copying the file to /system/bin, remount the /system mount read-write like this:
mount -o rw,remount -t ext3 /dev/block/system /system
(you can check your mount points first using "mount" in case they vary from the above)
Thanks again!
quasidynamic
Maybe I am missing something simple, but I just used root explorer to move over the file and change permission, rebooted and it didn't work
XXX
X_X
X_X
Those are the correct permission for the file, right?
I'm sure Motorola thanked you for the Bluetooth PAN tethering fix that showed up in .902.
In my recent donation to the wifi tether dev I noted the .902 Bionic PAN fix and requested he think about adding bluetooth tethering in for the Bionic.
Hello elislurry.
I was wondering if you could help me out with understanding the BT tethering operation in perspective of Android system?
For instance, Wi-Fi tethering operates just like the fixed AP, but in case of BT, its not used much as a tethering operation but more focused to communication to accessories, right?
Do you have any ideas on how this works on BT?
Thanks in advance!

[HOW-TO] Get 4g Hot Spot (Infrastructure) to work after MOD'ng

Ok,
So, I, along with a few others, pay for the Unlimited Mobile HotSpot and want this app to work as other (root) tethering apps only allow Ad-Hoc.
Here's what I did to get it to work on my Windows 7 x64 Computer as of just a few moments ago and I do plan to work on this issue to get this figured out.
I've discovered that the /data/misc/dhcp/udhcpd.conf file is what controls the DHCP addressing for the 4gMobileHotSpot App. Within this app, I discovered (in the Modded ROM (as of now, I have Gingervolt1.1)), that the "Option DNS" addresses were completely wrong. This was apparent from the get go as they were internal IP address starting with 192.168.x.x.
The steps to get this app working on Windows is:
0 - Be Rooted (Sorry, just had to point the obvious out in Step 0)
1 - Use the market and download/install the Text Edit (Paul Mach) App
2 - (TESTed and Working), Use AntTek (root) Explorer and navigate to:
/data/misc
3 - Long Press the udhcpd.conf file and select to open with the Text Edit App
4 - Change the 'option dns' from 192.168.x.x to 66.174.92.14 69.78.96.14 and save/exit
5* - In Windows, set the IPV4 Properties to:
Use Following Address:
IP Address: 192.168.1.5 (or anything in between start and end range in text file)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1
Use Following DNS server addresses:
Preferred DNS Server: 66.174.92.14
Alternate DNS Server: 69.78.96.14
6 - Start 4gHotSpot App
7 - Tell Windows to Connect and you should be connected.
NOTE: It is late and I know that this will become clearer as time goes on and since I have to work in the morning, this is the best I came up with in a few minutes after figuring out that the hang up was with this file, in which I knew it's been a DHCP issue all along. Why this file is changed with the Modded ROMs is beyond me and I doubt MT changed this, so likely it is something to do with the DE-odex or some other modification of this app and it's initialization. Just deleting the CONFIG file will only cause it to write a new one with the wrong values again.
For those who do use this app, it is known to stop responding at times and I am going to look into that. I'm thinking this is a DNS issue and will try some other DNS Servers (8.8.8.8 I believe is a Google public DNS)..
In the meantime, this is a start for anyone to add to this that has more DHCP/DNS/Network experience. I don't have another android device handy to test the connectivity, so will have to get that figured out.
Key point here is, is that the 4gHotSpot App gets corrupted with the Custom ROMs and for some reason sets up wrong DNS servers in the Config file.
Hope to see some thoughts, additions, fixes, to this problem with this being pointed out, from others. I will continue to work on it throughout this next week after work.
Last Note: The DNS server numbers came from the original Config prior to rooting/modding. Also, I do know that is it redundant to have them in the config file AND the Windows Properties. It's just that setting Windows to 192.168.1.1 (option router in the Config file) didn't work. Again, will work on cleaning this method up and simplifying.
-Cybie
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
displacedbuck said:
Thought I would give this a try today after re-rooting. I had no luck getting connected with the 4g hotspot app.
On my phone the file was in /data/misc/dhcp/ and the values were already correct in the file.
I tried changing the dns to a public one and back - neither worked.
I tried moving the file to /data/misc and it didn't work.
My ipad seems to connect ok but hangs trying to lease an ip address. Reloaded v6 tot and upgraded to non-rooted gingerbread and the app works again.
Is it possible you changed something else?
I'm glad it's working for you. Wish I could get it working as this is the only thing keeping me stuck on a non-rooted phone.
Click to expand...
Click to collapse
Ok, so here's what I did after reading your post:
1 - Corrected the path (Sorry, it was late and I missed that /dhcp portion of the path).
2 - Deleted "option router 192.168.1.1" from udhcpd.conf file
3 - Deleted "option dns x.x.x.x x.x.x.x" from udhcpd.conf file
Set Windows up with the Following:
Static IP : 192.168.1.2
Subnet : 255.255.255.0
Gateway : 192.168.1.1
DNS Servers : 4.2.2.1 & 4.2.2.2
That worked.
So, what I am seeing if I try to use DHCP on Windows is that the 4gHotSpot gives the computer 192.168.16.x addressing even though the config file is set to give out 192.168.1.x addresses (x=2 through 254). It also gives Windows 3 DNS servers that are local IP addresses and will never go anywhere.
What to do now? Figure out what is being changed with the Custom ROMs that is causing the app to act like that. In fact, it will act like that when I restore back to Stock GB Rooted via restore from backup in CWM, but I have yet to test deleting the config file and restarting 4gHotSpot to test. I will do that over the weekend as I don't have a lot of time I can have my phone down during week. But I do plan to up to the GingerVolt1.3 tonight.
As of right now, I am using my windows machine connected to the 4gHotSpot App to write this post. Also, I don't know about the iPhone/iPad and possible settings. If you can Force (Set a Static IP) then follow what I did up above, but you will also need to set the DNS servers and not sure you can do that on an Iphone/iPad.
The DNS Servers I listed are found on a public list and are also said to be Verizon DNS servers...
The other problem I found and is an issue with the app, is using auto b/g/n will cause the hotspot to lose connectivity. When in that mode, I connect at 65Mbps, but it drops down to 6Mbps and stalls and fluctuates. I set it to 'g' only and get a SOLID 54Mbps connection just like the tether apps.
SPEED TEST Results: 18.35 Mbps Down, 10.66 Mbps Up without a glitch.
Obviously this app works with DHCP addressing as STOCK. So, I will begin my Android Development with figuring out one of two things. Either get this app to work as it's supposed to, or create a root app with 'Infrastructure' based on whatever I can find in the coding for this app if I can figure out a way to decode it.
I personally hate the idea that you can't connect other android devices to AdHoc and also annoys me to have to manually connect Windows since it doesn't seem to have the ability to automatically connect to AdHoc Networks. Linux does perfectly fine with auto connect AdHoc, go figure. Android is Linux Based, yet can't AdHoc, but provides an AdHoc as an access point for other devices. weird, lol.
Let me know if any of this helps, but do know I am going to continue to figure this out. I'm sure de-odexing the app had something to do with it as I'm sure Verizon did their best to keep this app from being hacked for free HotSpot service.
-Cybie
Thanks for the detailed response.
I'm going to try again. I won't be able to try until tonight or tomorrow morning when I have time to play with it and roll back if necessary.
I'll let you know if it works or I find out anything else.
Before you install a ROM and have the app working, try connecting your computer and get the values (ip, dns, gateway, etc.) That the app dhcp assigns and post that. Rooting the phone alone shouldn't break the app either. By getting those values posted, would help and also save me from downgrading just for that purpose. Knowing that it works with without a mod is one thing,. So my focus is working on getting it to function with a modded ROM.
It's strange that i can get the app to work if i force the connecting device to values (static settings), but this doesn't help with certain devices and needs to connect via dhcp.
-Cybie
Sent from my VS910 4G using XDA App
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
displacedbuck said:
from unrooted:
ip: 192.168.1.2
subnet: 255.255.255.0
router 192.168.1.1
dns 66.174.95.44, 69.78.96.14
search domains: local
Still haven't retried the root and may need to wait another day or so until I have some more time
Click to expand...
Click to collapse
These number are from your connected device? What device are you connecting that give you such numbers? I'm not familiar with the iPad and how it displays connection details. Is that what that is from?
I'm still able to connect after updating to GingerVolt1.2 and manually installed 4gHotSpot app. I just got home with little time to work on this project for the night, so I will update what I can if any changes in getting things to work.
-Cybie
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
displacedbuck said:
those numbers were from an ipad connected via dhcp.
I'll see if I can use a laptop at work today to see the values I get connecting from a laptop. Should be the same I would imagine.
I will retry rooting the stock rom tonight and see what happens.
Click to expand...
Click to collapse
Sounds good. Those numbers will help.
I will add, though, that someone posted a way to get the wifi tether to work with the Revolution, here in the forum. The problem, though, is that it's connection via 'n' mode, which would be great, except it drops out. If you try to download something that's fast (or going to speedtest sites), you will find that that happens and what everyone is complaining about the HotSpot app not working. All that needs to be done is changing it to 'g' only mode and a solid connection.
Anyhow, I will see if I can figure out how to get that app working on 'g' only mode also, and if I do, then I will just use that app instead. Otherwise, I plan to continue to figure out the 4gHotSpot App
-Cybie
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
jamRwoo said:
Cybie,
Glad to see someone's tackling this...I don't suppose your work here could be applied in a way that would make this app work for those who don't pay for the mobile hotspot?
I am waiting on a replacement Revo to arrive in the mail, should be here tomorrow or Saturday. Any values I can pull that might be of use to you before I get happy with flashing roms, rooting, etc?
I find that the OpenDNS nameservers tend to work pretty well everywhere I use them, if you wanted to give them a try:
Primary: 208.67.222.222
Secondary: 208.67.220.220
Click to expand...
Click to collapse
Sorry for the delay. Been working extra hours at work and haven't had the energy to do much with this past couple days.
Anyhow, no, I don't intend to try to get it working for those who do not pay. Why? There are apps out there for this and the only reason I was trying to get this to work properly was for the fact that it would be nice to have the proper connection for those who do pay. I say that because the HotSpot app actually has a faster wifi connection (using n mode) than the tether (root) apps out there, with the exception of the one posted at:
http://forum.xda-developers.com/showthread.php?t=1339150
Unfortunately I am having the same issue with the HotSpot and that app (using infrastructure mode) when connecting. They both to link up at 65Mbps. In fact, I got 72Mbps with the wifi Tether app from the link, but like the HotSpot app, I have issues with the connection dropping out using 'n' mode.
The HotSpot app will allow you to set it to 'g' only mode, though only get a 54Mbps link speed, but sustains a solid connection with no drop outs. Others say they don't have that issue, so it may just be my wifi adapter??? I am going to test it on my laptop, but if I remember, I did have that same issue with the laptop, so maybe it's just my phone??
Either way, I am going to be doing what I can to get 4gHotSpot to work correctly with rooted/modded ROMs. Strange thing is, rooted, it still works fine. After installed modded ROM, it fails to work. And if I restore back to factory rooted via CWM, it still doesn't work. You actually have to restored/flash back to total stock. After that, you can root with it working, but not after installing a ROM.
-Cybie
Any luck with the fix?
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
ALTANertive said:
Any luck with the fix?
Click to expand...
Click to collapse
I've been doing testing. Please read below for some more of my findings.
sgschwend said:
OK, so I read that your hotspot worked fine after rooting, but stopped with the ROM was changed.
I rooted my phone yesterday, using the one button method. I have not modified the phone beyond this change. As far as I can tell the only functionality problem I have is with the hotspot.
The tether method continues to work (as I am using it right now). The hotspot does make a wifi connection to my devices but there never is any received data from the network.
Please help, any ideas on what I should look at or change?
Thanks ahead of time.
Steve
Click to expand...
Click to collapse
I've noticed something very strange with the HotSpot and Rooting.
If you root, the HotSpot continues to work. But, if you reboot after rooting, that's when the failures begin. So, I am thinking that the files are being overwritten. I've been able to test with clean root, root with tether app, and restore without root.
Without root, the HotSpot continues to work fine as I have been using it for the past two weeks as I need it for my new WiFi Tablet. There is the WiFi app the allows for Infrastructure, but that also allows devices to connect via N-Mode, where I have issues of the data dropping out. Forcing b/g only on my HotSpot app, I have very reliable service.
I am planning (after my trip) to root my phone, copy some DHCP files before ANYthing can be changed and before rebooting. Comparing these files and seeing if anything changes there. If so, that will allow me to create a simple app to restore these files back to stock, either automatically, or through 'starting' of the app.
I haven't forgotten about this issue and It's something that I am needing to figure out. The problem is time right now. For the past few months, I had to work a job in order to keep bills paid. That job took a lot of my hours I used to have to figure things out. I am going to be having limited time available, but do plan to work on it some more in the next few weeks, especially since i want my Tablet to work flawlessly with my phone, as that is my ONLY source of internet and I DO pay for the HotSpot service.
-Cybie
Thanks for the update.
Like you I also pay for the 4g hotspot. I jumped on it when they offered the unlimited for $30.
Now that I've tried the gingervolt rom and the supercharger script I don't think I can go back. It just feels like a totally different phone.
I haven't had as much need for it recently so I haven't tried one of the other tethering apps.
Thanks for plugging along on this.
Yes, thanks for looking at this.
Here is some more observations:
Using your set ip and other setting I can get the hotspot to work. Two of my devices are not able to set a fix address without rooting them. So they do connect but only my PC will download a web page.
Here is the address my Revo is setting on the other two devices: 192.168.16.30 and .31.
Ok, so here's an update to this issue.
I have tracked the problem down to a failure to write to the udhcpd.leases file within the /data/misc/dhcp folder.
So, I did some searches on the net about a few things, but there's not much information regarding the "paid" HotSpot feature vs the (Root) Tether Apps.
What I did comes across, though, is there seems to be some sort of issue with certain versions of busybox relating to the udhcpd.conf. I also found the file that gives the 192.168.16.x addresses. But, by the time I found it, the phone already goofed up the HotSpot app settings and things weren't working. So, next round of factory restoring via LGNPST/Tot, I will seek into that and see what I can find out.
It's weird that the 4g HotSpot app will work flawlessly on the initial boot (Rooted, ROM'd, and even OC'd). But, after a reboot of the phone (once or twice), it becomes corrupted and non-working. It's going to be related to some sort of permissions issue and some file that is able to be corrupted/changed with the root/superuser access. I had similar results with fresh restore and JUST root, so the ROM's have nothing to do with it as far as I am concerned at this point.
In case you might ask. I Refreshed phone to total stock, rooted, and then, all at one shot, installed Gingervolt 1.3, OC, and Hotspot before rooting phone. HotSpot worked fine until the next reboot, where it did work for a few minutes then Kaboom! Nodda.
If someone can access (pull) the /system/var/lib/misc/udhcpd.leases file from a fresh stock phone, or even first-time booted, rooted phone, I would appreciate that as this file may be something in question, but my file was already changed by the time I found it.
-Cybie
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
sgschwend said:
I love to help but mine isn't working either. Can you get me started on returning the phone back to stock? I did install a backup util, and ran it first thing after rooting. But I am guessing that wasn't soon enough.
I will take a look at the file I have, I will try the two viewers I have, not sure if they will work.
I did run a restore, and the hotspot did work afterwards. My signal is very weak -110 dBm right now so if you can tell me how to copy/view the file I can get it for you (I did check my tools and could find the file but could not view it, I tried to email it to myself but the encoder couldn't handle it).
Click to expand...
Click to collapse
EDIT: When you copy these files, Don't view them until you zip up a copy first. They could potentially get corrupted. not likely, but with the way it's going with this 'project', who knows.
adb pull /data/misc/dhcp datadhcp (This will copy files from phone to a created directory called datadhcp)
Also, and more importantly, this is what I am really wanting:
adb pull /system/var/lib/misc varmisc (copies to created varmisc folder)
AND
adb pull system/etc/dhcpcd dhcpcd (copied to dhcpcd folder)
The created folders and files will be in the same 'dos' directory you have adb in. You can use the folder in which the all in one root is from MT if you are wondering where to get that by any chance.
Those would be a big help in getting thing figured out. At least, if those are the culprits.
NOTE: In order to have non-corrupted files, these have to be pulled from a fresh restore via LGNPST / Tot method. A restore via nandroid backup will not work. those files, once corrupted, seem to remain so, even after a restore for some odd reason, unless you were lucky enough to not have them corrupted prior to backing up, which would likely mean you rooted, rebooted into recovery and backed up before rebooting into your phone.
By the way, are you aware of a bug in the hotspot, tethering. When you turn off the hot spot and start tethering the hotspot comes back on and tethering will not start. It take a phone power turn to fix it.
Click to expand...
Click to collapse
Please clarify on this. Are you referring to starting the 4gHotSpot, shutting it down, and then starting a (root) Tether App??? If so, I haven't really had that issue because once I have to use the root apps to tether with, that usually means my HotSpot won't work at that point. I will say, however, I have had an issue where the HotSpot didn't want to shut down. I just go into Services/App Management and force a shutdown instead of a reboot. A bit quicker....
-Cybie
I will take a run at copying this stuff later today.
On the hotspot bug. Even before rooting, or upgrading to GB there was this bug, and it is still there after GB.
Once the hotspot has been started and then the user shuts it down it appears to shut down. Then the tethering (the application that came with the phone) is initiated it looks like it is tethering but the hotspot icon comes on after the phone has finished tethering and indeed it is running that way too.
I tried this five time last night: Restored the hotspot both application and data (titanium app), installation part of the application would fail but T said it was complete. Launched the application and two of the five times the PC had the correct IP address, the other three times it had the corrupted ones. Also when the PC did come up correctly the second device's IP address was corrupted. So I may need to fiddle a bit to fine the uncorrupted files after restore.
Perhaps someone else could help with copies the files too?

[HELP] Wifi & Bluetooth gone, no longer functioning (Found BT AND Wifi MAC in CP!)

[HELP] Wifi & Bluetooth gone, no longer functioning (Found BT AND Wifi MAC in CP!)
Just throwing this out there, I've actively used the hell out of my Thrill, and flashed it many times. However, the Bluetooth went out on AT&T's v20p, and Wifi went out after an OC'd crash. I was just wondering if there was some way to reset the chip itself as it seems the on/off for both do nothing, each stays permanently off now. I really want BT back, but I NEED Wifi back... Can somebody help?
I have flashed back to V20P in an effort to get both Wifi and BT working again, but still dead. I will sit on V20P for now, and hope things work eventually.
Trying to enable Wifi comes up with "Activity Wi-Fi settings (in application Settings) is not responding." leading me to believe that the hardware has to be fully reset.
Cynagen said:
Just throwing this out there, I've actively used the hell out of my Thrill, and flashed it many times. However, the Bluetooth went out on AT&T's v20p, and Wifi went out after an OC'd crash. I was just wondering if there was some way to reset the chip itself as it seems the on/off for both do nothing, each stays permanently off now. I really want BT back, but I NEED Wifi back... Can somebody help?
I have flashed back to V20P in an effort to get both Wifi and BT working again, but still dead. I will sit on V20P for now, and hope things work eventually.
Trying to enable Wifi comes up with "Activity Wi-Fi settings (in application Settings) is not responding." leading me to believe that the hardware has to be fully reset.
Click to expand...
Click to collapse
Have you tried a different firmware?
The Dark Lestat said:
Have you tried a different firmware?
Click to expand...
Click to collapse
I've tried V10K, V10D, V20A, V20P, V21D, and V21E, none of them restored the bluetooth (original issue), and so far V10K, V20P, and V21E have not restored the Wifi.
On V21E under settings, it's always showing as "Turning off..." under Wi-Fi. So it's definitely a hardware lockup. Is there anyway to do a full hardware reset on these things? I don't care about opening it, I'm not with AT&T anymore so the phone is mine, and frankly, I just want it to work.
I'm thinking of following some of the instructions for the lost IMEI, see if redoing the Communications Partition restores/fixes the BT and WiFi, I know stuff is getting corrupted when I crash while OC'd, and that's the only thing I haven't touched. I'll try it here tonight and see what I get. I still have both my WiFi and BT MAC addresses (WiFi stored in my router, BT in my computer when it was paired). So... I'll be trying that out soon as I get home today. Think it'll help?
So after fiddling around, I followed these steps from the reset your IMEI/SIM Unlock your phone thread, and started inspecting the CP payload that had to be flashed. I found a couple settings that I think people might find interesting:
1. Connect phone by USB
2. Activate USB debug mode
3. Enter 3845#*920# in dialer if that doesn’t work try 3845#*925#
4. Select Port Settings -> Select CP Image Download
5. A new device should appear at let it install
6. Open Tutty and select serial protocol. Click on open
7. Type AT if response is not OK, change port number (it is possible that when typing you don’t see any letters)
At this point, in order to check your Bluetooth MAC address, type AT%BTAD, this should display a string of 12 hex characters. IF you need to change your BT mac (such as putting it back in like I had to), use AT%BTAD=123456ABCDEF where "123456ABCDEF" is your Bluetooth MAC address (I had mine saved in my computer).
For Wireless MAC address: AT%MAC, same thing if you need to change it AT%MAC=123456ABCDEF. So far this has NOT restored my Wifi or Bluetooth, however it MAY help others who have suffered this loss. You will only need the Flash driver from that thread and tutty, so download the IMEI tool package, but don't worry about the CP unless you absolutely need it. Also, this is great to replace those MAC addresses once you flash (as they're likely wiped with the entire CP wipe).
I'm requesting some assistance with getting my Wifi and Bluetooth operational again if possible, maybe it's kernel modules, I'm not 100% sure, however, in the debug menu (3845#*<MDLNM>#) there is logging options for certain sections of the system. I'll be more than happy to provide logs if requested, I just want my Wifi and BT back and I feel like I'm onto something maybe. Here's to hoping!
Cynagen said:
I'm thinking of following some of the instructions for the lost IMEI, see if redoing the Communications Partition restores/fixes the BT and WiFi, I know stuff is getting corrupted when I crash while OC'd, and that's the only thing I haven't touched. I'll try it here tonight and see what I get. I still have both my WiFi and BT MAC addresses (WiFi stored in my router, BT in my computer when it was paired). So... I'll be trying that out soon as I get home today. Think it'll help?
So after fiddling around, I followed these steps from the reset your IMEI/SIM Unlock your phone thread, and started inspecting the CP payload that had to be flashed. I found a couple settings that I think people might find interesting:
1. Connect phone by USB
2. Activate USB debug mode
3. Enter 3845#*920# in dialer if that doesn’t work try 3845#*925#
4. Select Port Settings -> Select CP Image Download
5. A new device should appear at let it install
6. Open Tutty and select serial protocol. Click on open
7. Type AT if response is not OK, change port number (it is possible that when typing you don’t see any letters)
At this point, in order to check your Bluetooth MAC address, type AT%BTAD, this should display a string of 12 hex characters. IF you need to change your BT mac (such as putting it back in like I had to), use AT%BTAD=123456ABCDEF where "123456ABCDEF" is your Bluetooth MAC address (I had mine saved in my computer).
For Wireless MAC address: AT%MAC, same thing if you need to change it AT%MAC=123456ABCDEF. So far this has NOT restored my Wifi or Bluetooth, however it MAY help others who have suffered this loss. You will only need the Flash driver from that thread and tutty, so download the IMEI tool package, but don't worry about the CP unless you absolutely need it. Also, this is great to replace those MAC addresses once you flash (as they're likely wiped with the entire CP wipe).
I'm requesting some assistance with getting my Wifi and Bluetooth operational again if possible, maybe it's kernel modules, I'm not 100% sure, however, in the debug menu (3845#*<MDLNM>#) there is logging options for certain sections of the system. I'll be more than happy to provide logs if requested, I just want my Wifi and BT back and I feel like I'm onto something maybe. Here's to hoping!
Click to expand...
Click to collapse
What ROM are you currently on? Baseband as well.
The Dark Lestat said:
What ROM are you currently on? Baseband as well.
Click to expand...
Click to collapse
Currently running V21E baseband & Prometheus ROM v1.5, I've managed to make the phone stable again, however still no Wifi or BT. Inside CP, AT%IMEI, %BTAD, and %MAC show correct, thanks for the assist.
If I was on AT&T, this lack of Wifi would be absolute murder, but thankfully, T-Mo's got 5GB of 4G so I can still use my phone, just not half the apps (like Netflix (it checks Wifi status and locks up), or XBMC remote).
Cynagen said:
Currently running V21E baseband & Prometheus ROM v1.5, I've managed to make the phone stable again, however still no Wifi or BT. Inside CP, AT%IMEI, %BTAD, and %MAC show correct, thanks for the assist.
If I was on AT&T, this lack of Wifi would be absolute murder, but thankfully, T-Mo's got 5GB of 4G so I can still use my phone, just not half the apps (like Netflix (it checks Wifi status and locks up), or XBMC remote).
Click to expand...
Click to collapse
I would say that you should try going back to FroYo and checking those addresses again.
The Dark Lestat said:
I would say that you should try going back to FroYo and checking those addresses again.
Click to expand...
Click to collapse
I've gone back to FroYo without any change to Wifi or Bluetooth, but I'll go back to V10K and check the CP again.
Explanation
Cynagen said:
I'm thinking of following some of the instructions for the lost IMEI, see if redoing the Communications Partition restores/fixes the BT and WiFi, I know stuff is getting corrupted when I crash while OC'd, and that's the only thing I haven't touched. I'll try it here tonight and see what I get. I still have both my WiFi and BT MAC addresses (WiFi stored in my router, BT in my computer when it was paired). So... I'll be trying that out soon as I get home today. Think it'll help?
So after fiddling around, I followed these steps from the reset your IMEI/SIM Unlock your phone thread, and started inspecting the CP payload that had to be flashed. I found a couple settings that I think people might find interesting:
1. Connect phone by USB
2. Activate USB debug mode
3. Enter 3845#*920# in dialer if that doesn’t work try 3845#*925#
4. Select Port Settings -> Select CP Image Download
5. A new device should appear at let it install
6. Open Tutty and select serial protocol. Click on open
7. Type AT if response is not OK, change port number (it is possible that when typing you don’t see any letters)
At this point, in order to check your Bluetooth MAC address, type AT%BTAD, this should display a string of 12 hex characters. IF you need to change your BT mac (such as putting it back in like I had to), use AT%BTAD=123456ABCDEF where "123456ABCDEF" is your Bluetooth MAC address (I had mine saved in my computer).
For Wireless MAC address: AT%MAC, same thing if you need to change it AT%MAC=123456ABCDEF. So far this has NOT restored my Wifi or Bluetooth, however it MAY help others who have suffered this loss. You will only need the Flash driver from that thread and tutty, so download the IMEI tool package, but don't worry about the CP unless you absolutely need it. Also, this is great to replace those MAC addresses once you flash (as they're likely wiped with the entire CP wipe).
I'm requesting some assistance with getting my Wifi and Bluetooth operational again if possible, maybe it's kernel modules, I'm not 100% sure, however, in the debug menu (3845#*<MDLNM>#) there is logging options for certain sections of the system. I'll be more than happy to provide logs if requested, I just want my Wifi and BT back and I feel like I'm onto something maybe. Here's to hoping!
Click to expand...
Click to collapse
Please Explain Tutty. I get into the hidden screen and tried the download and nothing was downloaded, this is my first smartphone and do no that there is no MAC address for the bluetooth device. it is the only thing not working. Thanks in advance for the help.

Categories

Resources