openwrt 挂载移动硬盘,无法识别 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
zjhui
V2EX    Linux

openwrt 挂载移动硬盘,无法识别

  •  
  •   zjhui
    zjhui 2014-01-19 23:10:30 +08:00 15868 次点击
    这是一个创建于 4332 天前的主题,其中的信息可能已经有所发展或是发生改变。
    买了个WR720N路由器,刷了官方的http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr720n-v3-squashfs-factory.bin固件。然后插上移动硬盘。发现无法识别出。查了下说是缺少kmod-usb-storage.
    想通过opkg安装,结果报如下错误:
    root@OpenWrt:~# opkg install kmod-usb-storage
    Installing kmod-usb-storage (3.10.26-1) to root...
    Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/kmod-usb-storage_3.10.26-1_ar71xx.ipk.
    Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
    Collected errors:
    * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:
    * kernel (= 3.10.26-1-586e792aa7d1cbc59249e43ee51a59c3) * kernel (= 3.10.26-1-586e792aa7d1cbc59249e43ee51a59c3) *
    * opkg_install_cmd: Cannot install package kmod-usb-storage.
    查看了下应该是固件的内核版本太低:
    root@OpenWrt:~# opkg info kernel
    Package: kernel
    Version: 3.10.24-1-586e792aa7d1cbc59249e43ee51a59c3
    Depends: libc
    Status: install hold installed
    Architecture: ar71xx
    Installed-Time: 1389514057
    请问有啥办法解决不?
    14 条回复    1970-01-01 08:00:00 +08:00
    109109
        1
    109109  
       2014-01-19 23:14:12 +08:00
    硬盘格式? FAT32 NTFS EXT?
    可以试下这里的源
    http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/

    内核低重新刷机比较快。
    1314258
        2
    1314258  
       2014-01-19 23:17:54 +08:00
    @109109 直接解压那个ipk应该也能用吧?
    cdfmr
        3
    cdfmr  
       2014-01-19 23:18:18 +08:00
    Trunk版本的固件和软件包持续更新,新的模块与已安装的内核版本不兼容。解决方法,要么升级固件到最新的trunk,要么找到相应内核版本的模块。使用trunk版的固件,最好同时将所有软件包镜像保存,以避免这种兼容问题。
    zjhui
        4
    zjhui  
    OP
       2014-01-19 23:18:40 +08:00
    @109109 硬盘格式是ext3的。重新刷机如果还是用官方固件的话怕还是内核低。。
    zjhui
        5
    zjhui  
    OP
       2014-01-19 23:22:32 +08:00
    zjhui
        6
    zjhui  
    OP
       2014-01-19 23:23:10 +08:00
    @cdfmr 那就是刷好之后立马把那个时候的软件包给镜像下来么?
    109109
        7
    109109  
       2014-01-19 23:26:49 +08:00
    我有个U盘是FAT32的,插在不同的2个OP(bcm63xx和Ralink),有的认得出,有的认不出。
    没刷机前,可以修改 opkg.conf 更新源看看,测试安装。
    实在不行还是刷回aa版本的比较稳定
    scola
        8
    scola  
       2014-01-20 08:46:48 +08:00
    建议别用trunk的固件和源,2,3天一更新谁也受不了,非要用的话,自己在某个节点建个本地私有源,重新建硬盘格式化ext3,或者ext4格式,创建分区 再试试,我挂载U盘成功了,硬盘应该也是一样的。
    http://scola.github.io/deploy-goagent-on-openwrt-tplink-703n/
    csx163
        9
    csx163  
       2014-01-20 13:45:23 +08:00
    wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-wr720n-v3-squashfs-sysupgrade.bin

    sysupgrade -c openwrt-ar71xx-generic-tl-wr720n-v3-squashfs-sysupgrade.bin
    zjhui
        10
    zjhui  
    OP
       2014-01-20 14:43:49 +08:00 via Android
    @109109 能否给科普下啥是aa版本。。
    liwei
        11
    liwei  
       2014-01-20 14:52:10 +08:00
    @zjhui attitude ajustment, openwrt 最新稳定版的代号,也就是 openwrt-12.09
    109109
        12
    109109  
       2014-01-20 15:48:55 +08:00
    @zjhui attitude ajustment 的简称
    同楼上

    而 trunk 是测试版本
    zjhui
        13
    zjhui  
    OP
       2014-01-20 19:52:26 +08:00
    @109109
    @liwei
    看了下,aa版的貌似还没有wr720n的。~
    109109
        14
    109109  
       2014-01-20 20:24:26 +08:00
    @zjhui 可以试下这个办法
    keyword: kmod-usb-storage_3.10.24-1_ar71xx.ipk 放搜索

    其中一个载点:
    http://firmware.berlin.freifunk.net/barrier_breaker/bleeding-edge/ar71xx/packages/kmod-usb-storage_3.10.24-1_ar71xx.ipk


    不过我载了几个不同的下来,有点区别……

    Depends: kernel (=3.10.24-1-33889c73265109f22241cdcebe26387a), kmod-scsi-core, kmod-usb-core
    Depends: kernel (=3.10.24-1-46af64aa0174b4ec8d06e9524d654917), kmod-scsi-core, kmod-usb-core

    若仍不行则 opkg remove ,换另外个再试
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     2342 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 26ms UTC 01:37 PVG 09:37 LAX 17:37 JFK 20:37
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86