Most Popular

1500 questions
10
votes
4 answers

Colored console over serial connection?

I am accessing two of my Pis via a serial connection on pins 8 and 10. One of them uses a serial to USB connector for my Mac and the other uses an HC-06 which connects to my Android. The console/terminal over serial is very bland and colorless,…
Patrick Cook
  • 6,365
  • 8
  • 38
  • 63
10
votes
1 answer

Installing OS on separate Raspberry Pi

I have a micro SD card that I am planning on using with a Raspberry Pi Zero, I do not have a mini HDMI to full HDMI adapter, but I do have a Raspberry Pi 2 Model B, say could I image the card, do the first boot on the Pi 2, have it install Raspian,…
Patrick Cook
  • 6,365
  • 8
  • 38
  • 63
10
votes
4 answers

How to change the Raspberry Pi's hostname (in Raspbmc)?

Currently my dhcp-log displays my Raspberry Pi with the name xbmc-e0cb. Can I change this to a more sensible name?
towi
  • 545
  • 2
  • 5
  • 8
10
votes
7 answers

True 9-bit serial port data?

I have an existing, half complete, vending machine project running on an Atmel UTC, which I want to port to the Pi. In order to talk to peripherals, such as coin acceptor, it has to support Multi-Drop Bus which has a 9-data bit serial port…
Mawg
  • 433
  • 3
  • 8
  • 15
10
votes
4 answers

Where is syslog being written?

I have an out of the box Pi. See below on what I have done. If I have in a PHP script, where the the message being logged? $ sudo apt-get install nginx $ sudo mkdir /var/www $ sudo apt-get install…
user1032531
  • 327
  • 1
  • 5
  • 12
10
votes
1 answer

How to start core 1,2,3 in Raspberry Pi 2

I have written a bare metal multi core example. Code, circuit diagram is here - https://github.com/jeffreyantony/multipi/tree/master/Example_01 In my example, there are 3 LED's connected to the GPIO pins of the raspberry Pi. There are totally 4…
robomon
  • 393
  • 3
  • 11
10
votes
3 answers

How can I log into my Raspberry Pi Samba share from Windows?

I'm trying to set up an SMB share on my network using Samba. I followed the directions here as well as I could as I have Raspbian installed on my Pi. When I plugged in my USB drive it automounted to /media/Media/ so I skipped the first part. What I…
Biff MaGriff
  • 291
  • 2
  • 4
  • 14
10
votes
1 answer

May I redistribute Windows 10 IoT?

Say I have a Raspberry Pi 2, built something around it and wrote a piece of Windows 10 IoT software for it. Let's call the whole thing a "product" which fulfills a particular purpose. May I sell the product in this form or do I need a (commercial)…
Thomas Weller
  • 2,517
  • 3
  • 30
  • 54
10
votes
7 answers

How can I turn an GPIO to its alternate function?

I want to use the altenate function of GPIO 4 namely the GPCLK0 function. How can one set a GPIO to its alternate function? Many alternate functions are summarized here: elinux-wiki The best would be if it is possible with the wiringPi Library. But…
user61664
  • 209
  • 1
  • 2
  • 3
10
votes
3 answers

PowerShell can't connect to Windows IoT

I am following the instructions from Using PowerShell to connect and configure a device running Windows 10 IoT Core to access my Raspberry Pi 2 with Windows 10 IoT via PowerShell. PS C:\> Enter-PSSession -ComputerName minwinpc -Credential…
clamp
  • 829
  • 2
  • 12
  • 19
10
votes
1 answer

Where is the space in my SD card?

I just got a raspberry pi. It came with an 8GB SD card (actually an SD adapter + microsd card) with the RPi logo on it. It supposed to have 8Gb, but "parted" command says something different ... $ sudo parted GNU Parted 2.3 Using…
FlamingMoe
  • 225
  • 3
  • 6
10
votes
3 answers

Alter dhclient to retry fetching IP address

It turns out raspberry pi doesn't try very hard to get an IP address with dhcp, during a power failure, my rpi booted faster than the dhcp server, and never got an IP address. In such a situation, the rpi seems to be booted, but it doesn't get an IP…
nos
  • 1,106
  • 2
  • 10
  • 14
10
votes
1 answer

How to add a package to official raspbian repositories?

How to add a package to official raspbian repositories ? Debian has a very extensive guide into the matter : https://www.debian.org/doc/manuals/distribute-deb/distribute-deb.html#adding-packages-to-debian But what about raspbian ? Will it…
Cerber
  • 245
  • 3
  • 7
10
votes
3 answers

Purpose of " 127.0.1.1 raspberrypi " entry in file /etc/hosts

I was playing with the /etc/hosts file on my Raspbian installation and outcommented the "127.0.1.1 raspberry" line. I know that the host file is basically there to facilitate address look up. However, by doing this, it started giving me following…
dhruvvyas90
  • 2,883
  • 3
  • 21
  • 33
10
votes
3 answers

Are there any damaging effects to leaving the Raspberry Pi on all the time

I have a Raspberry Pi B+ hooked up to my router and I leave it on all of the time, it rarely gets switched off. Does this cause any damaging effects to the Raspberry Pi?
Darth Vader
  • 4,218
  • 24
  • 47
  • 70