PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   [HOWTO] Rhodium, WEP, and You (http://forum.ppcgeeks.com/showthread.php?t=140532)

Pohket 02-03-2011 01:13 PM

[HOWTO] Rhodium, WEP, and You
 
1 Attachment(s)
(also posted at xda-developers)

I'd like to start by thanking arrrghhh and BoominSVX for running thru some tests to see whether or not I had actually found a working solution.

NOTE: This solution requires altering a configuration file. How you alter the file is entirely up to you (vi, desktop utilizing adb, telekinesis, etc.).
I recommend backing up any file that you plan to edit or replace prior to mucking about with it.


WARNING: Instructions will tell you to turn off or restart Wi-Fi.
This is to ensure that the changes you have made to your configuration files are reloaded by wpa_supplicant.
Simply changing the configuration file is not sufficient!

In addition, I am not responsible for any damage that these instructions may cause to your device, your data, and/or your well-being.

PERFORM THESE ACTIONS AT YOUR RISK


The following instructions will take you through the 'long' method:

Connecting to WEP-enabled Wi-Fi (Easy/Standard)
  1. Go to Settings->Wireless & Networks -> Wi-Fi settings
  2. Turn on Wi-Fi if it is not enabled
  3. Setup your Wi-Fi connection
    • If your AP shows up in the list, select it and type in your WEP key
    • If your AP does not show up, use the Add Wi-Fi network. On the popup, type your SSID, select 'WEP' for Security, and type your WEP key in the Password.

    NOTE: At this point, the Wi-Fi status will go from "Scanning..." to "Connecting..." to "Disconnected"
  4. Turn Off Wi-Fi
  5. Backup the following file: /data/misc/wifi/wpa_supplicant.conf
    • The file contents should be similar to this:

      Code:

      ctrl_interface=eth0
      update_config=1

      network={
              ssid="YOURSSIDHERE"
              key_mgmt=NONE
              auth_alg=OPEN SHARED
              wep_key0=YOURWEPKEYHERE
              priority=1
      }

      The priority=1 may or may not be present, based on whether you selected from the scan list, or added it manually.

  6. Edit /data/misc/wifi/wpa_supplicant.conf and remove either OPEN or SHARED from the auth_alg line. Which one depends on whether the access point is using OPEN, SHARED (if it's using both you can choose which one you prefer to use)
    • After editing, OPEN will look like this:
      Code:

      ctrl_interface=eth0
      update_config=1

      network={
              ssid="YOURSSIDHERE"
              key_mgmt=NONE
              auth_alg=OPEN
              wep_key0=YOURWEPKEYHERE
              priority=1
      }

    • After editing, SHARED will look like this:
      Code:

      ctrl_interface=eth0
      update_config=1

      network={
              ssid="YOURSSIDHERE"
              key_mgmt=NONE
              auth_alg=SHARED
              wep_key0=YOURWEPKEYHERE
              priority=1
      }

  7. Go to Settings->Wireless & Networks and turn on Wi-Fi.
    • Your Wi-Fi status should now show the following values:
    • "Scanning..."
    • "Connecting..."
    • "Obtaining an IP address YOURSSIDHERE..."
    • "Connected to YOURSSIDHERE"

    NOTE: If you fail to connect, return to step 4 and try using the other auth_alg value.
    Some routers may be configured to only support one authentication mode.

That's the long method - for people who have never connected to a Wi-Fi connection, or don't mind losing saved APs can do the following

Connecting to WEP-enabled Wi-Fi (Advanced)
  1. Create your own wpa_supplicant.conf file, either by hand, using the above code snippets, or one of the template files in the zip
    • Replace YOURSSIDHERE with the value of your ssid.
    • Replace YOURWEPKEYHERE with the value of your WEP key.
  2. Place your edited wpa_supplicant.conf file in the /data/misc/wifi directory on your device
  3. Restart/Turn on Wi-Fi

This method has been tested using FRX04 system image, with both Stock and F22's updated rootfs.img file, and against both FRX04 shipped and WisTilt2's debug kernels.

Feel free to share your success and/or failure stories in this thread.

adam1 02-03-2011 08:48 PM

Re: [HOWTO] Rhodium, WEP, and You
 
5.Backup the following file: /data/misc/wifi/wpa_supplicant.conf***

where i can find that file???

ndno 02-03-2011 11:20 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Thanks for the tip; I'll give it a try.

arrrghhh 02-03-2011 11:30 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by adam1 (Post 2050521)
5.Backup the following file: /data/misc/wifi/wpa_supplicant.conf***

where i can find that file???

Within Android...?

Either in terminal emulator, or thru adb.

manekineko 02-03-2011 11:38 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by arrrghhh (Post 2050640)
Within Android...?

Either in terminal emulator, or thru adb.

Root Explorer should work too.

adam1 02-04-2011 05:56 AM

Re: [HOWTO] Rhodium, WEP, and You
 
dosnt work with me why??? :(

adam1 02-04-2011 06:07 AM

Re: [HOWTO] Rhodium, WEP, and You
 
NOW ITS WORK :D

thankx a million man :D

adam1 02-04-2011 07:48 AM

Re: [HOWTO] Rhodium, WEP, and You
 
mmmm my friend i got it work but when i restart the phone try to turn wifi on its says Error restarted again same problem how to fix that?? :(

ndno 02-04-2011 07:49 AM

Re: [HOWTO] Rhodium, WEP, and You
 
Works great!

OK. I found another method working off post #1 that may be easier for some. I downloaded wpa_supplicant.conf from post #1, then edited it for my WEP wireless network (change ssid, auth_alg, wep_key0 according to my wifi network), copied it my SD card, then added this to the end of conf/froyo.user.conf

Quote:

mount --bind /sdcard/wpa_supplicant.conf /data/misc/wifi/wpa_supplicant.conf
Now when I boot in Android, it just works!!! May be easier for those who don't have RootExplorer or ADB or AndroidExplorer

@Adam, try this to see if it works everytime you boot in. Seems to work for me :)

adam1 02-04-2011 08:53 AM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by ndno (Post 2050759)
Works great!

OK. I found another method working off post #1 that may be easier for some. I downloaded wpa_supplicant.conf from post #1, then edited it for my WEP wireless network (change ssid, auth_alg, wep_key0 according to my wifi network), copied it my SD card, then added this to the end of conf/froyo.user.conf



Now when I boot in Android, it just works!!! May be easier for those who don't have RootExplorer or ADB or AndroidExplorer

@Adam, try this to see if it works everytime you boot in. Seems to work for me :)

i did the same but still showing Erorr whats going on?? it was working good before....:angry7: :scratch:

boredandtattooed 02-06-2011 04:32 PM

Re: [HOWTO] Rhodium, WEP, and You
 
1 Attachment(s)
I guess I shouldve made the thread on this, since ive posted it half a dozen times..(thanks for the info and links gten, over in EPIC Threads)... this is waaaaaaay easier than you guys are making it.. this info has been around several weeks atleast...

1.boot into ANdroid
2.take the (attached) wpa_supplicant file (no file extentions) and copy/paste it into Sys/bin using Root Explorer or Android Mate...
3.DOne!

may have to restart Android for it to take effect...

much more simple!!!!!

**backup exisiting wpa_supplicant before pasting over the new one**

manekineko 02-07-2011 12:38 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by boredandtattooed (Post 2051998)
I guess I shouldve made the thread on this, since ive posted it half a dozen times..(thanks for the info and links gten, over in EPIC Threads)... this is waaaaaaay easier than you guys are making it.. this info has been around several weeks atleast...

1.boot into ANdroid
2.take the (attached) wpa_supplicant file (no file extentions) and copy/paste it into Sys/bin using Root Explorer or Android Mate...
3.DOne!

may have to restart Android for it to take effect...

much more simple!!!!!

**backup exisiting wpa_supplicant before pasting over the new one**

Do you have a link to the threads you got this from?

How does this work for you? I'm getting the same results as with the wpa_supplicant I linked to on XDA, though interestingly, this isn't the same wpa_supplicant file. They both are modified wpa_supplicant files that can connect to ad-hoc mode networks, and connect for me to WEP, but aren't able to resolve DNS.

boredandtattooed 02-07-2011 12:48 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by manekineko (Post 2052372)
Do you have a link to the threads you got this from?

How does this work for you? I'm getting the same results as with the wpa_supplicant I linked to on XDA, though interestingly, this isn't the same wpa_supplicant file. They both are modified wpa_supplicant files that can connect to ad-hoc mode networks, and connect for me to WEP, but aren't able to resolve DNS.

http://forum.ppcgeeks.com/sprint-epi...-wifi-fix.html

Connect Samsung Galaxy S to Ad-hoc Network Multiplayer Games Share Fix

[MISC] Enable Adhoc Networks - xda-developers

i guess im not trying to do this with real internet and routers, so yeah.. i guess i can see why it may not do all of it..its really just to enable adhoc networks... but if they use WEP, it works.. i was just hoping itd work all around lol

ap007 02-11-2011 08:27 AM

Re: [HOWTO] Rhodium, WEP, and You
 
Im trying to do this. But my /data folder is empty.

Any thoughts?

arrrghhh 02-11-2011 10:13 AM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by ap007 (Post 2054615)
Im trying to do this. But my /data folder is empty.

Any thoughts?

Try
Code:

su
and do it again. You need to be root.

With that said, the app "wifi-ace" I've heard does it much easier. I've never tried it, find it on the Market. WEP is terribly insecure, and I would not recommend using it.

ap007 02-15-2011 11:50 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Thanks. I will try that

osmani 05-09-2011 02:53 PM

Re: [HOWTO] Rhodium, WEP, and You
 
I am using Samsung Galaxy POP. Googling for 4 days. 15-16 Hours per day. Also tried this. But unfortunately failed.

Please help me out. It will be a great help.

arrrghhh 05-09-2011 06:00 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by osmani (Post 2099337)
I am using Samsung Galaxy POP. Googling for 4 days. 15-16 Hours per day. Also tried this. But unfortunately failed.

Please help me out. It will be a great help.

What does this have to do with the RHOD/TP2? This issue is specific to our build/phone, it doesn't have anything to do with native Android devices. Native Android devices *should* handle WEP no problem.

hceuterpe 05-14-2011 01:51 AM

Re: [HOWTO] Rhodium, WEP, and You
 
Why on earth are you guys still using WEP??!!

I can hack any WEP "protected" network and gain access within 10 minutes. I can then use your discovered WEP keys to decrypt and sniff all your clients' network traffic.

You sure you still wanna use WEP?

Kane3162 05-14-2011 03:55 AM

Re: [HOWTO] Rhodium, WEP, and You
 
screw WEP,

Open is the ONLY way to go!

(then again, the router i have in mind has dual radios, hide one, open the other, HA!)


EDIT: on a SERIOUS note however on WEP, I have worked on MANY routers that simply do not have enough power(literally) or processing power to use WPA+/WPA2... its sad... but as long as you have a router from the last 2-3 years you should be fine... i had to give up an old Linksys tho... couldn't handle 3 PC's on WPA2... Q_Q

hceuterpe 05-18-2011 12:47 PM

Re: [HOWTO] Rhodium, WEP, and You
 
Quote:

Originally Posted by Kane3162 (Post 2101312)
screw WEP,

Open is the ONLY way to go!

(then again, the router i have in mind has dual radios, hide one, open the other, HA!)


EDIT: on a SERIOUS note however on WEP, I have worked on MANY routers that simply do not have enough power(literally) or processing power to use WPA+/WPA2... its sad... but as long as you have a router from the last 2-3 years you should be fine... i had to give up an old Linksys tho... couldn't handle 3 PC's on WPA2... Q_Q


FYI: Hacking a network that doesn't broadcast it's SSID is even easier than one that does but has WEP.

If your router is so old that it can't do even WPA, you really ought to look for a new one. They are not that expensive.

WEP is that bad.


All times are GMT -4. The time now is 03:04 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0