65

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 ...


29

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.


20

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 ...


20

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 ...


19

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" ...


11

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 ...


10

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.


10

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 ...


9

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, Stretch or Buster # Find MAC of eth0, or if not exist wlan0 ...


9

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 ...


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 ...


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

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.


7

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


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

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


6

Access point and client mode are both running as services so we should use systemd-networkd to switch off one service and switch on the other. With its options we are able to do it without rebooting. For reference I use Raspbian Stretch Lite 2019-04-08 full upgraded with sudo apt update && sudo apt full-upgrade && sudo reboot done at 2019-04-...


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


6

According to raspi.tv, the idle current is 120mA. Sizing the battery for 10 years: That would be an enormous battery. Based on this tomsguide.com article, a Moto G7 Power has a 5 AH battery, so you'd need the equivalent of 2,104 Moto G7 Power batteries to provide that much power. That's not even accounting for any other power loss the battery may suffer, ...


6

This device is and open collector sinking (see the datasheet). That mean that you need to connect a pull-up resistor on the output. So if you connect the output pull-up resistor to the Pi 3.3V and the output to the Pi GPIO it will work.


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

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


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

As of 2018, the previous answers don't work anymore, you need to run the following command: sudo wpa_cli -i wlan0 reconfigure Source: https://www.raspberrypi.org/forums/viewtopic.php?t=198274#p1238023


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 ...


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