最新的 RASPBIAN 系统开启ssh和设置静态ip与之前版本有点差别.
1.系统版本:RASPBIAN STRETCH LITE
基于debian的最小镜像
Release date:2017-09-07
Kernel version:4.9
2.更新日志
2017-09-07:
* Disable predictable network interface names for Ethernet devices
* Bug fix for keyboard settings dialog in Raspberry Pi Configuration
* Bug fix for crash on some videos and animations in Chromium
* Bug fix for taskbar crash when running RealVNC server
* Bug fix for reloading projects with extensions in Scratch 2
* Bug fix for MAC address problem in Bluetooth
* Simple mode and new icons in Thonny
* New Japanese translations in Raspberry Pi Configuration
* Install fonts-droid-fallback for international fonts
3.开启ssh
sudo raspi-config


下一步 yes 启用ssh即可
4.设置静态IP
以前系统是在 /ect/network/interfaces设置
现在看看interfaces是什么鬼

大概意识是 这个文件是与dhcpcd文件一起使用,设置静态ip,查看 /ect/dhcpcd.conf
打开 sudo nano /etc/dhcpcd.conf
去掉examplestatic IP configuration 下面四行# ,修改成自己需要的ip 即可

网友评论