My case is the following: I will install some prototypes connected together with wifi (one device is the AP) in a distant site. I'd like to be able to remotely connect to my network for avoiding to travel.
As there will be 4G networks available there, I was wondering if a simple solution could be to have a smartphone connected to my wifi network, and use it to forward ssh client requests through 4G connection.
I have no idea if it's possible, how/depending on network operators, if there are standards and software (preferably android) for doing so.
Sorry it this question remains a bit vague, but any pointers would be appreciated.
There are also some 4G boxs that provide internet as wifi AP. I could change my network to connect to it, but I have no idea if I can reliabily get an address to this.
Thanks for your help.
A VPN server might be an option. Like DD-WRT on a router, or your own dedicated VPN server.
Related
I'd appreciate some help with thinking through a problem. On a local network, I have:
A raspberry pi with some server software on it
A separate computer running an electron app, which is supposed to talk to the RPi through websockets. The user enters the IP address of the RPi into the app, and a connection is opened.
I need a good way to secure communication between this electron app and the RPi. I've looked into using SSL/TLS with secure websockets, but it doesn't seem like this is a good idea (feel free to tell me otherwise)
Has anyone implemented something like this or encountered a similar problem? Any suggestions are greatly appreciated.
After webrtc passes by a signaling server on Internet, how it works when two machines are running in the same network?
The data will be exchanged only on the network or will it still use internet ?
I am asking this because of our internet is not good, it's too slow. but our local network speed is very fast.. So I would like to know if the internet signal will affect the audio and video conversation.
Thanks a lot!
Depending on the network configuration, the devices should connect directly over the local network. Please note that some browsers, such as Safari, may not share with the signalling service local ICE Candidates unless configured to do so (false concern over sharing network info). The devices must share local ICE Candidates, or else they will still stream via the external network or a TURN server, if available.
I was going through this PubNub WebRTC demo. https://kevingleason.me/SimpleRTC/minivid.html
Which works fine within same network (same browser or different devices across same network). But I tried using it over internet, I am able to connect a call but can not see anything but a black screen. This is the source for same tutorial
https://github.com/pubnub/SimpleRTC
I have gone through many such application, such as AndroidRTC
and I face same problem (black screen after connection over internet). I am unable to figure out why, any help is appreciated.
You need some sort of signaling mechanism (PubNub, Firebase, or your own software [nodejs seems the preferred choice these days]) to get the webRTC API communicating P2P on your local network. To get webRTC to work from one network to another you need a STUN server/service. Google provides free stun servers (stun:stun.l.google.com:19302). To get webRTC to traverse strict firewall settings and complicated networks you need a TURN server/service like xirsys.com.
This article covers it all ...
http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/
I have about 100 raspberries, each of them installed in place without ethernet connection, so they have to transmit data to a main server with a 3G modem dongle. When the 3G connects the ISP gives a dynamic IP.
I have a solution of SSH reverse tunneling (explained here http://www.thirdway.ch/En/projects/raspberry_pi_3g/index.php) but I can just connect to port 22, and in the main server I have 100 different ports for each tunneling ... a nightmare.
Also I can not connect to other ports if I need, just 22.
About dynamic IP I know the "dyndns" (or similar) solution.
Is there any nice solution to operate with all of them easily, and can connect to ANY port ?
I would like to do things like:
install munin (I need 4949)
connect to myraspberry45.mydomain.com to 80
... or 22 if I want
...
Any idea?
There could be other solutions which would be more complex. Though,In the beginning going with ethernet cables you might feel a little bit messy, you will eventually find them very reliable and simple. (obviously not in the physical sense.) Nevertheless, this should help. Raspberry Pi Cluster
I have a piece of software I have written that talks to a web service over it's Wifi connection on a Casio WinCE handheld.
Unfortunately the Wifi network and the network created by WMDC (or ActiveSync) to host the debugger connection clash, they are both 192.168.55.0/24. So I can't have them both connected at the same time.
Does anybody know if you can reconfigure WMDC to use a different address range?
I've hunted through the registry but can't see anything obvious, and Google is not turning up anything useful.
Thanks,
James.
Is the development PC on teh same network as the WiFi connection? If so, I'd abandon ActiveSync/WMDC altogetehr and just use ethernet debugging over the same connection that it's using for the web service calls.