Most Popular

1500 questions
15
votes
2 answers

Use MacBook charger for Raspberry Pi 4

I am using the official 15.3W USB-C Power Supply to power up my Raspberry Pi 4. I got my self a second Raspberry Pi 4 but I haven't bought the power supply yet. Would I be able to use the Macbook Pro 87W USB-C Power Adapter instead? I know that…
Dino
  • 373
  • 2
  • 3
  • 10
15
votes
6 answers

Best way to power multiple Raspberry Pi 4s?

I ordered a few Raspberry Pi 4s, still under way, each with their own power supply, and I plan to get more, but when I have been previously able to power RPis with USB-hub, there's apparently no USB-C-hubs, beyond few expensive 2 usb-c-port-hubs, in…
Roger
  • 159
  • 1
  • 1
  • 3
15
votes
2 answers

How do I expand a raw disk image?

The official images supplied are raw disk images, which could have been created using dd. How do I make an image bigger? I'm not interested in repartitioning said image as that has already been answered in How can I resize my / (root) partition?.
Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113
15
votes
1 answer

Automatically Create Hotspot if no Network is Available

I want to automatically create an access point, if there is no network found, so that I can connect to my Raspberry Pi everywhere. If nobody is connected to the hotspot for a while it should search for the networks defined in wpa_supplicant.conf…
jake
  • 1,347
  • 10
  • 23
14
votes
5 answers

Disable DTR on ttyUSB0

I'm connecting from Pi to Arduino-clone board. The problem is, that I need to disable DTR line, in order to prevent Arduino from resetting on connect. I have read that on RPi is not possible to control DTR, DCD and other lines. Is it this true for…
jnovacho
  • 324
  • 2
  • 3
  • 8
14
votes
4 answers

Long (30 to 50 foot) USB power only cable

I want to place my Raspberry Pi in a remote location to act as a surveillance camera and need to run a power-ONLY USB cable over a long distance of 30 to 50 feet. Can I safely extend a normal USB 2.0 cable by just connecting the VBUS +5V RED and…
HeatfanJohn
  • 3,125
  • 3
  • 24
  • 36
14
votes
10 answers

WiFi won't start

I have a new Pi 3 B+ and am running openplotter version of NOOBS. When I boot, WiFi doesn't show on the top right of the home screen. When I run raspi-config for Network Options and WiFi, I get 'Could not communicate with wpa_supplicant' When I run…
pander
  • 167
  • 1
  • 1
  • 5
14
votes
2 answers

How do I install Bluetooth for my mouse and keyboard?

Can I get step by step directions for installing a generic Bluetooth dongle, so that I can use an existing bluetooth mouse and keyboard? This answer to the question How can I use a bluetooth mouse and keyboard? suggests that Debian Squeeze should…
zenbike
  • 2,490
  • 6
  • 19
  • 26
14
votes
5 answers

How do I reset a USB device using a script?

I have a USB GSM modem that does not alwasys work property (Huawei E367u-2) Sometimes it gets reset (USB device disconnect/reconnect in logs) and when it comes back up, it's has different ttyUSB numbers. Sometimes on boot, usb_modswitch seems to…
RoboJ1M
  • 325
  • 3
  • 4
  • 11
14
votes
5 answers

How can I use an init ramdisk (initramfs) on boot up Raspberry Pi?

I need to load driver on early stage booting. For development I use LVM (logical volume manager) so I can easily revert test setups to the default image from a snapshot. For this I have to load the lvm driver before accessing the root partition.…
Ingo
  • 42,107
  • 20
  • 85
  • 197
14
votes
3 answers

Is it possible to simultaneously use the dual band(2.4 Ghz and 5 Ghz) of Raspberry pi 3 B+ to create an AP?

Is it possible to simultaneously create a single AP on raspberry pi 3 b+ which uses both 2.4 Ghz and 5 Ghz bands so that users with low end devices can connect to the 2.4 Ghz band and users with latest or high end devices can connect to the 5 Ghz…
Thoht
  • 356
  • 4
  • 12
14
votes
4 answers

How do I display the temperature from the internal sensor on a HTML page?

I am just getting into this and whilst I can display the temp via SSH, I am struggling with displaying it on the little webpage I setup on my Pi running Apache2. I followed this example…
Trido
  • 253
  • 1
  • 2
  • 6
14
votes
2 answers

What is the vcgencmd command?

I know what it does, but what does the name mean? Is it a acronym? In one sentence, how would you explain vcgencmd to someone new to Linux?
user3573562
  • 289
  • 2
  • 6
  • 15
14
votes
4 answers

How to identify a Pi

I have a stack of five Pis, each of which have a separate hostname and are on the same network. I need to physically identify each Pi from another Pi, perhaps by flashing the onboard LEDs in a recognisable manner. Any idea how I might do this from…
Nick
  • 776
  • 4
  • 15
14
votes
9 answers

How to install latest Scipy version on Raspberry Pi

I currently have Raspbian OS and I tried: sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose which worked fine but installed an old version (0.10) And: sudo apt-get…
zurfyx
  • 269
  • 2
  • 3
  • 8