qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言

本文主要是介绍qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

Phantom曾经把DD的源码压缩为926.92M的7z包,:

Phantom5月27日 19:22笔记

感谢Phantom打包的DD-WRT的源码!

ddwrt(解压需10G,至少20G剩余空间,不要用GUI界面解压,死在哪都不知道).7z(926.92M)

Phantom说:为了压缩率 字典 用的比较大 解压需要 512m+ 空余内存

Phantom(229388568)  19:05:00

解压 需要 10G 空间 总共有 20G 空间剩余的才能玩

Phantom(229388568)  19:06:00

不要用 gui界面的解压

Phantom(229388568) 19:06:08

死在那里 什么都看不出来

Phantom(229388568)  19:07:03

7z 可以 在 win 下面解压 内存丰富 性能强

Phantom(229388568)  19:07:23

然后 把 tar 的目录挂载到 vm 里面再解压

Phantom(229388568)  19:08:07

为了压缩率 字典 用的比较大 解压需要 512m+ 空余内存

Phantom QQMail_REFER_SPLIT 5月27日 19:22

export PATH=/opt/4.1.2/bin:$PATH

#export PATH=/opt/4.1.2/bin:$PATH

apt-get -y install libreadline-dev subversion gcc g++ binutils patch bzip2 flex-old bison make gettext unzip zlib1g-dev libc6 libncurses5-dev libstdc++6 automake openssl libxml2-dev ia32-libs

#wget http://mirrors.kernel.org/ubuntu ... -17ubuntu1_i386.deb

#dpkg -i ./libstdc++5_3.3.6-17ubuntu1_i386.deb

#rm ./libstdc++5_3.3.6-17ubuntu1_i386.deb

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.4

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.3.6

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.4

ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /opt/3.4.6

ln -s /root/toolchains/4.1.0-uclibc-0.9.28/ /opt/4.1.0

ln -s /root/toolchains/toolchain-mipsel_gcc4.1.2/ /opt/4.1.2

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.4.6

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.4.4

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.3.6

#ln -s /root/toolchains/3.4.6-uclibc-0.9.28/ /root/toolchains/3.3.4

#ln -s /root/toolchains/4.1.0-uclibc-0.9.28/ /root/toolchains/4.1.0

# Creating symlinks

rm ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm

ln -s ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm-mips ~/ddwrt/src/linux/brcm/linux.v24_2/include/asm

mkdir ~/tmp

cd ~/ddwrt

#64位系统 不用搞

wget http://mirrors.kernel.org/ubuntu ... -17ubuntu1_i386.deb

dpkg -i --force-all ./libstdc++5_3.3.6-17ubuntu1_i386.deb

rm ./libstdc++5_3.3.6-17ubuntu1_i386.deb

echo "Compiling jsformat..."

cd ~/ddwrt/src/router/tools

rm jsformat

make jsformat

echo "done.."

echo "Compiling strip..."

cd ~/ddwrt/tools

rm ./strip

gcc strip.c -o ./strip

echo "done.."

echo "Compiling process_langfile..."

rm process_langfile

gcc -o process_langfile process_langfile.c

echo "done.."

# make write3

rm ./write3

gcc write3.c -o ./write3

echo "Compiling write4..."

rm ./write4

gcc write4.c -o ./write4

echo "done.."

echo "Compiling webcomp..."

rm ./webcomp

gcc -o webcomp -DUEMF -DWEBS -DLINUX webcomp.c

#change compile flage in /home/dd-wrt/DD-WRT/src/squashfs-tools/Makefile to use non x64 compiler if oyu do not have x64 machine

sed -i -e "s%-m64%-m32%" ~/ddwrt/src/squashfs-tools/Makefile

sed -i -e "s%-m64%-m32%" ~/ddwrt/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Lib/makefile

# same in /home/dd-wrt/DD-WRT/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Lib/makefile

# now make the lzma util. because Version in svn is 64 bit. There should not be any problem with recompiling in on 64bit, too.

cd ~/ddwrt/src/squashfs-tools/lzma/C/7zip/Compress/LZMA_Alone

mv makefile makefile.disabled

mv makefile.gcc makefile

make

cp -vf lzma ~/ddwrt/opt/loader-0.02/

# restore point checked out of SVN

mv makefile makefile.gcc

mv makefile.disabled makefile

# compile mksquashfs-lzma (again it is 64 bit)

cd ~/ddwrt/src/squashfs-tools

rm mksquashfs-lzma

make

cp mksquashfs-lzma ../linux/brcm/linux.v24_2/scripts/squashfs

#64 end

echo "Creating Makefile for packages .."

cd ~/ddwrt/src/router/

#建议从 configs 文件夹拷贝

cp .config_mega.v24 .config

gedit .config

cd ./busybox/

cp .config_std .config

#gedit .config

cd ..

cd ./sputnik

mv ./Makefile ./Makefile.away

cd ..

echo "#define BUILD_DATE \"$(date +%D)\"" > ~/ddwrt/opt/build.h

make configure

make clean

export PATH=/opt/3.4.6/bin:$PATH

make rflow

export PATH=/opt/4.1.2/bin:$PATH

#wget ftp://bird.network.cz/pub/bird/bird-1.2.2.tar.gz

#tar zxvf ./bird-1.2.2.tar.gz

#rm -rv bird

#mv ./bird-1.2.2 ./bird

cd ./bird

./configure --host=mipsel-linux-uclibc --disable-client --with-sysconfig=sysdep/cf/linux-22.h --localstatedir=/tmp/bird --sysconfdir=/tmp/bird --no-recursion CC=mipsel-linux-uclibc-gcc bird_cv_c_endian=big-endian

#添加 LD=mipsel-linux-uclibc-ld

gedit ./obj/Rules

make

cd ..

#cd ./iptraf/src/

#make clean

#make

#make install

#cd ../..

#http://svn.dd-wrt.com:8000/dd-wrt/ticket/646

#make zlib

#cd ./asterisk

#make dist-clean

#./configure --host=mipsel-linux-uclibc --without-curl --without-curses --with-gsm=internal --without-gtk --without-gtk2 --without-isdnnet --without-kde --without-misdn --without-nbs --with-ncurses="/root/ddwrt/src/router/ncurses" --without-netsnmp --without-newt --without-odbc --without-ogg --without-osptk --without-pri --without-qt --without-radius --without-sdl --without-spandsp --without-suppserv --without-tds --without-termcap --without-tinfo --without-vorbis --without-vpb --with-z="/root/ddwrt/src/router/zlib" --disable-xmldoc --without-dahdi --without-gnutls --without-iksemel CC=mipsel-linux-uclibc-gcc LD=mipsel-linux-uclibc-ld

make

cd ..

echo "done.."

make all install

##########################################################

cd ~/ddwrt/opt

mkdir ../src/router/mipsel-uclibc/target/etc/config

./sstrip/sstrip ../src/router/mipsel-uclibc/target/bin/*

./sstrip/sstrip ../src/router/mipsel-uclibc/target/sbin/rc

./sstrip/sstrip ../src/router/mipsel-uclibc/target/usr/sbin/*

cp ./bin/ipkg ../src/router/mipsel-uclibc/target/bin

cp ./libgcc/* ../src/router/mipsel-uclibc/target/lib

cd ../src/router/mipsel-uclibc/target/lib

ln -s libgcc_s.so.1 libgcc_s.so

cd ../../../../../opt

cp ./etc/preinit ../src/router/mipsel-uclibc/target/etc

cp ./etc/postinit ../src/router/mipsel-uclibc/target/etc

cp ./etc/ipkg.conf ../src/router/mipsel-uclibc/target/etc

cp ./etc/config/* ../src/router/mipsel-uclibc/target/etc/config

cp ./usr/lib/smb.conf ../src/router/mipsel-uclibc/target/usr/lib

cd ../src/router/mipsel-uclibc/target/www

ln -s ../tmp/smbshare smb

cd ../../../../../opt

./strip_libs.sh

../src/linux/brcm/linux.v24_2/scripts/squashfs/mksquashfs-lzma ../src/router/mipsel-uclibc/target target.squashfs -noappend -root-owned -le

#./make_kernel.v24_2.sh

../tools/trx -o dd-wrt.v24_2.trx ./loader-0.02/loader.gz ../src/router/mipsel-uclibc/vmlinuz target.squashfs

这个是我 最新的 笔记 有点乱 大家将就研究下吧

附解压过程截图如下:

thread-48463-1-1.html

这篇关于qbit linux网页ui不能设置中文,嘿嘿..终于搞定DD-WRT修改WEB界面和添加中文语言的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/389637

相关文章

网页解析 lxml 库--实战

lxml库使用流程 lxml 是 Python 的第三方解析库,完全使用 Python 语言编写,它对 XPath表达式提供了良好的支 持,因此能够了高效地解析 HTML/XML 文档。本节讲解如何通过 lxml 库解析 HTML 文档。 pip install lxml lxm| 库提供了一个 etree 模块,该模块专门用来解析 HTML/XML 文档,下面来介绍一下 lxml 库

HarmonyOS学习(七)——UI(五)常用布局总结

自适应布局 1.1、线性布局(LinearLayout) 通过线性容器Row和Column实现线性布局。Column容器内的子组件按照垂直方向排列,Row组件中的子组件按照水平方向排列。 属性说明space通过space参数设置主轴上子组件的间距,达到各子组件在排列上的等间距效果alignItems设置子组件在交叉轴上的对齐方式,且在各类尺寸屏幕上表现一致,其中交叉轴为垂直时,取值为Vert

中文分词jieba库的使用与实景应用(一)

知识星球:https://articles.zsxq.com/id_fxvgc803qmr2.html 目录 一.定义: 精确模式(默认模式): 全模式: 搜索引擎模式: paddle 模式(基于深度学习的分词模式): 二 自定义词典 三.文本解析   调整词出现的频率 四. 关键词提取 A. 基于TF-IDF算法的关键词提取 B. 基于TextRank算法的关键词提取

linux-基础知识3

打包和压缩 zip 安装zip软件包 yum -y install zip unzip 压缩打包命令: zip -q -r -d -u 压缩包文件名 目录和文件名列表 -q:不显示命令执行过程-r:递归处理,打包各级子目录和文件-u:把文件增加/替换到压缩包中-d:从压缩包中删除指定的文件 解压:unzip 压缩包名 打包文件 把压缩包从服务器下载到本地 把压缩包上传到服务器(zip

MySQL数据库宕机,启动不起来,教你一招搞定!

作者介绍:老苏,10余年DBA工作运维经验,擅长Oracle、MySQL、PG、Mongodb数据库运维(如安装迁移,性能优化、故障应急处理等)公众号:老苏畅谈运维欢迎关注本人公众号,更多精彩与您分享。 MySQL数据库宕机,数据页损坏问题,启动不起来,该如何排查和解决,本文将为你说明具体的排查过程。 查看MySQL error日志 查看 MySQL error日志,排查哪个表(表空间

Linux 网络编程 --- 应用层

一、自定义协议和序列化反序列化 代码: 序列化反序列化实现网络版本计算器 二、HTTP协议 1、谈两个简单的预备知识 https://www.baidu.com/ --- 域名 --- 域名解析 --- IP地址 http的端口号为80端口,https的端口号为443 url为统一资源定位符。CSDNhttps://mp.csdn.net/mp_blog/creation/editor

【Python编程】Linux创建虚拟环境并配置与notebook相连接

1.创建 使用 venv 创建虚拟环境。例如,在当前目录下创建一个名为 myenv 的虚拟环境: python3 -m venv myenv 2.激活 激活虚拟环境使其成为当前终端会话的活动环境。运行: source myenv/bin/activate 3.与notebook连接 在虚拟环境中,使用 pip 安装 Jupyter 和 ipykernel: pip instal

Android实现任意版本设置默认的锁屏壁纸和桌面壁纸(两张壁纸可不一致)

客户有些需求需要设置默认壁纸和锁屏壁纸  在默认情况下 这两个壁纸是相同的  如果需要默认的锁屏壁纸和桌面壁纸不一样 需要额外修改 Android13实现 替换默认桌面壁纸: 将图片文件替换frameworks/base/core/res/res/drawable-nodpi/default_wallpaper.*  (注意不能是bmp格式) 替换默认锁屏壁纸: 将图片资源放入vendo

科研绘图系列:R语言扩展物种堆积图(Extended Stacked Barplot)

介绍 R语言的扩展物种堆积图是一种数据可视化工具,它不仅展示了物种的堆积结果,还整合了不同样本分组之间的差异性分析结果。这种图形表示方法能够直观地比较不同物种在各个分组中的显著性差异,为研究者提供了一种有效的数据解读方式。 加载R包 knitr::opts_chunk$set(warning = F, message = F)library(tidyverse)library(phyl