Hot answers tagged

15 votes

Forgot password for username pi

The hashed password is stored in /etc/shadow. There is no efficient way to find out what the password is, by design. However, it is easy to reset as long as you have physical access. Start a Linux on ...
RalfFriedl's user avatar
  • 2,188
9 votes
Accepted

Forgot password for username pi

to reset your password: Power down and pull the SD card out from your Pi and put it into your computer. Open the file 'cmdline.txt' and add 'init=/bin/sh' to the end. This will cause the machine to ...
Xilef's user avatar
  • 106
7 votes

How do I make the OS reset itself every time it boots up?

The idea is to use a read only file system as you have it on a LiveCD together with a union filesystem. (quote [1]) Generally speaking, a union filesystem combines multiple filesystems into a ...
Ingo's user avatar
  • 41.9k
7 votes

How do I hard reset a Raspberry Pi?

It is very easy to wire a hardware reset to the Rpi3. Here is where you will find holes already open and waiting: (Shown here with header pins soldered in place directly above the screw hole) Don't ...
SDsolar's user avatar
  • 2,328
6 votes

Change/reset password WITHOUT monitor/keyboard

You don't have to create a temporary user on a different system to generate a password hash. You can do it without root access by running: openssl passwd -salt "salt" "password" ...
Dmitry Grigoryev's user avatar
5 votes
Accepted

I changed my Raspberry Pi default keyboard settings. How can I reset this change?

If you know the IP address you can ssh from another machine. Then use the raspi-config utility: Open a terminal Run raspi-config Choose Localisation Options Choose Change Keyboard Layout Choose your ...
AKW's user avatar
  • 299
5 votes

I changed my Raspberry Pi default keyboard settings. How can I reset this change?

Can you insert the SD card into another machine and mount the filesystem? If so, edit /etc/default/keyboard and change XKBLAYOUT="in" back to your desired setting. If needed, there's a list of valid ...
adengle's user avatar
  • 726
5 votes
Accepted

Remote full reset (re-install) of a Raspberry

Firstly: doing this by remote is inadvisable especially if, like me, you happen to be 70+ miles from your remote pi. It's a very long drive if you screw it up. When you do this fir the first time, ...
Philip Couling's user avatar
3 votes
Accepted

How to reset raspberry pi on laptop?

Because you have already flashed the SD Card with Raspbian Stretch all the installation of your friends friend is lost. So you have to start again from scratch. Just download Raspbian Buster and ...
Ingo's user avatar
  • 41.9k
3 votes
Accepted

Restore Pi to factory settings without flashing SD

The Pi does not have factory settings in that sense. Everything is held on the SD card. You will have to burn a new image to a SD card.
joan's user avatar
  • 70.5k
3 votes

Holding the PI in reset?

I think it is safe. I tested it on my B and A and it seemed to be fine. It didn't seem to save power though.
David C.'s user avatar
  • 312
2 votes

I changed my Raspberry Pi default keyboard settings. How can I reset this change?

You have switched to an Indic keyboard, though it's hard to know which one. They look quite different depending on which one was selected. There are some examples here: http://wiki.laptop.org/go/...
Bex's user avatar
  • 2,929
2 votes

Holding the PI in reset?

It will never damage the Pi by holding it in reset mode. It isn't the best idea if you want to save on power consumption.
Elliot A.'s user avatar
  • 131
2 votes
Accepted

Create a watchdog for RPi using Arduino

1. Reset The Pi 2 has a reset pin. According to this article it's a two pin header (unpopulated holes only) located between the display socket and the ACT LED. Supposedly, it's also labeled "RUN&...
Ghanima's user avatar
  • 15.8k
2 votes

Is halted a viable state for a battery powered pi zero long-term?

As goldilocks has noted "halted" and "powered off" are actually the same thing. (Although different things happen on the way through. I use sudo poweroff which causes the LED to flash 10 times before ...
Milliways's user avatar
  • 58.6k
2 votes
Accepted

How to prevent Raspberry pi 3 from auto starting in an operating system after reboot?

You can change the bootmenutimeout= to a higher value. This setting is found in the /boot/config.txt file.
88weighed's user avatar
  • 895
2 votes

Using two Pi's to reset each other on failure

I might be off here but seriously speaking you are not looking for solution why Pi Zero stops working but rather how to detect it. That is not really where I would go in the first place. I have few ...
Zygfryd Homonto's user avatar
2 votes

Using two Pi's to reset each other on failure

The Pi SOC has an inbuilt watchdog timer which can be used to manage failures. Any other system just adds (needless) complexity and testing is a challenge. Having said this I have never had an ...
Milliways's user avatar
  • 58.6k
2 votes
Accepted

Reset Wi-Fi dongle

Sounds like a power management setting for your wireless needs to be updated. Run iwconfig and look for a line like this: Power Management:off If you see "on" instead of "off" you will need to ...
Rasp Berry's user avatar
1 vote

how do i reset my raspberry pi using the terminal

Installing software does not affect the state of the Pi. All the state is held on the SD card. To re-install Debian you need to write a fresh image to the SD card (or just insert an SD card with a ...
joan's user avatar
  • 70.5k
1 vote

Pi 4 change Bluetooth MAC adress

I figured it out. TLDR: (run everyhting as root, you won't get permission errors if you don't but it won't work) After every reboot (yes the bytes in reverse) hcitool cmd 0x3f 0x001 0xab 0x89 0x67 ...
Poohl's user avatar
  • 121
1 vote

How do i factory reset my raspberry pi 4

take a look at how to install the operating system: basically you download the latest version of the operating system, unpack it so you have a "xxxxxx.img" file,and then remove the sd card from the ...
petr2's user avatar
  • 11
1 vote

Password resets on shutdown

There's a few possibilities here: Is your SD card write protected? This would prevent your changes from taking effect, and the passwd command would not necessarily give you an error message. Are you ...
tlhIngan's user avatar
  • 3,372
1 vote

Restore Pi to factory settings without flashing SD

You might be able to boot to a USB device, and from there format the SD card. https://www.raspberrypi.org/documentation/hardware/raspberrypi/bootmodes/msd.md I'll advice you to find another option ...
Jervelund's user avatar
  • 476
1 vote

How do I make the OS reset itself every time it boots up?

Start by separating changeable parts of the system, to different partitions. User changeable parts are in /home, but the OS also changes stuff in /var. Then mount the root partition as read-only. And ...
ctrl-alt-delor's user avatar
1 vote

Pi resets state after every reboot

Given the lack of answers at this stage, my hypothesis is that your MicroSD card has shot itself in the head and is now a zombie. Think WestWorld and try again with a new MicroSD, perhaps not 149 ...
OyaMist's user avatar
  • 1,119
1 vote

Remote reset to Rasberry Pi without remote desktop

You could use SSH with password less login. This is a link to how to create password less login: https://www.tecmint.com/ssh-passwordless-login-with-putty/ And from windows you could use putty and ...
MatsK's user avatar
  • 2,726
1 vote
Accepted

On a raspberry pi, is safer to restart it by unplugging it or shorting the "run" pad to ground?

The danger of any method of shutdown is that the system might be writing, or reading from memory, or disk, and not complete, making partial changes to the system that corrupt the disk, or system ...
j0h's user avatar
  • 2,453
1 vote
Accepted

Is halted a viable state for a battery powered pi zero long-term?

Why does holding the reset descrease the power usage more than halting This is an educated guess, and not based on any analysis of schematics, but: A hardware reset is equivalent to flipping the ...
goldilocks's user avatar
  • 58.5k
1 vote

Raspberry Pi resetting across reboots

Some SD cards have a read-only failsafe mode. Backup your SD card with Win32DiskImager. (In case i am in the wrong !) Format it. Eject and re-insert. The data should "magically" re-appear. Throw ...
flakeshake's user avatar
  • 6,215

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