Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
63

This answer is still correct, and explains in more detail the nature of the changes, but most users of current Raspbian should just run sudo raspi-config Select Interfacing Options / Serial then specify if you want a Serial console (probably no) then if you want the Serial Port hardware enabled (probably yes). Then use /dev/serial0 in any code which accesses ...


25

Based on the measurements made by RaspiTV, here are some estimates: 100 mA: No peripherals connected, WiFi And Bluetooth off 160 mA: Bluetooth turned on 170 mA: WiFi turned on 230 mA: Camera connected and capturing Overall, using WiFi and accounting for the 5V power adapter, you are only looking at 1.1 Watts.


19

That's a tough one. The WiFi won't automatically connect. So I would try the following: Image a micro SD card with the Raspbian OS image using Win32DiskImager. Manually configure your WiFi from another computer. In another computer running Linux (or PC with Live CD) you could edit the following file: /etc/wpa_supplicant/wpa_supplicant.conf And add the ...


18

finally this got work for my pi3 (os: debian jessie) please follow these 6 steps carefully. Step 1 - Install Raspbian Jessie onto a SD card and boot the Pi when connected to a network Login via terminal or desktop and shell Configure the system with: sudo raspi-config Expand filesystem and enable serial on advanced page, exit and reboot. Step 2 -this ...


16

I too saw this issue with my RaspberryPi Zero W using 2017-09-07-raspbian-stretch-lite. Updating the wpa_supplicant.conf file, sudo wpa_cli reconfigure, and sudo systemctl restart wpa_supplicant did not work. My Pi would not get an IP on wlan0. I noticed that wpa_supplicant is spawned as a child of the dhcpcd service. $ sudo systemctl status └─dhcpcd....


15

You are looking for information on running "headless". There are details on this on the raspberry pi site. https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=161202 Basically put a file, wpa_supplicant.conf, on the "boot" sector of the sdcard, that you can see from windows, and edit the file to include your wifi credentials: network={ ssid="...


13

The accepted answer does not give a solution to anyone having this problem. From a point on (maybe debian jessie?), the /etc/wpa_supplicant/wpa_supplicant.conf requires these lines on top of the network configs: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev country=US update_config=1 network={ ssid="Home Wifi" psk="mypassword" ...


9

I'm currently testing my RPi Zero W with temp, humidity and barometric pressure sensors hooked up. I have two 3,000 mAh batteries wired in parallel. They also go through an Adafruit regulator. Once I had my python script running, I disconnected the keyboard and mouse since they won't be connected when my final project is finished. In this configuration, i ...


9

Enter in terminal/console ifconfig wlan0 At the end of the first line should be the hardware address aka MAC. Here a sample output (German locale): pi@RasPi0w-1:~ $ ifconfig wlan0 wlan0 Link encap:Ethernet Hardware Adresse b8:27:eb:xx:xx:xx ...


8

Naseer's answer is correct but a bit elaborate if you just flashed the latest rasbian. All I needed to do, is just to add the following line to my config.txt (from e.g. windows where you plug in the SD card on the fat32 partition): dtoverlay=pi3-disable-bt Then plug it in, and the pi will directly print stuff on the console pins.


8

If you don't need the graphical capabilities of the full Raspbian distro, I would recommend Raspbian Lite. Raspbian, has the largest user base and hence the most projects and tutorials available. The large user base and community support can make developing and troubleshooting your projects a lot easier. Both are available for download from the Pi foundation ...


8

This setup is DEPRECATED and no longer maintained! Look at Access point as WiFi repeater, optional with bridge for a more flexible setup. It is possible to use the wifi device on a Raspberry Pi as an access point and at the same time connect as client to another already established wlan. I have heard this is possible for RPi-0W, RPi-3B and RPi-3B+. But ...


7

You can drop in a wpa_supplicant.conf file in the boot directory before installing the SD Card into the Pi. When the Pi boots up, the file /etc/wpa_supplicant/wpa_supplicant.conf will be overwritten (or maybe appended, I'm not sure) with the wpa_supplicant.conf file in the /boot/ directory. Use the following syntax: network={ ssid="YourNetworkSSID-1" ...


7

Many distros is replacing ifconfig with ip so I would discourage the use of ifconfig. To show the wlan0 interface: ip link show wlan0 or cat /sys/class/net/wlan0/address Ref: https://www.linux.com/learn/replacing-ifconfig-ip


7

The following is a fragment of a bash script I use to determine the MAC of Ethernet, or if this does not exist of WiFi (for Pi Zero W). It does not rely on ifconfig or any other method of detecting allocated IP, and just needs the system to detect the networking hardware. This works for Jessie or Stretch # Find MAC of eth0, or if not exist wlan0 if [ -e /...


7

All Raspbian images should work in all models (provided they have been updated with suitable kernel/firmware). It is, of course, possible to install incompatible software or configuration, but any reasonable settings work.


6

You can SSH in from USB after some configuration. This assumes you're not using NOOBS. Doing this with a NOOBS SD card is a little harder and (to my knowledge) impossible on Windows. First, the Raspberry Pi Foundation disabled SSH as a security precaution, so you'll have to connect the SD card to a computer and put a file called "ssh" (no extension) in the ...


6

I believe you will kill your Pi Zero. Good luck missing important tracks as seen in these X-Rays: https://www.raspberrypi.org/forums/viewtopic.php?t=163317


5

It is perfectly possible. Look at the link. Note that the channel used must be the same on the access point and on the Wi-Fi. link rpi3 wifi-client-ap


5

That is a fault in pigpio/gpiotest and/or the hardware revision returned by the Pi Zero W. gpiotest relies on pigpio to tell it which GPIO are safe to write. pigpio relies on the hardware revision returned by the Pi to assemble the list of safe to write GPIO. If pigpio does not understand the hardware revision it defaults to granting access to GPIO 0-31. ...


5

To get the WiFi working on a Pi Zero W only requires minimal config for Raspbian Stretch. The only file you need to modify is /etc/wpa_supplicant/wpa_supplicant.conf and this file needs to contain your WiFi network's SSID and password - which you add after the initial lines (the first 3 lines) that are already there so the file should look like something ...


5

Berryconda is the way to go! See https://github.com/jjhelmus/berryconda


5

The password on the console has nothing to do with SSH. If you're going to run it headless, you don't need autologin (that only applies to the keyboard/monitor). To enable SSH, do one of the following: sudo touch /boot/ssh and reboot sudo systemctl enable ssh from the running system. sudo raspi-config, then scroll to "interfacing options", then "SSH", ...


5

I assume you're referring to this GitHub issue, in which the following is stated: It looks like Pi Zero isn't going to work for TensorFlow, unfortunately. ARMv6 just doesn't have the right instructions to be able to handle the software There's no reason to disbelieve the maintainer here, and it does indeed seem that no-one else has managed it since (at ...


5

According to the Mate website you will need a Pi2B / 3B(+) or later to run any Mate version. It does not run on the single processor (BCM2835) models Ubuntu MATE for the Raspberry Pi 2 and Raspberry Pi 3


4

Same issue a few days ago. Order of plugged in peripherals mattered. Making sure video out was connected before connecting power.


4

Not with no SD card at all. The Pi Zero W uses a BCM2835, which contains the old SD card-only bootloader. It's not so much a question of the Pi being older or newer as of which processor it uses. Also, this thread states that they can only really give the BCM2835/BCM2836* a new bootloader if somebody is willing to donate a LOT of money to create a new mask ...


4

It is not compatible. The Pi Zero (all models so far) lacks the required connector. According to Element 14, the display is compatible with: Raspberry Pi 3 Model B Raspberry Pi 2 Model B Raspberry Pi Model B+ Raspberry Pi Model A+ They add: The display will technically work with the Model A and Model B boards (connecting it to the DSI port on the Pi ...


4

The error "No libjansson found" means the library called Jansson (libjansson) is not installed on your system. You need to install it (and you already figured out a correct way to do it yourself): sudo apt-get install libjansson-dev


4

Went with PiBakery (which is awesome). Just installed Jessie Lite and I am now hooked up to the WiFi. Completely headless.


Only top voted, non community-wiki answers of a minimum length are eligible