Most Popular

1500 questions
8
votes
1 answer

'ifdown wlan0' returns 'interface wlan0 not configured' but 'ifconfig wlan0' shows the connection

I'm having a strange problem on a RPi 2 Model B. I just reformatted the sd card with the newest version of Raspbian and done all the sudo get update/upgrade stuff. I've plugged in an ethernet connection and a wifi-dongle. They both are operational.…
Paul Ngo
  • 83
  • 1
  • 1
  • 3
8
votes
2 answers

What is the purpose of SCLK pin of SPI protocol?

I read about SPI(Serial Peripheral Interface) protocol and try to understand their pin functionalities. Where i read about SCLK pin, which is provide serial clock to synchronize the master and slave communication. So, I have a query regarding to…
rsp
  • 622
  • 1
  • 6
  • 16
8
votes
3 answers

Setting up a remote control using lirc

How can I control my TV using only a Raspberry Pi and the Infrared diode from an old remote control. Plus how can I interpret IR commands from an existing remote control.
Besi
  • 814
  • 4
  • 11
  • 22
8
votes
1 answer

Locked (Atomic) Register read/write

I'm coding something using direct control of GPIO, there are some good resources around for this, such as http://elinux.org/RPi_Low-level_peripherals#GPIO_hardware_hacking ; the process involves open("/dev/mem") and then a mmap operation effectively…
greggo
  • 621
  • 2
  • 5
  • 10
8
votes
10 answers

Will not boot, black screen only

I recently installed Debian 7.0 (Wheezy) on a 32 GB SD card, but so far the Raspberry Pi has not been able to boot. I replaced the elf, bin files, etc... and the monitor is now getting a response, but no boot up screen - it is just blank. When I…
8
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
  • 181
  • 1
  • 1
  • 5
8
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
8
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,208
  • 8
  • 24
  • 42
8
votes
4 answers

Commands to "simulate" removing and re-inserting a USB peripheral?

I use motion on a Raspberry Pi, and sometimes the camera feed hangs. The camera is physically mounted, and it is kind of awkward to remove the cable and insert it again, so I was wondering: Is there a way of achieving the same effect…
Christian Neverdal
  • 185
  • 1
  • 1
  • 6
8
votes
2 answers

Problem when plugging an HDMI extractor to the Pi

I use my Raspberry Pi with Kodi on it (probably one of the last version with both a Pi 2 and 3). A few months ago, I bought and HDMI extractor so that I could use my Home Cinema using the Passthrough option in Kodi. It was working perfectly, in the…
soso23
  • 81
  • 1
8
votes
2 answers

How to cross-compile Python 3.6 for the Raspberry Pi

I am trying to cross-compile Python 3.6 for my Raspberry Pi based on the instructions on this post, which boil down to setup then env vars so we use the linaro toolchain: export CC=arm-bcm2708hardfp-linux-gnueabi-gcc export…
arielnmz
  • 221
  • 1
  • 2
  • 10
8
votes
1 answer

What is the 3.5mm port standard in RPi3?

What is the 3.5mm port standard in Raspberry Pi 3? Is it CTIA or OMTP or any other standard? Mainly I want to know, which one is grounded? Say, tip ring ring sleeve = <1 2 3 4> respectively.
Dr.PB
  • 183
  • 1
  • 3
8
votes
5 answers

User and password

I just installed Raspian Jessie lite date 4-10-17. All articles state the username and password are "pi" and "rasberry". These do not work. What is the correct user and password?
Michael Mancuso
  • 89
  • 1
  • 1
  • 2
8
votes
2 answers

Fixing issues with Powered USB Hub

With my PI I'm trying to use the F4U018 Belkin 7 port hub (yes - the one on the problem list). Its one of three I have around, all of which happen to be on the problem list - I don't want to shell out for another one. The RPi/Hub is working fine…
Jon Egerton
  • 2,983
  • 2
  • 21
  • 31
8
votes
4 answers

RPI zero W as both Wifi client and access point

Everything points to that the Raspberry Pi Zero W can be access point and connect to wifi at the same time. According to this article, with the command iw list describes: valid interface combinations: * #{ managed } <= 1, #{ P2P-device } <= 1, #{…
Mario
  • 81
  • 1
  • 1
  • 2