Setting up a Raspberry Pi [closed] - raspberry-pi

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have just started trying to set up my new Raspberry Pi. I have installed NOOBS and it is now asking which operating system I would like to use. It is recommending 'raspbian'. could anybody tell me why raspbian is the best one to use?

Raspbian is perfect for beginners to the raspberry pi.
It is easy to set-up and use
There is lots of support available on-line for it, as most people are using it.
It is based on Debian which is a widley used OS.
It is specifically designed to run on the raspberry pi.
However it all depends on what you want to use your Pi for, raspbian is great for general use. But if you were looking to do something more specific, like set up a media centre you might want to use RaspBMC

Just to amplify Matthew's view, you'll also find most of the standard starter's printed documentation assumes Raspbian. You will also be amazed how easy it is to get the Pi going, getting network and internet connectivity and starting off with the applications built in.
For such as very very basic system, Pi/Raspbian does an awful lot for minimal effort.

You could do what I did and install NOOBS it comes preloaded with python 3, python 2, scratch, and a bunch more.(plus Raspbian).

Related

How to open on PC Rasperry IP with port [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
on my raspberry, I installed "motion" (the one with daemon) for my Pi Camera. However, I set up the Motion with the port 8081. If I open it on the raspberry using localhost:8081 it works but unfortunately with a big delay/lag. Maybe if you find a solution to this would be awesome. But my main problem is that if I want to open the server on my Pc by entering 192.168.xxx.xx:8081, it won't open at all. Using the IP without the port it still works. Maybe you find a solution.
The lag you encounter on Raspberry pi is because that same raspberry is processing the video input, and now you want to add processing of showing you that stream, after all, it is raspberry, no big deal there.
The Motion config file (/etc/motion/motion.conf) haves a setting named "Stream_localhost" by default it is set to ON, make sure you change it to OFF.
If you have any other problems I believe this simple instruction will help you.
How to Make Raspberry Pi Webcam Server and Stream Live Video || Motion + Webcam + Raspberry Pi
EDIT:
After quick google searching I found out that two more settings must be set to off also
webcam_localhost off
control_localhost off

Raspberry Pi display all black [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I am trying to install Raspbian on Pi 3 but when I connect it to my monitor using Hdmi the screen is just all black and it doesn't say anything. I've tried searching online but all the answers I found I got confused, since most involve connecting using ssh or something while I can't even get it to turn on to connect it to wifi.
Look for a flash of green near the power led after you plug in the power, that should indicate its booting up okay. I'd suggest verifying the install on your sd card, flash another card and try that. Ensure the power plug you have is good quality and supplying the correct voltage.
Pre-answer: you might want to verify the install on the SD before spending too much time with blind boots.
Easy answer: use a wired usb adapter (preferably with an alternate source of power), then ssh and run raspi-config as I'm sure you've already read.
Moderate answer: stick the SD card in an adapter and edit the /boot/config.txt file. See here for syntax.
Advanced: Edit files as in moderate answer above, but this time target crontab to add a script hook that connects to wifi, thus allowing ssh.

Can Raspberry pi be configured as WIFI ap as well as client simultaneously? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I would like to know if it is possible to configure Raspberry pi to work as Wifi AP and client simultaneously. I googled and found the following link
Link
This link is not clear but it makes a reference to this Link-2
Link-2 has something mentioned like this: It seems likely, given the chipset, that the Raspberry Pi should be able to operate in both Access Point mode and client mode simultaneously. In other words, it can get its internet connection by joining on a wireless network, while simultaneously providing a second network as an access point to a ‘cloud’ of sensors. Which is what i'am looking for. I tried googling more, but could find setting up Raspberry pi as a Wifi AP only but not both simultaneously.
My question is: Is it really possible to set up Raspberry pi in with such a configuration mentioned in link-2. And if so can someone please tell me step-by-step to do it.
I have Raspberry Pi 3B with Raspbian Stretch.
You can't have multiple wifi services with single wifi-interface(built in interface).This is common to all devices not only raspberry pi.
What you could do is to have a separate USB wifi interface(adapter) for that.There are good external USB wifi adapters to purchase in very cheap prices as well.
Try one...

Raspberry Pi - Error resizing existing FAT partition [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I tried to install RASPBIAN os using noobs in to my pi. But when I start the pi after coping the noobs into my sd card, it shows the folling error.
Error resizing existing FAT partition
How to fix it, Thanks in advance.
This usually happens when raspberry cannot read the SD data, and you can fix it by doing a lot of things, for example:
Change the SD card, format the new one of FAT32 and put all of Raspbian data inside it
Get your current SD card and format it again, try to check if this is ok to read/write
Go to this link and check if your SD card compatibility
Check if your power supply is really 5V, and if its passing to Rasp, sometimes rasp doesn't work well because it hasn't enough power

Remotely Updating Raspberry Pi Software 'over the air' [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We use a Raspberry Pi embedded computer to connect IP cameras on a customers network to our cloud based recording service.
We are using Raspbian and about 50% are Wheezy and 50% are Jessie.
The challenge we have is how to remotely update the software running on these IFUs.
Our current method involves using SSH and Ansible. We have a complex Ansible script that makes all the changes to the Raspberry Pi and we have automated this to an extent so we can updates lots of Raspberry Pi's at a time.
However, the problem is is that this is a non-atomic update. The Raspberry Pi's do not necessarily always have exactly the same package versions on them depending on when they were updated. Its also possible for an upgrade to fail half way through etc.
I am aware that there are a couple of ways of doing an atomic upgrade by downloading a new 'software image' and swapping over to using it instead using a bootloader. I think OpenWRT can do this as well as swupdate: https://github.com/sbabic/swupdate
Has anyone ever done something like this on a Raspberry Pi before?
Thanks
As a bit of an update to this question, I found a couple of ways of doing this.
The first thing to consider is that you do not have to stick with the RPI's default bootloader as #user3145836 pointed out. Uboot allows you to flip the boot partition.
The best option at the moment appears to be https://mender.io and this is the option that we have gone with.
If you can dockerize your app, https://resin.io/ is a nice hosted way of doing it.