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

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 ...


3

If you want to modify only one configuration file from MS Windows there is a very simple way. Default Raspbian has two partitions: one boot partition formated as fat and the root partition with all files for the operating system formated as ext4. MS Windows can only access the fat partition but you can easily symlink to a file on the fat partition from ext4. ...


3

Try booting a live CD on your laptop. That gives you a Linux system that can edit anything on any Raspberry Pi SDCard. You can get a live CD from: https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ which has the look and feel of Raspbian running on your Raspberry.


2

Here is what appears to be the client app. Seems to be free. Using a VNC viewer app such as this one rather than RDP is another alternative.


2

You've got a USB reader. Get a second SDCard for your Raspberry, build Raspbian on that second card. Boot that in your Raspberry. Mount the first SDCard in the USB reader, mount the USB reader in your small board Linux computer (which can perfectly read/write/update (or otherwise destroy) any SDCard that it sees as a /dev/mmcblk0 or /dev/sdX device. Using ...


2

As @Dougie recommended, i was using Live linux to roll back the /etc/network/interfaces file on the Pi's SD: because i had no USB stick, or not even a CD/CD-rom I was using an USB SD reader and old 2Gb SD card with the amazing LinuxLive USB Creator and PuppyLinux: Tahrpup 6.0 CE using the following commands: blkid - command-line utility to locate/print ...


2

@Dougie's answer should allow you to edit your /etc/network/interfaces file. But since you asked for "quick solutions", there's none quicker than simply re-installing the OS on your SD card.


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 ...


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

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

I think @Dougie's comment is a good approach. I don't know that there are any open source or 'free' Windows programs that will write to Raspbian's ext4 filesystem. A quick Google search (you did try that, didn't you?) has at least one link to a commercial product that claims to support writing to an ext4 file system from Windows, the "Partition Guru" NOTE: ...


1

If you wanna use an Android OS, I believe you are better off just invest on any Android TV Box. If you are familiar with kodi to stream TV channels on a computer, then you certainly can do the same thing with kodi on an Rpi running the Linux OS. Afterall, an Rpi is also a computer.


1

Get Oracle Virtualbox (it's a free download from https://www.virtualbox.org/) get Debian Stretch X86 (32-bit) from https://www.raspberrypi.org/downloads/raspberry-pi-desktop/ and boot that in a Virtualbox.


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/


1

If you have your backup SD card, or can burn your image to any SD card, you can also use open source tool ext2fsd to access it.


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