Lamobo Openwrt image
OpenWrt firmware for BPI-R1 is updated, it support by Lamobo.
This firmware is built based on the OpenWrt master branch r42830.
Q&A
- I am a new BPI-R1 user, how to use this firmware? 1. For a new user, we recommend to use the ready configured firmware. please download it from forum download page: http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/openwrt-sunxi-Lamobo-R1-sdcard-vfat-ext4.img 2. BPI-R1 accepts TF-card. Make sure your TF-card is bigger than 512MB. Using below command to generate a bootable TD-card:
$ sudo dd if=openwrt-sunxi-BPI-R1-sdcard-vfat-ext4-configured.img of=/dev/sdX bs=1MB
- 1.Notes for the ready configured firmware:
- The login username/password are root/root.
- The software installation source has been set to “http://elastos.org/elorg_common/Lamobo-R1/2015-01-12/”. For details please refer “/etc/opkg.conf”. If you like to install your R1 from chaos.
- Router address is: 10.0.1.1
- If I want to use the original firmware, what can I do?
- 1.The original firmware is built directly from source code. It almost does not install software, except OpenWrt base software. Please download it from:elastos.org/elorg_common/Lamobo-R1/2015-...sdcard-vfat-ext4.img.
- 2.Prepare a TTL thread for to connent OpenWrt bash terminal.
- 3.Connect to OpenWrt terminal throught TTL thread, modify OpenWrt packages source. All Of OpenWrt packages is released on:elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages. You can change opkg.conf(/etc/opkgopkg.conf) content to below:src/gz chaos_calmer_base http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/basesrc/gz chaos_calmer_luci http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/lucisrc/gz chaos_calmer_management http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/managementsrc/gz chaos_calmer_packages http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/packagessrc/gz chaos_calmer_routing http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/routingsrc/gz chaos_calmer_telephony http://elastos.org/elorg_common/Lamobo-R1/2014-01-12/packages/telephonyAnd then, update opkg database: $ opkg update
- 4.Install OpenWrt packages. The below packages are needed:$ opkg install kmod-b53$ opkg install kmod-rtl*$ opkg install hostapd$ opkg install wpa-supplicant$ opkg install luci-proto-ppp$ opkg install ppp-mod-pptp$ opkg install luci$ opkg install luci-theme-bootstrapFull package list please refer: kingone.elastos.org/2015/01/13/lamobo-r1-package-list/
- 5.Modify the network config.Append below text to “/etc/config/network”:
config switch ‘eth0′
option enable ’1′
option enable_vlan ’1′
option reset ’1′
config interface ‘lan’
option proto ‘static’
option ipaddr ’10.0.1.1′
option netmask ’255.255.255.0′
option defaultroute ’0′
option peerdns ’0′
option nat ’1′
option ifname ‘eth0.1′
option type ‘bridge’
config switch_vlan
option device ‘eth0′
option ports ’0 1 2 4 8t’
option vlan ’1′
config interface ‘wan’
option ifname ‘eth0.2′
option proto ‘dhcp’
config switch_vlan
option device ‘eth0′
option vlan ’2′
option ports ’3 8t’
start router web server:
$ /etc/init.d/uhttpd start
$ /etc/init.d/uhttpd enable
That’s all. Good luck!
forum discuss link:
Wiki link:
Last modified 3yr ago