一、更新组件
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils subversion libncurses5-dev ncurses-term zlib1g-dev libssl-dev
二、然后是下载源码
TRUNK版的是
svn checkout svn://svn.openwrt.org/openwrt/trunk
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a
DREAMBOX版的是
svn co svn://svn.openwrt.org.cn/dreambox/backfire openwrt-dreambox
cd openwrt-dreambox
./scripts/feeds update -a
./scripts/feeds install -a
自己斟酌
四、make V=99
编译完成后会在源码文件目录出现bin文件夹(如trunk/bin/XXXX)
五、登陆路由器
ssh –l root 192.168.1.1
六、更新openwrt软件
opkg update //更新软件包列表
opkg install //在线安装软件包
sudo apt-get install gcc g++ binutils patch bzip2 flex bison make autoconf gettext texinfo unzip sharutils subversion libncurses5-dev ncurses-term zlib1g-dev libssl-dev
二、然后是下载源码
TRUNK版的是
svn checkout svn://svn.openwrt.org/openwrt/trunk
cd trunk
./scripts/feeds update -a
./scripts/feeds install -a
DREAMBOX版的是
svn co svn://svn.openwrt.org.cn/dreambox/backfire openwrt-dreambox
cd openwrt-dreambox
./scripts/feeds update -a
./scripts/feeds install -a
chmod -R 777 openwrt
自己斟酌
四、make V=99
编译完成后会在源码文件目录出现bin文件夹(如trunk/bin/XXXX)
五、登陆路由器
ssh –l root 192.168.1.1
六、更新openwrt软件
opkg update //更新软件包列表
opkg install //在线安装软件包
opkg remove //移除软件包
学习中……