Results 1 to 15 of 3173

Thread: Подключаем USB HDD к роутеру

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Hitachi LifeStudio Desk+ external HDD и RT-N16

    Роутер не видит этот HDD. Детектируется только ЮСБиха которая установлена на жестком диске, а самого жесткого диста не видать.
    Думаю что проблема во встроенном SimpleTech USB Hub. Что нужно сделать чтоб детектирвоался роутером HDD вместо USB flash?
    Детальный вывод lsusb с большого брата: http://pastebin.com/asVJvzLq

    Вкрадце что про этот винт пишут:

    Code:
    Bus 001 Device 005: ID 4971:1006 SimpleTech
    Bus 001 Device 004: ID 4971:1002 SimpleTech
    Bus 001 Device 003: ID 4971:1005 SimpleTech
    На винде он видится как два диска. На линуксе всегда один и тот же- флешка.

    решено на dd-wrt вот такой вот startup script:

    Code:
    rmmod scsi_wait_scan
    rmmod sd_mod
    rmmod usb-storage 
    rmmod scsi_mod 
    insmod /lib/modules/`uname -r`/scsi_mod.o
    echo 2 > /sys/module/scsi_mod/parameters/max_luns
    insmod /lib/modules/`uname -r`/sd_mod.o
    insmod /lib/modules/`uname -r`/scsi_wait_scan.o
    insmod /lib/modules/`uname -r`/usb-storage.o 
    insmod /lib/modules/`uname -r`/mbcache.o
    insmod /lib/modules/`uname -r`/jbd.o
    insmod /lib/modules/`uname -r`/ext3.o 
    sleep 10s 
    #now our HDD is detected and we can do other stuff
    
    mount /dev/scsi/host0/bus0/target0/lun1/part1 /opt/
    mount /dev/scsi/host0/bus0/target0/lun1/part3 /mnt/
    mount /dev/scsi/host0/bus0/target0/lun1/part4 /jffs/
    /opt/bin/busybox swapon /dev/scsi/host0/bus0/target0/lun1/part2
    /usr/sbin/iptables -I INPUT 1 -p tcp --dport 15555 -j logaccept
    /opt/bin/transmission-daemon -g /mnt/data/torrents/.config/transmission-daemon
    Last edited by Omega; 27-09-2011 at 01:15. Reason: solved

Similar Threads

  1. can't login after mounting USB HDD
    By phenixyu in forum WL-700g Q&A
    Replies: 0
    Last Post: 04-01-2009, 05:52
  2. 7.09 + USB + hotplug
    By oilinki in forum WL-700g Q&A
    Replies: 0
    Last Post: 18-11-2007, 12:51
  3. USB Mounten an Asus WL HDD
    By verbatim in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 15-10-2007, 11:24
  4. WL500g 2 USB Drucker und ein LPT
    By Trebron in forum German Discussion - Deutsch (DE)
    Replies: 1
    Last Post: 27-01-2006, 23:48

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •