I am starting this thread because i found that after all this long time of waiting an improvement from Android guys from Google regarding a complete UI for connecting to the miscellaneous WiFi configurations nothing comes out.
I consider my thread android development related, but if the mods want to move it please do it.
I am not a developer but I'm a user which wants all the cake not just a bite.
I am referring to special type of WiFi connections which wpa_supplicant is capable like:
"
EAP-TLS
EAP-PEAP/MSCHAPv2 (both PEAPv0 and PEAPv1)
EAP-PEAP/TLS (both PEAPv0 and PEAPv1)
EAP-PEAP/GTC (both PEAPv0 and PEAPv1)
EAP-PEAP/OTP (both PEAPv0 and PEAPv1)
EAP-PEAP/MD5-Challenge (both PEAPv0 and PEAPv1)
EAP-TTLS/EAP-MD5-Challenge
EAP-TTLS/EAP-GTC
EAP-TTLS/EAP-OTP
EAP-TTLS/EAP-MSCHAPv2
EAP-TTLS/EAP-TLS
EAP-TTLS/MSCHAPv2
EAP-TTLS/MSCHAP
EAP-TTLS/PAP
EAP-TTLS/CHAP
EAP-SIM
EAP-AKA
EAP-AKA'
EAP-PSK
EAP-FAST
EAP-PAX
EAP-SAKE
EAP-IKEv2
EAP-GPSK
LEAP (note: requires special support from the driver)"
This is copied from here http://hostap.epitest.fi/wpa_supplicant/
Seems that we have the gun and the bullets but we don't have the trigger.
This idea come to me when i was struggling connecting to my work WiFi and never succeeded, phones like Symbian or Windows based laughed into my phone's face (and i think that is not correct, considering it frustrating).
My proposal to all the devs from XDA is to build a new app and wpa_supplicant with all drivers and stuff which will be able to help us connecting very easy to all kind of WiFi methods.
PS: My work network configuration for windows is like this:
SSID, CKIP LEAP, username, domain, password.
Hidden WiFi: http://code.google.com/p/android/issues/detail?id=1041
LEAP WiFi: http://code.google.com/p/android/issues/detail?id=1871 ; http://code.google.com/p/android/issues/detail?id=1386
Ad-Hoc WiFi: http://code.google.com/p/android/issues/detail?id=82
Devices that are capable to connect on my work WiFi network:
Symbian V3 (Nokia N8)
Windows Mobile 6.5 (HTC Diamond)
Devices that are not capable to connect on my work WiFi network:
Android (HTC Desire HD and Samsung Galaxy S I)
iOS 4 (iPhone 3Gs)
iOS 5 (iPod)
Blackbery (Curve 8900)
============================================================
Update: 29/11/2011
After a 2-3 weeks of Google-ing I think that i found the gap with LEAP:
How you can see above LEAP - requires special support from the driver and i found a Linux driver which says like this:
2086 // CCX 1 spec v1.13, A01.1 CKIP Negotiation (page23):
2087 // "A Cisco access point advertises support for CKIP in beacon and probe response packets,
2088 // by adding an Aironet element and setting one or both of the CKIP negotiation bits."
2089 if( (info_element->data[IE_CISCO_FLAG_POSITION]&SUPPORT_CKIP_MIC) ||
2090 (info_element->data[IE_CISCO_FLAG_POSITION]&SUPPORT_CKIP_PK) )
Source:http://lxr.free-electrons.com/source/drivers/staging/rtl8192e/ieee80211/ieee80211_rx.c
My work WiFi require CKIP Encryption so this is root cause for me to not be able to connect to LEAP.
Currently broadcom support: 802.1x; WEP, WEP2, WPA, WPA2 (Personal) TKIP and AES hardware acceleration 802.11i. When "broadcom" will release compatible drivers, we will be able to connect. Until then, all users that are in my situation will better get an alternative.
http://pdf.eccn.com/pdfs/Datasheets/Broadcom/BCM4329.pdf
http://os1a.cs.columbia.edu/lxr/source/drivers/net/wireless/bcm4329/wl_iw.c
So next remaining thing will be a "Complete UI" release for android which offers all type of connections.
================================================================================================
Update: 07/12/2011
In my craziness to find a solution to my problem regarding connection to work corporate WiFi, I found the missing link (in my opinion) between android and Linux capability to access CKIP encrypted networks: http://o2droid.phj.hu/trac/browser/kern_oII/drivers/staging/rt2860/sta/assoc.c . It is about a special characteristic that allow connections to Aironet access points with CCX (CISCO Compatible Extensions).
================================================================================================
Update: 14/03/2012
I need a port from Dell Streak to HTC DHD
I searched Google again and i found this:
http://forum.xda-developers.com/show...62&postcount=1 here is a file listed "system/etc/wlan/sdio-g-cdc-reclaim-idsup-wme-pktfilter-keepalive-aoe-toe-ccx-wapi.bin" and with a F3 in Total Commander contain this:
"NONE WEP1 TKIP WEP128 AES_CCM AES_OCB_MSDU AES_OCB_MPDU CKIP CKIP_MMH WEP_MMH" and
"ccx_auth_mode"
The file is in the Streaksmi.zip which is miui for dell streak that has bcm4325 chipset.
================================================================================================
Update: 10/07/2013
Working Solution Update: 10/07/2013
Flash [ROM][UNOFFICIAL] CyanogenMod 10.1 Nightlies / M-Series [RC5] and say many thanks to Mustaavalkosta !!! - Tested working build: cm-10.1-20130709-UNOFFICIAL-ace.zip
I too have issues with wifi sometimes, but I found using miui and connecting, inputting the password and then using the individual settings to input a manual IP and all that seems to work.
Sorry if I've misunderstood
Sent from my HTC Desire HD using Tapatalk
Difference between OS's
Joey93 said:
I too have issues with wifi sometimes, but I found using miui and connecting, inputting the password and then using the individual settings to input a manual IP and all that seems to work.
Sorry if I've misunderstood
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
So what is different between MIUI and a usual Android system?
No idea apart from that it keeps the individual settings separately so you don't have to input manually every time you need to change, but it seems to be the only thing that works for all the networks I use.
Sent from my HTC Desire HD using Tapatalk
Compatibility with Ad-Hoc
Joey93 said:
No idea apart from that it keeps the individual settings separately so you don't have to input manually every time you need to change, but it seems to be the only thing that works for all the networks I use.
Sent from my HTC Desire HD using Tapatalk
Click to expand...
Click to collapse
Is it capable to connect with Ad-Hoc type of networks too?
And the answer is "Yes", wpa_supplicant from MIUI is capable to connect to Ad-Hoc networks.
Not sure what your problem connecting might be. At uni, we have EAP-PEAP/MSCHAPv2, and I can connect fine, and connect any android phones that come in fine aswell. We use a program called xpressconnect, but can do it manually too.
whiperhack said:
Is it capable to connect with Ad-Hoc type of networks too?
And the answer is "Yes", wpa_supplicant from MIUI is capable to connect to Ad-Hoc networks.
Click to expand...
Click to collapse
I have an application on my laptop that makes a network from it (like a router) which I've always assumed used ad-hoc and it's always connected fine to that so yeah I assume so =)
Old Leedroid ROMs used to work too if you wanted sense, but they were back in August-ish time
Already tried manual config
rorydaredkign said:
Not sure what your problem connecting might be. At uni, we have EAP-PEAP/MSCHAPv2, and I can connect fine, and connect any android phones that come in fine aswell. We use a program called xpressconnect, but can do it manually too.
Click to expand...
Click to collapse
Before i start this thread i tried several combination of configurations, I buyed even Advanced Leap WiFi from market and nothing. This problem is not from configuration because, like I said windows mobile and symbian is piece of cake to connect.
My connection is hidden ssid. After I put my credentials configured with leap, another network with same name but with WEP security appears, saying connecting...disconnected.
Update
I just tried MIUI and conclusions are:
1) Ad-Hoc is connectible (but stock android with a modified(patched) wpa_supplicant is capable to connect to Ad-Hoc too).
2) LEAP is still doing Connecting....Disconnected.
3) MIUI has a file named "/system/bin/wpa_cli" which stock didn't have it.
whiperhack said:
I just tried MIUI and conclusions are:
1) Ad-Hoc is connectible (but stock android with a modified(patched) wpa_supplicant is capable to connect to Ad-Hoc too).
2) LEAP is still doing Connecting....Disconnected.
3) MIUI has a file named "/system/bin/wpa_cli" which stock didn't have it.
Click to expand...
Click to collapse
For number 2 try manually inputting a static ip, dns, gateway and netmask =)
Must be something which makes the difference
Joey93 said:
For number 2 try manually inputting a static ip, dns, gateway and netmask =)
Click to expand...
Click to collapse
Thanks for the tip, I will try tomorrow. But what is the catch? What makes WM and Symbian better than Android when is about connecting to a LEAP network?
So you'd like other people to build an app for you?
Learn how to code!
All android comunity will thank to the courageous developer who will create the tweak
ivolol said:
So you'd like other people to build an app for you?
Learn how to code!
Click to expand...
Click to collapse
Why do you say "YOU"? Is not just me, is the whole android community that has lack of what i said in the thread. The work that will be done by a skilled developer from here will be used in the future by all androiders.
All the info and opinions that will be wrote in here will help the "courageous developer" to build the Complete WiFi UI.
My experience with the WiFi will help others to connect on similar networks.
In my opinion this is true development: trying to reach the impossible, or not yet possible, or not yet known.
I think is at last 1 developer in here which knows very good the WiFi protocols and can give us a hint.
For us (the ordinary users) is very difficult to start now learn coding in android and network protocols, because will last at least six months of staying in codes to get the idea of coding.
Compiling in android OS
ivolol said:
Learn how to code!
Click to expand...
Click to collapse
I checked your thread and is says nothing about compiling in Android OS. In my opinion this is the root cause of not fully working WiFi connectivity. With a proper .conf file of latest wpa_supplicant i think that the issue will become history.
Logcat and new tests
Hello again,
I've made some new tests and I found ......... nothing.
The thread with steps that i followed is this: http://code.google.com/p/android/issues/detail?id=8804
Hi,
currently I am in area were 3g internet is cheapest way to internet especially when you buy big packages (fyi New Zealand). So I am sharing my connection with others via mobile AP - tethering. I need some app which can monitor traffic of connected devices. I mean information for example that device with name "xxx" ip "192.168.x.x." and MAC "ff:ff:fff...." has downloaded and uploaded 256 MB etc. Alternatively can be useful application which can set limits to devices. I tried a lot of apps but so far nothing. Do you know about something?
Thank a lot
Hello everybody,
as I couldn't find an appropriate ROM / discussion, I decided to start a discussion here as this is a forum full of great devs!
(Excuse my bad english)
First of all: my intention: Instead of buying a mobile 4g / LTE router with proprietary firmware I thought, what if I can use my "old" Nokia 8 (or other mobiles) as a dedicated mobile router.
Yes, WiFi hotspot etc... BUT with standard android with all these (unneccessary for this usecase) apps and services the battery and included data drain extremely fast.
So what if there is (or could be) an image like OpenWRT for my mobile with a security driven app package (firewall, ad- / malware blocker, VPN, ...) and without those unneccessary apps (gapps, office, ...).
I am not a developer at all, so that's just an idea as I see some advantages like:
+ re-/upcycling old devices
+ much more power than most available routers (cpu, ram, ...)
+ possible addons like using the camera(s) as dash- / securitycam (maybe in a camper: WiFi hotspot and security cam)
+ long lasting battery (using just the neccessary / wanted apps and services)
+ all in one handy device instead of using a mobile router with extra sim card or tethering etc.
+ no need for upgrades to the latest android versions as you do not need new (android) features
+ less need for security updates by "missing" software like media framework etc.
+ maybe an easy managable "private" hotel router (connect to hotel / public wifi and provide secure network to your devices)
+ "client management" with bandwith / quota?
Yes I know, there is a mobile router (e.g. GL.INet mudi) based on openWRT, but, as far as I know, just based with proprietary Firmware Addon, and a price (~250€)...
Yes, a mobile device is not a powerful WiFi Router with Mu-MIMO etc., but should do as travel router for few clients.
So what do you think? Could this be possible and maybe worth doing it as this could be a great way to reuse our old or cheap phones?
If such a ROM is possible, that would be amazing!
Thanks a lot folks!
Andi
Can you make a custom rom for nokia router G2425G-A
Hello,
I bought my OP7Pro when I was living in Netherlands. Now that I live in Indonesia, I notice that my phone doesn't detect all WLAN 5GHz channels allowed in here, only channels 149-161.
Based on Wikipedia, channels 32-48 & 52-68 are also allowed though indoors only. I found out that channels 149-161 are allowed initially while the rest follow a few years later.
The problem is that my device only follows the initial regulation but not the latter one so it cannot detect nor join WLAN with channels 32-68 while in Indonesia.
Is there a way I can do that?
Thank you in advance!
I tested Wifi Codes app but it crashes probably because it's too old.
From this post and this post, it looks like Android sets the WLAN country based on the SIM card country data so that makes me think that the country rules DB used in Oxygen OS is out-of-date or something like that as other Android devices sold here can detect all proper channels.
I know this forum is generally focused on Android phones, but a recent discovery has lead me believing this question belongs here. I'm not very experienced with ADB other than basic rooting procedures and side loading/bloatware removing. I've come to ask the experts, on this one.
Recently I've gotten into custom cellular internet router building. For the longest time it has consisted of sourcing router board hardware from Chinese manufactures that run OpenWRT or some flavor of it. GoldenOrb (ofmodemsandmen.com) being the most popular choice. Then either by direct m.2 slot on the hardware or USB m.2 (sim) adapter to the USB 3.0 port, is an LTE/NR module. Popular ones include the Quectel RM520Q-GL, RM502Q-AE, and the EM160R-GL
The modems themselves run a full fledged Linux system and ADB can be used with them. OpenWRT and GoldenOrb are buggy and the modem itself does a better job of being in charge of connection management than a separate router would. Normally the modem would be set to communicate with the router hardware by either QMI mode or MBIM mode.
A new method is on the brink of emergence for handling the usage of these modules. A simple m.2 to rj45 adapter can be used in place of the router. You get a 2.5gb Ethernet port, an m.2 slot, a sim slot, a USB c debug port, a 12v fan header, and no bottlenecks. The modem is then set into RGMII mode. That's where the modems higher functions actually start to be used, and I imagine ADB becomes a factor.
A product has emerged where a modem just as I described was placed into an rj45 adapter and a web interface was created by taking advantage of the built in QCMAP on the modem. I imagine that ADB was used to modify the WWW folder and other files to create this. It allows the modem to be directly configured by a simple web interface over an m.2 rj45 adapter without having to deal with the complications of issuing AT commands for every little configuration and status query.
Someone else has released an easy to use AT over Ethernet command script for the community after this product came out. (People started to figure out what it really was) (https://github.com/natecarlson/quectel-rgmii-configuration-notes)
The link above is the writeup for their script, it also links said product. Very interesting price for such cheap hardware.
My question is does anyone have any experience with these? Any clever developers willing to spill the secrets of how that web interface was created? Maybe someone is interested in developing their own? I wouldn't mind supplying a modem to someone willing to create something like this for the community. Especially with how hush hush and locked down the cellular industry is. These modems can put the control in the users hands. A web interface directly on the modem and taking advantage of its full capabilities is ideal.
iamromulan said:
My question is does anyone have any experience with these?
Click to expand...
Click to collapse
Nope, I've never even heard of them.
But you got my attention with "Quectel".
I've been playing with a Quectel EC25-AF as core of the Netgear LM1200 LTE modem.
https://forum.xda-developers.com/t/netgear-lm1200-lte-modem.4573931/
But our resident expert on all this stuff is @rich hathaway
He might have interest.
Renate said:
Nope, I've never even heard of them.
But you got my attention with "Quectel".
I've been playing with a Quectel EC25-AF as core of the Netgear LM1200 LTE modem.
https://forum.xda-developers.com/t/netgear-lm1200-lte-modem.4573931/
But our resident expert on all this stuff is @rich hathaway
He might have interest.
Click to expand...
Click to collapse
Oh that's a CAT4 modem. You'll have more control and speed if you went with at least an EM160R-GL. My personal favorite is the WS1208V2 router + an EM160R-GL. If you were looking for 5G/NR capabilities go with an RM520N-GL. Alibaba is where you can source that stuff on the cheap.
Wholesale High quality WS1208V2 dual band router ROOter firmware WAN/LAN port MT7621A chipset 5g sim router From m.alibaba.com
Wholesale High quality WS1208V2 dual band router ROOter firmware WAN/LAN port MT7621A chipset 5g sim router from on m.alibaba.com
m.alibaba.com
Well, as long as you were asking about web interfaces, I'll mention what I know.
Most (many? some?) Qualcomm modems expose the /dev/diag char device.
It uses HDLC (serial protocol) for requests and responses.
The libdiag.so from Qualcomm (undocumented to us) handles the transactions.
The OEM is responsible for any web interface.
For the LM1200, that's Netgear with their NetgearWebApp which is http server and simple template file (whatever.json.tmpl or whatever.html.tmpl) expander.
It seems a bit inefficient since (is it true?) it requests a single parameter/variable at a time over /dev/diag.
The SDX20 in the MiFi 8800L uses Linux message queues (mq_open, etc) so you can get a chunk of related parameters all at once.
There are OEM libs to interface with the message queues but you can just do it yourself.
Since the MiFi 8800L supports CGI I just wrote one to dump useful JSON only using stock libs.