Android not working on wifi at school - Android Software/Hacking General [Developers Only]

So my school just got net books for everyone and also WiFi, but the problem is that my android phone can connect but it cant use it. at first i thought they somehow banned everything but the net books but when i brought my laptop it connected just fine:. so what do you think they did. do you think it could be the mac?
p.s. i can only use internet explorer on my laptop and not firefox.
Just found out that i am in the wrong sub forum can an awesome mod move for me? thanks

It depends of a lot of settings.
What is the encryption mode used on this network? (open, WEP, WPA, WPA2-TKIP, WPA2-AES)
Is the laptop owned or managed by the establishment? (ie: is it registered on an Active Directory domain?)
Is it using an enterprise authentication method (ie: 802.1x)?
If so, which authentication type is it using (ie: TTLS, PEAP) and the inner authentication protocol (ie: MS-CHAPv2, GTC)?
You might have to put your network credentials in order to connect to the wireless if they are using 802.1x.
For your Firefox issue, maybe you could try setting it to use your Internet Explorer's proxy settings and see if that fix the problem.

Something similar happens to me at work, but in this case they are using an automatic configuration scrip to connect to the web.
How can I use the configuration script in my android device

j0an said:
Something similar happens to me at work, but in this case they are using an automatic configuration scrip to connect to the web.
How can I use the configuration script in my android device
Click to expand...
Click to collapse
You cannot. Find out the proxy address and port and download something like TransProxy.

Related

Linux and HTC Touch Pro - Help

Hi,
I just bought myself a new webbook (a CnMbook) and want to use my TouchPRO as a modem so I can surf the net at work.
I've been routing round the internet to find an answer - which I have done http://ubuntuforums.org/showthread.php?p=6239582#post6239582 but my webbook doesn't have the option to get to terminal.
Can anyone else help?
Thanks
Simple solution, which I'm using is > http://www.walkinghotspot.com/
Thanks for your reply - but I already pay for unlimited internet with my phone contract, so I don't want to pay again.
Well, you could try other ways of getting to the terminal... without fixing that module, it won't let you get online via USB.
Otherwise, you can just use Bluetooth if your laptop has it, or the free version of WMWifiRouter, while plugging in to charge.
what is the latest free version of wmwifirouter? http://freewareppc.com/communication/wmwifirouter.shtml <- is that it?
walking hot spot is a trial, but even when it expires it still works
@ldrn - thanks for suggesting WMWifiRouter, that's a great app!
After an hour of messing about with it, I'm about 95% of the way there, but when my laptop tries to connect it says "invalid IP address"
Any ideas how to fix this?
GreenSaints said:
@ldrn - thanks for suggesting WMWifiRouter, that's a great app!
After an hour of messing about with it, I'm about 95% of the way there, but when my laptop tries to connect it says "invalid IP address"
Any ideas how to fix this?
Click to expand...
Click to collapse
Just had a quick look at the link for WifiRouter you posted. In the change log the author says: "- Made the use of DHCP Allocator disabled by default."
This would mean your Netbook basicly guessed an IP address when it's DHCP request failed. Look around for an option to enable the DHCP. I have no idea where it is, never used the app.
Good luck.
Alex is right (and so is Jack, I think) -- and just go to "Options", "Configuration", then "Use DHCP Allocator".
Glad I was able to help.
@Alex_w and ldrn
Thanks for your responses - however, I am still having issues.
I tried my Vista laptop to connect using WMWiFiRouter and it worked first time, however my little webbook can't get an IP address - whether the DHCP is ticked or not, or DNS.
I've now spent about 6 hours trying to work this out and it's annoying not to mention wasted a Sunday!
Are you using any type of encryption on the Ad-hoc connection? That's normaly my main problem when I work with WiFi on *nix. Just seems like the config tools aren't very polished TBH.
@Alex_w
Thanks for your reply - do you mean like WEP or Firewall?
Either/or - I have none enabled.
I found out that my webbook runs on "debian" - does that make a difference? I'm a total newbie when it comes to Linux
*bump*
No more answers?
Hmm... that is strange. I have had trouble connecting with wcid and WEP, but not with NetworkManager (and NetworkManager is usually the default.) Are you sure you are seeing the network name correctly and there is no encryption? A lot of versions of the NetworkManager fail to see Ad-hoc connections.
If that fails, I could walk you through how to *make* your laptop go to the terminal for the fix, but there would be a big risk of breaking something.
* Edit * Okay, this is pretty unslick and inefficient, but if you only use it for web browsing, the awesome Socks Proxy Server pchasco wrote works great for me on a machine without a fixed rndis module -- I am posting using it right now -- although it looks off on a VGA device like ours and the setup on the other end is a bit clunky.
Plug in your Touch pro and tell it to do activesync with internet sharing turned off, download that and run it on your Touch Pro -- leave the defaults and press "start proxy". Then on your linux laptop, go into firefox, type "about:config", and find network.proxy.socks_remote_dns and set it to true (you will only have to do this the first time.) Then in firefox, go to edit, preferences, advanced, network, settings (under connection) and write the IP address Socks Proxy has in its box near the top on your phone in under "SOCKS Host" -- leave the rest blank -- and the port Socks Proxy has as the port (should be 1080.) Make sure it is SOCKS v5 and press okay, and you should be good to browse.
You have to turn proxy mode off on firefox when you are on a normal connection, though. There are some extensions around to make it easier.
Another useful WindowsMobile-side free software I've found really handy for linux is Mocha's free FTP server -- you can use it to browse around on your phone as if you had activesync without telling it to pretend to be a disk.
@ldrn
Thanks for your detailed response and sorry for my late reply.
I'm going to try this tomorrow and will let you know the outcome.
Fingers crossed!
I am using Ubuntu 8.10 on my Thinkpad notebook and on my eee 900 ("easypeasy 1.0"). I had 2 months with internet sharing nd other connection problems until i changed the MTU to 1392 - that did it! I made a new entry "TouchPro" (instead of the "Auto eth2" it used to create by itself), put the correct MAc address and MTU in it - ready.
zh1975 said:
I am using Ubuntu 8.10 on my Thinkpad notebook and on my eee 900 ("easypeasy 1.0"). I had 2 months with internet sharing nd other connection problems until i changed the MTU to 1392 - that did it! I made a new entry "TouchPro" (instead of the "Auto eth2" it used to create by itself), put the correct MAc address and MTU in it - ready.
Click to expand...
Click to collapse
How were you able to change the MTU settings on your touch PRo? I am trying to tether w my xbox 360 and it keeps saying MTU fail!!!

[SOLVED] Internet Sharing - no IP address - help please

I have an issue with my cooked ROMs for my Nike - I have done plenty of searching and have even replaced most (if not all) of my kitchen, but the issue still prevails.
Internet Sharing opens and connects without an issue - the PC gets a network card installed (remote ndis...etc), but I can't get it to receive an IP address from the phone, so therefore I can't use the internet sharing.
anyone got any ideas? it does it on COM2 and COM5 builds. I have recmodded the internet sharing folder, but this still has no effect. I have added a copy of the internet sharing folder so that it is installed last in the build and still nothing.
Thanks in advance
DT
So nobody else has this issue??
Tried just setting an IP for the pc on the pc?
Probably something like 192.168.0.x
tried that - wasn't sure of the DNS settings though - so can't browse, etc.
There must be a simple solution if nobody else is experiencing this - just wish I knew what it was.
thanks
DT
I would try testing the app with a different computer, i had a really stubborn Toshiba laptop (on winXP) that never obtained an IP address while it worked perfectly on my ubuntu laptop and win7 desktop.
If nothing prevails, you could try using the more advanced ICS Control or even WMWifiRouter
I had this issue for a long time and I don't know why Internet Sharing is connected with Advanced Network functionalities on my device and if it isn't active, the No IP situation pops up... take a look there...
I have the same problem on my Jade, so I use WMWIFIRouter, DHCP works prefecty...[/I]
Solved
The "Remote-NDIS Host" network adapter was not assigned an IP address, so I cooked in the address 192.168.0.1 and it is now working. Not sure why it wasn't there to begin with, but hey, it now works and I am a happy camper
Here is the reg entry that I added to my kitchen for anyone else who may have the same problem...
Code:
[HKEY_LOCAL_MACHINE\Comm\RNDISFN1\Parms\TcpIp]
"Subnetmask"=hex(7):32,00,35,00,35,00,2e,00,32,00,35,00,35,00,2e,00,32,00,35,00,\
35,00,2e,00,30,00,00,00,00,00
"IpAddress"=hex(7):31,00,39,00,32,00,2e,00,31,00,36,00,38,00,2e,00,30,00,2e,00,\
31,00,00,00,00,00
DT
glad you got the solution to your problem.
on that note thread closed

[Q] connect android to wifi with automatic configuration script

I Have a wifi at work, and i was able to connect to it but in order to surf the web the IE is set using an automatic configuration script, is there a way to configure my android to connect to this network.
I have a nexus one with rodriguez MIUI installed.
With MIUI, should be already included, probably you need to dig deeper into network configuration. Or just use something like TransProxy.
(Note: either way, you need to set the proxy address and port manually, the WPAD javascript autoconfiguration thing certainly will not work.)
Thanks man. Is there a way of getting the proxy address and port knowing the ac script
Sent from my Nexus One using XDA App

[Q] [i9003] wifi problems [connectify+wifi+proxy server]

ok, so i've searched around a LOT and just can't seem to find a solution anywhere.
so here's how it is. i connect to the internet on my PC through a LAN connected to a proxy server. so i bought a USB wireless adapter, and i used connectify to create a virtual hotspot. i rooted my phone and use AutoProxy (or sometimes ProxyDroid) to configure proxy settings. initially i wasn't able to use the net on my phone using this network, and everytime i tried to open a page on my phone, the wifi network would disconnect. after some tweaking i've managed to make the net work for the browser on the phone. however, everytime i try to connect to an https server, it says "secure connection could not be established". and i can't use the net for any of my apps, or for the market.
Basically, All these piece of "Very Improtant Developemental Ideas" (Which mean Useless, non-developemental Ideas) Must be thrown to the Q&A man!
sandeepnongkynrih said:
ok, so i've searched around a LOT and just can't seem to find a solution anywhere.
so here's how it is. i connect to the internet on my PC through a LAN connected to a proxy server. so i bought a USB wireless adapter, and i used connectify to create a virtual hotspot. i rooted my phone and use AutoProxy (or sometimes ProxyDroid) to configure proxy settings. initially i wasn't able to use the net on my phone using this network, and everytime i tried to open a page on my phone, the wifi network would disconnect. after some tweaking i've managed to make the net work for the browser on the phone. however, everytime i try to connect to an https server, it says "secure connection could not be established". and i can't use the net for any of my apps, or for the market.
Click to expand...
Click to collapse
I dont understand why do you use other applications to use internet only on browser, there is alredy proxy setting on your i9003 unless you have flashed it with CM7. Use the Proxy settings on the Wireless settings to use internet on your browser.
Regarding other application I have also tried lots of other 3rd party apps like you but was not able to run internet on other applications and inbuilt browser also but then I see no point of using other app just to use internet on browser.
rocky_upadhaya said:
I dont understand why do you use other applications to use internet only on browser, there is alredy proxy setting on your i9003 unless you have flashed it with CM7. Use the Proxy settings on the Wireless settings to use internet on your browser.
Regarding other application I have also tried lots of other 3rd party apps like you but was not able to run internet on other applications and inbuilt browser also but then I see no point of using other app just to use internet on browser.
Click to expand...
Click to collapse
what im saying is that with the proxy settings in advanced wifi settings or with a proxy software like autoproxy, i can only access the net on my stock browser, and i am unable to open https pages, and when i say i cant use net on other apps, i dont mean other browsers, i mean just normal apps like chat clients and the market.
sandeepnongkynrih said:
what im saying is that with the proxy settings in advanced wifi settings or with a proxy software like autoproxy, i can only access the net on my stock browser, and i am unable to open https pages, and when i say i cant use net on other apps, i dont mean other browsers, i mean just normal apps like chat clients and the market.
Click to expand...
Click to collapse
it may/may not have anything to do with it, but is your USB wifi secured w/password?
sandeepnongkynrih said:
ok, so i've searched around a LOT and just can't seem to find a solution anywhere.
so here's how it is. i connect to the internet on my PC through a LAN connected to a proxy server. so i bought a USB wireless adapter, and i used connectify to create a virtual hotspot. i rooted my phone and use AutoProxy (or sometimes ProxyDroid) to configure proxy settings. initially i wasn't able to use the net on my phone using this network, and everytime i tried to open a page on my phone, the wifi network would disconnect. after some tweaking i've managed to make the net work for the browser on the phone. however, everytime i try to connect to an https server, it says "secure connection could not be established". and i can't use the net for any of my apps, or for the market.
Click to expand...
Click to collapse
1. why use connectify to create a hotspot? i mean as soon as you got your wifi adapter setup, you can connect to that wifi... no need for anything else, or do i misunderstand something?
2. proxy wise... do you have to start up the proxy each and everytime you want to use it on your pc or is the modem connected to the proxy? if its the latter, just setup the wifi adapter and connect to the wifi from phone, all done and set, no need to play around with settings...
3. if you have to start up the proxy each time you want to use it, there are other proxy apps, that create a connection to a proxy and you dont have to play around with settings, used some of them before, rather slow, but usually working... (i think i used GAE proxy)
4. VPN FTW
Jack_Random said:
1. why use connectify to create a hotspot? i mean as soon as you got your wifi adapter setup, you can connect to that wifi... no need for anything else, or do i misunderstand something?
2. proxy wise... do you have to start up the proxy each and everytime you want to use it on your pc or is the modem connected to the proxy? if its the latter, just setup the wifi adapter and connect to the wifi from phone, all done and set, no need to play around with settings...
3. if you have to start up the proxy each time you want to use it, there are other proxy apps, that create a connection to a proxy and you dont have to play around with settings, used some of them before, rather slow, but usually working... (i think i used GAE proxy)
4. VPN FTW
Click to expand...
Click to collapse
i create a hotspot because i want to use the internet i have on my pc on my phone. :/
supergaijin said:
it may/may not have anything to do with it, but is your USB wifi secured w/password?
Click to expand...
Click to collapse
yeah, i use connectify to create a WPA2-PSK secured access point.
hmmm, so regular http works, https doesn't work even though your wifi is secured, sounds like a browser issue. have you tried other browsers?
supergaijin said:
hmmm, so regular http works, https doesn't work even though your wifi is secured, sounds like a browser issue. have you tried other browsers?
Click to expand...
Click to collapse
yeps, same problem. and the biggest issue isnt reall ythe https websites, its the fact that i cant use apps or the market.
do you know anyone that owns a wireless router, so instead of a usb wireless you could use the entire internet wireless? that way, you could see if it's an issue with the usb or your phone.
supergaijin said:
do you know anyone that owns a wireless router, so instead of a usb wireless you could use the entire internet wireless? that way, you could see if it's an issue with the usb or your phone.
Click to expand...
Click to collapse
yeah i tried with a router, everything works fine with the router. the problem only occurs when i use a wireless card and connectify.
sandeepnongkynrih said:
yeah i tried with a router, everything works fine with the router. the problem only occurs when i use a wireless card and connectify.
Click to expand...
Click to collapse
it's possible that there's something wrong with the usb then. did you try to exchange it where you bought it?

[Q] Connect to OpenVPN + pem certificate + tap device

I want to connect my android device (nexus 7 2013) to an openvpn server which is not administrated by me, meaning I have no access on the configuration.
On my windows7-pc, I do this with the windows version of openvpn, the provided settings file for the openvpn server and the also provided pem-certificate.
Since the server uses the tap device of openvpn, alternative clients like openvpn for android by arne schwabe[1] don't work (this app doesn't support tap).
Since I don't have a private key file (*.key), I cannot generate a p12-file[2] which could be imported by the official openvpn app[3].
The pem-fileformat is compatible to *.cer and *.crt, meaning, I can simply change the file extension to "convert" them. The crt-file can be imported by the android systems (security -> import), but this doesn't help openvpn as it seems to only use it's own certificates.
Any suggestions on how to achieve a successful connection?
[1]: play.google.com/store/apps/details?id=de.blinkt.openvpn
[2]: blog.max.berger.name/2010/01/pem-fromto-p12.html
[3]: play.google.com/store/apps/details?id=net.openvpn.openvpn
wifi
i think if you have ICS_P740AV1.0.0B07 + you can't find open hot spot and if you can see you can't connect.
Try to make one hostop secured with wpa2 and try it.
k0tsompakos said:
i think if you have ICS_P740AV1.0.0B07 + you can't find open hot spot and if you can see you can't connect.
Try to make one hostop secured with wpa2 and try it.
Click to expand...
Click to collapse
Whoa, i only understand half of it
I have android 4.3 JSS15Q rooted with flo (?). I have superSU and Busybox installed. I followed the default instructions of the nexus root toolkit. My wifi is connected for sure, but it has blocked ports (which is the reason for all this). However, since I'm failing at an earlier stage, and, since it works from my pc from the same network with the same openvpn on the same ports I suppose the error is not in the network settings...
The wifi i'm connected to has wpa2+pkip etc. but I'm not sure how this is relevant...
rom
you have installed a custom rom?
you have try to enable and disable airplane mode?
you have data conenction?
k0tsompakos said:
you have installed a custom rom?
you have try to enable and disable airplane mode?
you have data conenction?
Click to expand...
Click to collapse
I have stock android rooted. I only have wifi and the connection works perfectly, I tried rebooting the device, I consider this counts as "dis/enable airplane mode". I have good wifi signal strength.
I have no issues accessing websites over port 80/443, only the blocked ports don't work. The openvpn server is reachable on port 443 (it works from my pc).
Hello,
did you ever manage to solve this? I'm looking to configure my nexus 7 2013 to connect to an OpenVPN server using TAP and it doesn't seem to be working. I'm using OpenVPN settings with certificate-based authentification. I'm able to connect to my server, however I don't get a local IP address assigned and when I browse the internet, my IP is still showing up as from the original connection instead of the VPN endpoint. Computers with windows 7 can connect to the server no-problem and all their traffic is directed to the tunnel. Any ideas for guides and walkthroughs?
Thanks. Any help is very much appreciated.

Categories

Resources