Ciao a tutti di nuovo!
Sto cercando di collegare un HDD USB al router per fare una condivisione SMB ed un Server DLNA ma il router non vede gli HDD.
Nella scheda di configurazione SMB non appare alcun disco.
Vi faccio vedere gli output di "lsusb -t", "ls -l /dev/sd*" e di "dmesg"
root@OpenWrt:~# lsusb -t
Bus 004 Device 003: ID 174c:55aa
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001
Bus 003 Device 001: ID 1d6b:0002
Bus 004 Device 001: ID 1d6b:0003
root@OpenWrt:~# ls -l /dev/sd*
brw-r--r-- 1 root root 8, 0 Mar 28 12:52 /dev/sda
brw-r--r-- 1 root root 8, 1 Mar 28 12:52 /dev/sda1
[ 812.316000] usb 4-2: new SuperSpeed USB device number 3 using xhci-hcd
[ 812.335000] scsi3 : usb-storage 4-2:1.0
[ 813.340000] scsi 3:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 6
[ 813.349000] sd 3:0:0:0: [sda] Spinning up disk............ready
[ 822.367000] sd 3:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 822.374000] sd 3:0:0:0: [sda] Write Protect is off
[ 822.379000] sd 3:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 822.384000] sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 822.399000] sda: sda1
[ 822.402000] sd 3:0:0:0: [sda] Attached SCSI disk
[ 825.368000] EXT3-fs (sda1): error: couldn't mount because of unsupported optional features (240)
[ 825.394000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
[ 825.532000] EXT4-fs (sda1): recovery complete
[ 825.552000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: errors=continue
Inoltre ho pensato di seguire una guida di openWRT sui dischi esterni
https://openwrt.org/docs/guide-user/storage/usb-drivesroot@OpenWrt:~# opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09.1/brcm63xx-tch/VANTW/packages/Packages.gz.
wget: server returned error: HTTP/1.1 404 Not Found
Downloading https://raw.githubusercontent.com/FrancYescO/789vacv2_opkg/xtream35b/packages/Packages.gz.
wget: not an http or ftp url: https://raw.githubusercontent.com/FrancYescO/789vacv2_opkg/xtream35b/packages/Packages.gz
Collected errors:
* opkg_download: Failed to download http://downloads.openwrt.org/attitude_adjustment/12.09.1/brcm63xx-tch/VANTW/packages/Packages.gz, wget returned 1.
* opkg_download: Failed to download https://raw.githubusercontent.com/FrancYescO/789vacv2_opkg/xtream35b/packages/Packages.gz, wget returned 1.
root@OpenWrt:~# opkg install kmod-usb-storage
Package kmod-usb-storage (3.4.11-1) installed in root is up to date.
root@OpenWrt:~# opkg install kmod-usb-storage-uas
Unknown package 'kmod-usb-storage-uas'.
Collected errors:
* opkg_install_cmd: Cannot install package kmod-usb-storage-uas.
root@OpenWrt:~# opkg install usbutils
Unknown package 'usbutils'.
Collected errors:
* opkg_install_cmd: Cannot install package usbutils.
root@OpenWrt:~# opkg install block-mount
Unknown package 'block-mount'.
Collected errors:
* opkg_install_cmd: Cannot install package block-mount.
Non so che fare. Ho provato due diversi dischi esterni, con alimentazione esterna, sia USB 2.0 che USB 3.0.
Come mai opkg non raggiunge i repository ? Il router ha connessione verso l'esterno; la GUI l'ho aggiornata tramite comando da terminale e l'ha scaricata direttamente dal web ed ho fatto tentativi di ping su 8.8.8.8 e su
www.google.com, ed entrambi vanno a buon fine.
Suggerimenti?
Sono con la GUI dev aggiornata su un Fastweb Xtream 35B.
Grazie a tutti per le eventuali risposte