System
https://www.raspberrypi.org/downloads/
Install Raspbian Stretch
- Version:November 2018
- Release date:2018-11-13
- Kernel version:4.14
Origin shift
1 | sudo nano /etc/apt/sources.list |
1 | sudo nano /etc/apt/sources.list.d/raspi.list |
sudo apt-get update
Config wifi & ssh
1 | sudo nano /etc/wpa_supplicant/wpa_supplicant.conf |
1 | ifconfig wlan0 |
open ssh service
1 | sudo raspi-config |
open ssh in configuration
1 | Socket error Event: 32 Error: 10053 |
if terminal throw exception then check servicesudo sshd -t
key not exist:1
ssh-keygen -t rsa -b 2048 -f /etc/ssh/ssh_host_rsa_key
config rsa_key in /etc/ssh
permission not allow:1
sudo chmod 600 /etc/ssh/*
1 | service ssh restart |
add command to /etc/rc.load
before exit 0
1
/etc/init.d/ssh start
Install A2DP
1 | git clone https://github.com/bareinhard/super-simple-raspberry-pi-audio-receiver-install |
1 | # install home version |
Install create_ap
1 | git clone https://github.com/oblique/create_ap.git |
add command to /etc/rc.load
before exit 0
1
nohup sudo create_ap -n wlan0 raspberry raspberry --no-virl > /dev/null 2>&1 &
here i use AP without Internet sharing.
if network environment is good, raspberry have internet then add eth0
to command.1
create_ap -m bridge wlan0 eth0 MyAccessPoint MyPassPhrase
enjoy IOS airplay :)
http://shumeipai.nxez.com/2018/12/28/install-a2dp-to-turn-the-raspberry-pi-into-a-bluetooth-speaker.html
https://blog.csdn.net/huayucong/article/details/51376506
https://blog.csdn.net/newtonsm/article/details/78859152
https://github.com/bareinhard/super-simple-raspberry-pi-audio-receiver-install
https://github.com/oblique/create_ap