I study in a university where all of us have an id/password combination to use the internet. Is it possible to connect Google Glass to such an Enterprise WPA 2 network? If yes, how? And if no, is there a solution for this?
It looks like you can't connect to WPA2 Enterprise as of yet with Glass. For now I'd submit a ticket to Google through their issue tracker if I were you. Glass Issue Tracker
EDIT: Because WPA2 connection isn't a developer issue you should contact the Glass team here instead: Glass Guide Team Support
The only way I was able to get this to work was to find a cheap router, connect it to the wired network, and then associate Glass with the router's network (which you have set up with WEP or WPA or nothing).
I have also used the "share my internet connection" feature in OS X to share an ethernet connection over AirPort.
...I hope someone chimes in with a better answer, but hopefully this might be enough to get you started?
For a quick test, you could turn on Portable Wi-Fi hotspot on your smart phone and connect that way. This can only be a temporary measure really, because you can't simultaneously connect to your University Wi-Fi so you would have to use your own data. Not a permanent solution, but OK if you want to do a quick test.
On the other hand, there does seem to be a Glass app you can install here as a work around.
Another alternative is to check if your University has a "guest" network, which is usually a standard connection (i.e. not Enterprise)
Related
I need to get all PCs IP-adresses in my local network. How should I properly do that if I can using QtNetwork?
I tired use
QNetworkInterface::allAddresses();
QNetworkInterface::allInterfaces();
but it's definently not what I need.
P.S.
I need get IP's to able connect to some Postgresql servers, is there some Postgresql driver features maybe to make things easier?
What you need is called "Network discovery". There's a lot of different approaches each dedicated to a specific subdomain. The approach of the lower level is called ARP, Address Resolution Protocol see a nice tutorial e.g. here http://tournasdimitrios1.wordpress.com/2011/01/26/discover-your-local-network-with-arp-scan-on-linux/ . If you need a service discovery then you probably should go with ZeroConf & friends http://doc.qt.digia.com/qq/qq23-bonjour.html
Does anyone know how to remove a WiFi network from Google Glass? My WiFi at work wants you to consent to a privacy policy which Glass can not accept so I don't get a data connection. When I tether it to my phone, it keeps reverting back to the work WiFi network. Any suggestions?
There's a few things you can try.
1) Go to Glass ->> Settings -> Wifi -> Forget.
2) In the My Glass app, pair your device, select Wi-Fi, select the network you want to use.
3) Good Old Factory reset.
Also, as per a commenter above - this Doesn't belong here at all.
For questions such as this, your best bet is to contact one of the Glass Guides, either by email or phone. They can talk you through the process or help with any other problems you may have. Make sure you have your ID ready (the one they sent you as part of the invite).
We are developing win-mac file sync installer which is quite similar to Dropbox. The installer is built with c++ and QT. We had a use case, where if the internet is disconnected(plugged out network cable (or) not connected to any wifi) so basically no access to web, During this case we need to make the installer into offline.
I tried few approaches like polling continuously to our web servers. If we are not able to reach then we detect as internet dis-connectivity. Due to some reasons we wanted to have clean native implementation which will look for machines network connectivity.
I even tried http://msdn.microsoft.com/en-us/library/aa965303%28VS.85%29.aspx for windows but this is failing in wifi cases even though we don't connect to wifi this example is saying "Network connected".
Can anyone suggest other alternatives. Platform specific solutions also invited.
You probably want to look at INetworkManager::GetConnectivity, and check for NLM_CONNECTIVITY_IPV4_INTERNET or NLM_CONNECTIVITY_IPV6_INTERNET in the response.
I'm building an app which upon login will connect you to certain ip addresses of which will also be running the same app.
The method of which i believe i should be using is direct tunnelling but as i say im a little new to c++, i have general coding skills, and i have sifted through a lot of forums and sites yet im still very unclear on what the best way forward is to achieve the requirement.
The reason for the connection will be to enable a secure chat, file transfer, and update software auto when connected to the program admin.
All those that have the app installed will once authorised, will be connected to admin client, then from that client all available ip's to connect to will become available to slave clients, this will increase the network size avilable to all users.
so the app needs to be able to handle ports but not via a server, instead it would be direct.
The connections also must ideally be encrypted.
Im kind of looking for what the application RetroShare does, but in text app.
(This is using C++ within Dev C++)
so just to recap, What method should i use to achieve the above?
I would take a look at SDL net to start with, its really simple to learn if you have never done any socket programming before.
for a secure connection you will probably want to start with TCP and then once you get the hang of network programming, start looking at other protocols.
Hope this helped! and good luck.
Windows knows when you have removed the network cable from your NIC. Is there a programmatic way to determine this via API in C++?
Note: I am not using .NET and this is for a closed LAN (not connected to Internet ever)
Raymond Chen blogged about something similar recently. Here is the relevant documentation. I think the MIB_IPADDR_DISCONNECTED flag is what you are looking for.
Use the Network List Manager api with the INetwork api.
You can register your app to receive callbacks when networks become connected/not connected.
Or you can get the list of networks and then check each of them to see if the machine is network connected or not
Remember that a windows machine will often have multiple networks set up (Ethernet, wifi, etc)
Remember that just because a network is connected, you may not have access to the internet. Eg you could have DNS or routing problems. Or you could be on a working network that is not connected to the internet.
Due to the above, many diagnostic tools also connect to a "known-good" internet server if they want to really know if they're connected or not. Something like google.com -- they spend a lot of money to make sure that their site is up all the time.
Finally, you can also have a semi-connected situation where packets are getting through but not enough to really enable communications to flow. To test this, don't just ping an internet site since that'd only be a pair of packets. Instead, open a TCP connection or something more than a ping.