Questions tagged [linux]

Linux is a high-profile computer operating system. The Raspberry Pi can run one of a number of Linux distributions, the most pupular being Raspbian (Debian-based) and Arch Linux.

Filter by
Sorted by
Tagged with
1
vote
1answer
1k views

Rasp Pi PPTPD Service Not Starting on Boot

I have configured the PPTPD serice on my Pi and it works well. When I reboot the Pi the PPTPD service is not starting automatically. When seaching Google there are many ways suggested. Should I use ...
2
votes
1answer
305 views

Preparing/setup a SD card with NOOB using Linux

The stages for preparing a SD card with NOOBS describe at https://www.raspberrypi.org/help/noobs-setup/ are amid for Windows and Mac. At least, the part when formating the SD card is different in ...
2
votes
3answers
864 views

how to run GDM on raspberry pi 2

I need to run GDM on raspberry pi 2 with a fresh arch linux. I installed: xf86-video-fbdev xorg-xinit gdm I created a ~/.xinitrc containing: exec gdm But when I use startx I get some text then a ...
2
votes
1answer
1k views

Manually mounting ext hdd works, mounting via fstab fails

I have 2 external HDD connected to my Raspberry Pi 2. One [NTFS] (auto)mounts and flawlessly. The other one does not mount via /etc/fstab and returns a filesystem error but mounts when I manually ...
2
votes
3answers
1k views

Connecting raspberry pi 2 to pc without internet

I want to be able to run a server (created with python sockets) on a raspberry pi 2 and connect to a client running on pc via wifi without having a connection to a router or to the internet. I've ...
-1
votes
2answers
2k views

Tkinter on linux start up

I put a python Tkinter (GUI library) program on startup (/etc/profile) for my Raspberry Pi Linux and the program just has a label. Now i restart my raspberry pi and it's on my screen without any close ...
1
vote
2answers
3k views

How can I install Lantern on Raspbian?

Purpose I bought a Raspberry Pi 2 B , and I want to build a Lantern network at home. So I want to use the Raspberry Pi as a router. What I know I know the Lantern for Linux version is based on ...
2
votes
1answer
5k views

Raspberry Pi install screen - Internal Error, ordering was unable to handle the media swap

I am trying to install screen in my Raspberry Pi. If I run sudo apt-get install screen, I get the following error: E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?...
1
vote
1answer
4k views

/var/swap file abnormally large

I ran this command because my Raspberry Pi's SD card is full: sudo find /var -type f -a -printf '%s %p\n'| sort -nr | head -10 The output: 104857600 /var/swap 46641296 /var/lib/apt/lists/...
2
votes
1answer
657 views

Disk full but NCDU shows only 22.2 mb used

I have a Raspberry Pi that is running a bunch of scripts 24/7. Recently it has been giving me errors because the Disk is full. I checked /var/log and there were no gratuitously large files there. I ...
0
votes
1answer
344 views

how to swap dbus versions in rpi/linux?

DBus version installed: 1.10.6 Programs look at 1.1.1. How to get rpi to look at newest DBus? RPI Project/programs: alertR Home Alert System via github. Current status: 12/30/2015 14:26:08 INFO: [...
0
votes
1answer
1k views

rPi 'no installation candidates', updated repositories, no change

So, I tried to install chromium on my rPi B+, running raspbian. I encountered 'no installation candidate', and the Internet recommended updating my repo files. So, I did so, expecting the error to be ...
1
vote
0answers
487 views

How to change the font size in Raspbian LXDE

How to change the font size in Raspbian LXDE? I've already tried the right-click on the desktop menu approach. That changes some fonts, most in fact. But the Konsole menu fonts are still big. Given ...
15
votes
4answers
18k views

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 ...
5
votes
2answers
4k views

Rpi can't see external hard drive

I got stacked. I have a Raspberry Pi 2 Model B with OSMC installed on it. I want to connect an external drive (Seagate Backup Plus 1TB) to it. I connected it through a usb hub and there is an ...
0
votes
3answers
1k views

Raspberry Pi Email Notifier Python Script not working

I followed the instructions on Adafruit's Website to no avail. The Python script keeps spitting out a ton of errors: Press Ctrl-C to quit. Traceback (most recent call last): File "checkmail.py", ...
1
vote
2answers
354 views

Energy profiling tools for linux

I was wondering if you can give me any tools for energy profiling in linux. I'm going to use it to compare between two algorithms that are going to be used on a Raspberry Pi, and if possible, I need ...
-5
votes
3answers
145 views

how to inspect Rasperry Pi 1A from Laptop (Ubuntu Linux 14.04)

I won a Raspberry Pi at a contest about 2 years ago. Finally I got the proper wire to connect it to my laptop, but it's not doing anything! The light goes on, but nothing appears in my operating ...
1
vote
2answers
10k views

Auto reload new images in feh image viewer

I am making a project about wireless notice board using an android app and a raspberry pi. I am using feh image viewer to display images as slideshow from a specific folder. The command I am using: ...
3
votes
1answer
183 views

Boot of device is slow when previous connected wlan network is unavilable

My boot time increased if the connected wlan network is not available. If the connected network random_rants is not available it takes more time to boot. My etc/network/interface configuration is: ...
0
votes
0answers
89 views

How to detect wlan network is out of range

Is there any suggestion how to detect the wlan network is out of range ? I've successfully made my device to connect access points and connected other access points also. I'm using the /etc/network/...
2
votes
2answers
889 views

Setting Rasp Pi screen resolution remotely for remote access

I have a Raspberry Pi that I am accessing via Screen Connect for remote access. Is there a way to set the pi so that when it boots up it uses a specific screen resolution? Editing the HDMI settings ...
2
votes
1answer
10k views

Freeing up cache when memory is low

I have my raspberry pi A+ in my embeeded project and every byte of memory is important when I've only got 128 MB to my CPU (I need 128 MB for the GPU because I use the camera module). Unfortunently ...
2
votes
0answers
229 views

xpra server error (error accepting new connection)

I'm having trouble connecting to my xpra server. I've installed Xpra version v0.14.10, on my raspberry pi 2 which running on Raspbian Jessie Distro. I connect to my RPi through putty with X11 ...
4
votes
1answer
4k views

How do I use the I2C bus?

I want to attach an I2C device; it has 4 lines (SCA, SDL, +, -). I understand I can connect the first two to pins 3 and 5, and the last two to various places. I also understand I can multiplex the ...
5
votes
2answers
20k views

Where is syslog being written?

I have an out of the box Pi. See below on what I have done. If I have <?php syslog(LOG_INFO,'where are you'); ?> in a PHP script, where the the message being logged? $ sudo apt-get install ...
1
vote
1answer
927 views

Cannot connect Raspberry Pi 2 to my computer (Ubuntu) using USB-to-Serial. No prompt shown

I was trying to connect Raspberry Pi 2 to my computer (Ubuntu) using USB-to-Serial. I have exactly followed the tutorial on the internet. I can find the usb device, and I am in the group dialout:...
2
votes
1answer
3k views

Stop raspberry pi rc.local executing

I've added a security python script to the rc.local which unfortunately has a bug - This causes the pi to shut down on start up. Is there a way to bypass this script on start, or boot the pi into an ...
4
votes
2answers
3k views

How do I get the configuration and Module.symvers for a Raspbian kernel to compile a loadable module for my RPI 2?

I installed Raspbian using NOOBS_lite_v1_4.zip on a new microSD. After the initial install I ran sudo apt-get update sudo apt-get upgrade Running "uname -r" tells me I am running Linux version ...
3
votes
1answer
3k views

Raspberry Pi (raspbian) tick rate in HZ

How can I find the Linux tick rate of my Raspberry Pi 2. I have a Raspberry Pi 2 with Raspbian OS. Is it 100 or 1000 HZ ? Can I read it from the command line or a C program ? I want to know this ...
0
votes
1answer
191 views

stty command lag and queue issue

I have plugged in a serial-USB, and run the command: stty -F /dev/ttyUSB0 38400 Then I am using PHP to send calls to the serial-USB like: file_put_contents("/dev/ttyUSB0", chr(6).chr(255).chr(0)....
0
votes
5answers
3k views

Why won't Linux Applications run when the file is executable?

So I've downloaded Eclipse IDE for Linux onto a usb flash drive, put the usb into the Raspberry Pi and tried to execute the eclipse application. It says that the file is executable but it still won't ...
1
vote
3answers
2k views

PHP USB serial port call from Windows to Linux

I have a piece of simple code that works on a Windows - WAMP environment, e.g. <?php `mode com3: BAUD=38400 PARITY=N data=8 stop=1 xon=off`; file_put_contents(com3, chr(1).chr(255).chr(1).chr(4)....
22
votes
8answers
32k views

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,...
1
vote
1answer
4k views

using os.path.expanduser(“~”) I am getting /root instead of /home/pi

While logged in as "standard" pi user, I am expecting the path to the user directory to be /home/pi – which is the case when I open File Manager, for example. However, when I run this script I get /...
2
votes
1answer
16k views

Installing Kali Pi using all available storage space?

Is there any way to install kali linux for raspberry pi using all space that is available on the micrSD card initially or do you HAVE to go back later and resize partitions in order to utilize the ...
0
votes
1answer
66 views

Create my own Linux using Ubuntu Source [closed]

Customize Linux Ubuntu or Debian for my raspberry pi. How can I remove packages and Applications from the ubuntu or Debian? And Also I would like to know if its possible to modify the GUI (graphich ...
-1
votes
1answer
233 views

Touchscreen Keyboard for the Mentally/Physically Challenged

Hi this is my first time posting but i wanted to ask a question. First of all i'll outline my situation. Im currently working on a project to make a portable computer system for people who are ...
2
votes
1answer
837 views

Raspberry Pi Linux, Android, and bridging it all together

I'm running a Raspberry Pi 2 with Raspbian as a central controller. I have an external modem that feeds the Pi an internet connection through USB, and now I'm trying to reverse tether the rooted ...
3
votes
2answers
521 views

Save an image of a RPi thats booting from a hard drive

I recently setup my RPi so that it boots from a hard drive (as much as I could move off of the SD card anyways). Previously I was simply plugging my RPi SD card into my computer and making a clone ...
3
votes
1answer
484 views

Which minimal Linux distro for RPi will fit on 16 MB SD card?

This is my first question here, so please be kind. I have an original RPi and a 16MB SD card, and I don't want to use another USB drive to run Linux from. Which tiny distro will fit entirely on this ...
15
votes
1answer
4k views

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 ...
2
votes
0answers
670 views

Specify interrupt in devicetree overlay

I have created a devicetree overlay to add an MRF24J40 transceiver to Raspberry Pi. The interface of the transceiver is SPI and an interrupt request. After some trouble the device finally appears in ...
1
vote
1answer
760 views

all commands in raspbian terminal stop working

I run Raspbian. Everything worked fine until now, when it seems I can't use any command on my Raspberry Pi. I tried to reboot. And now it doesn't connect to wifi. @raspberrypi: sudo su -bash: ...
2
votes
0answers
426 views

Using kernel debug symbols on Raspberry pi

I see that I can install packages that contain the kernel debug symbols in Ubuntu as shown here. Is it possible to do the same for Raspberry pi? I'd really like to have kernel symbols for the raspbian ...
3
votes
0answers
861 views

Keyboard doesn't work in initramfs

I've setup an encrypted root partition with Ubuntu 15.04 MATE (the latest image). I've fought with it for quite a while now, but I'm now certain that the initramfs has everything it needs in order to ...
0
votes
0answers
51 views

What does following msg/error mean: GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject [duplicate]

The Title says it all. We just got a Raspberry 2 with a Debian Linux on it. After hitting 'Startx' the windows come up and we get this message: GDBus.Error.org.freedesktop.PolicyKit1.Error.Failed: ...
2
votes
1answer
700 views

si7013 driver install raspberry pi

I bought a Silicon Labs si7013/20/21 usb dongle and now I'm trying to install it onto a raspberry pi 1 running raspbian with kernel 3.18 + I compiled a kernel after adding the drivers to drivers/...
3
votes
2answers
2k views

/dev/null folder doesn't exist. Should I create it?

I am pretty new to the Rasperry Pi (and linux in general). I am currently using it as an irc bouncer. I have set a cron entry to make it check to see if znc is running every 10 mins. */10 * * * * /...
5
votes
4answers
7k views

What instruction set is used on the Pi's ARM/Broadcom chip?

I am trying to figure out what instruction set (x86_64, IA-32, etc.) is used by the RPi's Broadcom chip (really an ARM 1176JZF-S), because I'd like to understand how linux can run on it. My ...