Hot answers tagged

4

Taking from another answer of mine, the socat utility provides a convenient way to create this kind of "one-off" servelets. Your use case is very appropriate for this utility. socat is part of a suite of network "swiss-army-knife" tools along with nc(netcat) and ncat socat can be used to listen on a port, and run a command whenever a connection is made. ...


4

Here's a quick and dirty sketch to get you going. All you need to do is plug the devices into the switch, then add appropriate IP address information to all of the hosts. After that, you'll be able to communicate to/from the PC to the Pis, and the Pis between themselves. ------------- | | | PC | ...


3

I tried various tutorials, but the results were always too slow to be useful. (took 20 mins to boot, took 1 min to register a mouse click, 10 minutes to open Windows Explorer, etc) Then I discovered PINN has a pre-built image that emulates Windows 98 at a usable speed. (boots in less than 3 min, mouse click register in 5 seconds, 2 min to open Windows ...


3

Quite simply the answer is Ubuntu. The others don't work on the Pi.


3

It's not possible. Win10 IoT only works on RPi2B & RPi3B. There's a beta version for RPi3B+. There's no version for any of the RPi4B models.


3

They key is this message debug1: Authentications that can continue: publickey The server is configured to accept only publickey authentication. If you can't connect a display to the Pi and login locally, you can always download a life Linux system and boot it on your PC. Anyway, look at the sshd_config on the SD card and make sure that password ...


2

If you want provide files to clients then you want Windows as SMB SERVER: If you want your RPi to access to an SMB server, then you want RPi as SMB CLIENT (testparm, smbclient, nmblookup ... and other binary are provided when you install samba package): Adapt according to your needs ... If you want to use a name in place of an IP address for the network ...


2

First there is no need to worry about the used ethernet cable. It doesn't matter if you use a straight forward or a cross over cable. Nearly all devices since years are able to detect this including Raspberry Pi. Because it is unclear what you want to do, I can only give some general ideas. What does it mean "sending a datastream"? Do you want to send data ...


2

I don't know CentOS/Fedora but it is very likely that these "unknown" partitions contain an ext4 filesystem, the default filesystem on Linux. The first readable partition is the boot partition, containing essential system files like the kernel, firmware and drivers. It is formated with a fat filesystem which is also known by MS Windows. But this should not ...


2

I've tested this today with the current image (image dated 2019-04-08), and it does indeed still work. The file should be named either "ssh" or "ssh.txt", and put in the (first) partition which shows up as named "boot" - but not in a subfolder within this. If you see kernel7.img and cmdline.txt you're in the right place - it goes along-side those, and ...


2

You (mostly) can't, despite the availability. WINE is not a real/conventional emulator (hence the recursive acronym, "Wine Is Not an Emulator"). It translates Windows API1 calls into POSIX (Portable Operating System Interface), with which Raspbian and GNU/Linux generally are compatible. However, it is starting from already compiled machine code. Machine ...


2

Windows is not supplying these addresses. This feature is called link-local addressing. This self-addressing is a built-in part of the network stack. You can read the full details in RFC 3927. Each network interface generates the same IP address each time because it is based off of the interface's MAC (Layer-2) address (amongst other things), which is ...


1

Depends- are you thinking of a Pi-zero or a 4Gb Pi-4B? There is a big difference. You mentioned "system requirements"- Who or what is asking for these requirements? If it's a teacher, ask them if the latest Raspian will be satisfactory. Raspian is a "fork" of Debian, just as Ubuntu 18.04 is. As well, Raspbian is configured SPECIFICALLY for the ARM ...


1

It might be the question of a lot of amateur people in Raspberry Pi. The processor is important if you want to run different OPERATING SYSTEM. There are some limitations. As an example, it's better to install OSX on Apple products instead of Windows. The OSX is fit on the processor of Apple products and is much more compatible. The same on Raspberry Pi ...


1

I have seen a test of the pi 4 speed compared to a 3b+, and using an SSD, SD and a flash drive as store. And to be fair, the pi 4 with SSD seemed to be a bit sluggish as a desktop Debian, so why would you want to try it with windows 10? But the answer to your question, HW wise it could run it, SW we need drivers and what not to work.


1

Thanks to everyone that answered, but I've already found a solution. I used rdektop and systemd . I created a service called remote.service and configured that file to if it closes or exits it starts again. Install rdesktop and then create a service like so: sudo nano /lib/systemd/system/remote.service [Unit] Description=Remote Desktop [...


1

UART is an odd choice for connecting two computers. It's definitely possible to use it with a bit of programming, but don't expect there to be many pre-existing options in terms of software. If you use any kind of network as a connections, there are many tools which allow you to forward keystrokes over the network, starting with USBIP (which forwards data ...


1

Thank you for taking the time to reply. I wanted to connect through SSH, VNC and FTP, no communications were getting through on any platform I tried. I searched a little bit longer online before stumbling on a Reddit post that did the trick. I use Nord VPN on occasion apparently when the application itself isn't running, this setting affects the services I ...


1

As noted by comments there is a DHCP server running on your internet router (the box) but it is unclear what ip addresses it serves to connecting devices. This is important if you use static ip addresses. There are many other devices on the network. The DHCP server does not know anything about the static ip addresses and may give them also to another devices....


1

It really comes down to architecture and how your code is written. Your question is not very precise. Do you want to run C++ on raspbian? Or do you want to actually use the raspberry Pi as uC? If the first option is the case: Just try to compile the source code on the Raspberry Pi. If the code was written with arm architecture in mind sure you can compile ...


1

I recommend to use ssh for this. But if you want to do it with pings, you could try it by using tcpdump. while true; do sudo tcpdump -i wlan0 -c 1 icmp and host 192.168.4.67 and 192.168.4.1 && yourCommand sleep 1 done The tcpdump command will exit if icmp (ping) is send between 192.168.4.67 and 192.168.4.1, which should be the ip ...


1

You wrote in a comment: "I want to share the Pi's internet connection with the PC". At the answer to the question you have linked I find: "5. Now your Pi will obtain an IP address from your PC and can access internet through your PC". This is not what you want, you are using the wrong setup. Because you use a Raspberry Pi 3B I assume you are connected to a ...


1

I suspect the problem will be the program was built for x86 based computers and the pi is arm based. It won't run unless you virtualize the hardware as well. On the image you've used have you ran apt update/apt upgrade on there? Perhaps it broke something. If you google the error message it's giving you theres quite a few results that come back about the ...


1

You need to read this thread: Raspberry pi cluster to run Win.10 The first answer states: You can run Windows 10 on ARM but that sentence needs to be qualified with a big JUST. See https://www.windowslatest.com/2019/02/1 ... erry-pi-3/ for some details. Legality is in the air at the mo. Windows Insider membership is a requirement (available free ...


1

I found out when using the mount -t cifs command with Windows 10, if you don't use the vers option it will not connect. so I'm betting with this option it will connect (hopefully): root@osmc:/mnt/Video# mount -t cifs -o sec=ntlmv2,username=YourUsername,password=YourPassword,vers=2.1 //192.168.11.40/video /mnt/Video If still not, try changing the vers from ...


1

You might use from Windows cmd: scp pi@'rpi's ip address':text.txt text.txt In this case you don't need an SSH server on Windows, because you use the Raspberry Pi's SSH server and actually send a receive command. Example on my computer: Windows cmd: scp pi@192.168.0.104:rpi_testfile.txt rpi_testfile.txt Then I have rpi_testfile.txt on my computer.


1

you can use: GPIOSimulator This Raspberry Pi emulator simulates some of the functions used in the RPi.GPIO library (using python). The intention of this library is educational. https://pypi.org/project/GPIOSimulator/


Only top voted, non community-wiki answers of a minimum length are eligible