interface eth0
static ip_address=192.168.1.12/24
static routers=192.168.1.1
static domain_name_servers=192.168.1.1 8.8.8.8
interface wlan0
static ip_address=192.168.1.13/24
raspberry
设置开机自启动ssh
sudo service ssh start
sudo touch ssh
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "mm"
wpa-psk "12345677"
//摄像头用法
~/mjpg-streamer$ sudo ./start.sh
如果出现错误查看进程ps杀掉相关进程
相关操作
pi@raspberrypi:~/mjpg-streamer$ sudo apt-get update
make USE_LIBV4L2=true clean all
sudo ./start.sh