I've found a way to connect Wi-Fi via barcode. For example I can generate a barcode with the content below:
WIFI:T:WPA;S:mynetwork;P:mypass;;
Then I'm able to connect to it.
But is it possible to also set other Wi-Fi settings like static IP or DNS Server?
Related
Link to image
I can't embed image yet because I don't have 10 reputations so I posted link instead.
If I change IP to 192.168.1.x, I can access to camera but not to the Internet.
If I keep IP to 10.240.33.168, I can access to the Internet but not to camera.
Is 10.240.33.168 your public ip address?
You shouldn't post that here.
Your router gives you a private ip address the same way that it gives your camera a private ip address.
I didn't quite get your question. Are you trying to connect your pc to your camera? Can't you just use the private ip address you already have?
If you need to access both IP camera and internet, you could configure your network adapter to use 2 network addresses.
In adapter settings, in Windows, where you define you define your static IP address, click the "advanced" button. you will be able to configure a second IP address for the same network adapter.
I have solved this problem by requesting IP address for the camera.
Thank you for answering.
Okay. I really didn't know how to explain the question in title. What I actually want to do is this:
Suppose a device is connected to WiFi, i.e. it's on LAN. It would have a private IP address like 192.168.xx.xx like that. What I want is my (android app/or technically general way) program to have access to that IP and display some info on it, like a webpage or maybe live screen of the device itself?
For ex: http://192.168.0.105:5901/thisScreen would stream live screen of a mobile device. This URL can opened by any device connected to LAN. How do I achieve that streaming access on that particular IP address assigned to the device? (Assume I've control to everything).
How do I even begin for this? Networking? How do I implement it? Any references? I tried to Google my problem but didn't find any help.
Since you ask in general, what you want is to serve sth on a lan ip ex: on 192.168.1.50:80 and that is available to everyone on the same lan to be precise in 192.168.1.0/24 right?
Well if you haven't done any configuration such as subnets smaller than /24 that is what happening by default.
To confirm that run a web server an nginx for example on a local machine and visit the ip of this machine from another device on the same lan, you will see the default page of nginx.
So the only thing you have to configure is a service to run on a local machine and serves sth.
I am currently working on a hobby project where I am using a PIC controller and a sim900 modem for remote monitoring, over a GPRS connection.
I can upload data from my remote device on to the server in regular intervals.
Now I would like to send some control signals to the device from the server, but how do I find which device to send data to? I need to know the IP address of the device which is assigned dynamically.
Is there a static IP on GSM modem, or can anyone please suggest a solution for this?
You need to contact your service provider(SIM card providers) to assign a static IP for your SIM card.
Other option is you have to develop a simple application layer protocol for data transfer over TCP/UDP in which once the connection is established your modem should send its identity(Name/ID etc.)
On the server side you need to write the code in which you have to maintain a dynamic table of modem details and socket number. When the modem is connected you can send data over the same socket for control commands.
I am trying run TCP Listener in internet PC, So its get dynamic IP address from the internet provider.Each time the IP address was dynamically changed. So Its need static Ip for the connection. Static Ip cost is very high. So How can i know the ip changed in my PC from the internet provider or else any other solution?. Any notification c# api for dns ip changed.
If you need an outside client to connect to your dynamic IP, you could use dynamic DNS updates. Google for dyndns, for instance. If you really want a static IP, use IPv6. You'll (probably) need to create a tunnel for that. There are a few providers that provide that service free of cost.
i have an android application using webservice which is working fine from inside a network. i mean, if both mobile and computer are connected to the same network, i can run the app perfectly, but if i change network of any one of it to another network then, 'cannot establish connection to server' error is shown.
What i want is to get an ip from which i can acess the app from any network
this is how my connection code in the android application looks like
mWebview .loadUrl("http://192.193.194.195/Application/startpage.php");
please give me step by step instructions, i searched for it a lot, but i couldnt find a good answer for my level 0 networking knowledge :)
Thanks
You have to host the server on a public IP address where every network can see the server.
Then you have to use the external/internet ip addres of your router. Find out with http://whatismyip.com Then on your router forward port 80 to your pc with ip 192.193.194.195.