Ad-hoc support CM6-RC3 - myTouch 3G, Magic General

Hi!
I'm trying to connect to an ad-hoc network I've made in my computer with my HTC Magic which has a CM6-RC3 which says it has Ad-hoc support but I can't find the network. My laptop finds an connect the network without problems so I think there's something I'm doing wrong with my HTC. I've been looking on google and I've finded that I have to modify some archives but I suppose that the ROM has modify the files already because it says in the new changes. Do I need to activate this support somewhere in my Magic? Can anyone help me?
thanks

Related

Wifi connection problems.

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

[Request] Patch for enabling ad-hoc wifi networks in ROMs

Everyone,
This is my first "new thread" - and if I have it in the wrong section or it is a repeat - please forgive me. I have searched for this in the Sapphire forum and could not find a solution.
Basically, I use my office LAN connection as a net connection for my 32a Magic phone by creating an ad-hoc network and sharing the LAN connection. I have been successfully using that by following the instructions at http://modmygphone.com/forums/showthread.php?t=22681 (which is applicable for all android phones, I guess). Ad-hoc networks are not enabled by default. The procedure requires changes in the "system/etc/wifi/tiwlan.ini" and "/data/misc/wifi/wpa_supplicant.conf" files.
Making these changes with the Magic touch screen keyboard is quite tedious.
My request is for ROM developers to:
a) Enable this in their ROMs by default (I guess everyone would benefit from enabled ad-hoc wifi); OR
b) If someone could create a patch that overwrites these files with modified variants that is easy to apply over ANY other ROM (would be useful for those who tend to change ROMs often )
Thanks!

[help]how to edit tiwlan.ini

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

[Q] How can I connect to ad-hoc with custom rom

My tattoo with nFinityGB v1.09 can find an adhoc network but connect it.
I tried many way such as change "tiwlan.ini" and "wpa_supplicant.conf"
,but finally my wifi just go broken.
Sorry for my poor English,and if there is anyone can help me.
P.S. My AP is Ubuntu with an USB Wireless LAN card.
Have you tried this?
If it works report please...

[Q] Ad-Hoc WLAN Networks (JoikuSpot)

Hi everyone!
Yes, I am a noob...
Infos:
I already know that every Android device needs a new "wpa_supplicant" file for connecting to Ad-Hoc Networks e.g. created by my Nokia's JoikuSpot or sth. else...
If there's another option, tell me
Also I've heard about this application:
https://market.android.com/details?id=com.jrummy.root.browserfree
that supposedly can be installed on an unrooted device!
The question:
For me it doesn't make sense, that you can install an app which has access to all files without rooting the tablet at first.
Can I replace the wpa_supplicant without rooting and be happy with tethering 3G from my phone to the tablet?
AdHoc Networks are my only cause for rooting but it seems to be quite difficult, maybe no one did it already with the slate ... I can't find instructions to do it anyway...
Please HELP
Merry X-Mas,
BeenieMan

Categories

Resources