Most Popular

1500 questions
9
votes
5 answers

Disabling USB ports

I'm using the RPI to create a program, but I need to disable the USB ports so that the end user cannot plug in a keyboard or mouse and mess with the device. Is this possible, and if so how is it done?
fypfyp
  • 167
  • 1
  • 2
  • 6
9
votes
1 answer

Remote full reset (re-install) of a Raspberry

I've had a Raspberry Pi now for some time. I did a lot of fun stuff with it. A lot of the fun stuff is still on there, and that's not always fun. I could reset my Raspberry Pi by walking over to it, powering it down, remove the micro SD card, and…
Nick Dewitte
  • 107
  • 1
  • 1
  • 9
9
votes
3 answers

Good lightweight web server framework?

Which web servers and frameworks work well on the RP? Are there tweaks which can be made to the web server config files that will make it run better given the limited RAM?
Darren Wilkinson
  • 2,922
  • 4
  • 28
  • 27
9
votes
2 answers

i2cdetect doesn't catch ANY address. How can I tell if I2C working correctly?

I'm having difficulties interfacing the Raspberry Pi to basically any I2C sensor. I've gone through a lot of tutorials on how to get the I2C driver to work and my connections are correct. Still, i2cdetect (Or any I2C based code) doesn't get me any…
Ahmed Farid
  • 91
  • 1
  • 1
  • 2
9
votes
3 answers

Can't delete pi user on Raspbian

I have made a new Raspbian installation. All good. I wanted to delete pi user and make another user with same privileges (lets say gordon). So first I enabled direct ssh access to user root by doing this: sudo nano /etc/ssh/sshd_config ...and…
FedeKrum
  • 193
  • 1
  • 1
  • 5
9
votes
3 answers

Switch out the X1 Oscillator on a RPI 2/3

Just like a lot of people I'm using a RPi as a NTP server (more info about the basic setup here: https://framkant.org/2017/03/stratum-1-ntp-server-with-freebsd-on-raspberry-pi/) I have found that the stability is really bad and it's especially…
Peter
  • 201
  • 2
  • 6
9
votes
3 answers

How does Pi keep track of time interval?

As I understand RTC is needed to keep track of time. However, Raspberry Pi does not have that and use NTP servers to synchronize its time. All that is fine, but how does Pi know that one millisecond or one second has elapsed. How is Pi aware of the…
AppleGrew
  • 215
  • 1
  • 3
  • 6
9
votes
5 answers

Raspberry Pi Custom SSH/Normal Login Message

I am currently using Raspbian Stretch Lite and would like to know how, if possible, I could make custom login messages. e.g Currently, I get this: Linux RPi 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l The programs included with the…
Sam Berry
  • 91
  • 1
  • 1
  • 2
9
votes
4 answers

Can the raspberry boot to an LVM root partition?

Before I start, I will say I have posted this on the Rpi forum as well. I don't normally cross-post but, having tried there and got nothing, I've come to my preferred knowledge centre. I'm just looking into orgainsing a Pi with a big disk and plan…
starfry
  • 356
  • 1
  • 3
  • 12
9
votes
5 answers

Raspberry Pi Live Boot or Read Only Distro?

Is there any Raspberry Pi Live Boot or Read Only Distros available? I was wondering, since the EE stack exchange normally gets some questions regarding safe power disconnect on the RPi, if such a distro existed. There are many Linux distros that…
cde
  • 301
  • 1
  • 3
  • 12
9
votes
1 answer

wlan0: Could not connect to kernel driver

I'm trying to set up hostapd on a Raspberry Pi 3 with Fedora Server 26 installed. I downloaded the correct WiFi driver as recommended on Fedora site sudo curl…
Citizen SP
  • 191
  • 1
  • 1
  • 5
9
votes
2 answers

how to disable raspberry pi power management?

I am using my raspberry pi as a headless server. The problem is that after a couple of hours of inactivity it seems to enter a power suspend state where it disappears from the web and refuses ssh connections. After having prodded it via ssh it comes…
Kenneth
  • 721
  • 1
  • 4
  • 11
9
votes
2 answers

How do I set Raspbian to use the primary time server time.nist.gov?

I have several Rpi3s running Raspbian. They collect data and I use FileZilla to copy data from one to another. Ideally, I am only copying files that have changes or are new. FileZilla can be installed on a PC at FileZilla download…
SDsolar
  • 2,378
  • 8
  • 26
  • 43
9
votes
1 answer

How to set keyboard shortcuts

How do I setup a keyboard shortcut to run xscreensaver-command -lock when I press ctrl+alt+l? I've had a look at Raspbian keyboard shortcuts, but that talks about finding the keyboard shortcuts, not setting them.
user67191
9
votes
2 answers

How do I install the drivers for a WiFi dongle with the RealTek 8812AU chipset on Raspbian?

I have recently purchased an Edimax EW7811UTC AC WiFi adapter for use with my Raspberry Pi 3b running Raspbian Jessie with Pixel desktop. This WiFi dongle uses the rtl8812au chipset and the driver for this chipset is not included in Raspbian…
Zimano
  • 479
  • 1
  • 3
  • 21