yashsingh1/xdaforums huggingface dataset:
[myTouch 3G, Magic General] mydewji13:
I ran the locate command and found man pages for wpa_supplicant.conf and a file that has the following:

<!DOCTYPE busconfig PUBLIC
"-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="fi.epitest.hostap.WPASupplicant"/>

<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy group="netdev">
<allow send_destination="fi.epitest.hostap.WPASupplicant"/>
<allow send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
<policy context="default">
<deny own="fi.epitest.hostap.WPASupplicant"/>
<deny send_destination="fi.epitest.hostap.WPASupplicant"/>
<deny send_interface="fi.epitest.hostap.WPASupplicant"/>
</policy>
</busconfig>

I also found this link:

http://okcompsci.ca/forums/viewtopic.php?f=16&t=40

But it isnt for the vancouver campus. However, I'm going to try it and see what happens.
[myTouch 3G, Magic General] mydewji13:
No luck...Endlessly tries to obtain an IP address :(

$%$^&*(^%$#@$%^&*^%$#%^&*^%$#/endrant
[myTouch 3G, Magic General] mydewji13:
OK

I think there's more than just a wpa problem here. Why is it that it won't even connect to the regular ubc wireless network. (Its open). Perhaps we're trying to tackle this problem the wrong way. How about connecting the the unsecure network first? I can't connect, can anyone else?
[myTouch 3G, Magic General] fnkaze:
Im thinking the driver is incompatiable... if it works on the dream I dont see a reason why it wouldnt work otherwise...

there is also this http://okcompsci.ca/forums/viewtopic.php?f=16&t=40 for wpa_supplicant file .. but this is similar to what I had before...
[myTouch 3G, Magic General] mydewji13:
I don't think its a driver of any sorts. The HTC hero, magic, dream as well as a freerunner running android are all phones that don't work on UBC wireless. (My friends have these and they all have the same prob). I'm wondering if there's a way to flash a windows mobile rom on my magic. That'll let us determine if its OS/software or hardware related....
[myTouch 3G, Magic General] fnkaze:
hmm yes ive been hearing everyone has the problem, but considering how one of the guys said one of the dream roms works.. im thinking its not a hardware thing... they all should use similar hardware for wifi....my friends htc touch isnt able to connect either tho...I dont think theres a way to flash winmo on the magic...
[myTouch 3G, Magic General] mydewji13:
OK...now I'm out of ideas...What to do now? Any ideas? Nothings worked so far...
[myTouch 3G, Magic General] ojar:
after I loaded myhero rom 1.x on to my magic a couple months ago...

I was able to connect to ubc(open) a few times when i was in the "remote" part of the campus... once in the bus loop, twice in the geography building...

i have tried the wifi helper, configuring the wpa manually, and just loaded it newest myhero rom...

none of it works... just keeps obtaining ip adress

but i did got into ubc(open) two or three times before... any explanation??

maybe is got to do with both our drivers, and ubc's network signall??? or ubc's server is just too strict on our device, but lets loose once a while??????
[myTouch 3G, Magic General] mydewji13:
I've tried with all the myHero rom (currently running it), the HoFo rom, Cyanogen mod (since like 4.something) and haven't had any luck. After talking to some of my more technical buddies (networking gurus) they're suggesting that its an issue with UBC NAT not allowing our phones to connect. Might also be an issue with DHCP as the problem isnt the authentication but its the actual assignment of an IP address. If this is the case then there really isnt much we can do because the problem is on the UBC end. However, seeing as android isnt supported I'm sure if we can get toghether a fair number of android users (names would be good) then we can ask/demand for suitable network connections to the ubc wireless network. I'm thinking atleast 20+ ppl and we can also argue that since android is an upcoming platform they should support it. (They support winmo, symbian, iphone/touch and blackberry...).

In any case, post on this thread if you think this is a good idea or have any other alternatives. Also, if you are at UBC and have a working wireless connection with an android phone pls post! Let us know which phone/rom etc...

PS I dont really know what a 'NAT' is .. so if anyone could elaborate it would be helpful...
[myTouch 3G, Magic General] mydewji13:
I just tried the eduroam network at sfu and my magic connects just fine. That means the problems def'n on the UBC end. I phone UBC IT help desk yesterday and the girl says its a known problem with HTC phones (esp. ones running android). If anyone has a non-HTC android device that doesn't connect at UBC please post. (And if it does connect post too!!!). Anyway, the IT help desk basically told me that if there is a lot of calls (i.e. we all call everyday or like once a week or something) they'll probably fix it. Anyone up for a telethon?
[myTouch 3G, Magic General] llotech:
Hey Guys, I just read through this thread and noted that you are having the same problem I do (except the location). I'm also running the latest myHero Rom. I had no prob with the Wifi until I entered the apn's for Rogers. So currently it's either Wifi working or Rogers data working not both. With Rogers apn settings in Wifi won't get a ip add anywhere.

Sorry, as of yet I don't know the solution for this, but I'm hoping your answer will help me too.
[myTouch 3G, Magic General] shiva.sc:
Hey...i would also love to help in pushing Ubc to support Android phones to connect to their WiFi...I will also call on Monday or something and try to convince them too...Tho I wonder if multiple calls from several students enough or do we need to organize something In order to get their attention...
[myTouch 3G, Magic General] mydewji13:
@llotech

I don't have a data plan so I didn't bother to input the Rogers APN. I had it when I was using the stock firmware as well as when I was running Cyanogen mod. Currently I'm running myHero and regardless of whether I have the APN or not still can't connect.

Thanks for the input though

@everyone else...

telethon?
[myTouch 3G, Magic General] absolutcamper:
Hey, I the one who had success with JesterBlur earlier but I think that was a one off case. The Dream's my backup phone and I can't seem to connect anymore. ubcsecure authenticates but neither SSID is able to get IP address.
[myTouch 3G, Magic General] kka.c:
hey everybody,

I have a htc g1 and I also cannot connect to ubc, ubcsecure or eduroam. But for some reason, I can connect to fatport...

I had the phone sometime in April/May and when I was at UBC, it worked. But during the summer, my g1 had this android update thing and every since september, I can't connect to the internet at all. And it's super annoying not being able to, since that defeats the purpose of having a smartphone anyway.

I'm not a techy person but if anyoneee knows the solution to this, pleasee help!!

and yeah I went to the UBC info tech help desk, and the guy couldn't help me either. He just said that it should connect and he can't do anything about it...
[myTouch 3G, Magic General] mydewji13:
Welcome to the crew, I have an HTC Magic with the exact same symptoms. (can do fatport but nothing else). You're saying that the phone worked before the update...interesting.. Although I have a question, Could you see ubcsecure before? Can you see it? Also, the current ROM/version + radio would be nice too.
[myTouch 3G, Magic General] shiva.sc:
so i went and asked the UBC IT and the guy said it's a known issue bla bla and he can't help with that.

but in the end he did file a ticket in the database and if there are enough complaints about it then hopefully they will look into it more...hopefully whoever is reading this will help the community a little by calling the IT department and see what they can do about it..

on another note, the guy asked me if I could connect to the eduram at sfu...because he said it's the same type of network and if the phone can connect, then there is no reason why it shouldn't connect to ubc (meaning if someone can connect to eduram at sfu, then we know that there's something wrong with the ubcsecure network)

so has anyone been able to connect to the sfu eduram network? using cwl_username@ubc.ca? or using someone's account at sfu?
[myTouch 3G, Magic General] mydewji13:
I went to SFU surrey this weekend...managed to connect to the unsecured sfu network (got to the browser login...but dont have a login so couldnt go any further) and had eduroam working with my cwl@ubc.ca no problem! As far as I know UBC is the only place I've ever had problems, and trust me I've connected to over 100 networks with different encryption levels....
[myTouch 3G, Magic General] grantran:
Hey guys. Got my Telus Hero (on Rogers Network) this weekend and had classes today and ran into the same problem. Called the IT guy and like the others said, they couldn't do anything about it. He filed a complaint and he did mention there has been more questions about this. So now I guess we wait.

Would any sort of update on Android's end help with this you think?
[myTouch 3G, Magic General] mydewji13:
This is kinda off topic, but u have a telus hero on rogers? Where did you get it unlocked? (I need to get mine unlocked soon)

Also, I'm pretty sure this isn't androids fault, it seems to be a UBC problem only.... I'm hoping I can try an android 2.0 rom soon... if anyone hears of a 2.0 rom for a 32a magic...pls post here! Then we can try to see if that'll make a difference (Although I highly doubt it).
[myTouch 3G, Magic General] grantran:
I bought mine off a craigslist user who just got the phone from Telus with a contract. Then I bought a code off http://www.mobileincanada.com/ . I'm usually not one to advertise but must admit thoroughly happy with their service. I contacted them 7:30pm on a Saturday (local pacific time) and 2 minutes later I was served. It took my bank transfer longer then them to provide a code really. Highly recommended.

I'm not for one to play with roms and such (makes me an oddball here) but hoping a official 2.0 release can help address this issue.

Again, off topic, I'm amazed at how many UBC students we have here.
[myTouch 3G, Magic General] fnkaze:
Ubc student here too. Maybe someone can get a petition going? It might be hard getting so many ppl through
[myTouch 3G, Magic General] kka.c:
@ mydewji13

Yeah I could see UBC secure before too. Gah this is really annoying not being able to connect to the internet. Hopefully UBC IT tech will get to it soon...
[myTouch 3G, Magic General] ojar:
yey~

from the all these cases I've seen, I think we have concluded that

the problem is with the ubc's network and not with on our phones...

so lets keep the thread going and keep calling the IT guys...

Android is soon gonna be biggest/best platform out there... and ubc should definitely consider that, and start fixing their network

so we can actually get the service we paid for...
[myTouch 3G, Magic General] absolutcamper:
Maybe one of you should contact the ubyssey about this? I use my iphone(which works fine with ubcsecure) primarily so its not that much of a deal for me.
[myTouch 3G, Magic General] mydewji13:
ubyssey? What are you talking about? Please enlighten me...
[myTouch 3G, Magic General] grantran:
Our university newspaper. Which, I for one, have never really read..... it looks really boring IMO; usually I use it as a coaster when I'm sitting at a dirty table in the sub....

I think if one of us formally approached the IT guys they might take it more seriously. Like if we can get names (or CWL logins) and a few of us meet up to go see them, maybe we can get something going....
[myTouch 3G, Magic General] mydewji13:
It's too early to do something like go to a newspaper. First we need to talk to the IT guys (help desk?) and maybe even point out this thread to them. If that doesn't work then something more formal (signed petition or something). And if they refuse to do anything then you'd do something like going to a newspaper...
[myTouch 3G, Magic General] Taknarosh:
ctrl_interface=tiwlan0
update_config=1

network={
ssid="ubcsecure"
proto=WPA
key_mgmt=WPA-EAP
eap=PEAP
identity="<CWL USERNAME>"
password="<CWL PASSWORD>"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=103
}

network={
ssid="ubc"
key_mgmt=NONE
priority=102
}

Have you guys tried this as your wpa_supplicant.conf?

Like literally putting your credentials in and copy pasting it into a wpa_supplicant.conf file then pushing it with adb to the phone?
[myTouch 3G, Magic General] mydewji13:
Been there done that (see page 2)...but just for the hell of it I did it right now (copied your settings directly).... And...same problem :(
[myTouch 3G, Magic General] shiva.sc:
ya done that too but no luck...

i've also tried loading the Thawte Premium Server CA certificate and included the path in the wpa_supplicant file but still no luck...

do you guys think it has something to do with the proxy server ubc has? i'm not sure if android can connect to proxy servers...not too sure though
[myTouch 3G, Magic General] Taknarosh:
Where did you load the Certificate?

Have you tried the steps here?

http://groups.google.com/group/android-security-discuss/browse_thread/thread/bf726de4f5275a3
[myTouch 3G, Magic General] mydewji13:
Found a workaround!!!!!

Posted here:

http://mydewji13.blogspot.com/2009/12/ubc-wireless-ubc-ubcsecure-on-htc-dream.html

Still kinda sucks..but lets you access market etc...so better then nothing...
[myTouch 3G, Magic General] Taknarosh:
If it's a DHCP problem that this is a really easy fix you get the University to Allow the Android devices to receive an IP from the DHCP server.

Honestly, write up a formal complain and explain how Android is the future and how it would be to their advantage to accept the devices.
[myTouch 3G, Magic General] mydewji13:
Been there done that... Learned something new today. Ran into someone at Koerner who had a G1 running with ubc wifi...
[myTouch 3G, Magic General] eskae:
Hi! Complete Android newbie here but I recently bought an LG eve (sad cupcake, but I still love it). I was really disappointed to discover that I couldn't connect to ubc or ubcsecure (ubcsecure doesn't even show up). I called the UBC IT dudes and of course as I was expecting, the guy couldn't help me. SO I decided to leave a message and being a totally newbie I wasn't sure if I used the correct techy jargon but this is the response I got:

What I don't understand is the whole iPhone/ubcsecure thing. My boyfriend has an iPhone and it connects to ubcsecure just fine.
[myTouch 3G, Magic General] mydewji13:
That's the Hwlp Desk for you. You're right, the entire network works on all the Apple devices (iphones/ipod touchs included). This is exclusively an android/htc issue. It needs to be fixed by the ubc wireless team. Whoever sent you that email had no idea what they were talking about. If it was me I would probably have gone to the help desk in person and asked to talk to the person in charge, showed them the message and express my sheer disgust at being lied to (About the iphones). As for the actual wifi issue, it isn't fixed yet, and it might be awhile, although I would hope there will be a fix soon because there are a lot of android phones coming out. (And you can't see ubcsecure/eduroam because the rogers rom/firmware (the OS) on the phone cannot use wpa encryption. You will be able to see them if you root your phone and get a custom rom (almost all of the support wpa)).

EDIT: There's a freaking easy setup tool for the iphone, so support is 'best only' (WTF)
[myTouch 3G, Magic General] hub714:
One thing about the iphone...They have setup documents for the iphone for ubcsecure. So I assume that means it's supported.
[myTouch 3G, Magic General] blackbodypie:
Stumbled on a hack that works for me at UBC with a Google ION running SuperD 1.2. It suggests that the problem is somewhere in the calling of dhcpcd or perhaps the initial network config of the adapter. You need root for this hack and a terminal of some sort.

1. configure your wireless with a static ip. this may have to be from the UBC network, mine is. but i doubt it.

2. after you're "connected" to the ubc AP, run "dhcpcd tiwlan0" as root

3. verify that dhcpcd was able to bind to an IP. if it wasn't, it may already be running or something else may have happened. check the output of dhcpcd.

4. go back into wifi settings and disable the static ip

5. reconnect to ubc and it should get an IP and start working

Note this works with ubcsecure for me as well.

Credit to mydewji13 whose hack I was playing with when I stumbled on the above.

BTW, does anyone know how dhcpcd is called by the system? Is it through a script?
[myTouch 3G, Magic General] cmstlist:
OK well let me add to this...

I have a Nexus One, Android 2.1, had it shipped to the US and then brought it up on Friday since I had a conference in WA state.

I'm on the UBC campus. I may well be the first student to try and do this with a proper Android 2.x device (as opposed to one with a cooked ROM). Unless someone has brought in a US Droid or a European Milestone...

Unsecured UBC network works fine! There must be a difference between the way Nexus One interacts with the network compared to all the other Android phones in Canada including the cooked ROMs you've mentioned upthread. It's very happy to obtain an IP address. Except for two nags - 1) browser doesn't want to remember my CWL/password so I have to retype it often; 2) If I move from one part of the building to another, or another building, it thinks I'm still connected but fails to reach any sites. I have to reset wifi off/on to see the net again (and of course sometimes log in again).

Now for ubcsecure. This version of Android comes with native Enterprise support but again UBC is weird. It shows up as secured with 802.1x EAP. I can select PEAP for EAP method; and I can select MSCHAPv2 for Phase 2 authentication. But I am unable to select a CA certificate (proper one would be Thawte Premium Server CA).

I am able to download the certificate file from Thawte. But Android wants to see it in .p12 format. Haven't managed to get any farther than that. Renaming the .cer file to .p12 in Astro doesn't work - the phone asks me to enter a password to extract the certificates.

Let me also add - I *don't* want to root this phone. Unlocking the bootloader invalidates my warranty (you are presented with a screen telling you as much) and for a bleeding-edge device I consider this warranty very, very precious. I'm already having an unrelated hardware issue with the trackball and if I kill my warranty now then I'm screwed for an RMA. I'll also add that the Telus Milestone is rumoured to come out later this month, so I hope we can find a solution that works for unrooted devices shipping with Android 2.

EDIT: Ignore what I said above in italics. I feel so daft. The wireless connection screen has more options when you scroll down. I skipped the certificate stuff and found a username/password field at the bottom. Filled in my credentials (actually for eduroam, but same should work on ubcsecure)... waited a minute... obtaining address... YES! It connected. Woo!

So... let me propose: There must be a big difference between the way Wifi works in the versions of Android 2 you folks are using in your cooked ROMs, versus the way it works on Nexus One. I suggest that if you're looking to make this work, the answers will come from Nexus One.
[myTouch 3G, Magic General] staghzout:
WEP2 for Concordia University

For those in concordia University and you have a Dream or a Magic, I just putted in the 1.6 Donut Rom and it worked like a charm. No need to change any configuration file or anything. with the stock apps I was able to connect without a problem

Just used this ROM

[ROM] [32A] Android 1.6 Super Stable & Super Fast... [Jan 11TH] [Multi-Language]

All credits goes to The Developers for putting the rom

for the Connection Settings, here's what I used

EAP method : TTLS

Phone 2 authentication: PAP

CA certificate : N/A

Client certificate : N/A

Private key password : (leave it blank)

Identity : (your myConcordia User)

Anonymous identity : (Leave it blank)

Wireless password : (your myConcordia password)

That's it!!! Enjoy

If you can't make it work, I'm at concordia everyday, pm me.
[myTouch 3G, Magic General] blackbodypie:
Very strange. I'm using a 2.1 ROM now and have to use the same trick to get Wifi. Incidentally, it seems that once it's gotten a lease, there is no need to re-perform the hack if I move from one part of campus to another. So this suggests that the android has problems acquiring the initial lease which is still puzzling because the "trick" is using the same software (dhcpcd) as the android system.

I've looked into the AOSP sources to figure out how dhcpcd is being called... it seems to be a funky message passing system for launching processes that has a whole lot of implicit garbage.
[myTouch 3G, Magic General] shiva.sc:
I'm currently replying this thread on the unsecured network on my HTC hero running on a moodaco ROM...forgot which one...its working in the dempster and anthropology buildings...seems like ubc has done something..exciting!! I will try the secured one later
[myTouch 3G, Magic General] ojar:
all is well...

is all good guys...

im have been playing around with some roms last weekend... andriod 2.1 etc.. but they were too laggy (bugs too) for me so i restore the rom back to my myhero 2.0.5 ( i know, is a bit old )

when i went back to school today, i was automatically connected to ubc (open). it stayed connected all day, while i was in the art buildings, koerner, the math building, and engineering...

it guess ubc has finally fixed up the network for our androids...

or is it because i played around with the roms ( doubt it )

you guys got it working too, right???
[myTouch 3G, Magic General] Taknarosh:
For anyone with an Android Phone and goes to Concordia University, I'm also available to help setup WiFi on your Android Phone (HTC Magic, HTC Dream, HTC Hero, myTouch3G, G1) so long as you have a rooted ROM (doesn't have to be a 1.6 Donut rom like staghzout said, I can get it to work on any ROM) and haven't loaded your phone with a perfected SPL.

PM me if you can't get a hold of staghzout or want to use a custom ROM like CursorDroid's Sense UI ROM, I have classes every weekday.

I might also be able to help you if you have a Nexus One or Motorola Milestone, but I have yet to get to play around with a native Android 2.0/2.1 phone yet.
[myTouch 3G, Magic General] mydewji13:
Can anyone try connecting to the UBC network using the new Rogers 'mandatory' update and post back on whether they can connect?

(I would but I'm not on campus this semester)
[myTouch 3G, Magic General] fnkaze:
i flashed the rogers mandatory update without flashing the spl.. dont know what diff that will make, but i still cant seem to connect.. :(
[myTouch 3G, Magic General] ojar:
Monday : got connected to ubc(open) all day with myhero 2.0.5 ROM

Tuesday: flashed the new spl and radio (6.35 and 1.76), then the Cursor 1.2.1 ROM

couldn't connect to any ubc network, problem with obtaining ip

Wednesday: flashed back the old spl and radio ( 3.22 ), then a android 1.6 ROM (custom chinese rom)

got connected to ubc open and secured all day.

So may I conclude that Cursor's rom, based on android 1.5 or any other 1.5 rom won't connect to the UBC network...

and it seems anything 1.6 or higher will work starting from this week.

and i guess this has to do with 1.5 not supporting the IEEE 802.1X protocol??
[myTouch 3G, Magic General] Taknarosh:
It works for me. But yeah your University's settings are weird...
[myTouch 3G, Magic General] arulnambi:
hi

i am having a rooted samsung galaxy s running 2.1. I am going to concordia montreal , would you be able to help me with the connection?
[myTouch 3G, Magic General] arulnambi:
thank u

i was able to set up the wifi in my galaxy s in concordia university because of your help