Questions tagged [linux]

Linux is a contemporary multi purpose operating system. The Raspberry Pi can run one of a number of Linux distributions, the most popular being the official "Raspberry Pi OS" (formerly Raspbian).

Linux colloquially refers to open source operating system distributions based on the Linux kernel and GNU userspace fundamentals. This includes the Foundation recommended Raspbian, as well as others such as Arch Linux, and, on the Pi 2, various forms of Ubuntu, e.g. Snappy Core.

896 questions
67
votes
6 answers

How do I determine the current MHz?

I've been trying to get an accurate reading of my Raspberry Pi's MHz, since I overclocked it in /boot/config.txt My /boot/config.txt is as following: pi@raspbmc:~$ cat /boot/config.txt arm_freq=900 gpu_freq=350 disable_overscan=1 List of things I…
Sjaak Trekhaak
  • 983
  • 2
  • 7
  • 13
63
votes
9 answers

Is it possible to run real time software?

I know it runs Linux and there are real time patches available for Linux. Would those patches work? Has anybody tried another real-time-os on the Raspberry Pi? The idea is to use the board for regulation and control jobs that are time critical.
Lars Pötter
  • 1,068
  • 2
  • 9
  • 13
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,615
  • 12
  • 44
  • 53
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
  • 60,325
  • 17
  • 117
  • 234
43
votes
4 answers

Disable USB wifi sleep/suspend

Whenever I leave my Raspberry Pi on overnight, it always seems to have entered some kind of suspended state. The red power light is still on but the light on the USB WiFi device is off and I can't access it with SSH. I have no peripherals attached…
dgrant
  • 532
  • 1
  • 4
  • 6
35
votes
4 answers

How do I load a module at boot time?

As stated in Why is my Audio (Sound) Output not working?, to initialise the sound driver, you must run sudo modprobe snd_bcm2835 every time you want to output sound. How do I get this to run on boot? (i.e. before logging in and without any input)
Alex Chamberlain
  • 15,638
  • 15
  • 69
  • 113
31
votes
14 answers

More powerful alternative to Raspberry Pi?

I already own a Raspberry Pi model B, and I am looking for a more powerful alternative. I want it to be able to run as a server (email, file, and web) and also as a media center. I know Raspberry Pi can do these things too, but I want something…
Christos Baziotis
  • 419
  • 1
  • 4
  • 4
28
votes
8 answers

Can't get a CIFS network drive to mount on boot

I have added a share in fstab to access a network drive with all my files on... fstab looks like: proc /proc proc defaults 0 0 /dev/mmcblk0p1 /boot vfat defaults 0 2 /dev/mmcblk0p2 / ext4 defaults,noatime 0 1 //192.168.1.73/disk1 /media/disk1 cifs…
Luke Twomey
  • 383
  • 1
  • 3
  • 5
24
votes
2 answers

How to stream raspivid to Linux and OSX using GStreamer, VLC or Netcat?

How can I stream video stream to Linux or OS X using raspivid and either VLC, GStreamer or Netcat?
JonasVautherin
  • 741
  • 1
  • 7
  • 16
20
votes
2 answers

What is Raspbian?

Being new to Linux, maybe this is a stupid question! I don't quite understand how this distro thing all works, is Raspbian just compiled packages with source code taken from the individual repositories of the respective packages? Are there source…
Dog Ears
  • 2,027
  • 6
  • 19
  • 28
19
votes
4 answers

Build custom Raspbian OS image from source

UPDATE: This answer was given a long time ago. It will not build Raspbian Jessie - it will build whatever the Raspberry Pi Foundation's latest released image is based on. At time of writing, this is Raspbian Buster. I am wanting to generate a…
Mike Roberts
  • 625
  • 1
  • 7
  • 13
19
votes
1 answer

Why does the SD card random write performance for record size 8-128 kB drops below the performance of record size 4 kB?

When I check the performance of SD cards for random write, I can see the performance is quite bad for record size 4 kB (this is not surprising) but then for several cards it even drops for larger record sizes before it increases. I measured the…
Neverland
  • 361
  • 2
  • 4
  • 12
17
votes
2 answers

What does each of the default groups on the raspberry pi do?

I need to create a more limited user for the raspberry pi. I can guess what some of these groups do (cdrom, sudo, i2c, spi) but what do some of these other groups do (adm, dialout, pi)? Here is the list on my pi running jesse lite: pi adm dialout…
BarrowWight
  • 335
  • 1
  • 4
  • 10
17
votes
4 answers

How to open a Raspberry Pi Linux port?

I need to open TCP port 25 on my Raspberry Pi 3. I watched videos on the internet re. iptables, nothing has worked. If you have a solution, using iptables or another method, that would be great. If you want to know, I'm building an SMTP mail…
Millefeuille
  • 191
  • 1
  • 1
  • 6
17
votes
2 answers

What is /dev/vchiq in Raspberry Pi?

I am using Raspberry Pi 3 and raspbian jessie and I came across /dev/vchiq by trying to call program (omxplayer) with perg-cgi which would play some music on my RiPi. And I coudn't get it to work. When I opened it with my browser (e.g.…
Skodra
  • 173
  • 1
  • 1
  • 6
1
2 3
59 60