I have looked on the internet but unable to find a solution that would fit my requirements and was wondering if someone could either direct me to a solution or guide me towards making a customized solution.
So here is the scenario, we have a machine that runs a screensaver. Occasionally we are required to update the file on the machine, the trouble is that a person has to go there physically to update the usb. is there a way to allow remote access (via the internet) to a usb storage device to update files?
It depends on the operating-system and network-conditions, but you should be able to connect to the machine via SSH and remotely access the USB-drive.
https://askubuntu.com/questions/50104/how-do-i-access-an-external-drive-mounted-on-a-machine-on-my-own-network
I hope that's enough to throw at Google combined with your specific environment.
Related
I am not able to clearly understand the concept of ROS_MASTER_URI. Can someone kindly help me with the below?
I have two systems. One robot which runs on ESP32 and connects via WiFi. I want this to be the slave device. On the other hand, I have a laptop which I want to be the master. I have followed a lot of tutorials and finally able to get it working, but the issue is if I change the network, what will happen?
On the ESP32, I have below code:
IPAddress server(192, 168, 0, 110); // ip of ROS server -> the laptop
On the laptop, there is still no ROS_MASTER_URI setup in bashrc file. I have manually checked the IP of the laptop and added that in ESP32. Now, how is this done? Every time the IP address of ROS changes in master, the same IP should be given on the slave device? This means, I need to reprogram it every time I go to a new location?
Secondly, what are Host names and ROS_IP used for? Will they help if creating an alias which I can give to robot?
In simple words, I do not want to open and reprogram the robot slave device every time I take my laptop to a new location. I should be able to change the IP on the laptop and somehow (magically :) work on the robot. Any help is extremely appreciated as I am struggling to get a solution from a week.
-Praveen
This page has the details for the environment variables that you ask.
As far as I know, you need to update the ROS_MASTER_URI in both devices to the IP used by your machine, otherwise, none of the systems will be able to find the master.
The ROS2 might have a better solution for what you want, as it already has that network thought for distributed systems.
If I am to make an online backup using the neo4j-admin backup tool remotely, as is advised by Neo4J, I have to open a public IP and the backup port on my Neo4J application.
However, I don't see neo4j-admin asking for any login credentials, basically making it possible for anybody to access the server and copy all the data while the port is opened.
There is no setting inside the neo4j.conf that would only accept backup requests from a certain address.
So what does it mean? When the online backups are done remotely, as is advised, the database may be vulnerable to somebody else just copying all the data.
I didn't find anything in Neo4J documentation that addresses this flaw (only a warning) and it looks like in more than 7 years that this feature has been available as a part of the commercial enterprise version there has not been any solution offered for this.
What do you do to protect the DB then? At the moment the only solution seems to not back it up remotely, but that causes additional stress on the server and is not the best solution. Plus the online backup is not stable when done locally for large DBs. Another solution could be to only open the port remotely via some kind of API to the server, but that may still be exploited if somebody figures out the time frame when the backup is made.
The documentation states that ne04j-admin must be invoked as the neo4j user. That is the user that owns the neo4j executables and the databases. So the security is handled by the OS login and the file permissions should be set to prevent unathorised access to the neo4j directories/files including the neo4j-admin executable.
We would like to install Cytoscape on a server (Windows or Linux) and allow multiple users to connect simultaneously using a client software. Is this possible, and if so, what are requirements in regards to the server and the client software?
Certainly that's possible. There aren't any particular requirements, but keep in mind that for large networks, Cytoscape likes lots of memory. At any rate, we use X2Go on our Linux servers and it works really well for Cytoscape. Keep in mind, however, that a CytoscapeConfiguration directory will be created in each user's home and that apps and configuration information will be stored there.
So I have been looking every where, and so far i haven't been able to find anything that allows me to ssh from an iPhone app, and have finally resorted to posting a new pos.
So I am trying to make an app to manage servers and part of the tasks that I need to be able to do it to be able to some how remotely connect over the internet to a server with either an ip address or a DNS name.
The connection to the server does not necessarily need to be a SSH connection, it could be a telnet although because of the security issues i would prefer SSH (if it is a lot less code I would accept telnet), but on the other hand it could be some other type of connection.
The application just needs to be able to run a script on the server end and if a SSH or telnet I would not need any help but if some other type of connection i may need a bit of help. Also the server on the other end is intended to be linux server (either ubuntu or gentoo, but not sure which yet but all i can say is will almost certainly be a linux server operating system).
I have already looked at the libssh/2 and would welcome any other similar demos as have not been able to work out how get the frameworks to work as well as licensing issues with using the frameworks in it.
PS. I am relatively new to programming and although i have some basic knowledge of coding some type of tutorial or sample code would be greatly appreciated.
Many Thanks For Any Help
Thomas
SSH is a hugely complicated beast. As long as you only need to execute one command without interactivity, it sounds like you could achieve the same thing by running a web server on the server and posting the commands via HTTP from the device. You can use SSL to achieve security. You'll need a mechanism that allows you to authenticate the device (you'd need something with ssh, too). And you'll have to have something in the web server on the server that figures out and runs the desired script. But all that is still hugely easier than dealing with libssh.
Hie members! ----am Boniface M - - a beginner in android[University student]..
My question is am planning to develop an android app/middleware that will act as a grid service .i.e an app for grid computing.. the application needs to be installed in 1....n devices. in the connection, one device must act as a server for all others. communication between the devices is via the wifi under the permission of the server device.which is determined by a certain algorithm[no problem here].
The problem is should i use a database that will keep track of all the services a device is running which are accessible to other devices or is there any way that i can directly keep all this information and then retrieve them as i request them from another app installed in another device.
and also how i can share files via wifi like blutooth
Thanks....
You're asking many questions in one and I'm actually unsure what you mean overall. Here's a few links that are sure be of some use...
http://developer.android.com/reference/android/os/Build.html This library is good for finding out information about the device you're running on.
http://developer.android.com/reference/android/location/Criteria.html - Criteria might be useful, lets you know what location based services you have running
Other than that, if you're looking to see if particular things are running check out this question: How to check if a service is running on Android?
If you're looking to keep a central hub of what devices have what available etc. you're going to need a middle man for what you want to do I suspect. If it was me, I'd do HTTP requests to a server, to php scripts I have written which would then read/write from a MySQL database to get information about other devices.
If you want to share files via wifi.. you're going to need an FTP server on the phone. There's an app swiFTP which does this to some degree (phone -> PC) but the concept should be the same. Take a look at it. It's a starting point! http://www.tested.com/news/how-to-transfer-files-wirelessly-to-your-android-phone/53/
Again, I'm unsure EXACTLY what you're looking to do but hopefully all of that is of some help. If it's not leave me a comment and I'll try and assist you further.
hope it helps!