找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 41102|回复: 74

喜大普奔(更新script) - R6300v2及其他ARM架构的opkg和其他软件包的库终于有了

  [复制链接]
本帖最后由 chaihx 于 2015-3-3 23:14 编辑

关键信息
1. 刷DD后参照下面两个帖子,安装entware,就有了opkg,然后这个repository有很多arm架构下的软件包,可以直接用于R6300v2、R7000、AC68U等。
居然有gevent!! 直接装上就能用

http://www.dd-wrt.com/phpBB2/vie ... f57fd8f92a90c308dde
https://www.asuswrt.eu/how-to-install-entware-arm/

我就啰嗦会儿我的折腾历程
背景
1. kong大的image最近用起来很是别扭,1)被墙2)24500M之后没有ipkg,然后安装opkg需要的bootstrap又获取不到文件,据说自己删了,导致一直在用之前的24200M不敢升级
2. bcm53xx架构的路由器,很多现有的Openwrt repository无法直接使用,那些都是为MIPS架构的。以前不懂,下来不少ipk要们无法安装要们permission denied
3. kong大自己和dd官网论坛上magic777各有一个host的库,但是东西都不多

昨天无意中发现上面帖子,基本解决了ARM架构下编译好的软件库缺乏的问题
安装
0. 刷好DD,准备好 /opt, 我是把/opt bind到/jffs里面,不过当然bind到U盘上也没问题
1. 华硕那个帖子是针对他们自己的image的,不过大同小异,关键是里面第四部获取一个安装entware的安装script, 其他后面的激活swap分区什么的我都没用
wget -c -O entware.arm-setup.sh http://goo.gl/FUX7Nv
2. 其实看一下这个script 也没啥了不起的,关键是里面另一句 wget xxxxx (机器没在手边忘了)
3. 拿下来里面的script,运行,就可以装好opkg了
4. 昨晚短短试了试,新的库里面,nano, python, python-openssl, gevent等都是直接安装就可以使用了
完整的可用package列表在这里,基本想用的都有了
http://qnapware.zyxmon.org/binaries-armv7/Packages.html

Enjoy!
---------更新 上文提到的两个script到附件
说明
文件1 entware.arm-setup.sh 这是华硕那篇帖子里提到的附件 就是需要翻WALL那个链接 不过做了一堆检查之后没啥用 我是看了这个script之后直接用里面的wget得到了下面一个文件安装entware
文件2 entware_install_arm.sh 这个改权限后直接运行 就装好了Opkg




本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×

评分

参与人数 2恩山币 +2 收起 理由
huge*** + 1 支付宝已转500w给你!
在下*** + 1 那两个.sh文件是在windows中编码的,记得运行cat entware_in

查看全部评分

我的恩山、我的无线 The best wifi forum is right here.
顶,支持,有希望了。准备入手,2手东活动刚刚结束,貌似在清仓,489的6300V2
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
顶,字数补丁
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

感谢分享,楼主用的是什么固件版本?

点评

就是昨天直接去ftp.dd-wrt.com/betas/2015/03-02-2015_r26424/netgear-r6300v2取得最新固件  详情 回复 发表于 2015-3-3 23:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

wget -c -O entware.arm-setup.sh http://goo.gl/FUX7Nv 这个地址连不上

点评

貌似需要翻WALL 我发附件里了  详情 回复 发表于 2015-3-3 23:17
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

全部打包备份?楼主用的是官方的DD还是其他的
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个脚本:

#!/bin/sh

echo "Info: Checking for prerequisites and creating folders..."

if [ -d /opt ]
then
    echo "Warning: Folder /opt exists!"
else
    mkdir /opt
fi
for folder in bin etc include lib sbin share tmp usr var
do
  if [ -d "/opt/$folder" ]
  then
    echo "Warning: Folder /opt/$folder exists!"
    echo "Warning: If something goes wrong please clean /opt folder and try again."
  else
    mkdir /opt/$folder
  fi
done
[ -d "/opt/lib/opkg" ] || mkdir -p /opt/lib/opkg
[ -d "/opt/var/lock" ] || mkdir -p /opt/var/lock
[ -d "/opt/var/log" ] || mkdir -p /opt/var/log
[ -d "/opt/var/run" ] || mkdir -p /opt/var/run

echo "Info: Opkg package manager deployment..."
cd /opt/bin
wget http://qnapware.zyxmon.org/binaries-armv7/installer/opkg
chmod +x /opt/bin/opkg
cd /opt/etc
wget http://qnapware.zyxmon.org/binaries-armv7/installer/opkg.conf
cd /opt/lib
wget http://qnapware.zyxmon.org/binaries-armv7/installer/ld-2.20.so
chmod +x ld-2.20.so
ln -s ld-2.20.so ld-linux.so.3
wget http://qnapware.zyxmon.org/binaries-armv7/installer/libc-2.20.so
ln -s libc-2.20.so libc.so.6

echo "Info: Basic packages installation..."
/opt/bin/opkg update
/opt/bin/opkg install glibc-opt
if [ ! -f /opt/usr/lib/locale/locale-archive ]
then
        wget http://qnapware.zyxmon.org/binar ... ller/locale-archive -O /opt/usr/lib/locale/locale-archive
fi

echo "Info: Congratulations!"
echo "Info: If there are no errors above then Entware.arm successfully initialized."
echo "Info: Add /opt/bin & /opt/sbin to your PATH variable"
echo "Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware.arm services to start"
echo "Info: Found a Bug? Please report at https://github.com/zyxmon/entware-arm/issues"

点评

就是这个 我刚才发附件里了  详情 回复 发表于 2015-3-3 23:18
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ghalcyong 发表于 2015-3-3 15:18
感谢分享,楼主用的是什么固件版本?

就是昨天直接去ftp.dd-wrt.com/betas/2015/03-02-2015_r26424/netgear-r6300v2取得最新固件

点评

感谢,楼主使用情况到时也分享下哈。我现在在用kong 的24345,用了magic777的库。暂时也满足需求了,就懒得折腾。以后就参考你的来升了。  详情 回复 发表于 2015-3-4 14:40
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
carelesswang 发表于 2015-3-3 16:40
wget -c -O entware.arm-setup.sh http://goo.gl/FUX7Nv 这个地址连不上

貌似需要翻WALL 我发附件里了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
wuqiyu007 发表于 2015-3-3 22:15
这个脚本:

#!/bin/sh


就是这个 我刚才发附件里了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

chaihx 发表于 2015-3-3 23:17
就是昨天直接去ftp.dd-wrt.com/betas/2015/03-02-2015_r26424/netgear-r6300v2取得最新固件

感谢,楼主使用情况到时也分享下哈。我现在在用kong 的24345,用了magic777的库。暂时也满足需求了,就懒得折腾。以后就参考你的来升了。

点评

magic777库是什么?能装mysql么?有没有教程?  详情 回复 发表于 2015-3-30 22:51
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

谢谢chaihx!最好能做个脱机包就更好了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

新手不会刷啊。。。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

新手表示刚刚入手6300,ddwt木有研究,有什么推荐的帖子吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

安装成功重启路由器后无法运行,是什么情况?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 13:04

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表