Most Popular
1500 questions
58
votes
14 answers
What's the cheapest way to get network connectivity to the Pi Zero?
Since the Pi Zero doesn't come with an Ethernet port, I'm wondering what is the cheapest way to get reasonably fast network connectivity to the device?
UPDATE
By "network connectivity" I mean connecting to a LAN/WLAN, so the devices can talk to each…

Logical Fallacy
- 703
- 1
- 6
- 7
58
votes
4 answers
Emulation on a Linux PC
How can I connect an SD card containing a Raspberry Pi OS to my Linux PC, and boot the OS in an emulator?
Why won't VMWare work?
What are the limitations of this method?
Related: Emulation on a Windows PC

Alex L
- 7,605
- 12
- 42
- 53
56
votes
5 answers
SSH not working with fresh install
I recently liberated an old model B from the loft, put NOOBS on an SD card, and installed the latest version of Raspbian on it. I booted it up, attempted to SSH to it from my Mac, but got:
ssh: connect to host 192.168.1.248 port 22: Connection…

Pezholio
- 675
- 1
- 6
- 9
56
votes
10 answers
Enabling SSH on RPi without screen - keystrokes for raspi-config?
I don't have a screen for my Raspberry Pi. I want to SSH into it, but I get Connection Refused, so I presume SSH is not enabled.
As advised in other questions I have looked at enabling the boot_enable_ssh.rc script on the sd card. However I don't…

Lemmy
- 663
- 1
- 6
- 6
56
votes
11 answers
Can I use Raspberry Pi as a USB peripheral device?
Raspberry Pi has a Micro USB port for power supply. My question is if this port is only for power purposes or can it be used for data as well? I would like to be able to attach my Raspberry Pi as a USB peripheral to another computer. Is this…
user13
55
votes
6 answers
Where does the Raspberry Pi get the time from?
I don't have to set the clock (besides the timezone) on the Raspberry Pi. Where is it getting the time from? About how accurate is it?

Scoop
- 2,679
- 7
- 27
- 25
55
votes
5 answers
What's the maximum SD card size that the Raspberry Pi will accept? Do larger cards give slower performance?
On my digital camera, I noticed a performance decrease when I used a larger card; will this happen with the Raspberry Pi too?
What's the maximum sized SD card it can handle?
I see there is comprehensive list available from this question.

Highly Irregular
- 5,769
- 10
- 32
- 40
55
votes
5 answers
How can I convert a .img.xz file to .img to transfer it to my SDCard?
I have downloaded Kali v1.1.0 for my Raspberry Pi 2 from here.
But the file I must transfer to the SD Card is a .img.xz, not the desired .img one.
I have tried to unpack with:
$ tar -jxvf kali-1.1.0-rpi2.img.xz
bzip2: (stdin) is not a bzip2…

tarsot
- 553
- 1
- 4
- 4
54
votes
4 answers
How do I make serial work on the Raspberry Pi3 (PiZeroW, Pi4 or later models)
My Pi3 serial console produces rubbish and fails to respond to the keyboard.

Milliways
- 59,890
- 31
- 101
- 209
54
votes
10 answers
Access GPIO pins without root. No access to /dev/mem. Try running as root!
I've made a python script using the RPi.GPIO library. I need to run it without root but I get this error when running it with "python ./script.py":
No access to /dev/mem. Try running as root!
I've read in many places that you no longer need root…

JoeyCK
- 718
- 1
- 5
- 10
52
votes
2 answers
Raspberry Pi not reachable via its hostname in LAN
My Raspberry Pi is not discoverable via its hostname in my LAN.
I have a couple of other Ubuntu machines in the LAN, and they are all pingable via their hostnames.
On my Raspberry Pi:
pi@raspberrypi ~ $ hostname
raspberrypi
On another machine in…

clamp
- 829
- 2
- 12
- 19
52
votes
6 answers
Access to Raspberry Pi VNC session from Mac OS X
I'm trying to get remote screen access to my Raspberry Pi (running Raspbian) with a Mac OS X client.
Here's what I've got:
I ran 'raspbian-config' and used it to enable the VNC server.
The desktop on the raspberry-pi shows that VNC server…

Richard Barnette
- 523
- 1
- 4
- 4
52
votes
4 answers
Can I use Raspberry Pi in commercial production?
I'm quite new to Raspberry Pi. I recently started hacking my new RPI with raspbian and working on a video streaming project.
I finished my prototype and things are ready for production.
RPI is awesome no doubt about, but can I use it for production…

Evan Lévesque
- 899
- 1
- 7
- 11
52
votes
5 answers
How can I mount a Raspberry Pi Linux distro image?
Normal filesystem images can be easily mounted:
mount system.img /mnt
Examined, and modified. But when I try this with a Raspberry Pi system image (e.g. raspbian), I get:
mount: unknown filesystem type '(null)'
And no matter what I try with -t,…

goldilocks
- 58,859
- 17
- 112
- 227
51
votes
2 answers
What's the difference between `wpa-roam` and `wpa-conf` in the /etc/network/interfaces file?
I posted a question previously on how to set up a static IP address on the rpi and eventually figured out, along with some others, that the answer was to change wpa-roam to wpa-conf when pointing to /etc/wpa_supplicant/wpa_supplicant.conf, but why…

3cheesewheel
- 2,167
- 6
- 27
- 32