Open Terminal and type:
This results in the following output on my Raspberry Pi 2...
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Check for the existence of the directory:
the soft-float version do not have this directory, they have:
instead, or you can list the packages installed using:
and see the platform in the third column (all/armhf/armel)
The other solutions here did not work for me (fresh Raspbian, boot to GUI). Instead, this worked:
Open up /etc/lightdm/lightdm.conf using your favorite text editor (I prefer nano).
Look for the line #xserver-command=X. Change it to xserver-command=X -s 0 dpms
It should be at line 87 if things don't change.
Save and reboot.
Do not look at uname -a. That just shows kernel version. To find the distribution version, run:
sudo apt-get install lsb-release
My RPi shows:
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.8 (wheezy)
https://github.com/RPi-Distro/pi-gen/releases lists releases of Raspbian since 2016-05-10.
To find your Raspbian distribution image release date (not the /etc/os-release information such as VERSION="8 (jessie)") on a running system:
$ cat /etc/rpi-issue
Raspberry Pi reference 2016-05-10
Generated using pi-gen, https://github.com/RPi-Distro/pi-gen, ...
As @Milliways commented here is where the power of systemd comes to play. There is no need to wait that sequential processed commands are finished. systemd is working parallel (that is what it makes a bit unfamiliar). It can start services after other services are started. Because this "network-up thing" is a very common problem, we have a nice service for ...
The Gammu documentation suggests (but doesn't go into any detail of) a workaround,
Edit: Atmel has an Application Note that nicely describes the enumeration process.
Enumeration changes because it happens in a conversation between host, hub and device, and response timing from each of these may vary, even if the setup is identical from one reboot to the ...
I have this problem, too, when I'm using my huge TV. Try this:
To see a list of available fonts:
The numbers at the end indicate width and height (though not always that exact!)
No idea why config.txt is missing.
However, you can use this:
Following massive botnet attacks in 2016 due to IoT devices being easily hacked with default passwords, Raspbian once again comes with SSH turned off by default (source).
The fix is pretty easy, you just need to create a file in the boot partition (not the directory within the root filesystem) called ssh. To check if you're in the right partition, it ...
I think @Jivings answer may be better, but I have it in my notes to do this:
Install apt-get install x11-xserver-utils
Append these lines:
@xset s noblank
@xset s off
Possibly also comment out the line that says @xscreensaver -no-splash, so the complete file should look something like this:
Assuming you're using Raspbian, you need to find out which .deb file you need, and transfer those to your Raspberry Pi, and place them in /var/cache/apt/archives/partial, and then just use the command:
sudo dpkg -i /var/cache/apt/archives/partial/xxxx
where xxxx is the exact name of the .deb file you want to install
If you need to find dependencies, http:/...
CA certificates are located in /etc/ssl/certs as well as /usr/share/ca-certificates/ and in some cases /usr/local/share/certificates.
In general CA certs should not be manually added to the local trust store. There are reasons why certain CAs are not included. Without further research, it's unclear why this particular CA root cert was not included in ...
This worked for me
sudo nano /etc/network/interfaces
and add the following lines
iface wlan0 inet manual
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
file looks like this
184.108.40.206 Are all system users necessary?
Yes and no. Debian comes with some predefined users (user id (UID) < 99 as described in Debian Policy or /usr/share/doc/base-passwd/README) to ease the installation of some services that require that they run under an appropriate user/UID. If ...
The shell interprets and handles redirection before the command is executed. So the redirection (>/sys/class/leds/led0/trigger) is attempted with the user's permissions, thus fails.
The generally recognized solution is to use the tee command: (man page and wikipedia)
echo heartbeat | sudo tee /sys/class/leds/led0/trigger >/dev/null
The tee command ...
You need to run your text editor (Leafpad, I assume) as the super user (aka root).
In LXTerminal, type sudo leafpad and hit Enter. It will prompt you for your password; after you type it in, Leafpad will start and you will be able to overwrite /etc/rc.local.
You could try epeg. It's designed exactly for the job you need - to create fast thumbnails from jpeg files. The only problem is, you need to compile it yourself as there is no package for it for RaspberryPi. It's a library but it comes with a simple test tool that you can use.
For a lot of newcomers the problem is not necessarily the SD card/installation, but rather the communication with your monitor (as Eric Wilson rightly asks above). Many people reuse an old(er) 'VGA' (or similar, SVGA, XVGA) monitor with the PC-style VGA connector, and then use an HDMI-to-VGA 'adaptor'. BUT there are 'issues' with this, that require you to ...
To install programs on machine unable to access internet
enter command as normal and read output look towards end of results for the failed to fetch lines and enter these links into a web capable machine, save the links to a usb memory stick. Repeat for all failed to fetch lines
*pi@raspberrypi ~/pi $ sudo apt-get install scrot
Reading package lists... ...
You've partially answered your own question, but there is another way of doing it, especially for serial devices: the /dev/serial/* paths. I have a Prolific USB→RS232 interface on my Raspberry Pi which almost invariably shows up as /dev/ttyUSB0. But it also appears on the system as:
For better boot times, update the firmware (with rpi-update), install the system with hard-floats and keep it updated.
Older firmware are usually slower, hard-floats increase a lot the system speed, every day there are more optimization for arm, specially for rpi
You need to edit your ~/.xinitrc file, removing or commenting this line:
exec ck-launch-session startlxde
and adding this line:
Then run startx as usual. The .xinitrc file defines the commands that execute when X is started.
Is there a command that I can run to clean up (uninstall) all non essential packages
No, since "non-essential" is hugely subjective. If you mean, the bare minimum to have a running system, then that wouldn't include things that make it a "server". If you mean, just the bare minimum plus whatever you need to make it a server, this begs the question, "What ...
I was able to install pcscd daemon and using pcsc-lite wrapper in NodeJS on Raspbian (Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux) using Raspberry Pi B+ and Raspberry Pi 2.
Here an extract of the Requirements installation from the full guide of mine project on GitHub:
Install PC/SC and libnfc (...
You can for example create a ramdisk with 8MB size like so mkfs -q /dev/ram1 8192. So you just have to put the size of the ramdisk as the last parameter to mkfs.
But why didn't you think about using tmpfs?
tmpfs is great because it is capable of using swap and the memory is dynamically allocated.
You can create a tmpfs like that: mount -t tmpfs -o size=16M,...
Create an init.d script to run your application
you can run the mono service in linux OS by using the command
mono-service [options] program.exe call this from an init.d sript
Check this man page for more details about running mono service on linux