内容字号:默认大号超大号

段落设置:段首缩进取消段首缩进

字体设置:切换到微软雅黑切换到宋体

Pogo2.更新OpenWRT至最新版

2018-04-15 16:18 出处:清屏网 人气: 评论(0

Download Link: 百度云密码:qdcx

前言

在刷完Play4fun的固件后我有很长一段时间没有折腾这台Pogoplug,原因是刷了Play4fun大大的固件后有很多问题存在:

  1. 硬盘没有办法进行格式化,mkfs命令在这里有问题
  2. transmission也存在问题,web界面不显示下载,有走流量但是下完后也在硬盘里找不到
  3. 这个固件中集合了太多没有用的东西,比如说aria2,有了transmission挂pt对我来说已经足够,我其实并没有想用他来下载一些小文件

正是因为这些原因,所以我一直将其放在一边。前几天出现了一条新闻:

OpenWrt LEDE merge The OpenWrt and the LEDE project are happily announcing the unification of both projects under the OpenWrt name. After long and sometimes slowly moving discussions about the specifics of the re-merge, with multiple similar proposals but little subsequent action, we're happy to announce that both projects are about to execute the final steps of the merger. The new, unified OpenWrt project will be governed under the rules established by the LEDE project, which can be found at https://lede-project.org/rules . Active members of both the former LEDE and OpenWrt projects will continue working on the unified OpenWrt. LEDE's spinoff and subsequent re-merge into OpenWrt will not alter the overall technical direction taken by the unified project. We will continue to work on improving stability and release maintenance while aiming for frequent minor releases to address critical bugs and security issues like we did with LEDE 17.01 and its four point releases until now. Old pre-15.05 OpenWrt CC releases will not be supported by the merged project anymore, leaving these releases without any future security or bug fixes. The OpenWrt CC 15.05 release series will receive a limited amount of security and bug fixes, but is not yet fully integrated in our release automation, so binary releases are lacking behind for now. The LEDE 17.01 release will continue to get full security and bug fix support for both source code and binary releases. We are planning a new major release under the new name in the next few months. The merged project will use the code base of the former LEDE project. OpenWrt specific patches not present in the LEDE repository but meeting LEDEs code quality requirements got integrated into the new tree. The source code is hosted at https://git.openwrt.org/?p=openwrt/open … ;a=summary with a continuously synchronized Github mirror hosted at https://github.com/openwrt/openwrt . We accept patches sent to our mailing list via openwrt at lists.infradead.org (is still being setup) or Github pull requests to https://github.com/openwrt/openwrt . Yet open pull requests to both the old OpenWrt and LEDE repositories will be closed after a 30 day grace period. We encourage people to open new pull requests at the new repository or re-send still unmerged patches. The remerged OpenWrt project is legally represented by the Software in the Public Interest (SPI) - an US 501(c)(3) non-profit organization. (see https://www.spi-inc.org/projects/openwrt/ ) The SPI is managing our OpenWrt trademark, handling our donations and helping us with legal problems. The original OpenWrt codebase has been archived for future reference and is hosted at https://github.com/openwrt/archive . The bug tracker is available at https://bugs.openwrt.org with previously reported LEDE project issues migrated to it. Old pre-15.05 OpenWrt CC releases, which are not supported any more, can be found at http://archive.openwrt.org . Infrastructure currently available under the lede-project.org domain will be moved to corresponding openwrt.org subdomains and redirects will be put in place where appropriate. The old OpenWrt buildbot infrastructure will be shut down and its compute resources integrated with the existing LEDE infrastructure in order to maintain build coverage of current and future releases. The merger of the OpenWrt and LEDE forums and wikis is not yet fully decided, so all portals will continue to be available under their respective domains until a definite consensus is reached. OpenWrt project

LEDE和OpenWRT正式合并,仍然使用OpenWRT的名称,但是源码用的是LEDE的,并且沿用LEDE的更新规范。

于是我打算将LEDE安装到Pogo上,别人的固件虽然方便,但是每个人都有不同的需求,所以我希望从头构建一个完整的属于自己的Pogo。

刷机前提

  1. 下载pogoplug-pro-squashfs-sysupgrade.tar,可以从 openwrt官网 下载,也可以从文章最上面我的百度网盘下载
  2. pogoplug需要联网

配置过程

  1. 下载升级包,目前openwrt版本为lede 17.01.4
  2. 从web界面进luci,"系统"->“备份/升级”->选择刚刚下载的lede-17.01.4-oxnas-pogoplug-pro-squashfs-sysupgrade.tar,不要勾选保留配置
  3. 官方固件是自动获取网关IP的,所以只要连上路由器,自动能上网,ssh和telnet都可以连接,我们从路由器中找到pogo ip,我这里固定了IP为192.168.1.5。
  4. 在浏览器中输入192.168.1.5,提示没有配置密码,输入root和空密码登录后台,在luci界面更改好密码。
  5. ssh root@192.168.1.5登录shell,opkg update更新包,接下来大家可以根据自己的需要安装相应功能。
  6. 可以根据自己需要安装theme
$ opkg list | grep luci-theme

luci-theme-bootstrap – git-14.352.03206-43c395a-1 – Bootstrap Theme (default)  
luci-theme-freifunk-bno – git-14.352.03206-43c395a-1 – Freifunk Berlin Nordost Theme  
luci-theme-freifunk-generic – git-14.352.03206-43c395a-1 – Freifunk Generic Theme  
luci-theme-openwrt – git-14.352.03206-43c395a-1 – OpenWrt.org

$ opkg install luci-theme-openwrt
  1. 安装中文
$ opkg install luci-i18n-base-zh_cn

提醒

有些时候ssh能登录,但是pogoplug不能上外网,其实是因为pogoplug的网关和DNS都没有配置过,这里我贴一个配置文件:

$ vi /etc/config/network

config interface 'lan'  
    option ifname 'eth0'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.1.5'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option gateway '192.168.1.1'
    option dns '192.168.1.1'

$ /etc/init.d/network restart
分享给小伙伴们:
本文标签: OpenWRT

相关文章

发表评论愿您的每句评论,都能给大家的生活添色彩,带来共鸣,带来思索,带来快乐。

CopyRight © 2015-2016 QingPingShan.com , All Rights Reserved.

清屏网 版权所有 豫ICP备15026204号