资讯专栏INFORMATION COLUMN

[gist]flash dd-wrt and install transmission in WNR

Astrian / 2552人阅读

摘要:格式化成格式根据官方最新的已经不用了目前的目录结构是这样的已经因此根据需要格式化如果你的硬盘一直要与路由连或者需要在硬盘上装软件就格成如果只是存储数据也可用建议连路由专用的硬盘可用格式成这样你

from http://oyanglul.us

Prepaire

    USB disk 格式化成ext2/3格式, with gparted in linux. 根据官方wiki, 最新的v24已经 不用jffs了, 目前的dd-wrt目录结构是这样的:

    /tmp ## mounted on the RAM drive of dd-wrt
    /jffs  ## builti-in flash, 已经disable
    /mnt ## used for rw drive
    

    因此根据需要格式化, 如果你的硬盘一直要与路由连, 或者需要在硬盘上装软件 , 就格成ext3,如果只是存储数据, whatever, fat也可用

    Use ONLY ext2/3 for partition/drives that you plan for permanent connection to your DD-WRT box, or for drives where you plan to install additional software packages onto (like optware, Samba, Torrent etc.). You can use any of the three mount points: /opt, /mnt, /jffs

    Use FAT32 on data partitions if you intend to connect this drive to other systems (MAC, Windows) to copy files from/to directly. You should use the mount point: /mnt

    wiki建议连路由专用的硬盘可用格式成这样

        one: for optware packages - make it 32MB - 2GB - use ext2/3 as the format
        two: for swap file - make it 16-256 MB - format it as linux swap file
        three: for data space - make it fit the rest of the disk - use ext2/3 or FAT32 as the format
        four: for jffs space - make it 32MB - 2GB - use ext2/3 as the format 
    

      Connection 你需要用ssh或者telnet连接router来安装软件 # Installation #

      mount your usb Under Services->USB: * Enable Core USB Support * Disable USB Printer Support (enable it if you need printing support) * Enable USB Storage Support * Enable Automatic Drive Mount * Set Disk Mount Point to /mnt * Click Apply Settings

      make sure mount it to /mnt 我的usb读卡器mount到了/mnt/sda_part1上, 需要再手动mount到mnt目录下

      mount some directions

      cd /mnt
      mkdir etc opt root
      touch optware.enable
      chmod 755 etc opt root
      mkdir opt/lib
      chmod 755 opt/lib
      cp -a /etc/* /mnt/etc/
      mount -o bind /mnt/etc /etc
      mount -o bind /mnt/opt /jffs 
      

      文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。

      转载请注明本文地址:https://www.ucloud.cn/yun/85262.html

相关文章

  • 昂瑞威 HS6621 低功耗蓝牙芯片烧录调试

    摘要:此目录下包含三个例程及工程,可以直接打开编译,建议客户直接在此目录下进行编译开发。此目录下有两个脚本文件及,需要根据芯片版本的区别来运行对应的脚本此默认为无需更改。 ...

    sihai 评论0 收藏0
  • [gist]Build Yourself a Backbone.js Step by Step

    from http://oyanglul.us Install Node brew install node node here is use for setup tools like grunt and mocha npm install -g grunt grunt is...

    mochixuan 评论0 收藏0
  • [gist]pure and secure javascript oauth with yql

    from http://oyanglul.us It would be awesome if we can use OAuth in JavaScript purely in client side. before start to do that, please let me e...

    ityouknow 评论0 收藏0
  • GitChat · 架构 | 如何从零开始搭建高性能直播平台?

    摘要:在本文中,我将先从协议开始,一步步带领大家搭建一个简易高性能的直播平台。停止应用简介俄罗斯人民开发的一款的流媒体插件,除了直播发布音视频流之外具备流媒体服务器的常见功能在线直播。语法上下文描述使视频流从一个关键帧开始。 来自 GitChat 作者:七夜 前言 现在直播已经成为移动互联网时代一个新的重要流量入口,从YY、斗鱼到花椒直播,直播已经成为人们分享交流的新方式,应用场景众多,主要...

    isaced 评论0 收藏0

发表评论

0条评论

最新活动
阅读需要支付1元查看
<