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
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
did you find any solution? btw when i was using WildPuzzel v 8 (Froyo) ROM on my Wildfire, It perfectly connects to BSSI on my laptop.
I have seen that some people thinks that Android do not support it, if its true how come it worked with wilpuzzel
and just now, writing this post, I flashed Kernel HCDR.Kernel_v4.2mc1_Flashable.zip from http://forum.xda-developers.com/showthread.php?t=995301 and now connected Wildfire CM7 with my adhoc network on laptop and its working perfectly...
gaolizhou said:
I want my tattoo to connect to ad-hoc network,
Edit /system/etc/wifi/tiwlan.ini seems to be a good way ,by default tattoo can only connect to an AP
Click to expand...
Click to collapse
Use root explorer. Go to /system. Mount it as RW. Then go to etc/wifi. You will find tiwlan.ini there. Open it with a text editor. Scroll down to the line that shows WifiAdhoc=0 and change it to WifiAdhoc=1. Save the file and restart WiFi. Everything working.
Btw, the CM7 rom for Tattoo connects to adhoc directly. No need to edit if u use that.
Bro can I get twilan.ini
I don't have it
Pls
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
I'll post the setting that should be done in the Xperia X10, so that it Internet share of the notebook (or netbook) through an AD-HOC network. I spent several hours trying, but I did what many say is impossible!
1. The android X10 must be root;
2. Have installed a program that allows editing of files (here I am using the Root Explorer);
3. Create an AD-HOC network in notebok and allow sharing the internet with other devices;
4. Enable Wi-Fi X10;
5. Add Wi-Fi network, the SSID setting the exact name of the AD-HOC network notebook and also the type of security (Open, WEP, WPA/WPA2 PSK, EAP or 802.1x);
6. Disable Wi-Fi X10;
7. Go to the folder "data / misc / wifi", it contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
8. Edit and save the file so that it is as follows:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
9. Go to the folder "system / etc / wifi" (click on "Mount R/W," is at the top right of screen). This folder contains the wpa_supplicant.conf file that should open with text editor (click it and hold, then open up a menu where you have the option to open the file with text editor);
10. Edit and save the file so that it is as follows:
ctrl_interface=wlan0/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="put the name of your AD-HOC network"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=PUT YOUR KEY TO SAFETY
frequency=2412
}
11.After saving changes, click the file "wpa_supplicant.conf" and hold until the menu of options. Click "Permissions" and leave only the option marked "READ" in Owner, Group and Others, then click OK.
This last step is not executed lose all changes made since the system returns the initial values.
Note: When editing the files "NOT" leave spaces between the function and value. EX: mode=1 (correct), mode = 1 (wrong).
In step 10 in "ctrl_interface=wlan0/" DO NOT confuse "ZERO" with the letter "o". Read "wlan(ZERO)/"
12. Restart X10.
Once restarted just turn on AD-HOC network and turn on the notebook's Wi-Fi X10 that it undertakes to find the ip to connect.
Im gonna test tomorrow, thanks
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
someone2kill said:
For those who can't edit the wpa_supplicant.conf file like me, simply copy it to the sdcard and edit it there. then simply copy to the desire locations and then set permissons there.
OBS: don't forget to set root explorer to Remount as R/W!!!
Working 100% for me now. Thanks
Click to expand...
Click to collapse
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Cristiano123 said:
Attached files for editing.
Notice how the data should be.
good job!
Cristiano123.
Click to expand...
Click to collapse
it doesnt work for me, when wifi is activating, it doesnt see my network...I will buy a cheap wifi router.
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Cristiano123 said:
Hello "chriscx", you set up your ad hoc network to share the signal with other devices?
Which version of its Windows Vista?
Click to expand...
Click to collapse
It's Vista home premium. Wifi Analyzer app sees the network as ad-hoc (for that it's better than gingerbread wifi scanner) but it cannot connect because of android.
I dont know which permissions on data/misc/wifi ?
And also when I edit, it says OPEN SHARED, I deleted OPEN to keep SHARED
Today I tried again, but I overwrite on files, I renamed bak to conf but it didn't work, so I had to restore my system on x10, then I restored my data apps and I've lost superuser rights, it was the mess, man. now my phone is ok.
chriscx said:
I have 2.3.3 stock and Vista, it doesnt work, I tried 20 times
Click to expand...
Click to collapse
For me it's working fine... Just sometimes it show as it can't find the network, but i just have to disable wifi on my xperia x10 and turn it on again, and if i don't have the ad-hoc network created, it tries to connect to it anyway and says "obtaining IP adress from "asdasd"... I use stock android 2.3.3 with Win7 and the android stock wifi software...
I created a ad-hoc network on my notebook with the name "asdasd" and password with WEP security as "1234567890". That's how i have my both files equal. I only see now that they shouldn't be exactly the same as Cristiano123 show in his post. I have both files in system and data like this, try it so maybe it should work. For me it works fine Don't forget to save the stock files!!! Try this for both files:
ctrl_interface=DIR=/data/system/
wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="asdasd"
scan_ssid=1
key_mgmt=NONE
mode=1
auth_alg=SHARED
wep_key0=1234567890
frequency=2412
}
with win 7, you can use connectify or virtual router, some people said it works.
for Vista: I read this:
/system/etc/wifi/tiwlan.ini
WiFiAdhoc = 1
dot11DesiredSSID = MonSSID
dot11DesiredBSSType = 0
http://forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc/
I dont have time to check today
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Cristiano123 said:
This tutorial from the link (forum.frandroid.com/topic/14502-tuto-root-connecter-son-android-en-wifi-a-son-pc-en-ad-hoc) is for a Motorola Milestone, the tutorial I posted is for the SONY ERICSSON XPERIA X10 !!!!!
It is not necessary to use any third party program to connect to the AD-HOC network, use only the settings of the post.
Are you following the steps correctly?
Click to expand...
Click to collapse
yes I did, but I give up
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
chriscx said:
I thought of something:
on GB 2.3.4 ad-hoc connection is included, and we have a dump system for x10, it should be possible to port it.
Click to expand...
Click to collapse
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Cristiano123 said:
Hello!
My GB is 2.3.3, and connects without problems.
Try the 2.3.4, then let it succeed.
Click to expand...
Click to collapse
im not able to port it, my mom cant stop saying im dumb, anyway, devs are trying to port ICS now...
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
sErDArcAAn said:
I dont work xperia arc
I cant adhoc wifi xperia arc :S.and 2.3.4
Good day . thx friend.
Click to expand...
Click to collapse
Good day!
Go until folder "system / etc / wifi" and copy file "wpa_supplicant.conf", place same here as attachment.
Also verify folder "date / misc / wifi" exists file "wpa_supplicant.conf" if yes copy it and place here as attachment with following name "wpa_supplicant.conf2".
I will check the contents of these files and tell you how you will connect to ad-hoc network.
thx for the info...
i will try this later in my xperia x10 froyo..
hi TS..
it always says that obtaining ip address and nothing happen.. i will be disconnected and if turn on again the wifi. it will scan and it will turn into obtain and it will be disconnected. can you help me with this one?
i edited everything as shown on the first post. im using windows7 and oodie's miui rom. It wont connect. Says obtaining ip address that disconects that again obtaining ip addres
Hello all,
I'm trouble, I can't connect my phone to via Wifi to my laptop
Phone HD2 - Android - Rom NDT MIUI 2.3.7 STABLE V6.0
PC laptop with Xp sp3 with connectify
the problem = the wifi is show but not accept. It's write " (ad-hoc)
I have test Wifi Ad-hoc enabler , but don't work for me .
Have you a way of solution or other thing. I'm beginner , don't be to hard with me.
Thks a lot, great regards
Resolve , thks
thks , in finally I think I find the solution.
Thks for all and Particulary this post by CHRIS1989
CHRIS1989 said:
I found a way to solve this problem
1) ADD your ad-hoc connection (it will appear at the end of the list)
2) go to data/misc/wifi and edit the wpa_supplicant.conf file like this
ctrl_interface=eth0
update_config=1
ap_scan=2
network={
ssid="Ad Hoc name"
mode=1
scan_ssid=1
key_mgmt=your_password
priority=41
}
3) turn on your wifi
sorry for my bad English
Click to expand...
Click to collapse
i used ES File explorer.
Thks for All developper, you are absolutly GREAT
Without you I be lost !
See you soon