Skip to main content
Share Your Experience: Take the 2024 Developer Survey
9 votes
Accepted

How can I replace Raspian SSH host keys if I can't login to pi? ("connection refused")

HOW TO REPLACE SSH HOST KEYS ON RASPBIAN W/O BOOTING INTO IT Note: I had this happen with a recent download and install of Raspian full... it occurred on a headless pi zero W and a headless pi 3B+. ...
clearlight's user avatar
7 votes
Accepted

Raspberry Pi 3 isn't finding WiFi Networks

You could try executing the following through the command prompt: sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo rpi-update sudo reboot wait for reboot sudo branch=next rpi-...
Dylan's user avatar
  • 411
7 votes

Connection between Raspberry Zero and Raspberry Pi 2 or 3

A USB OTG connection seems like the best option here. It will be much faster than about any alternative (certainly faster than I2C or UART), and with the g_ether driver you will be able to use it as a ...
Dmitry Grigoryev's user avatar
7 votes

Connection between Raspberry Zero and Raspberry Pi 2 or 3

By far the easiest options for moving large amounts of data between Pi Zeros and other Pis are USB OTG, which has already been covered by Dmitry Grigoryev's answer, and ethernet or WiFi. While USB ...
goobering's user avatar
  • 10.7k
7 votes
Accepted

Connect Android smartphone with Wi-Fi Direct to a Raspberry Pi

I have tested this with some different smart phones using Android 4.0, Android 6.0, Android 6.0.1 and Android 10, but mainly used the last one. I cannot give all examples so I will only use a ...
Ingo's user avatar
  • 42.2k
6 votes

Can't detect a raspberry pi scanning my local network

You already reduced the setup to a minimum to locate the error. That's what I would suggest. But there is still your network environment involved. You can try to use a wired direct device to device ...
Ingo's user avatar
  • 42.2k
6 votes
Accepted

Couldn't ssh to my Raspberry Pi - "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!"

If you installed a new OS it has a new key. Any existing connection history on your computer is meaningless. Delete it! If you create a ~/.ssh/config you can disable StrictHostKeyChecking. I use the ...
Milliways's user avatar
  • 60.3k
5 votes

Ethernet and wifi together

I have read through this post, I don't know how many times, but just today I noticed: autho eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.0.51 netmask 255.255.255.0 I know this is ...
Mr. Ned's user avatar
  • 51
5 votes

Raspberry Pi 3 - internal Wifi wont connect to network

I solved the problem. First I updated my settings as suggested in the link that Miliways provided in a comment in my original answer. That alone didn't solve it, what I actually had to do is change ...
Virus Ex's user avatar
  • 141
5 votes

Unable to apt-get update but connected to internet?

You could also try and ping 8.8.8.8 to see if you are actually able to get packets out to the internet. If you are then check your DNS settings as per cat /etc/resolv.conf You would expect to see ...
TechnicallyTroubled's user avatar
5 votes
Accepted

Not able to connect using Windows Remote Desktop Connection

The RPi and the PC need to be in the same logical network, which they are not. The computer is in the 192.168.225.0/24 network, and the Pi is in the 192.168.137.0/24 network. You need to change ...
stevieb's user avatar
  • 1,456
4 votes
Accepted

Building a simple DIY rc car, am I missing anything?

Does your motor driver support controlling 2 motors? Have you thought about talking to your motor driver(from the Pi)? keep in mind the Bluetooth does use up the Pi's UART! (see comments for more ...
mystery's user avatar
  • 518
4 votes
Accepted

Connecting two Raspberry Pi's via Ethernet

The simplest way to hook up the two Pi's is to have a cat5e/cat6 cross over cable of sufficient length configure each Pi to have a unique static IP within the same network by editing the /etc/...
Shreyas Murali's user avatar
4 votes
Accepted

Connecting Raspberry Pi to a photo frame

The Raspberry Pi DSI (Digital Serial Interface) connection. The problem is that not all LCD/TFT screens use the same implementation. DSI is a simple interface but the LCD/TFT controller needs to work ...
Piotr Kula's user avatar
  • 17.3k
4 votes

How can I connect 5 Raspberry Ppi's?

The obvious way is to use the Pi's Ethernet port and network them with a switch or router. Using the GPIO will be far more complicated and much slower. This question has nothing to do with the Pi in ...
joan's user avatar
  • 71.1k
4 votes

SSH connection refused even though ssh file is in /boot

I had the same issue, I just renamed my SSH file to ssh (all small). and yes you've to do this before your first boot
Arkil Shaikh's user avatar
4 votes

Using /dev/rfcomm0 in raspberry pi

You have to perform several steps in order to establish communication. You have to pair your desired bluetooth device using bluetoothctl sudo bluetoothctl -a scan on devices pair XX:XX:XX:XX:XX:XX ...
kwasmich's user avatar
  • 2,702
4 votes
Accepted

Clients cannot connect to pivpn server anymore

Well I found the solution for me - hopefully it helps you too! Found that /var/log/openvpn.log on the RPi had the line "VERIFY ERROR: depth=0, error=CRL has expired" Searching that gave several ...
cometfish's user avatar
  • 156
4 votes

Is this Solenoid Connection Correct?

"Houston, we have a problem"... Just as an aside, and before I try to provide some answers, I should tell you I am really NOT very keen on troubleshooting project designs and blog posts that people ...
Seamus's user avatar
  • 22.2k
4 votes
Accepted

Raspberry PI Laptop Ethernet Connectivity Issue

This is not a question belonging to Raspberry Pi. It is a problem with MS Windows. But because it is an often seen problem together with Raspberry Pi I will give a hint. Raspbian uses a Link-local ...
Ingo's user avatar
  • 42.2k
4 votes
Accepted

Unable to get IP address of Raspberry pi to connect via Windows remote connect

I borrowed the RPI 3B from a friend's friend. hence I don't know the hostname so that I can ping the RPI to know its IP address. Raspberry Pi is a board without any internal storage hence it doesn'...
M. Rostami's user avatar
  • 4,333
4 votes

Reaching my Pi with MDNS (Avahi)

In the avahi.conf: #allow-interfaces=eth0 Needs to have the # removed, restart the avahi service, and that fixed it for me.
Jay Datema's user avatar
4 votes
Accepted

Connect WiFi and Ethernet simultaneously

The setup should not be a big problem because there are no routing requirements. The wired subnet is isolated from the wireless subnet. So you can just connect wireless to the internet router with ...
Ingo's user avatar
  • 42.2k
4 votes

Can't detect a raspberry pi scanning my local network

There are a number of problems that can cause your Pi to be not-recognized. I will dispense with the hardware connectivity; I assume you that works. If you do not know the Pi's address, and you have a ...
Ljm Dullaart's user avatar
  • 2,521
4 votes
Accepted

Can a Raspberry Pi boot a small OS/application off of a floppy disk?

There are really two parts to this question. Can you boot from floppy, and can you put an OS on a floppy. As to whether you can put an OS on a floppy, yes of course you can. Quite apart from the ...
Chenmunka's user avatar
  • 625
3 votes

Restart mplayer stream process on loss of internet connection

mplayer -loop 0 stream_you_want_to_play -loop is not strictly designed for that, but it keeps trying to restart the stream after it is lost. Works here for stream drops, as well as just plain ...
jaaasgoed's user avatar
3 votes

Has anyone found a tutorial on reading info directly from a Kill-a Watt with the Pi?

The internal design of the Kill-A-Watt does not physically isolate the low voltage circuitry from the mains power. A direct connection from the Kill-A-Watt to the Pi would allow for the possibility of ...
TomG's user avatar
  • 1,161
3 votes

How to connect Raspberry Pi Zero to PC

If your PC is connected via LAN not WIFI you can follow this procedure. After setup you will be able to ping raspberrypi.local and use the IP address to SSH into your pi zero. You will need nothing ...
Stowoda's user avatar
  • 446
3 votes

How to use JSN-SR04T on a Raspberry Pi?

I wanted to add an improved version of the code which uses timeouts to make sure the script doesn't hang: import RPi.GPIO as GPIO import os import time # Define GPIO to use on Pi GPIO.setmode(GPIO....
N3sh's user avatar
  • 131
3 votes

How to use JSN-SR04T on a Raspberry Pi?

The JSN-SR04T can be used pretty easily with the Raspberry Pi. The only really important thing to remember is that the electronics module is expecting to signal a time corresponding to distance using ...
d3noob's user avatar
  • 1,876

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