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

相关文章

windows和Linux使用命令行计算文件的MD5值

《windows和Linux使用命令行计算文件的MD5值》在Windows和Linux系统中,您可以使用命令行(终端或命令提示符)来计算文件的MD5值,文章介绍了在Windows和Linux/macO... 目录在Windows上:在linux或MACOS上:总结在Windows上:可以使用certuti

CentOS和Ubuntu系统使用shell脚本创建用户和设置密码

《CentOS和Ubuntu系统使用shell脚本创建用户和设置密码》在Linux系统中,你可以使用useradd命令来创建新用户,使用echo和chpasswd命令来设置密码,本文写了一个shell... 在linux系统中,你可以使用useradd命令来创建新用户,使用echo和chpasswd命令来设

一文教你Python如何快速精准抓取网页数据

《一文教你Python如何快速精准抓取网页数据》这篇文章主要为大家详细介绍了如何利用Python实现快速精准抓取网页数据,文中的示例代码简洁易懂,具有一定的借鉴价值,有需要的小伙伴可以了解下... 目录1. 准备工作2. 基础爬虫实现3. 高级功能扩展3.1 抓取文章详情3.2 保存数据到文件4. 完整示例

Linux之systemV共享内存方式

《Linux之systemV共享内存方式》:本文主要介绍Linux之systemV共享内存方式,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录一、工作原理二、系统调用接口1、申请共享内存(一)key的获取(二)共享内存的申请2、将共享内存段连接到进程地址空间3、将

快速修复一个Panic的Linux内核的技巧

《快速修复一个Panic的Linux内核的技巧》Linux系统中运行了不当的mkinitcpio操作导致内核文件不能正常工作,重启的时候,内核启动中止于Panic状态,该怎么解决这个问题呢?下面我们就... 感谢China编程(www.chinasem.cn)网友 鸢一雨音 的投稿写这篇文章是有原因的。为了配置完

python获取网页表格的多种方法汇总

《python获取网页表格的多种方法汇总》我们在网页上看到很多的表格,如果要获取里面的数据或者转化成其他格式,就需要将表格获取下来并进行整理,在Python中,获取网页表格的方法有多种,下面就跟随小编... 目录1. 使用Pandas的read_html2. 使用BeautifulSoup和pandas3.

C语言中位操作的实际应用举例

《C语言中位操作的实际应用举例》:本文主要介绍C语言中位操作的实际应用,总结了位操作的使用场景,并指出了需要注意的问题,如可读性、平台依赖性和溢出风险,文中通过代码介绍的非常详细,需要的朋友可以参... 目录1. 嵌入式系统与硬件寄存器操作2. 网络协议解析3. 图像处理与颜色编码4. 高效处理布尔标志集合

Go语言开发实现查询IP信息的MCP服务器

《Go语言开发实现查询IP信息的MCP服务器》随着MCP的快速普及和广泛应用,MCP服务器也层出不穷,本文将详细介绍如何在Go语言中使用go-mcp库来开发一个查询IP信息的MCP... 目录前言mcp-ip-geo 服务器目录结构说明查询 IP 信息功能实现工具实现工具管理查询单个 IP 信息工具的实现服

C 语言中enum枚举的定义和使用小结

《C语言中enum枚举的定义和使用小结》在C语言里,enum(枚举)是一种用户自定义的数据类型,它能够让你创建一组具名的整数常量,下面我会从定义、使用、特性等方面详细介绍enum,感兴趣的朋友一起看... 目录1、引言2、基本定义3、定义枚举变量4、自定义枚举常量的值5、枚举与switch语句结合使用6、枚

Linux命令之firewalld的用法

《Linux命令之firewalld的用法》:本文主要介绍Linux命令之firewalld的用法,具有很好的参考价值,希望对大家有所帮助,如有错误或未考虑完全的地方,望不吝赐教... 目录linux命令之firewalld1、程序包2、启动firewalld3、配置文件4、firewalld规则定义的九大