Shylock Hg

My own blog powered by Hugo and Ivy.

Use Raspberrypi3bp With Wifi

2018-06-01


burn raspbian to sdcard

refer raspberrypi.org

start ssh service

  1. create empty file ssh in sdcard boot partition.
  2. create empty folder ssh in sdcard root-fs.

enable wifi connection

  1. nmap scan LAN to get raspberry pi ip address.
  2. ssh login to raspberry pi.
  3. generate wap_supplicant config file to /etc/wpa_supplicant/wpa_supplicant.conf.
  4. sudo ip link set wlan0 up
  5. sudo dhcpcd wlan0
  6. sudo ip link set eth0 down
  7. sudo reboot