[Request] Patch for enabling ad-hoc wifi networks in ROMs - myTouch 3G, Magic General

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!

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

Ad-hoc support CM6-RC3

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

[Working] OpenVPN TD2

Hi,
I hope that is going to the right forum. Otherwise apologize, and with the help of moderators should go on the right place.
After long trying period succeeded to install and (this was the hard part...) to make use of OpenVpn on my Diamond2.
Working constelation:
1. ROM of TD2 is official Vodafone-German: 2.16.162.3 (67041)
2. Main Gateway - openvpn server - is a Speedport w701v (should work with any openvpn server flavour with version > 2.0.5, including windows servers)
3. You need to install the openvpn for PPC version 2.0.5 (version 2.1.0 failed to be usable on the device) from the ziggurat29 dot com website.
4. Deploy the configuration files for the server and the client (in my case HTC TD2) - please do not ask me how, there are 1000 of sites full of configs
5. Disable (this is not so nice, but the openvpn is built on old PPC GUI) as shown on the untangle forum for the link to video how to connect - a video flash link on that forum). The video is showing as well how to connect from the GUI.
!!! ATTENTION !!!: USE VERSION 2.0.5 AND NOT 2.1.0 CABS ON THE TD2(the version 2.1.0 will not be able to bring up the TAP interface).
Notes:
1. On the communication was using "dev tap" and tcp - no idea if dev tun works.
2. VPN was established successfully on WiFi and as well on the Cellular Data Connection (depending on your provider, you may have issue on the Data Connection)
I am happy if this posts will help some other people and saved some time for them...
/Tolum
P.S. Sorry for not being able to add the external links, but these are the rules for the beginners.

[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

[Q] WLAN not working with usb-host?

So, as suggested here, i'll post my question in this thread - it's kinda lost already in here, but maybe some of the users from the thread i am not allowed to post to, will read this...
Using this [15.May.2012] NexusHD2-ICS-4.0.4-CM9-HWA V2.1 (Kernel: tytung_HWA_r2.3-uniMAC) rom, everything's working fine, wlan works, i can use ADB over Wifi to debug,...
now i am developing a app that uses usb-host, therefore i can flash the update from here [26 MAY] USB Host mode for HD2, and now i have to use adb over usb - as the usb-port does not support adb anymore in this mode. but the problem now is - i can enable wlan, i see the networks around, but i can't connect to my wlan anymore - nor any other wlan. once i flash back the backup i made, the phone boots and i can use wlan again... so there's a connection between flashing the usb-host.zip and wlan not working anymore...
so... to any people using this zip on their device - do you have the same problem, or can you still connect to a wlan after applying the usb-host.zip?
ah, nevermind, the usb-host.zip changed the kernel or something else that resulted ni a different wlan-mac-address -> no connection possible.
now it look's like there's no ftdi driver included, but i can not ask for those (already mentioned on page 11 in the usb-host thread) as i am not allowed to post here...
so... can anyone help me out, and copy my post over to the usb-host thread, or if any of the devs are reading this... i'd be very thankful for the mentioned lib_ftdi.so module...

Categories

Resources