[TUTORIAL] How to view wireless password if forgotten? - XPERIA X8 Android Development

Use Root explorer, then go to
/data/misc/wifi/wpa_supplicant.conf
In the file, you can see the "ssid"
"ssid" is the name of the wireless network
and you can see the "key_mgmt"
"key_mgmt" means the password of the wireless network,
if there is no password, it will show NONE
hope this helps ^^

Nice tutorial Will come in handy one day

Related

***HOWTO: Internet Sharing over WiFi*** (Updated 08-Nov-2007)

I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (for the Hermes). It should currently be "BTPAN1".
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc")
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. I imagine this will drain your battery in a hot minute, so bring your charger.
UPDATE (28-Oct-2007): Attached are some more beta releases of patched intshare.dll. I've created versions for most of the adapter names people have requested. By renaming this dll to intshare.dll and copying it to \Windows, Internet Sharing will use TIACXWLN1 (or whichever dll you use) when Bluetooth PAN is selected. I.e., if you use this, you will not need to make the registry changes above.
This will handle the registry part, but of course you'll still need to set up the ad-hoc network on your own.
UPDATE (03-Nov-2007): I've attached a beta version of the patched Internet Sharing app. It's in its own cab so it won't overwrite your existing IS. This app replaces Bluetooth PAN with 802.11b/g Wireless Ethernet. No registry hacking required. This app is well suited to replace the MS version on cooked ROMs.
If you use an adapter other than TIACXWLN1 then replace intshare.dll just as before.
UPDATE (08-Nov-2007): Attached is v 0.9.1 of the Internet Sharing Mod. This update addresses the 10 minute disconnect bug most people have experienced.
best,
fluxist
This is the first thing I'll try when i'm at home again!
I can't believe this! Waiting for this since i got my Hermes. Thx for this development. This is the greatest effort since Hard-SPL and WM6 upgrade.
Now I can connect my XBOX360 to the Internet without starting my PC and sharing it over PC-LAN. USB-Charger is at the Front of the XBOX360.
I hope it will work.
You said the Max-Connections can be reworked. Does this mean it will support Ad-Hoc AND WLAN-Routing to many recepients too?
This worked for me too on a Kaiser/TYTN II
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
odessaranger said:
I'm doing some additional experimentation to see what exactly this can do - for instance to replace a bluetooth connection to a laptop with a wifi one?
Click to expand...
Click to collapse
not sure what you mean by replacing the connection. With ICS, obviously you cant share your connection over BT while sharing it over WIFI. and you can normally use wifi to connect to another computer by using an ad-hoc connection and manually entering a private ip on the same subnet for each computer.
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
boniestlawyer said:
this is awesome. worked perfectly for me.
After trying to stuff around with a proxy server for days and then you come along with something as simple as this....
Click to expand...
Click to collapse
Were you able to use more than one client connected?
I'll admit..when I saw this my first thought was that this was another "How can I do internet sharing via wifi" and the title was just misleading..instead I find myself very impressed with your accomplishment. Very well done! As a "hack" untill you figure out how to mod the dll which I'm sure is only a matter of time now that you have pointed everyone in the right direction, you can export the registry key for both the Bluetooth adapter and the Wifi one and "import" whichever one you want to use at a given time...it's not pretty but it should work.
Some issues of concern would be that the AP is wide open and can be connected to by anyone with no password etc...the bluetooth pairing allowed some security but using the wifi doesn't have the same shared key protection...or am I missing something obvious?
fluxist said:
I have figured out how to use Internet Sharing over WiFi, which essentially makes my Hermes an Access Point.
Do the following:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
And it works!
When I used it I was only able to get one client to connect, however there is a reg value, HKLM\Comm\BTPAN1\Parms\MaxConnections that may help if it is changed from 1 to 2 (or whatever). But I haven't tried.
Interestingly, while IS was enabled, wifi stayed on and connected when the phone went to standby mode. Normally wifi turns off to save battery during standby. So that's a good thing, although I imagine this will drain your battery in a hot minute, so bring your charger.
I was going to release a patched intshare.dll so that the normal Internet Sharing utility can do this, but I'm having trouble changing the section addresses in the dll to the right values after I add data. If anyone knows how to do this PM me and I'll give you the details.
best,
fluxist
Click to expand...
Click to collapse
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
I ran into same issue with XP internet sharing. Another workaround is to have a linux machine do NAT( since you can specify the IP used there) to whatever other clients you want and have it connected via bluetooth dun or bluetooth PAND (which is the solution I use to give internet to my replaytv and a couple of laptops in the house)...my edge connection is my main internet feed..a cacheing proxy such as wwoffle, squid of my personal preference "polipo" helps alot to when using gprs/edge etc since it helps with the latency.
fluxist said:
thank you.
this work actually stemmed from my trying to share my phone's tethered connection with another client. by which i mean, my laptop is in a cafe online through my 8525 using Internet Sharing(IS) over usb. and i want to provide a connection, through wifi or ethernet, to my gfriends laptop. this actually isnt normally possible b/c WM IS and XP Internet Connection Sharing (ICS) both have 192.168.0.1 hard-coded as the gateway IP. so the phone uses that IP to give my laptop a connection, and my laptop tries to use the same IP with ICS. anyway, it fails because of this. i was able to get past that problem by going into Settings -> Wi-Fi -> Network Adapters -> Remote-NDIS and manually setting 192.168.1.1. This lead to the breakthrough with regards to wifi. prior to that id been trying all different ways to have the wifi adapter spoof the bt pan, however i could never get dhcp to assign an IP to the client. this is what it took.
and it's great that DHCP does in fact work here. it makes it dead easy for any arbitrary client to get online. just join the adhoc network as if it were an AP.
anyway, security-wise the ad-hoc network can use WEP or WPA, so security doesn't have to be a problem. the procedures for doing this are the same as normal.
and i haven't tried that reg key to enable multiple clients. but it looked like an obvious choice. i'll leave that as an exercise for the reader
fluxist
Click to expand...
Click to collapse
Impact on BT?
What a brill find. Well done.
Does it break anything with bluetooth?
Tx
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
if someone manages to get this working with xbox 360 make a tutorial plx ;D
superflysocal said:
can someone elaborate what this is for, maybe give a sample scenario on using this?
Is this basically allowing a computer to use the internet connection of the pda phone (ie EVDO, 1RxTT, etc.) through wifi, instead of bluetooth or USB cable? (ie tethering?)
Click to expand...
Click to collapse
thats what i wanna know , could i use my hsdpa connection via wifi to my psp?
I'll do a tutorial when i'm at home again. Maybe somebody with know-how can make a cab-file v1.0 for this "WLAN-Modem hack".
This surely will be a great app.
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
when you say click "IEEE 802.11b/g Compatible Wi-Fi" do you mean the wifi network adapters in my case would be "tiacxwln compatible wireless ethernet"? im trying it on a 6700 WM5
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues:
1) Open Settings->Internet Sharing. Enable IS for Bluetooth PAN.
Got it - except on my device it's Programs -> accessories -> IS
2) Change HKLM\Comm\ConnectionSharing\PrivateInterface to "TIACXWLN1" (it should currently be "BTPAN1").
Check - but is the T1ACXWLN1 device specific? If so, how can I find the interface ID on my device?
3) Open Settings-> Connections -> Wi-Fi. Select Network Adapters tab. Click IEEE 802.11b/g Compatible Wi-Fi.
For me it's settings -> connections -> network cards, but I don't have an IEEE 802.11 listed. I connected to an existing AP, and found that my 'SDIO WLAN Wireless Adapter' does receive a DHCP address, so I tried changing it to 192.168.1.1...
4) Enter IP address 192.168.1.1 and subnet mask 255.255.255.0. Click OK.
5) Select Wireless tab. Add New.. to add the Network name for your ad-hoc network (I prefer "adhoc"
Found this and set up my WING-FI network.
6) Set the client computer to use the same ad-hoc network. Client will receive an IP address from the device (don't need to manually set the IP).
The client PC connects to WING-FI, but never receives an IP address...
What could I be doing wrong? Is it the hardware ID in the registry? I've created the network with WPA, then after the connection problems, with no security - but still no change.
Thanks!!
Ryan
neonstorm said:
I would LOVE to get this working on my TMO WM6 Wing, but I'm having issues...
Click to expand...
Click to collapse
Very likely the string TIACXWLN1 needs to be something different. Check HKLM\Software\WZCSV\Parameters\Interfaces\
There should be a key there with the name of your wireless adapter. It should end in "1".
And if not there, it should also be visible under HKLM\Comm\
Let us know how it works out.
EDIT: I just noticed you typed T1ACXWLN1. The string must be TIACXWLN1. That's "i" not one.
fluxist
I own a PPC6700 as well and I was able to get it working no problem other than the fact that our wireless adapter is not the same as the one mentioned. The reg edit is the same it's just the first network adapter in the list when you create the network settings.
fluxist said:
yes, your xbox and your psp should be able to connect just fine, as long as they support ad-hoc wireless (which i imagine they must). this hack will allow the phone to act like any normal wifi access point. the only difference is the client has to be seraching for ad-hoc networks in addition to normal APs.
the difficulty with creating a cab file at this point is that the registry setting is not persistent. that is, it must be set each time you enable IS. the setting is lost every time IS starts. this is why i am trying to patch the dll - so wifi will work as a normal, additional option in Internet Sharing (and hopefully this should be ready soon).
fluxist
Click to expand...
Click to collapse
If you send me the dll I could look into it.
i have some experience with editing dlls.
good work man

[Q] How to Delete Internet Settings in HD2

Hi Fella's...
I have this lovely crystal piece, where I played a bit with internet connection settings to get it worked.
I setup few Internet settings in a new profile, as couldn't get it worked, so deleted until i succeeded, now whenever I try to create a connection with the same name, it says connection already exists, where as i deleted it, and cannot found any settings.
However, When i click on WI-Fi router, It ask me to select one internet settings from the ones which are currently there and the ones which have been deleted.
My query here is, How do i completely those internet settings?
NB: Please, do not ask me hard reset, as there is lot of info. in phone and can't afford to loose them.
turn off wifi (just for simplicity)
then
settings - menu - all settings - connections - wifi - wireless networks
You should see
search for networks
your defined network1
your defined network2
your defined network3
press and hold teh one you want to remove and a popup should come up, choose remove settings
Sorry, I must have confused you somewhere...
The Internet setting which i want to delete, relates to Data connection, and not Wifi...
Although the deleted data connection settings seems to appear when you want to use your mobile as wifi router and ask you to select one of the deleted and current setting to use it for sharing your data connection.
I will sooner paste a screen shot of it...
ah ok, , settings, menu, all settings, connections, connections, advanced, select networks,
open the top dropdown, you should see them all listed, change the dropdown to the one you want rid of, choose edit, press and hold, choose delete
Dont forget to change that top dropdown back to the good one you wanna use.
Having the same problem, found no solution!! HELP!
Hi unoimgr8st, I am having same problem. I deleted my old Network setups (WAP GPRS MMS) but when I try to creat new ones with same name (even though I deleted em) I get a msg error that says "a conection with that name already exists!). When I get into the WiFi Router, I see that all my old connections deleted from the advance tab, still show there in the Router !!!! Any ideas? or just Hard Reset?

[Q] Why can't I see network?

I'm new to this site so I hope I'm posting in the right area. I was enjoying using my non-rooted G Tablet at work but the recently switched to a new network and my G Tablet can't even SEE it. I've just now wandered around the whole building to no avail. I know it is available and working because the students near me are using their laptops, smart phones, and tablets--and their only option for wi-fi is the school's one network.
They don't have an Android guide available, but they do have information for how to get connected using Windows devices:
Enter the SSID
Change Network authentication to: WPA2
Change Data Encryption to: AES
Click on Authentication Tab
Change EAP type to: Protected EAP
Uncheck Authenticate as computer when computer information is available
Select Authentication Method: Secured Password (EAP-MSCHAP v2)
Uncheck automatically use my windows Logon name and password.
Now, obviously most of these things are not options on the G Tablet (at least not where I know to find them) and I don't know if they are helpful to solving this but I thought I'd include the info. I did try manually adding a new Wi Fi network. I wrote in the SSID, and chose "WPA/WPA2 PSK" option. But then it asked for a password which is not necessary in the guides. I will eventually log on using my work user name and password, but I can't get to that screen (and just out of frustration I did try entering my work password just to see if anything happened--it didn't).
I realize you can't know every setting my work place uses but I hope that's enough to figure out what's wrong. Is there something the G Tablet just doesn't support with the new network? If I rooted, could that help? I feel like the problem has to be my G Tablet since everyone else has working internet. I mainly bought the G Tablet to use here at work for the sites they've blocked. I'll survive without it but I'd really like to get some use out of my device!
Wow, not one helpful comment? Well IT finally got back to me and the woman thinks that my tablet doesn't support WPA2-Enterprise. Is this something I could change with rooting? And if so, which ROM or whatever should I use?
802.1x EAP
SKoczan said:
I'm new to this site so I hope I'm posting in the right area. I was enjoying using my non-rooted G Tablet at work but the recently switched to a new network and my G Tablet can't even SEE it. I've just now wandered around the whole building to no avail. I know it is available and working because the students near me are using their laptops, smart phones, and tablets--and their only option for wi-fi is the school's one network.
They don't have an Android guide available, but they do have information for how to get connected using Windows devices:
Enter the SSID
Change Network authentication to: WPA2
Change Data Encryption to: AES
Click on Authentication Tab
Change EAP type to: Protected EAP
Uncheck Authenticate as computer when computer information is available
Select Authentication Method: Secured Password (EAP-MSCHAP v2)
Uncheck automatically use my windows Logon name and password.
Now, obviously most of these things are not options on the G Tablet (at least not where I know to find them) and I don't know if they are helpful to solving this but I thought I'd include the info. I did try manually adding a new Wi Fi network. I wrote in the SSID, and chose "WPA/WPA2 PSK" option. But then it asked for a password which is not necessary in the guides. I will eventually log on using my work user name and password, but I can't get to that screen (and just out of frustration I did try entering my work password just to see if anything happened--it didn't).
I realize you can't know every setting my work place uses but I hope that's enough to figure out what's wrong. Is there something the G Tablet just doesn't support with the new network? If I rooted, could that help? I feel like the problem has to be my G Tablet since everyone else has working internet. I mainly bought the G Tablet to use here at work for the sites they've blocked. I'll survive without it but I'd really like to get some use out of my device!
Click to expand...
Click to collapse
Not sure if these show up on Froyo roms but I'm on GTab Comb v3.3 (Honeycomb).
Try this:
Go to WIFI settings, select add WIFI Network, type in the SSID, for Security select 802.1x EAP, for EAP method select PEAP,for Phase 2 select MSCHAPv2.
Al

[Q] Photon CM9 connecting to 802.1x network

Hi,
I'm on CM9 Beta0.5. I have never connected my phone to work wifi but I want to give it a try.
On my Mac, it says this in the settings:
802.1X: WPA: staff-wlan
Authenticated via PEAP (GTC)
When I go to wifi settings I see staff-wlan but it says it's secured with WEP. I try my password and it just keeps cycling through "obtaining IP address".
When I try to add a new network with all the correct information (802.1x, username, pw, etc) it just says not in range and doesn't recognize the network.
I've tried researching the issue a bit. Apparently you can adjust the settings of an already established network using "Advanced Wifi Editor" from the market. Only problem.... doesn't work on ICS.
I've also read that you can manually adjust the settings in the wpa_supplicant.conf file. I opened up the file and saw this:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
That's all that's in there... what exactly can I type in to possibly get this network connected?
Photon CM9 802.1x wpa_supplicant.conf
I figured it out in case anyone runs into the problem in the future. When Googling, I didn't find anything specific to the Photon, however it seems that CM9 has some problems when it comes to 802.1x networks. Basically, ICS is capable of handling 802.1x but the UI isn't up to par. So for whatever reason, my work network was showing up as WPA or WEP or whatever (I think it changed a few times honestly). I wasn't able to edit the settings at all. When I added a new network as 802.1x, it would say not in range.
So as I mentioned above, people said you can edit the wpa_supplicant.conf file to adjust the settings. I was originally editing the wpa_supplicant.conf file in /system/etc/wifi to no avail, then I found out, there's a different wpa_supplicant.conf in /data/misc/wifi. I used Root Explorer to mount as rw then opened wpa_supplicant.conf with Text Editor.
THIS time I saw all my previously saved networks with all their info. This is what I should have been seeing the whole time.
From that point it was as easy as editing the existing entry for my work wifi. I typed
network={
ssid="network name"
key_mgmt=1EEE8021X
eap=PEAP
identity="[email protected]"
password="password"
phase2="auth=EAP-GTC"
priority=4
}
Saved the changes. Most likely rebooted and the wifi connected!

[Q] Why cant I see WI-FI passwords after i have entered them?

Is there a way to see WI-FI passwords after they are entered i went into manage networks and when i edit one i cannot see the password. So now i can't share with friends by simply looking at my phone
bnag0 said:
Is there a way to see WI-FI passwords after they are entered i went into manage networks and when i edit one i cannot see the password. So now i can't share with friends by simply looking at my phone
Click to expand...
Click to collapse
Sense i am rooted i was able to download this : WiFi Key Recovery
It gave me all the passwords to any secure network i ever connected to.
Case closed.

Categories

Resources