Dream - WI/FI LEAP - G1 Q&A, Help & Troubleshooting

Hey guys, I think I was able to manage how to set up the LEAP on G1 (I didn't had time to test it YET, will try later on)
but under /data/misc/wifi you'll see the file wpa_supplicant.conf reading the set up file under /etc/wifi/wpa_supplicant.conf
I could see the following LEAP configuration
network={
ssid="leap-example"
key_mgmt=IEEE8021X
eap=LEAP
identity="user"
password="foobar"
checking file /data/misc/wifi/wpa_supplicant.conf I could see ALL my network that I had set up before (yes unfortunately the password is not encrypted).
so I use my own LEAP configuration and saved the file.
as I told before I didn't had time to test it yet and I didn't see anyone that tried it before, do you guys think that this is going to work? is there any other configuration that I need to do in order to get LEAP working on my g1?
Please let me know your findings.

/data/misc/wifi/wpa_supplicant.conf
network={
ssid="your_ssid"
scan_ssid=1
key_mgmt=IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity="your_username"
password="your_password"
}
It's working on my G1

Related

WEP / LEAP on G1

Wondering if anyone can help.
On the Hero when you Add Wi-Fi network and choose WEP as the Security method it gives you a subsetting of LEAP where on the G1 it shows only WEP ASCII and WEP hexadecimal.
Does anyone have a workaround or know hoe to get leap onto that list for the G1
thebigchief said:
Wondering if anyone can help.
On the Hero when you Add Wi-Fi network and choose WEP as the Security method it gives you a subsetting of LEAP where on the G1 it shows only WEP ASCII and WEP hexadecimal.
Does anyone have a workaround or know hoe to get leap onto that list for the G1
Click to expand...
Click to collapse
search for wpa_supplicant on this forum - you need to have a rooted phone to get this sorted (and update the conf-file yourself)
Thanks for the reply however that sollution is for wpa enterprise, the sollution I need is for Leap (cisco leap)
thebigchief said:
Thanks for the reply however that sollution is for wpa enterprise, the sollution I need is for Leap (cisco leap)
Click to expand...
Click to collapse
Does anyone have a sollution to this?
I'd like this too, anyone out there with any info?
Try this:
/data/misc/wifi/wpa_supplicant.conf
network={
ssid="your_ssid"
scan_ssid=1
key_mgmt=IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity="your_username"
password="your_password"
}
It's working on my G1, have fun!
84drizzt said:
Try this:
/data/misc/wifi/wpa_supplicant.conf
network={
ssid="your_ssid"
scan_ssid=1
key_mgmt=IEEE8021X
auth_alg=OPEN SHARED LEAP
eap=LEAP
identity="your_username"
password="your_password"
}
It's working on my G1, have fun!
Click to expand...
Click to collapse
Hello,
i also want to try this, but i dont know what i have to do!
Please can someone try to describe me i have to write something or did i have to go to this directory???

Any way to name my phone

Just wondering cause i like seeing names for the devices that are connected to my router without having to check on each item.. My phone comes up as blank on my router settings page. My wifes iphone(hate saying that word) shows up as her name. Same with all my PCs just wish my phone showed up other than a blank.
My Uncle had asked me about that at one point as well. He uses MAC address approval on his AP at his house and had no clue how to distinguish which from phone from who had it. We have 3 Captivates in my house.
Sucks having to check mac address just to see whos connected to my router.
For now I know I'm the only one on it but I check everyday to see if some one tried to jump on my ship and would love to see a name. .
Sent from my SAMSUNG-SGH-I897 using XDA App
Couldn't someone just change their device name and MAC address to match yours?
On any note, some devices use the same name stored for bluetooth. I can't really test it right now, but try and change it from the default BT name. Sounds dumb, usually I would test these things before saying anything though, so forgive me if I'm wrong!
I don't use mac address security.
The blue tooth is a good idea. Image test after work today. If u get a chance before me just let me know what happens.
Thanks for the idea
Sent from my SAMSUNG-SGH-I897 using XDA App
Our phone does not use the BT name as its network name. I have been trying to figure out where it would keep its name, because I would like to accomplish the same thing. I mean, all my devices have names, even my network printer, the kid's wii, etc.
on a normal linux box, the host name would be stored in /etc/hostname
Pirateghost said:
Our phone does not use the BT name as its network name. I have been trying to figure out where it would keep its name, because I would like to accomplish the same thing. I mean, all my devices have names, even my network printer, the kid's wii, etc.
on a normal linux box, the host name would be stored in /etc/hostname
Click to expand...
Click to collapse
Haven't confirmed it on the captivate (mines at the shop getting repaired) but i did try this method on my tilt2 running xdandroid (froyo 2.2) and a smartq V7 android tablet (eclair 2.1).
edit your init.rc file
find the section that looks something like this
Code:
on boot
#basic network init
ifup lo
hostname localhost
domainname localdomain
change hostname localhost to hostname name_of_device.
For example I called mine XDAndroiD. This is how the section looks like.
Code:
on boot
#basic network init
ifup lo
hostname XDAndroiD
domainname localdomain
This method will survive a phone reboot. Another method (that wont survive reboot) is to issue this command in a terminal under root
Code:
su
echo name_of_device > /proc/sys/kernel/hostname
This example using my XDAndroiD name would look like this.
Code:
su
echo XDAndroiD > /proc/sys/kernel/hostname
***Again I haven't tried this on my Captivate yet. Will test it out when I get my phone back from the shop.
thanks for that. i will have a look later today and see what happens.

[Q] sh script for WiFi

I've been having issues with the Wifi on my captivate since day one (two different devices over the span of about 2 months now). Since no updates from Samsung or AT&T have fixed it, I'm trying my own thing.
The problem I am having is that the Subnet Mask does NOT get configured properly on the eth0 interface from DHCP on a classless subnet. That is, if the Mask is 255.0.0.0 or 255.255.255.0, I have no problems, but at work my subnet mask is 255.255.252.0. The framework and DHCP report the right mask, but the interface itself always reports 255.0.0.0.
I've rooted the phone and figured out that I can manually change the mask using the ifconfig netmask command, but don't want to do that every time.
What I've been trying is creating a dhcpcd.exit-hook script that gets called by the dhcpcd-run-hooks script to check the mask and set it appropriately.
If the script ONLY sets the interface netmask to the classless mask, it works but then won't set the classful mask properly.
I've tried various if and case statement variations to fix this, but always seem to get weird syntax errors when I run them via sh. Obviously they don't work from being called from the run-hooks script.
Below is the latest code I've tried:
Code:
#!/system/bin/sh
# This script runs last, after all network configuration
# has completed. It sets a property to fix the Subnet Mask
# to use the classless mask from DHCP instead of classful.
varMask=`getprop dhcp.eth0.mask`
case "$varMask" in "255.255.255.0" )
exit
;;
esac
/system/bin/ifconfig eth0 netmask "$varMask"
exit
The error I'm getting is:
Code:
dhcpcd.exit-hook: 11: Syntax error: word unexpected (expecting ")")
When I did this with an if statement, was getting a similar error, except it was asking for a then, even though there was a then in the code and the syntax was right, as far as I've been able to determine.
I am not android or linux expert, so any assistance would be greatly appreciated.
Tks.
~CJ
I think I got it
Figures! I'd figure it out 10 mins after I asked for help!
The syntax error seems to have been casued by file formats. I originally was using wordpad and apparently android/*nix didn't like the carrige returns.
I installed and used Notepad++, saw the file format difference and coverted it.
No errors and the script appears to work as desired, though I haven't had a chance to test in on my home "classfull" network yet.
I'll update when I test things fully.
EDIT: Thought wrong! It appears to work when I manually run it, but it does not appear to be running from the dhcpcd-run-hooks script...
Perhaps now
After rebooting the phone, it appears to be working. I've even bounced back and forth between a test network I have here on the 255.255.255.0 subnet and the production network which is 255.255.252.0.
I did have turn wifi off and on the first time I went from production to test, but it seemed to work both ways.
I'm going to continue to test from my home and other networks before I feel comfortable calling this one won.
Still having trouble at home. Seems to want to assign 255.255.255.255 mask on class C subnets. Hmmm.

Got a weird issue. Looking for help.

Ok. So I did a NV flash on both my wife's and my steak 7. Well apparently tthe NV flash files I used had pt23 in it and now I have two tablets with identical Mac addresses. Now I know what this means as I have managed many networks before. My router is no kicking me and my wife off one at a time every so often as we have an IP conflict. What I'm looking for is either a way to edit the pt23.img of the NV flash fileto have the correct info for each tablet. Or is there a way to issue a Mac address to a tablet through adb or something like that. I figure I can get the true info by taking the tablet apart. That's not a issue. Just need to know how to issue the info once I get it.
GUIDE
scarmon25 said:
Ok. So I did a NV flash on both my wife's and my steak 7. Well apparently tthe NV flash files I used had pt23 in it and now I have two tablets with identical Mac addresses. Now I know what this means as I have managed many networks before. My router is no kicking me and my wife off one at a time every so often as we have an IP conflict. What I'm looking for is either a way to edit the pt23.img of the NV flash fileto have the correct info for each tablet. Or is there a way to issue a Mac address to a tablet through adb or something like that. I figure I can get the true info by taking the tablet apart. That's not a issue. Just need to know how to issue the info once I get it.
Click to expand...
Click to collapse
DO THE FOLLOWING AT YOUR OWN RISK DO NOT BLAME ANYONE BUT YOURSELF FOR FAILURE.
I'm assuming this is honeycomb. and if so here what I did. I'm not sure you can change the mac but here is a guide to help.
You may can even change the IP addresses in your devices to a static IP.
I did the same thing by accident myself. You have successfully changed Dell service tag, MAC, ppid and if its 3g the imei.
1). find all of these numbers and if you know your mac address get it too. Write all of these down for the edit.
2). Get yourself HxD this a hex code editor.Then Install on your computer.
3). open the p 23 file that you flashed. Starting on line 200 going into 210 is your ppid place your cursor on the line just before the number on the far right of the editor DO NOT HIGHLIGHT. just start typing and it will replace each number.
4). On line 220 four spaces in, is your Service tag change it.
5). Save
This completes the rewrite for p23.
6). open p 24 the first and second lines are mac addresses line 00 is WIFI and 10 is bluetooth. As you will see both numbers will be the same except the last letter. Change accordingly. WIFI will be a letter before the bluetooth.
7).FLASH( i just replaced the files and NVFLASHED the whole set again just to make sure there were no problems.
Hope this helps.
My Streak is wifi only maybe someone else can chime in on how the change for the imei.
---------- Post added at 09:51 AM ---------- Previous post was at 09:36 AM ----------
Found this link too.
http://www.tabletroms.com/forums/honeycomb-streak-7/3402-service-tag-help.html
datfat said:
DO THE FOLLOWING AT YOUR OWN RISK DO NOT BLAME ANYONE BUT YOURSELF FOR FAILURE.
I'm assuming this is honeycomb. and if so here what I did. I'm not sure you can change the mac but here is a guide to help.
You may can even change the IP addresses in your devices to a static IP.
I did the same thing by accident myself. You have successfully changed Dell service tag, MAC, ppid and if its 3g the imei.
1). find all of these numbers and if you know your mac address get it too. Write all of these down for the edit.
2). Get yourself HxD this a hex code editor.Then Install on your computer.
3). open the p 23 file that you flashed. Starting on line 200 going into 210 is your ppid place your cursor on the line just before the number on the far right of the editor DO NOT HIGHLIGHT. just start typing and it will replace each number.
4). On line 220 four spaces in, is your Service tag change it.
5). Save
This completes the rewrite for p23.
6). open p 24 the first and second lines are mac addresses line 00 is WIFI and 10 is bluetooth. As you will see both numbers will be the same except the last letter. Change accordingly. WIFI will be a letter before the bluetooth.
7).FLASH( i just replaced the files and NVFLASHED the whole set again just to make sure there were no problems.
Hope this helps.
My Streak is wifi only maybe someone else can chime in on how the change for the imei.
---------- Post added at 09:51 AM ---------- Previous post was at 09:36 AM ----------
Found this link too.
http://www.tabletroms.com/forums/honeycomb-streak-7/3402-service-tag-help.html
Click to expand...
Click to collapse
awesome man. thanks so much, one question. what did you use to open or decompile the p23.img and p24.img will the hxd editor do this?
NM just figured it out. one last question. did you have to take yours apart to get the info or did you find anotther way?
Also mine is wifi only too. so your guide is perfect. man you are seriously awesome. thanks a ton
scarmon25 said:
awesome man. thanks so much, one question. what did you use to open or decompile the p23.img and p24.img will the hxd editor do this?
NM just figured it out. one last question. did you have to take yours apart to get the info or did you find anotther way?
Also mine is wifi only too. so your guide is perfect. man you are seriously awesome. thanks a ton
Click to expand...
Click to collapse
I did not take mine apart to find the mac yet. since mine was not having the conflicts I decided to wait.
datfat said:
I did not take mine apart to find the mac yet. since mine was not having the conflicts I decided to wait.
Click to expand...
Click to collapse
Right on. Do you think I could use a Mac generator and just general new ones. Or just change the last letters on the two that's there?
scarmon25 said:
Right on. Do you think I could use a Mac generator and just general new ones. Or just change the last letters on the two that's there?
Click to expand...
Click to collapse
I haven't used a generator before. Changing it may work as long as you dont have a duplicate in your network. Im not 100% sure though. Also the ppid and service tag are printed in the sd card cover and on the box if you have it. I forgot to mention this in my post before
datfat said:
I haven't used a generator before. Changing it may work as long as you dont have a duplicate in your network. Im not 100% sure though. Also the ppid and service tag are printed in the sd card cover and on the box if you have it. I forgot to mention this in my post before
Click to expand...
Click to collapse
Yeah I saw that when I was looking at it. I have made sure the Mac I want to use isn't on the network anywhere. Do I need to do anything with the PPID?
scarmon25 said:
Yeah I saw that when I was looking at it. I have made sure the Mac I want to use isn't on the network anywhere. Do I need to do anything with the PPID?
Click to expand...
Click to collapse
The Dell service tag and ppid are your device identifiers for any service issues with dell since your probably rooted any warranty you may have had is void (supposedly) . The mac address is probably the main concern I'm sure. so you dont have to change the p23 at all, unless you want to.
datfat said:
The Dell service tag and ppid are your device identifiers for any service issues with dell since your probably rooted any warranty you may have had is void (supposedly) . The mac address is probably the main concern I'm sure. so you dont have to change the p23 at all, unless you want to.
Click to expand...
Click to collapse
Gotcha. Awesome. Well I'm gonna start changing Mac addresses on this one until it sticks and works. Once I can't get it to change Mac addresses then the issue is solved. Thanks again ffor all your help.
[Guide][Technical]Restoring your device specific data (including Service Tag)
I've covered 95% of it in my guide already, I thought I had it linked in the sticky, I'll add it some time then.

Place For Files

Well i'm still learnen this and don't have my phone up and runnen yet on Page Plus, but the site here has helped me out a lot,
so was wanting to try to do something to help out a bit,
i got a server up and went and put some Droid Bionic files, prls notes, etc up in a folder,
i noticed a lot of links were down so went googling see if i could find some files, full flashes etc.
here's the address:
ftpes://server.allen-sec(dot)com
user: phone
pass: pass
port: 35000
if anyone else needs a couple gig of space lemme know, i'll make a folder for ya
put ya admin on it so you can upload etc.
moved the server to ssd drives it'll be a day or two before she connects, sorry for delay
i'll update this post when it's good, thanx
she's up and runnen now
mrbeav

Categories

Resources