龙空技术网

树莓派安装openwrt系统

IT1618 467

前言:

当前同学们对“树莓派ethercat主站教程”可能比较珍视,朋友们都需要了解一些“树莓派ethercat主站教程”的相关知识。那么小编在网络上搜集了一些对于“树莓派ethercat主站教程””的相关文章,希望你们能喜欢,姐妹们一起来了解一下吧!

1. 目前OpenWrt 18.06.1 支持以下设备

型号 版本

Raspberry Pi 3 B+

Raspberry Pi 3 B

Raspberry Pi 2 B

Raspberry Pi B+

Raspberry Pi B

Raspberry Pi A

Raspberry Pi Zero W -

OpenWrt下载地址(直接用ether刷入,不用解压)

格式化SD卡。用Win32DiskImager-0.9.5-binary工具刻录镜像

首次进入LEDE 根据提示更改密码,passwd

连接网线,配置网络,修改/etc/config/network ,如果是静态地址,添加

config interface 'wan'

option ifname 'eth0'

option proto 'static'

option ipaddr 'xxx.xxx.xxx.xxx'

option netmask '255.255.255.0'

option gateway 'xxx.xxx.xxx.xxx'

option dns 'xxx.xxx.xxx.xxx'

完成修改后,reboot,再ping 测试。

网络可达后,首先安装luci

opkg update

opkg install luci

修改WAN口访问Web

编辑 /etc/config/uhttpd

option rfc1918_filter 1

改为

option rfc1918_filter 0

通过浏览器访问树莓派WAN口地址

设置SSH密码、主机名、时区

openwrt安装中文

System->Software->在Filter栏里面输入 -zh-cn 点击搜索

2

找到 luci-i18n-base-zh-cn 点击前面的安装,ok无论再怎么升级,在换版本该方法通用

安装串口驱动

系统→软件包→搜索“kmod-usb-serial”

标签: #树莓派ethercat主站教程