树莓派软路由wifi烧录pi3

https://archive.openwrt.org/releases/17.01.0/targets/brcm2708/bcm2710/

 

 

 

Index of (root) / releases / 17.01.0 / targets / brcm2708 / bcm2710 /


Image Files

These are the image files for the brcm2708/bcm2710 target. Check that the sha256sum of the file you downloaded matches the sha256sum below.
Shortened image file names below have the same prefix: lede-17.01.0-r3205-59508e3-brcm2708-...

Image for your Device sha256sum File Size Date
bcm2710-rpi-3-ext4-sdcard.img.gz 97b9fddc9147d87dc81009f6bf89fa410d32a8631390131f3457fd45244e755c 8221.9 KB Tue Feb 21 08:08:47 2017

Supplementary Files

These are supplementary resources for the brcm2708/bcm2710 target. They include build tools, the imagebuilder, sha256sum, GPG signature file, and other useful files.

Filename sha256sum File Size Date
packages/ - - Mon Dec 4 15:38:50 2017
config.seed 38f7697865e8353725c26c27f4f3419ff1518cf283b2de979c4f3ae17363a9f1 1.4 KB Tue Feb 21 08:11:28 2017
lede-17.01.0-r3205-59508e3-brcm2708-bcm2710.manifest 643b791c2fe55b7f9d15e5063af48fc62c9acea1887af6ee5d38ea3eaab3ea5a 2.6 KB Tue Feb 21 08:08:48 2017
lede-imagebuilder-17.01.0-brcm2708-bcm2710.Linux-x86_64.tar.xz 38277e5060be551b5c3f31cfe1808a39c80c3626ecfd4abdd2e89b1c48de6825 27131.0 KB Tue Feb 21 08:09:49 2017
lede-sdk-17.01.0-brcm2708-bcm2710_gcc-5.4.0_musl-1.1.16_eabi.Linux-x86_64.tar.xz ee96b8b52ebe8bb166af12ea224b8e836b15f237ca9a844bbff2ab92b5f29c68 43412.4 KB Tue Feb 21 08:11:21 2017
sha256sums - 0.6 KB Tue Feb 21 08:11:36 2017
sha256sums.asc - 0.8 KB Mon Dec 4 15:38:50 2017
sha256sums.gpg - 0.8 KB Tue Feb 21 08:11:36 2017

 

树莓派型号

树莓派3代B型,1.2GHz,四核64位ARMv8 CortexA53 CPU(bcm2837)。了解处理器内核架构对后续操作系统版本的选择至关重要。

 

系统配置

树莓派插电启动,用网线将其与笔记本直连,此时笔记本应该能够检测到网络了。浏览器输入192.168.1.1进入openwrt的luci web界面,默认用户名root,密码为空。直接点击登录就可以进入系统了。下面通过putty修改网络配置。

 

 

修改/etc/config/network

注释掉option ifname 'eth0'一行,为防止与路由器地址冲突,将其ip修改为192.168.1.111,增加dns,并增加wan口配置。

[plain] view plain copy

  1. configinterface'loopback'
  2. optionifname'lo'
  3. optionproto'static'
  4. optionipaddr'127.0.0.1'
  5. optionnetmask'255.0.0.0'
  6. configglobals'globals'
  7. optionula_prefix'fd69:2549:b96a::/48'
  8. configinterface'lan'
  9. optiontype'bridge'
  10. #optionifname'eth0'
  11. optionproto'static'
  12. optionipaddr'192.168.1.111'
  13. optionnetmask'255.255.255.0'
  14. optiondns'8.8.8.8'
  15. optionip6assign'60'
  16. configinterfacewan
  17. optionprotodhcp
  18. optionifnameeth0

3.2修改/etc/wireless

以把树莓派当做AP来用,optiondisabled 改为0,ssid “LEDE”,没有密码,按需自己进行设置。

[plain] view plain copy

  1. configwifi-device'radio0'
  2. optiontype'mac80211'
  3. optionchannel'11'
  4. optionhwmode'11g'
  5. optionpath'platform/soc/3f300000.mmc/mmc_host/mmc1/mmc1:0001/mmc1:0001:1'
  6. optionhtmode'HT20'
  7. optiondisabled'0'
  8. configwifi-iface
  9. optiondevice'radio0'
  10. optionnetwork'lan'
  11. optionmode'ap'
  12. optionssid'LEDE'
  13. optionencryption'none'

此时,将树莓派连接路由器,重启系统。笔记本扫描连接WiFi “LEDE”,putty输入ip 192.168.1.111进入系统,ping baidu.com通,说明树莓派有线网络通畅。手机连接WiFi “LEDE”,手机也可以上网了。

 

No password set!

There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.
Go to password configuration...

Status

System
Hostname LEDE
Model Raspberry Pi 3 Model B Rev 1.2
Firmware Version LEDE Reboot 17.01.0 r3205-59508e3 / LuCI lede-17.01 branch (git-17.051.53299-a100738)
Kernel Version 4.4.50
Local Time Mon Feb 20 17:14:31 2017
Uptime 0h 0m 53s
Load Average 0.12, 0.04, 0.01
Memory
Total Available
927520 kB / 952668 kB (97%)
Free
926816 kB / 952668 kB (97%)
Buffered
704 kB / 952668 kB (0%)
Network
IPv4 WAN Status

?
Not connected
IPv6 WAN Status

?
Not connected
Active Connections
139 / 16384 (0%)
DHCP Leases
Hostname IPv4-Address MAC-Address Leasetime remaining
5CD050FXBP 192.168.1.132 30:24:a9:8b:db:9d 11h 59m 29s
DHCPv6 Leases
Host IPv6-Address DUID Leasetime remaining
5CD050FXBP (192.168.1.132)
fd79:1456:478f::e60/128 000100012bf34c1e3024a98bdb9d 11h 59m 23s
Wireless
Generic 802.11bgn Wireless Controller (radio0)

0%
SSID: LEDE
Mode: Client
Channel: 1 (2.412 GHz)
Bitrate: ? Mbit/s
Wireless is disabled or not associated
Associated Stations
  Network MAC-Address Host Signal / Noise RX Rate / TX Rate

No information available

 

posted @ 2025-11-06 14:12  aiplus  阅读(10)  评论(0)    收藏  举报
悬浮按钮示例