Connecting to WIFI WPA2-Enterprise problems - XPERIA X10 General

Hi All,
I don't seem to be able to connect to my work wifi network.
I have the X10i, updated the software also today.
However I have never been able to connect to my work wifi.
We use WPA2-Enterprise, when scanning I see the network and it says the network is WPA2-EAP.
these are the settings it lists
EAP method = TLS
Phase 2 authentication = None
CA certificate = N/A
Client Certificate = N/A
Private Key Password = (ready for input)
Identity = (ready for input)
Anonymous identity = (ready for input)
Wireless password = (ready for input)
I can not change any of these (I have selected each option but no option to change), but as I understand it I need to input a phase 2 authentication? This is meant to be MSCHAPV2?
Also, being on a work network, we have domain, user names and passwords, I am unsure where to enter this information - I have tried multiple variations and not succeeded.
Any advice or pointers would be great.
Thanks in advance.
Anuj

Ah good point of you I totally forgot this on the whole rooting thing, because i have similar problems with Eduroam.
SE has ripped out WPA2 Enterprise support in their release, we must find were to add files to get this working.
I must have a look if i have time or if somebody else find it i would be happy too
Regards
Bin4ry

Okay seems like it is a UI isssue. Try wifi helper to configure WIFI (root needed)
http://forum.xda-developers.com/showthread.php?p=3765595
Regards
Bin4ry

The wifi helper does not seem to work, I entered details but then could not see how to connect, I went to my wifi scan, could not see it, and then opened wifi helper again and it had deleted my configuration.....
Any other ideas?

yeh wifi helper is kinda messed up
it also deleted all of my configurations and stuff
if you wanna fix that uninstall it then go to your terminal and enter
rm/data/misc/wifi/wpa_supplicant.config

Hey guys, try this link:
http://code.google.com/p/android/issues/detail?id=1386
read comment #10

any updates on this issue??

Hi,
Well I uninstalled the wifi helper as it did nothing for me.
My phone is not rooted so the comment 10 on googlecode forum is of no help to me.
I am unsure what you meant by go to the terminal and type {string provided in earlier post}
Find this really frustrating :-(
If you can clarify would be really appreciated, or if anyone has any other ideas?
Thanks again guys,
Anuj

Bin4ry said:
Okay seems like it is a UI isssue. Try wifi helper to configure WIFI (root needed)
http://forum.xda-developers.com/showthread.php?p=3765595
Regards
Bin4ry
Click to expand...
Click to collapse
Hey Bin4ry is there another option for this problem because wi fi helper does not seem to work on my root device.

Sony support is telling that there's no software that can solve this. I guess root is the only way for this. I'm a newbie on Androids so I can't do anything about it.
vrs2610 said:
Dear Customer,
Thank you for contacting Sony Ericsson Contact Center.
Sony Ericsson Xperia X10 does unfortunatly not support EAP-PEAP but only EAP-TLS. We have no software that can solve this.
Best regards,
Sony Ericsson Contact Center
Click to expand...
Click to collapse

Has anyone got this to work properly? Does the Wifi patch released by Jerpelea do anything for this?

No luck here. I don't know about the jerpelea patch. It adds channels 1-13. I actually don't know what is it for.

synlar said:
Has anyone got this to work properly? Does the Wifi patch released by Jerpelea do anything for this?
Click to expand...
Click to collapse
Hey synlar and the other guys, I just got my Xperia X10 to work in our university wifi. WPA-EAP PEAP with MSCHAPV2. I used the app Wifi-Config Editor Pro from the market. You don't even need to root your phone. I hope this works on everyone else also. I was so thankful with the developer. This app saved my phone.

Can you give the specific program name? I couldn't find it in market.
Only one I found is Wifi Config, and it's not available anymore.

Thanks soujiro,
just search oddrain in the marketplace, the apps come up.
I'll try it out once school starts in a month

synlar said:
Thanks soujiro,
just search oddrain in the marketplace, the apps come up.
Click to expand...
Click to collapse
Nope, I couldn't find it on the market either

can anyone post a link to the apk of the app
thanks

I installed the app and it doesn't work for me. How did you get it to work?
Sent from my X10i using XDA App

I tried wifi helper as well but now I can't scan for networks and it keeps disabling my wifi when I try...
Sent from my X10i using XDA App

Getting WPA2-EAP working with rooted handset
In case anyone is still struggling to connect to a WPA enterprise network, this is a cross-posting from elsewhere on xda-developers which may be useful for some. This works on a ROOTED X10 Mini Pro.
------------------------------------------------------------------------------------
One annoying thing about the X10 Mini Pro is that you can't connect to WPA2-EAP enterprise networks that use MSCHAPv2 (like a lot of university networks, such as eduroam). With a rooted phone you
can edit the wpa_supplicant.conf to get this to work. Apparently an app called Wifi Config Editor Pro will allow you to edit this without root on an X10, but it doesn't show in the market for my X10 Mini Pro, so....
1) adb shell
2) su
3) cd /data/misc/wifi
3 1/2) In advance get the stuff you need on the clipboard by highlighting it and hitting ctrl-c or whatever it takes on you machine
4) busybox vi wpa_supplicant.conf
(to edit the wpa configuration file)
5a) Type (to get to last line of wpa file)
:$
5b) Type
a
to enter append mode in vi
5c) Type ctrl-v (or whatever pastes stuff on your machine) to enter the required text
network={
ssid="eduroam"
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="MYIDENTITY"
password="SECRET"
phase1="peapver=0"
phase2="auth=MSCHAPV2"
priority=7
}
or similar, where MYIDENTITY is your eduroam login ID and SECRET is your password. This is taken verbatim from another phone (HTC Desire, Android 2.2) which does work OK. You could also edit the file off phone and adb push it on, just watch ownerships (system.wifi) and permissions (u rw) don't get munged up.....
5d) Hit escape key to exit append mode in vi
6) Type
:wq
to save and quit vi
7) you are now back in the shell, so log out of su with exit, and out of the shell with another exit
8) connect and surf, it works for me (so long as there isn't any http proxying to be dealt with... )

Related

Getting into a wireless network without the WEP key

My friend was boasting about how secure his network is and how nobody could ever hack into it. I am able to pick it up on my Universal, but it asks me for the WEP code. It would be very funny if I could use his connection after all his boasting :twisted: ! So, is there any app that can do this - perhaps by guessing all possible combinations until it gains access, or any other way?
Thanks
WEP is an older security method that has been proven to be hackable and especially true if the 64-bit version is being used.
There are tools around to hack WEP security, but I doubt it is for PPC. Even for PC, it requires some drivers for the wireless card, and a lot of the wireless card are not supported, including Centrino.
Lets assume that you have the appropriate equipment. Depending on the key size your friend used, e.g. 64 / 128 bits, you are required to be there to capture enough data (approx 500Mb for 128bits, I think) to get enough 'clue' to decode the key being used.
Finally, lets assume you had the key. You boasting friend may have a second layer of protection with wireless MAC address filtering, which filter out un authorized units based on MAC address. Of cource, MAC address can be spoof, but doubt there are any easy method of PPC unit yet.
You need another laptop as well as the PPC.
Download and install: Auditor: http://www.remote-exploit.org/index.php/Main_Page it is basically a boot from CD Linux with just the tools you need to 'probe' networks. use the PPC to find the Mac address, SSID and channel. Then fire up the laptop and start using all the tools to crack the WEP. The more data going over the network, the faster the apps will be able crack the WEP code. If enough data is flowing through the router, it is possbile to crack a 128 bit WEP in 10-20 minutes. If you have two laptops, you can get the other one to talk to the router (with spoofed MAC) to increase the data.
As already mentioned, all this depends if your card is supported by the apps, and can be put in silent mode (if you don't want to draw attention to yourself)
Of course, it is much easier just to walk 50 yards down the street and find an unsecured network for your free Skype calls.
cough.
/Mad
Thanks for the help. How would I find the chennel and MAC address with my universal?! I just want to get into my friends as a joke, and so finding another network wouldnt be much help!!
Thanks
6680abhi said:
Thanks for the help. How would I find the chennel and MAC address with my universal?!
Thanks
Click to expand...
Click to collapse
Mine is german, so my translations may be wrong
From the start menue
-> Settings
-> connections
-> Wireless-LAN
There you'll find the information you are looking for.
Do you have some experience with Linux? It's a bit more complicated than Windows Mobile
AFAIK for Wep cracking there are also a couple of programs for PocketPC existing which can do this within minutes.
but this depends strongly on the WLAN hardware.
Search in google for this.
BlackICE said:
AFAIK for Wep cracking there are also a couple of programs for PocketPC existing which can do this within minutes.
but this depends strongly on the WLAN hardware.
Search in google for this.
Click to expand...
Click to collapse
Thanks for the help. I have serached on google, but am unable to find a wep cracking application for ppc. Could you perhaps give me a link to one?
Thanks
look here:
http://www.google.com/search?num=30...esnum=0&ct=result&cd=1&q=wlan+sniffer&spell=1
Thanks again, but could you please be more specific with an application, and post a link to the application, as I was unable to find anything by clicking on the google search you posted.
Thanks
6680,
it is easyer to use a notebook, preferrably with two Prism2 based network cards, and boot WHAX from a CD.
Let that run for some time and it'll find the WEP key for you.
It took more than 30 hours to get the key for my neighbours WLAN :?
I did not post you more specific links, as I have to look myself through all these links. Actually, some of the Wlan sniffer programms do have also a PocketPC version.
Actually, it is far more easier to use a notebook than a pda. Also I doubt that there is any program around, which is fully supporting the Wlan hardware of the Universal. At least this was the case half year ago.

Network attached storage drives......

Hello all. I did ask this question in the Hermes section but no answers slo I thought I would as in here as it is a networking type problem.....
I have a Maxtor Shared Storage II drive on the wireless network. All the XP PCs can see and access the device no problems.
The Hermes is running official WM6. When I use Resco Explorer to try to map a network drive, it isn't there, but any XP computer that is switched on at the time, is in the list in Resco.
If the I check the properties on the NAS's folders on a XP machine then its reported as a NT server 4.9 drive??
The drive has the feature of a media server on the menu system which as yet I havnt had time to play with so far.
Any help greatfuly appreciated
Cheers
Chris.
not sure about yours but the tests i read about those maxtor nas mybooks require some special software on the pc to access them
if that is the case with yours and they dont have an ppc version
you are out of luck
Yes I do agree there is maxtors software on the PC to access various functions, but before I installed the software I could see the public folders that were already installed on the NAS...!
Chris
It's nothing to do with them being NAS Storage. As far as the network is concerned they are just windows network shares. I'm having the same problem - I can't access shares over my wifi network on my Hermes.
I have a file/web/ssh server and I can easily access it using a browser or with PocketPuTTY and I can ping it with vxutil but I can't connect to the shares even though I can ping the hosts and see the networked devices in Resco and PocketLAN. Total Commander doesn't work either!
I'm sure it's something to do with routes/subnets and have tried setting the proxy options in "settings">"connections">"connections">"advanced">"select networks" and also changing the options for "My network card connects to" in Network Adaptors.
I want to use a "cooked" rom but this seems to be the source of the problem - I've flashed another rom on my Hermes and it connected fine. I'm having the same problem with my HTC Universal and I also had a problem with my Wizard but I managed to fix it by modifying the "connections" (see above!).
I've got the same problem with my NAS (Maxtor Shared Storage II).
BTW, I don't think the Maxtor Connect Manager utility is required , I've connected to the NAS from XP and OS X without the utility running.
My 8525 (WM 6) cannot see the NAS in network neighborhood , even though the IPs are pingable.
The 8525 cannot see the share on my MacBook Pro either.
I have no problem with a share on my Win XP SP2 computer ... it even streams media (divx, MP3 , windows media) to my 8525. Mapped with Resco Pocket Explorer with no problem.
I think the MAC and the MSS II (www.openmss.org) are linux/Samba network based and WM cannot connect. If any linux guru can verify and provide assistance, it would greatly be appreciated.
Wow ! Streaming media from a NAS on the 8525 ... a dream so far ......
I don't think this is a linux problem - the shares I am accessing are on a linux samba server. I can access the shares using different rom versions on my hermes and my universal (just not using the rom I really want to use!). My wizard (WM6) connects to the shares fine!
h0me5k1n said:
I don't think this is a linux problem - the shares I am accessing are on a linux samba server. I can access the shares using different rom versions on my hermes and my universal (just not using the rom I really want to use!). My wizard (WM6) connects to the shares fine!
Click to expand...
Click to collapse
Thanks h0me5k1n !
Can you share the method or application and version your using to make the share with Samba ?
Is the NAS/Share visible in network neighborhood or is the connect string manually entered ?
dy57 said:
Is the NAS/Share visible in network neighborhood or is the connect string manually entered ?
Click to expand...
Click to collapse
When I have used resco to attempt the connection I can see the host PCs in the network neighborhood but cannot see the shares on each host PC (neither windows or linux).
I have always connected using the netbios name - using the ip address has never worked as far as I can remember. I have always used Total Commmander (I only tried other apps because Total Commander wasn't working) and I've always used the latest version.
I've just switched my Hermes to another rom.... K's rom V1.21... and I can browse my network shares again (windows and linux) and the rom is the only difference. It's a nice rom too so I'm gonna leave it for now.
An example of my working setup: I have a computer called "mediacentre" with the IP of 192.168.0.234. I can connect over wifi using Total Commander with the addresses of "\\mediacentre" and "mediacentre" but neither "\\192.168.0.234" nor "192.168.0.234" work!! Exactly the same thing with another rom did not work!!
Maybe this is something to do with the network configuration of the base rom from which the cooked rom is built?
It's definitely not a linux/windows/maxtor problem!
h0me5k1n said:
I have always used Total Commmander...
Click to expand...
Click to collapse
I've just installed Total Commander 2.0 (http://www.ghisler.com/pocketpc.htm ) a few days ago and haven't gotten around to using it . It's not a very intuitive app when it comes to making network connections. I also noticed that TC has plugins for other files systems (http://www.ghisler.com/plugins.htm#filesys).
Did you have to use one of the other plugins or any special protocols on the NAS (i.e. VPN , FTP, etc.) ? - Sorry for the multiple questions in detail , but I'm a linux newbie \ : ) .
If I get the figured out, I'll try to publish a detailed "how-to" since I seen the same question w/o solution on other forums.
Thanks-In-Advance
I find TC very easy to use - especially the virtual 2 window mode!!
To connect I just open the \\Plugins folder, choose LAN and can connect with "_Quick open" or by setting up a "<new server>" with the addresses of "\\mediacentre" or "mediacentre" (as per my example below).
I have not had to use any other plugins from the TC site and my NAS is basically a ubuntu (debian) system with a number of samba shares (which are basically the same as shared folders on windows). The shares on my server are viewable by all on my local network so no password is needed to access them although they are "read only". I have a WinXP desktop too with shared folders and I connect to this in exactly the same way.
No joy ......
Just went thru several attempts using Total Commander to connect to the MSS II and still no connection. Just did a search on the forum for "SAMBA" and it seems there are other folks out there in the same boat.
Some possible factors I can this of are :
- security on the NAS Share
- different flavors on linux used on the shares
- the application on WM used to connect (resco, File Explorer, TC, etc)
- some obscure setting on the Router/Hub /Switch
- version of WM (2003, 5, 6 , )
BTW - after installing TC I lost the connection to my Win XP share which used to work via Resco. (arghhhh!) .
Why is this such black magic that only functions under a full moon?
My head is spinning now !
This link looks hopeful :
http://cri.ch/linux/docs/sk0014.html
More trial and error for now ....
Anybody else care to weigh-in with some advice ?
Kaiser + NAS (Linux + Samba) + L26 Diamond V4 = works!
Solution for those using Kaiser (TyTN II):
I just flashed http://forum.xda-developers.com/showthread.php?t=395555 (Kaiser Diamond V4), and my Synology DS-207+ (Linux + samba shares) is visible and accessible from every software (Total Commander, Resco, File Explorer).
Previously I used to flash Dutty's ROMs and original ones - they do not work with samba. I wrote to Dutty - hope he'll find how to fix (I love his ROMs).
Good luck! Now I'm able to watch videos on Kaiser from my NAS via WLAN, I'm happy ;-)
dah54 said:
Interesting... As far as I can tell, Total Commander, Resco Explorer, File Explor, and the Network Plugin all call the same password manger in WM6 and that manager does not send the passwords in a form that SAMBA understands.
In theory changing the key at HKLM\Comm\SecurityProviders\NTLM\LmCompatibilityLevel to 2 from 3 should do what I need, and enable the Universal to communicate with my SAMBA server. That it doesn't suggest to me that there is a problem with the LM security provider.
Click to expand...
Click to collapse
OK. The correct answer is here:
Change HKLM\Comm\SecurityProviders\NTLM\LmCompatibilityLevel to 1 from 3, not to 2 (ref: http://msdn.microsoft.com/en-us/library/aa922895.aspx and http://msdn.microsoft.com/en-us/library/aa925018.aspx) as "You can also set the LmCompatibilityLevelServer value to 2 or to 3. Both of these specify that the server will only use NTLM v2. Authentication will fail if the client is not capable of NTLM v2 protocol. For more information, see Authentication Services Registry Settings".
And check to make sure HKLM\Comm\Redir\SmbSignatureMode is set to 0 (not recommended 'cos it may cause problems with windows servers), 1 or 2, but not 3 (ref: http://msdn.microsoft.com/en-us/library/aa921092.aspx).
And you can try to set HKLM\Comm\Redir\AllowedAuthMethods to 3 to see if it makes any difference. To me, 2 works fine.
No need to modify samba configurations if you are running a recent version of samba (3.0.28 right now). Anyway, you can always try to add "use spnego = no" (maybe "client use spnego = no" or "spnego = no" as stated and/or quoted in other posts/web pages, I'm not sure of it.) to see if it makes any difference in your situation/samba version.
If you have admin privledges on the windows/linux machine, you can install orb on it. I've done that to my xp machine at home and now from anywhere on my ppc I can access anything I want from my home machine... it also checks to see what the files are at home and can sort them into categories like music, documents, videos, etc.
I'm not sure if it will work with orb installed on a pc to look over the network to a NAS, but mine looks through usb to an attached drive.
Worth a shot and a very simple solution to the problem.
jnjn said:
OK. The correct answer is here:
Change HKLM\Comm\SecurityProviders\NTLM\LmCompatibilityLevel to 1 from 3, not to 2
as "You can also set the LmCompatibilityLevelServer value to 2 or to 3. Both of these specify that the server will only use NTLM v2. Authentication will fail if the client is not capable of NTLM v2 protocol. For more information, see Authentication Services Registry Settings".
And check to make sure HKLM\Comm\Redir\SmbSignatureMode is set to 0 (not recommended 'cos it may cause problems with windows servers), 1 or 2, but not 3.
And you can try to set HKLM\Comm\Redir\AllowedAuthMethods to 3 to see if it makes any difference. To me, 2 works fine.
No need to modify samba configurations if you are running a recent version of samba (3.0.28 right now). Anyway, you can always try to add "use spnego = no" (maybe "client use spnego = no" or "spnego = no" as stated and/or quoted in other posts/web pages, I'm not sure of it.) to see if it makes any difference in your situation/samba version.
Click to expand...
Click to collapse
perfect, it working!!! to me it work with:
HKLM\Comm\SecurityProviders\NTLM\LmCompatibilityLevel = 3
HKLM\Comm\Redir\SmbSignatureMode = 1
HKLM\Comm\Redir\AllowedAuthMethods = 3 - it was critical parametr
many thanks
(WM6, Artemis, Resco Explorer, NAS Synology DS210j)
evgenerous said:
perfect, it working!!! to me it work with:
HKLM\Comm\SecurityProviders\NTLM\LmCompatibilityLevel = 3
HKLM\Comm\Redir\SmbSignatureMode = 1
HKLM\Comm\Redir\AllowedAuthMethods = 3 - it was critical parametr
many thanks
(WM6, Artemis, Resco Explorer, NAS Synology DS210j)
Click to expand...
Click to collapse
strange, these two keys don't exists under HKLM\Comm:
HKLM\Comm\Redir\SmbSignatureMode = 1
HKLM\Comm\Redir\AllowedAuthMethods = 3 - it was critical parametr
many thanks

Help with motoscript on wm6.5 (networking)

hey guys,
I hope that this is in the right section..... (mods, please move if not)
At work I have several vbs scripts that i use to do day to day task within Active directory. I'd like to write a motoscript that enables me to start these scripts from my device (touch HD running 6.5) when I'm at work.
I know that I need to do a few things in my script.
1 - start a wifi connection and connect to my work access point
2 - input a few parameters like username and such
3 - start a script thats on my work machine passing the inputed details on.
So far I can start the wifi connection by using Run("wifinetworks.exe") which is cool, but when i do it opens the available networks. Now if i leave the phone for a minute or two it does connect to the correct network but I still have the available networks screen open.
Is there a way of starting the connection without any GUI at all??
Also (and more importantly) how would I go about starting a app on a remote machine??
I'm think along the lines of mapping a network drive and then using RUN("X:\scripts\run me.vbs") but I'm worried that it would try to run the app on the phone and not on the remote machine.
Does anyone have any experience with these scripts? specially with networking with them??
Any help is greatly appreciated.
Thanking you in advance
Blastman

Getting around Great Firewall of China with WM 6.5?

Greetings!
I've been looking for quite some time now for a way to get around the Chinese firewall on my phone. I have a paid VPN tunneling account that I use on my desktops but have had no luck getting my phone to access it. I tried openvpn client here but the program won't start on WM 6.5 (Energy Rom), all I get is "Default Ime" displayed in the upper right corner of the screen and nothing else. I've got the config, cert, ca.cert, and key files from my vpn service, but can't get the darn program to start to import them or initiate a connection.
Is there another way to do this? I really miss the Facebook integration (facebook blocked in China), YouTube (blocked), and Skype (blocked)....anyone had success with this client on WM6.5? HELP!!
THANKS!!
Am I really then only person who wants to use something like ultravpn on their Wm phone?
RealVNC makes a Mobile Viewer
you need to turn off the TouchFlo3d to see the openvpn icon
Start->Settings->Today and disable TouchFlo3d
A bit of a pain in the arse
Am still trying to get it work
Yeah, I found that. Have been getting down into the nitty gritty of the config file, I think I've got it sorted out and will be posting up here this weekend when I get some time to test. Thanks!
I am not sure if my issues are TAP Vs Tun issues. Hoping that I get to the pub early enough this weekend to get it sorted.
I sorely miss hulu.com- took them a while to twig that that the 194.xxx.xxx.xxx range was t-mobile UK.
BTW who do use for your VPN acc?
I have just signed up for a vpsville.ca openVpn account. Great price and they seem to be reliable- btw google for life-time discount codes.
Any progess with this? I have gotten to where I can get the client to connect to my vpn server and request my login info, but no dice getting the phone to route traffic through the vpn tunnel.
I've been using torrentfreedom but am looking to change as they have become REALLY unreliable lately. THanks for the tip on what you're using, checking them out now!
I hope we can get this working!
To be honest I've been too busy to play with the config files.
Forgot to mention that the vpsville.ca option is a vps server that you are allowed to run openvpn (or any other software that you want). The T&Cs say that it must be private use but I believe that you plus a friend or two on openvpn would be ok.
I like their refreshingly honest approach- unlike the those of firms/rackets such as fasthosts.co.uk.
vpsville say that you can pretty much do whatever you want so long as it is legal. I believe that they had a major ballsup last year but I have been with them for 6 months, a UK vps and a more basic USA vps and have been very happy.
Set up is pretty straight forward with root access- they have templates- if you (decide to go with them and) need help I can assist- although a Linux noob I had no real problems. Incidentally I dont need to log in with passwords etc as the set up is my own.
EDIT+++++++++++++++++++++++++
BTW what is your avatar- dont think I have seen it before- never studied archaeology
Remove openvpnmgr.lnk from Windows\StartUp folder
I got around this by removing the openvpnmgr lnk file from Windows\StartUp folder - seems like there are some bugs with the openVPN manager running on wm6.5 (it was even buggy in wm6.1) on my Sprint Touch Pro2.
any luck so far
hi guys..
were u successful in bypassing the firewall??? im also in china and tryiing to do exactly the same thing as u guys..
did u get openvpn working????

Android basic WiFi tether - new project

Hello everyone,
I'm a computing student and Ive got the task to develop a basic version of the WiFi router found here: http://code.google.com/p/android-wifi-tether/
Ive learned to program in Java during my 3 years of college and I consider that Ive got the basics covered but Im really bad at programming.. I am willing to learn a lot more to complete this project and in the process Im also planning to learn some serious programming skills considering the complexity of the application development.
Can someone please bring some light on this and help me with it? I actually dont even know where to start coding for this. All I managed to do in the last 24h is to find the below websites but I dont know how to put everything together and start coding. Ah, and I want to mention that once I finish it I will share it with the open source community, not looking for any profit. Its just a college project for me. Thanks in advance for any help that anyone can give me!
Android Developers
http://developer.android.com/
Wireless Tether for Root Users (Opensource)
http://forum.xda-developers.com/showthread.php?t=486767
Tethering my laptop with android
http://forum.xda-developers.com/showthread.php?t=577590
Tetherbot
http://graha.ms/androidproxy/
Tethering VIA USB - Install and troubleshooting
http://forum.xda-developers.com/showthread.php?t=443025&highlight=tether
tether Wifi
http://www.androidactivity.com/tetherWifi.html
iptables
http://www.netfilter.org/projects/iptables/index.html
Dnsmasq
http://www.thekelleys.org.uk/dnsmasq/doc.html
and of course wikipedia
http://en.wikipedia.org/wiki/Tethering
Well this is a functionality scenario for it. Id appreciate if one of the experienced programmers would give an opinion on it. Thanks!
#1 User starts the program by tapping the app icon.
#2 Code to check for Internet connection over GSM network (check gsm state. if off, go to 3. if on go to 7)
#3 Code to send instructions to the GSM modem to establish an internet conection.
#4 If the connection cant be established due to various technical errors like no signal, wrong APN settings etc then 5
#5 Code to show info message on the screen to inform user
#6 Once the device has a valid internet connection(check) then 7
#7 Code to show settings to user and allow customization of SSID (network name). [and security key(optional for now, we'll do it later if we have time)]
#8 The user presses the start button.
#9 Code to activate the wifi card in adhoc mode and broadcast the adhoc chosen SSID
#10 Code to accept connection from a valid device and communicate with it over wifi
#11 Code to share the established internet connection over GSM network with the device connected over wifi
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry, I appreciate the reply, thanks a lot!
"a basic version of the WiFi router" means a functional application that will run on an android phone (hopefully not rooted), will accept an ad-hoc connection with another wifi device over wifi and share its built in Inet conneciton with the device that connects to it. If I manage to get this running within 3 weeks I will complete the project in time.
I didnt know about the android wifi-interface-drivers..I was planning to try and develop this (hopefully successful app) into a proper wifi router (the full version) as my last year project, but now that plan is down the drain
Could you please help me start this? Where did u start when u actually started coding for this project? Any advice you can give me will be very welcome!
Cheers m8, have a good weekend!
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry,
By ad-hoc mode do you mean that the phone has to be rooted?
My understanding is that there is no way to have GPRS/3G running at the same time as a WiFi connection on the normal Android OS on a non rooted phone?
@atl4ntys,
Nice to see another Irish developer on Android
What your trying to do in 3 weeks seems like a big task and the normal Android SDK wont be much help for the reason I have stated above unless you root the phone.
cheers draffodx, I appreciate the interest!
Abt your question, to my knowledge wifi can run at the same time with 3g on a stock non rooted phone but it will not run in adhoc/ap mode. Unless some found a workaround that.. I'd prefer to develop a very basic app that will run on any android but if it proves to be an impossible task (also given the dev time available) then I will be happy with a function one on a rooted android. Dont need security and fancy graphics I just need it to work, so Im sure between me and my project partner we'll get it done (hopefully with a bit of help from the android devs)
Have you got any resources for how to run 3G and Wifi at the same time?
Its something I need to be able to do and from a few days research it seems that the OS only switchs between Wifi and 3G and never runs both at the same time.
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Can you also define what you mean by adhoc/ap mode?
Thanks
draffodx said:
Have you got any resources for how to run 3G and Wifi at the same time?
Click to expand...
Click to collapse
No, not yet.
draffodx said:
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Click to expand...
Click to collapse
I havent looked into it properly yet. Maybe Harry will answer or if not, try here: http://forum.xda-developers.com/showthread.php?t=474470
draffodx said:
Can you also define what you mean by adhoc/ap mode?
Thanks
Click to expand...
Click to collapse
Adhoc is computer to computer connection, without an access point. Info here: http://compnetworking.about.com/cs/wirelessfaqs/f/adhocwireless.htm
ap is an access point
The difference is(wiki):
Wireless Access Point vs. Ad-Hoc Network
Some people confuse Wireless Access Points with Wireless Ad-Hoc networks. An Ad-Hoc network uses a connection between two or more devices without using a wireless access point: the devices communicate directly when in range. An Ad-Hoc network is used in situations such as a quick data exchange or a multiplayer LAN game because setup is easy and does not require an access point. Due to its peer-to-peer layout, Ad-Hoc connections are similar to Bluetooth ones and are generally not recommended for a permanent installation.
Internet access via Ad-Hoc networks, using features like Windows' Internet Connection Sharing, may work well with a small number of devices that are close to each other, but Ad-Hoc networks don't scale well. Internet traffic will converge to the nodes with direct internet connection, potentially congesting these nodes. For internet-enabled nodes, Access Points have a clear advantage, being designed to handle this load.
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
draffodx said:
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
Click to expand...
Click to collapse
hey draffodx, wifi and 3g do work in the same time but the wifi works in client mode not adhoc. the catch is to find out how to get it to work in adhoc mode while an inet connection is established over gsm
*1st post edited. Added possible functionality scenario opinions anyone? Thanks!
Hey atl4ntys,
How are you getting on with this?
draffodx said:
Hey atl4ntys,
How are you getting on with this?
Click to expand...
Click to collapse
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
atl4ntys said:
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
Click to expand...
Click to collapse
Thanks for that atl4ntys, excellent read, its a pity it still cant be done on a non rooted phone
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
harry_m said:
I'm one of the authors of "Wireless Tether for Root Users".
Harry
Click to expand...
Click to collapse
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible.
The problem is Poxoid is written in java, and slow down the internet connection from the phone. I'm downloading at about 100kB without proxoid, and only 20-30KB with.
I'm asking you if you know another program that does same thing (user agent rewriting) , easy to install for rooted android phones, or why not include that fonctionnailty to Wifi Tether?
Thanks for Wifi Tether, nice program !
is this - (the above posts)
a form of uma or gan???
mikob2d said:
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible....
Click to expand...
Click to collapse
Hey mikob2d, I think its best if u send him a private msg or if u contact him here http://code.google.com/p/android-wifi-tether/
Don't think he's monitoring this thread anymore
Rptynan said:
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
Click to expand...
Click to collapse
hey 2u2 and welcome here but I finished this project and will not release an open source or a commercial app. The project was way harder than I expected and I had to base my app on Harry's harry's 9.3 version of the app.
I sent u2 a pm with a link to the final technical specs. Hope you'll find the info useful

Categories

Resources