Related
I am trying to connect to my university's wireless.
We have two different wireless ssid's that i can connect to with my laptop.
The first, called UBC is unsecured, but when you connect, it takes you to a web page where you enter your username/password.
The second, called ubcsecure, can authenticate with either WPA2 or WPA ( it shows up as WPA2-Enterprise).
The encryption method is AES for WPA2, and TKIP for WPA.
EAP type: PEAP v0 , Authentication protocol is MS-CHAP-V2
there is an option for mutual authentication using a certification server:
secure.wireless.ubc.ca
I am unable to connect to either using the stock HTC magic ROM, the HoFo community rom, and most recently, myHero 1.0.1
I have tried editing /system/etc/wifi/wpa_supplicant.conf to include
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
Any ideas as to how to connect?
Data wipe.
Try to reset your phone's basic settings.
It could rebuild the information necessary to acquire the specific IP from their connection.
Manually entering the data couldn't hurt either. This is something that usually I would consider consulting the school about. Privatized internet connections could cause a number of issues for those seeking to utilize Wi-Fi.
The NAT settings might be too strict to support a handheld device.
Me too!
have you found any other solution??
i m here in ubc as well with my htc magic 1.5
when i'm trying to connect to ubc,, it keeps requiring the ip but doesnt connet
and ubcsecure doesnt even show up!
is really frustrating not being able to use internet in universityyy..
i thought by activating the wpa enterprise will work for the ubcsercure, i guess not??
will any of the heros rom work??
Im having this problem too.. anyone find a fix?
I have no idea why but ubcsecure seems to be working using JesterBlur ROM. http://forum.xda-developers.com/showthread.php?t=567122
it works on the Dream? or sapphire? I don't think it matters but... be interesting to know
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Ask for working setting
absolutcamper said:
Dream. Theres a version for the Sapphire. Maybe give it a shot? ubcsecure still working here.
Click to expand...
Click to collapse
Did you use the UI setting or you edit the "wpa_supplicant.conf" file manually?
would you please send us your "wpa_supplicant.conf" file or its ubcsecure part? it would be the great help to have a working setting.
Cheers,
Ali
I used the UI that came up during first boot. How can I get to that file?
the wpa_supplicant is in /data/misc/wifi. But considering how it works using the ui settings, i dont think changing the config file will work...but please still post it.
I also tried replacing the wlan.ko from the jesterblur rom... and doesnt seem to be compatible with magic which is apparently normal because there is a patch for magic users that fixes wifi apparently. I will try the wlan.ko from the fix soon probably to see if it works.
Hi guys,
I'm at UBC with the same problem (I can't even connect to the regular UBC network). I went to the UBC help desk and they basically told me that they don't support android at all. The funny thing is I can connect to the fatport network with no problems but cannot connect to ubc, ubcsecure or eduroam networks on campus. I'm currently runnning on Cyanongen 4.2.4 (waiting for 32a kernel to upgrade to 4.2.5) on a rogers htc magic.
Anyway, the point of this post. If anyones interested in meeting up at UBC to find a solution to this problem it'd be great. I'm hoping we can eventually create a package of some sort that'll fix any android phone but lets focus on fixing the current prob first.
Also @fnkaze - aren't the dream and sapphire the same thing?
Er, i think the dream is the G1 and the sapphire is the G2 aka the rogers magic... well i think the dream has a differnt wifi driver? maybe.. thats the problem
I think the reason why they dont support android is because the stock rogers rom doesnt have native wpa2 support i think.... but the custom roms should have it.. the hero rom does have it... at home my wpa2 wifi works fine
I can also connect to fatport, i think the eduroam is also using the same thing...tho ive heard eduroam seems to work on the rogers rom at different univeristies..
I still have yet to try the jester rom wifi driver tho, ill try it soon...
Thanks for the clarification. And the reason eduroam works at other universities is because the WPA encryption settings are based on the uni's actual/main wireless network. So at different universites the authentication protocols might be a bit different.
What phone do you have? The dream or the magic? The jester rom doesn't work on my magic.
i have the magic, but i think it should work on the magic, they also have a seperate patch to get Wifi working for the it.. so im assuming its possible..
So yeah, Concordia University in Montreal has the same WPA2-Enterprise and this is how I got WIFI to work on my Magic (with HoFo's Sense UI ROM, would still probably work with a rooted 1.5/1.6 ROM)
In fact it will probably work with any rooted Dream or Magic
Remember you need your phone to be rooted for this to work, you will also need to have the drivers installed for your phone from the Android SDK.
- Go into recovery mode
- mount the /data/ folder
Code:
adb shell mount /data
- With ADB Pull the /data/misc/wifi/wpa_supplicant.conf file to your computer (in this example it will go to the tools folder where you have your androidsdk)
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf .
- Make a backup of your conf file in case you mess something up
- Edit it and add in the configuration settings given by your University for Linux wpa_supplicant.conf files, so in your case
Code:
network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
pairwise=TKIP
group=TKIP
eap=PEAP
identity="[email protected]"
password="password"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
- With ADB Push the wpa_supplicant.conf from your computer to the /data/misc/wifi/ folder
Code:
adb push wpa_supplicant.conf /data/misc/wifi/
mydewji13 said:
UBC help desk and they basically told me that they don't support android at all.
Also @fnkaze - aren't the dream and sapphire the same thing?
Click to expand...
Click to collapse
Honestly that person at the helpdesk probably doesn't even know what Android is. If they says they don't support Android at all, well using their logic any Linux distro using wpa_supplicant.conf isn't supported which OBVIOUSLY isn't the case.
And no the Dream and Magic are far from being the same device.
Thanks!
I'll try this solution and see if it works. Will post back to let you know how it goes.
Hi,
Ok, I just finished installing the sdk, fixing udev to recognize my phone etc...
The problem I'm having is that everytime I run:
Code:
adb shell mount /data
I get the following error:
Code:
mount: cannot read /etc/fstab: No such file or directory
Help?!?!
NVM after reading the adb -help i tried this:
Code:
adb pull /data/misc/wifi/wpa_supplicant.conf /home/myuser
Ok something really wierd happened...I pushed a new wpa supplicant file and the rebooted the phone and it stopped seeing wireless networks! But ubcsecure showed up as a known network. If I long press it an 'forget it' I can see networks again, but still cant connect to any ubc network?
WTF>?
Is there anyway I could use by ubuntu wpa_supplicant settings? Anyone know where the file is on Karmic? b/c I cant find it at all
hi guys, i somehow tried a guide to connect tattoo to ad-hoc network... but i am struck at vi editor.... i want to edit .ini file using vi editor....
it says permission denied....
can anyone help me regarding this please.... i am using windows 7 32bit ultimate.....
guide would be appreciable...
Maybe a stupid question, but are your Tattoo rooted?
kaleun said:
Maybe a stupid question, but are your Tattoo rooted?
Click to expand...
Click to collapse
stupid question ???
Click to expand...
Click to collapse
i dont know why u r saying that.... but let me tell u first, my tattoo is rooted & i installed 5faif's 1.5 cooked ROM & its running fine here....
does this rooting solves wifi connection problem which was there before ???
i also have one question for you, now tattoo is rooted, can i transfer files & receive files through bluetooth ???? if yes which is the best software to do so ???
Bluetooth OBEX
Bluetooth OBEX probably doesn't work on 1.6 as there are dependencies issue.
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
ok i will do that... thanks marsdroid.
marsdroid said:
i have made roms with adhoc before...
i put thise 2 files into /system/etc/wifi/
overwrite the 2 others
REBOOT and then it will connect to a PC adhoc ...but only if its a shared pc adhoc
THX
Marsdroid
Click to expand...
Click to collapse
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
5[Strogino] said:
What did you exactly do?
In tiwlan.ini did you change 0 to 1 for WiFiAdhoc?
In wpa_supplicant.conf you wrote
Code:
network={
ssid="Adhoc"
scan_ssid=1
key_mgmt=NONE
mode=1
}
Is it enough?
Click to expand...
Click to collapse
yes, its enough.
How to configure HTC and PC to use Adhoc wireless connection
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
hi..
i have try to copied the downloaded file, but the tattoo says that there's not enough space to paste the file.. fyi, i'm also have rooting the tattoo
any suggestions?
andreabianchi1984 said:
Hi to everybody,
i'm trying to use the two files Marsdroid uploaded on the forum, i was able to upload them on the system/etc/wifi folder in my HTC Tattoo, but i can't anyway configure the Adhoc connection between PC and HTC.
Do i have to manually set up an open SSID named Adhoc with no security, both on the HTC and on the Windows XP PC?
Are there some configuration to be made to configure correctly the ad hoc connection? IP address etc...?
Thanks in advance for your help,
Andrea
Click to expand...
Click to collapse
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
kongkows said:
hi there..
bcoz i'm a new member, moderator couldn't let me show what have been happen with my tattoo...
i still can't paste a file in /system/etc/wifi although it has been mount R/W. before i'm trying to paste the file, the system shows it still has 9.59MB free, but after paste-ing the file, and error message showing that it has no enough space, and then it shows that the system had no space, a.k.a 0K free space..
can anybody help me?
thanks
Click to expand...
Click to collapse
U need to chmod something ..and use a boot.img that workd better or just a new Rom.. i use fyodor 0.5 and root explorer , amon ra recovery... start there
...it migth be u need the tattoohack.so module to RW system
Thx
Marsdroid
marsdroid said:
u have to manually create the PC "Adhoc" shared on xp first...
then if your system is mounted RW u can paste and overwrite the 2 others..
then after 1 reboot.. try turn wifi off/on 2-3 times.. then it connect without any modifications on HTC
THX
Click to expand...
Click to collapse
Done all that but:
On phone wifi manager app keeps asking me for password after i choose connect.
It also displays: Channel:1, Security: [IBSS], BSS: ba:88:7d:ed:52:47
It tries to connect for few secs and that goes to Disconnecting... state
On XP connection for
Network Authentication I tried with both Shared and Open and for
Data Encryption tried with both Disabled and WEP.
I even tried
network={
key_mgmt=NONE
}
I rooted phone by using 27-may-r3-modaco-custom-rom-for-tattoo-with-online-kitchen
I know that post is a bit old story but this thing ruined my Saturday. Please help me save what is possible
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
SAuRoN92 said:
lol u guys r going threw alot for adhoc why not install connectify and create a wifi hotspot instead?(note connectify only works with windows 7)
Click to expand...
Click to collapse
Im still on XP (because half of my good equipment wont work on win7 (marketing thing)).
I used Conectify on other machine up until I updated conectify to latest version few days ago after which it just wont connect.
I will go and by access point hardware (which wont work on win8
My brother and I have two HD2 devices
but when we use the wifi in the android at the same time
a kind of conflict occurred and the last one who turn the wifi on can use the internet and the other is disconnected
so, is it kind of ip problem and how to solve it?
just to be sure: I guess when both are in WinMo all is working fine?
yes
yes they work great
kingo08 said:
yes they work great
Click to expand...
Click to collapse
I'm not a dev btw, just curious, sorry about bringing your hopes up
I searched some here as well as elsewhere, because I've read somewhere, a while ago something about changing the designated IP adress of the phone.
It sounds to me your router is try to give the phones the same IP. You could check the router for that. I'd first try and give each MAC adress a designated IP (a different one ofc).
Damn, I'm sure there's a post somewhere here about this, just can't find it...
Just found this:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=8360637
In short: it's the MAC adress which is the same on the phones. You could try different build, but start with the mentioned thread first
This must be it:
"The only fix so far is run different kernels. That's what I've been doing."
and
http://forum.xda-developers.com/showpost.php?p=8455440&postcount=7397
Thanksssssssssssssssssssss
I really appreciate your efforts
as long as there is a solution somewhere here i will try to find it
Good!
Always willing to help
I surely hope it'll work!
I'm sure the problem is that you both use the same Mac address. Maybe the new desire hd & z use the original Mac address. So you both use the same android build and also use wifi
Sent from HD2
dusdus said:
Just found this:
http://ip208-100-42-21.static.xda-developers.com/showthread.php?p=8360637
In short: it's the MAC adress which is the same on the phones. You could try different build, but start with the mentioned thread first
This must be it:
"The only fix so far is run different kernels. That's what I've been doing."
and
http://forum.xda-developers.com/showpost.php?p=8455440&postcount=7397
Click to expand...
Click to collapse
hi
are u have that file for fixing mac address?
if u have it upload here .that link have problem
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
cma1032 said:
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
by this way can i change mac address from 00:90:4c:c5:00:34 to 00:11:22:33:44:55 ?
and i do that and any happening?
If you return it back to 00:11:22:33:44:55 will return that mac address. If there's 2 people with hd2 and an android rom will encounter a conflict because both will have 00:11:22:33:44:55.
cma1032 said:
To do this, you need superuser app and terminal. You also need to know your true wireless mac address.
1) open terminal and type su
2) type ifconfig eth0 hw ether [mac address]
This should change your mac address, but you have to do this every time you reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Thanks for that cma. Is it possible to make this into a script which could then perhaps be run at startup?
I don't know how this could be done at startup because you need wifi activated first before running it.
Sent from my Nexus One using XDA App
Can you write how we must put the wifi mac address;
Do we need [ ] and : between the numbers; I am trying with both ways,but nothing changes
After flashing NAND Android, I found that the wifi mac address is : 00:11:22:33:44:55, and the BT mac address is :50:C3:00:00:00:00, any one can tell me how to change them ?
thx.
are u having wifi problems? i am.. i wanna change it too..
+1 for wifi
at home its fine, at work its a unusable mac address
believems said:
After flashing NAND Android, I found that the wifi mac address is : 00:11:22:33:44:55, and the BT mac address is :50:C3:00:00:00:00, any one can tell me how to change them ?
thx.
Click to expand...
Click to collapse
Sorry, accidently hit the Thanks button instead of Quote.
First: Wrong thread, this should be in Q&A.
Second: This is not possible yet, as the current version of MAGLDR doesn't have the possibility to pass parameters (other then AD SD DIR) to the kernel.
Hopefully, in a future update, Cotulla will add this to MAGLDR. For now, you can only use the fake MAC-address supllied with the NAND-builb.
MOD: Can you move this thread to the Q&A Section please?
Sincerely,
Mac
Apparently, there is a solution. I found this on one of the NAND build threads:
clio94 said:
guys this is a temporary way to change wifi mac address in 0.2 build
0.2 build is prerooted so we can change system files
install root explorer 2.13
go to /system/etc/ find file calibration and open it as view in text editor
in first line you will see the mac address
put your desired mac address,save and exit
and then make reboot
voila now you have new mac address
thanks to osm http://forum.xda-developers.com/showpost.php?p=9806811&postcount=17 for this trick
Click to expand...
Click to collapse
Sincerely,
Mac
Macelangelo77 said:
Apparently, there is a solution. I found this on one of the NAND build threads:
Sincerely,
Mac
Click to expand...
Click to collapse
but, BT mac address how to change?...
So, just NAND flashed my HD2 over to DFT's .2 release of Android. This gave me the infamous MAC address issue of 00:11:22:33:44:55 but the file given here doesn't exist. The location exists, but there's no file by the name of calibration in that location. I used Root Explorer to search my phone even for calibration and it didn't find a thing. Any ideas what it may actually be called?
I also need to change bluetooth mac...
Is there a chance to change it???
no one a idear?
WiFi MAC Address Workaround:
Must have Android Developer Kit installed
1. adb pull /system/etc/calibartion
2. open calibration file with wordpad. Not notepad.
3. change the line that says macaddr=00:11:22:33:44:55 to either your real mac or just increment the last digit
4. save file and close
5. adb push calibration /system/etc
6. reboot phone
smokey155193 said:
WiFi MAC Address Workaround:
Must have Android Developer Kit installed
1. adb pull /system/etc/calibartion
2. open calibration file with wordpad. Not notepad.
3. change the line that says macaddr=00:11:22:33:44:55 to either your real mac or just increment the last digit
4. save file and close
5. adb push calibration /system/etc
6. reboot phone
Click to expand...
Click to collapse
Not all builds have this file nor read this file.
Sent from my HD2 Droid (HD) using XDA App
and bluetooth mac?!
any one knows how to change BLUETOOTH mac address with NAND?
Hi
Simple question. Before HD2 I had Samsung Spica mad and I'm using there apps like:
EasySMS over WiFi - 100% working on Spica http://www.appbrain.com/app/easysms-desktop-sms-free/org.fireblade.easysms
WebSharing over WiFi - 100% working on Spica http://www.appbrain.com/app/websharinglite-file-media-sync/nextapp.websharing
and Samba Filesharing over WiFi - 100% working on Spica. http://www.appbrain.com/app/samba-filesharing/com.funkyfresh.samba
Gremote doesn't work too. It is strange becouse this app is different that listed above.
Since I have HD2 it doesn't work (and all alternative apps too). Samba see phone in workgroup but can't connect to it. EasySMS & WebSharing get connection timeout when i want to connect.
BTW: When i enter IP adress in HD2 browser i can log in to EasySMS or WebSharing. So what is the problem?
Maybe somebody can fix it? I try many roms (SD and NAND) = problem is on everyone :/
Sorry for bad english :<
we sharing lite works fine for me, enter your ip adress for the hd2 into your computer browser then enter the password
i have also iused other sharing programs without any problems
What ROM that you use?
I know how to use this program, and they don't work. It isn't the router issue cuz i can use that programs on my father LG Swift.
Here: WebSharing - connection timeout - http://screenshooter.net/2156127/ebuwvsv
I have HD2 with MDJ's CyanogenMod 7 v. 2.6 - Gingerbread 2.3.2 ROM, and I have similars problems. All programs like MyPhoneExplorer (can't find phone) Samba Filesharing (identical problem like Lanc1337) doesn't work.
I can't ping phone from computer connected to router. I check all on another router, problem is the same.
Before I have ZTE Blade and all work perfect!
I found ROM where sharing is working!
http://forum.xda-developers.com/showthread.php?t=912427 - all type of sharing is working here!
But i don't like sense -.- So, why this isn't working on all roms? Kernel or rom issues? I would like this to work on CM build...
Try this:
launch terminal and type:
su [ENTER]
iptables -P INPUT ACCEPT [ENTER]
iptables -F [ENTER]
of course [ENTER] mean press ENTER key
Doesn't work. After i enter second and third command i have error:
getsockopt for multiport failed strangely: No such file or directory
Errors is ok - don't worry. In my Ginger this is working for Samba (I'm using MDJ Cyan V2.7 NAND)...
Maybe try this at first (in terminal):
iptables -P INPUT ACCEPT [ENTER]
and after all this try ping your HD2 from computer (try ping -t ip_address to continous ping - it's good idea to ping -t your_hd2_ip from computer to see if and commands helped) and ping your computer from HD2.
Before I put all this my phone isn't visible in LAN (even with ping command). After putting this everything is ok (and ping is working ).
Put here yours output (after all commands) of "iptables --list [ENTER]" please. Maybe I'll figure someting out...
I check all, and:
I must enter commands:
1. su
2. iptables -P INPUT ACCEPT [ENTER]
and start pinging from phone to computer.
After this software like MyPhoneExplorer can connect to phone. If I enter only commands, and don't use ping command, computer can't connect to my phone.
It's very strange....
After enter iptables --list
chain INUPUT (policy ACCEPT)
chain FORWARD (policy ACCEPT)
chain UTPUT (policy ACCEPT)
I check all again from start to end.
I must enter to terminal su,
and start ping, after this i can exit ping, and I can connect to phone, and phone reply to pings. I don't must enter "iptables -P INPUT ACCEPT"
Any ideas for permamently solution ?
UP
Permament solution will be great!
Sorry for spam :/ Is nobody know how to solve this issue?
Bump!
Hi, also have this issue. Doing the iptables command doesnt do anything for me, it just gives me a bunch of errors. In my case it is enough to just ping my computer from HD2 using terminal emulator or other app (I use Net ping) and I can connect to phone via wifi immediately. After phone restarts I have to do that again.
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
anotherfullbowl said:
i have just same issue,seems all CM based rom has this problem,anyone has any ideas?
Click to expand...
Click to collapse
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
clyder said:
Not really.... Besides this one I am currently bumping another thread like this in hope that someone will show up with something, at least with a few pointers of how and where to look for the reason of this issue....
Click to expand...
Click to collapse
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
how can i unlock my htc hd 2
anotherfullbowl said:
Is this problem Only comes with CM roms?Is there Anyone who use CM rom with sharing apps working?
I really like CM roms, it has some good features,but sharing apps also important for me.
Click to expand...
Click to collapse
Not only CM ROMs. I am using UltimateDroid based ROM and also have this issue. My guess was that it could be related to Gingerbread, but I could be wrong.
Has anyone solved this?
I just found out that by using tytung r6 kernel this issue is gone. When I turn the wifi on, connect to the router I can ping the phone immediately. Also Wifi tethering in settings menu works. I am currently having some issues with restoring apps but wifi works great. I have downloaded r6 CWM install from here.