1 (edytowany przez userxyz 2013-12-22 13:15:05)

Temat: Router HG553-Montowanie dysku HDD 500GB

Może mi ktoś pomóc trochę w zrozumieniu działania montowania dysku? Opisy jakie są tutaj podane są,przepraszam ze to napiszę trochę do bani,lakoniczne. Czytałem opis jak montuje się dysk HDD i za nic nie mogę go zamontować. Nie raz po wydaniu komendy która jest w opisie pisze ze taki pakiet nie istnieje w repozytorium.

Udało mi się wcześniej jakoś zamontować dysk, tak że go samo wykrywało, jednak jestem po świerzej instalacji OpenWrt i chcę zrozumieć dokładnie na czym to polega.

Nie wspomnę o instalacji dodatkowych bibliotek za obsługę dysków. Dysk jest w formacie fat32.
Chciałbym się dowiedzieć po kolei.
1.Jak sprawdzić gdzie dysk jest wykrywany w systemie, czyli jaki ma przypisany UUID, pod jakim adresem jest urządzenie,czyli dev/sdaX,

Wydaję komendę dmsg ale nic nie widzę aby było widać jakiś podpięty dysk pod usb. Zainstalowałem chyba wszystkie możliwe biblioteki.

Rozumie, ze jak juz mi wykryje dysk pod /dev/sda1 to wpisuje te dane w System-->Punkt Montowania i jako dane podaję tak jak na obrazku?
montowanie
Dysku jak  ie widać, tak dalej nie widać.
montowanie

2

Odp: Router HG553-Montowanie dysku HDD 500GB

1. blkid

Źle masz. Nie możesz montować zasobu w głównym katalogu / bo przecież tam już jest twój system plików na routerze! I napisane /dev/sda1 jak na obrazku nie spowoduje że dysk będzie automatycznie wykryty. To tylko określenie gdzie i co ma się montować, a nie jak zostało wykryte.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Router HG553-Montowanie dysku HDD 500GB

Po wydaniu komendy blkid mam takie info:
root@OpenWrt:~# root@OpenWrt:~# blkid
-ash: root@OpenWrt:~#: not found
root@OpenWrt:~# /dev/mtdblock2: TYPE="squashfs"

Ustawiłem tak:
mnt3

Jak mam go zamontować teraz? Aby był widziany tam powyżej z innymi?

4

Odp: Router HG553-Montowanie dysku HDD 500GB

Wynik opkg list_installed pokaż.

Punkt montowania - nie /dev/sda1 a /mnt/dysk np.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Router HG553-Montowanie dysku HDD 500GB

root@OpenWrt:~# opkg list_installed
base-files - 117-r36088
blkid - 2.21.2-1
block-mount - 0.2.0-9
busybox - 1.19.4-6
cfdisk - 2.21.2-1
chat - 2.4.5-8
cifsmount - 5.4-1
comgt - 0.32-21
ddns-scripts - 1.0.0-21
dnsmasq - 2.62-2
dosfsck - 3.0.12-1
dropbear - 2011.54-2
e2fsprogs - 1.42.4-1
firewall - 2-55.1
firmwarehotplug - 0.1-1
fxload - 2008_10_13-1
hotplug2 - 1.0-beta-4
iptables - 1.4.10-4
iw - 3.6-1
jshn - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
kernel - 3.3.8-1-3e727c51e42e8034f8ada81e0e9fe681
kmod-b43 - 3.3.8+2012-09-07-3
kmod-bcma - 3.3.8-1
kmod-button-hotplug - 3.3.8-3
kmod-cfg80211 - 3.3.8+2012-09-07-3
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-crypto-des - 3.3.8-1
kmod-crypto-ecb - 3.3.8-1
kmod-crypto-hash - 3.3.8-1
kmod-crypto-hmac - 3.3.8-1
kmod-crypto-manager - 3.3.8-1
kmod-crypto-md4 - 3.3.8-1
kmod-crypto-md5 - 3.3.8-1
kmod-fs-cifs - 3.3.8-1
kmod-fs-ext4 - 3.3.8-1
kmod-fs-hfsplus - 3.3.8-1
kmod-fs-vfat - 3.3.8-1
kmod-fuse - 3.3.8-1
kmod-i2c-core - 3.3.8-1
kmod-input-core - 3.3.8-1
kmod-input-gpio-keys-polled - 3.3.8-1
kmod-input-polldev - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-lib-crc16 - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-09-07-3
kmod-nls-base - 3.3.8-1
kmod-nls-cp437 - 3.3.8-1
kmod-nls-iso8859-1 - 3.3.8-1
kmod-nls-utf8 - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-scsi-core - 3.3.8-1
kmod-sound-core - 3.3.8-1
kmod-switch - 3.3.8-5
kmod-usb-audio - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb-printer - 3.3.8-1
kmod-usb-serial - 3.3.8-1
kmod-usb-serial-option - 3.3.8-1
kmod-usb-serial-qualcomm - 3.3.8-1
kmod-usb-serial-sierrawireless - 3.3.8-1
kmod-usb-serial-wwan - 3.3.8-1
kmod-usb-storage - 3.3.8-1
kmod-usb-uhci - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-video-core - 3.3.8-1
kmod-video-cpia2 - 3.3.8-1
kmod-video-gspca-core - 3.3.8-1
kmod-video-gspca-etoms - 3.3.8-1
kmod-video-gspca-gl860 - 3.3.8-1
libblkid - 2.21.2-1
libblobmsg-json - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libc - 0.9.33.2-1
libcom_err - 1.42.4-1
libcurl - 7.29.0-1
libevent2 - 2.0.19-1
libext2fs - 1.42.4-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libip6tc - 1.4.10-4
libiwinfo - 36
libiwinfo-lua - 36
libjpeg - 6b-1
libjson - 0.9-2
liblua - 5.1.4-8
libminiupnpc - 1.8-1
libncurses - 5.7-5
libnl-tiny - 0.1-3
libopenssl - 1.0.1e-1
libpthread - 0.9.33.2-1
libreadline - 5.2-2
librt - 0.9.33.2-1
libubox - 2013-01-29-0bc317aa4d9af44806c28ca286d79a8b5a92b2b8
libubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
libubus-lua - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
libuci - 2013-01-04.1-1
libuci-lua - 2013-01-04.1-1
libusb - 0.1.12-3
libusb-1.0 - 1.0.9-1
libuuid - 2.21.2-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - 0.11.1-1
luci-app-ddns - 0.11.1-1
luci-app-firewall - 0.11.1-1
luci-app-samba - 0.11.1-1
luci-i18n-english - 0.11.1-1
luci-i18n-polish - 0.11.1-1
luci-lib-core - 0.11.1-1
luci-lib-ipkg - 0.11.1-1
luci-lib-nixio - 0.11.1-1
luci-lib-sys - 0.11.1-1
luci-lib-web - 0.11.1-1
luci-mod-admin-core - 0.11.1-1
luci-mod-admin-full - 0.11.1-1
luci-proto-3g - 0.11.1-1
luci-proto-core - 0.11.1-1
luci-proto-ppp - 0.11.1-1
luci-sgi-cgi - 0.11.1-1
luci-theme-base - 0.11.1-1
luci-theme-bootstrap - 0.11.1-1
luci-theme-freifunk-bno - 0.11.1-1
luci-theme-freifunk-generic - 0.11.1-1
luci-theme-openwrt - 0.11.1-1
miniupnpc - 1.8-1
mkdosfs - 3.0.12-1
motion - 20110826-051001-2
mtd - 18.1
nano - 2.2.6-1
netifd - 2013-01-29.2-4bb99d4eb462776336928392010b372236ac3c93
ntfs-3g - 2011.4.12-1-fuseint
ntpclient - 2007_365-4
opkg - 618-3
p910nd - 0.95-2
ppp - 2.4.5-8
ppp-mod-pppoe - 2.4.5-8
samba36-client - 3.6.5-3
samba36-server - 3.6.5-3
swap-utils - 2.21.2-1
terminfo - 5.7-5
transmission-daemon - 2.71-1
transmission-remote - 2.71-1
transmission-web - 2.71-1
ubus - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
ubusd - 2013-01-13-bf566871bd6a633e4504c60c6fc55b2a97305a50
uci - 2013-01-04.1-1
udev - 173-1
uhttpd - 2012-10-30-e57bf6d8bfa465a50eea2c30269acdfe751a46fd
usb-modeswitch - 1.2.3-2
usb-modeswitch-data - 20120120-1
usbutils - 005-1
wpad-mini - 20120910-1
zlib - 1.2.7-1

6

Odp: Router HG553-Montowanie dysku HDD 500GB

Z wymaganych pakietów masz to co trzeba. Teraz odłącz dysk, podłącz i patrz w logread co się pojawia.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Router HG553-Montowanie dysku HDD 500GB

Odłączam dysk i podłączam...wydaje polecenie logread:

root@OpenWrt:~# logread
Dec 22 12:33:09 OpenWrt kern.debug kernel: [   38.404000] Registered led device: b43-phy0::radio
Dec 22 12:33:09 OpenWrt kern.info kernel: [   38.876000] PPP generic driver version 2.4.2
Dec 22 12:33:09 OpenWrt kern.info kernel: [   39.684000] ip_tables: (C) 2000-2006 Netfilter Core Team
Dec 22 12:33:09 OpenWrt kern.info kernel: [   39.996000] NET: Registered protocol family 24
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.008000] usbcore: registered new interface driver usblp
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.088000] usbcore: registered new interface driver usbserial
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.092000] USB Serial support registered for generic
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.100000] usbcore: registered new interface driver usbserial_generic
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.104000] usbserial: USB Serial Driver core
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.316000] Linux video capture interface: v2.00
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.636000] USB Serial support registered for GSM modem (1-port)
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.644000] option 2-1:1.0: GSM modem (1-port) converter detected
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.652000] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB0
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.656000] option 2-1:1.1: GSM modem (1-port) converter detected
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.664000] usb 2-1: GSM modem (1-port) converter now attached to ttyUSB1
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.672000] usbcore: registered new interface driver option
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.676000] option: v0.7.2:USB Driver for GSM modems
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.732000] USB Serial support registered for Qualcomm USB modem
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.740000] usbcore: registered new interface driver qcserial
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.792000] USB Serial support registered for Sierra USB modem
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.796000] usbcore: registered new interface driver sierra
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.804000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.880000] cpia2: V4L-Driver for Vision CPiA2 based cameras v3.0.1
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.888000] usbcore: registered new interface driver cpia2
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.948000] gspca_main: v2.14.0 registered
Dec 22 12:33:09 OpenWrt kern.info kernel: [   41.992000] usbcore: registered new interface driver etoms
Dec 22 12:33:09 OpenWrt kern.info kernel: [   42.056000] usbcore: registered new interface driver gspca_gl860
Dec 22 12:33:09 OpenWrt kern.info kernel: [   42.168000] fuse init (API version 7.18)
Dec 22 12:33:12 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 1d6b/2/303 ??
Dec 22 12:33:13 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=BCM63XX_integrated_EHCI_controller Serial=bcm63xx
Dec 22 12:33:13 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 1d6b/2/303 ??
Dec 22 12:33:13 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 1d6b/1/303 ??
Dec 22 12:33:13 OpenWrt user.notice usb-modeswitch: 2-0:1.0: Manufacturer=Linux_3.3.8_ohci_hcd Product=BCM63XX_integrated_OHCI_controller Serial=bcm63xx
Dec 22 12:33:13 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 1d6b/1/303 ??
Dec 22 12:33:14 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 12d1/1003/0 ??
Dec 22 12:33:14 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Dec 22 12:33:14 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Dec 22 12:33:14 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:15 OpenWrt kern.info kernel: [   49.812000] eth1: link forced UP - 100/full - flow control off/off
Dec 22 12:33:15 OpenWrt kern.info kernel: [   49.820000] device eth1 entered promiscuous mode
Dec 22 12:33:15 OpenWrt kern.info kernel: [   49.828000] br-lan: port 1(eth1) entered forwarding state
Dec 22 12:33:15 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Dec 22 12:33:15 OpenWrt kern.info kernel: [   49.832000] br-lan: port 1(eth1) entered forwarding state
Dec 22 12:33:15 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Dec 22 12:33:15 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:17 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:17 OpenWrt kern.info kernel: [   51.836000] br-lan: port 1(eth1) entered forwarding state
Dec 22 12:33:17 OpenWrt daemon.notice netifd: wan (720): Trying to set mode
Dec 22 12:33:18 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:18 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Dec 22 12:33:18 OpenWrt kern.info kernel: [   52.988000] cfg80211: Calling CRDA for country: PL
Dec 22 12:33:18 OpenWrt kern.info kernel: [   52.996000] cfg80211: Regulatory domain changed to country: PL
Dec 22 12:33:18 OpenWrt kern.info kernel: [   53.000000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Dec 22 12:33:18 OpenWrt kern.info kernel: [   53.008000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 22 12:33:18 OpenWrt kern.info kernel: [   53.016000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 22 12:33:18 OpenWrt kern.info kernel: [   53.024000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
Dec 22 12:33:18 OpenWrt kern.info kernel: [   53.032000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
Dec 22 12:33:19 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:20 OpenWrt daemon.notice pppd[854]: pppd 2.4.5 started by root, uid 0
Dec 22 12:33:20 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:21 OpenWrt local2.info chat[893]: abort on (BUSY)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: abort on (NO CARRIER)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: abort on (ERROR)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: report (CONNECT)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: timeout set to 10 seconds
Dec 22 12:33:21 OpenWrt local2.info chat[893]: send (AT&F^M)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: expect (OK)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: AT&F^M^M
Dec 22 12:33:21 OpenWrt local2.info chat[893]: OK
Dec 22 12:33:21 OpenWrt local2.info chat[893]:  -- got it
Dec 22 12:33:21 OpenWrt local2.info chat[893]: send (ATE1^M)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: expect (OK)
Dec 22 12:33:21 OpenWrt local2.info chat[893]: ^M
Dec 22 12:33:21 OpenWrt local2.info chat[893]: ATE1^M^M
Dec 22 12:33:21 OpenWrt local2.info chat[893]: OK
Dec 22 12:33:21 OpenWrt local2.info chat[893]:  -- got it
Dec 22 12:33:21 OpenWrt local2.info chat[893]: send (AT+CGDCONT=1,"IP","darmowy"^M)
Dec 22 12:33:21 OpenWrt user.notice usb-modeswitch: 2-1:1.0: Switching seemingly failed
Dec 22 12:33:22 OpenWrt local2.info chat[893]: timeout set to 30 seconds
Dec 22 12:33:22 OpenWrt local2.info chat[893]: expect (OK)
Dec 22 12:33:22 OpenWrt local2.info chat[893]: ^M
Dec 22 12:33:22 OpenWrt local2.info chat[893]: AT+CGDCONT=1,"IP","darmowy"^M^M
Dec 22 12:33:22 OpenWrt local2.info chat[893]: OK
Dec 22 12:33:22 OpenWrt local2.info chat[893]:  -- got it
Dec 22 12:33:22 OpenWrt local2.info chat[893]: send (ATD*99***1#^M)
Dec 22 12:33:22 OpenWrt local2.info chat[893]: expect (CONNECT)
Dec 22 12:33:22 OpenWrt local2.info chat[893]: ^M
Dec 22 12:33:22 OpenWrt local2.info chat[893]: ATD*99***1#^M^M
Dec 22 12:33:22 OpenWrt local2.info chat[893]: CONNECT
Dec 22 12:33:22 OpenWrt local2.info chat[893]:  -- got it
Dec 22 12:33:22 OpenWrt local2.info chat[893]: send ( ^M)
Dec 22 12:33:22 OpenWrt daemon.info pppd[854]: Serial connection established.
Dec 22 12:33:22 OpenWrt daemon.info pppd[854]: Using interface 3g-wan
Dec 22 12:33:22 OpenWrt daemon.notice pppd[854]: Connect: 3g-wan <--> /dev/ttyUSB0
Dec 22 12:33:23 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 12d1/1003/0 ??
Dec 22 12:33:23 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Dec 22 12:33:23 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Dec 22 12:33:24 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:33:24 OpenWrt kern.info kernel: [   58.788000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 22 12:33:24 OpenWrt kern.info kernel: [   58.952000] device wlan0 entered promiscuous mode
Dec 22 12:33:24 OpenWrt kern.info kernel: [   59.120000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
Dec 22 12:33:25 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:33:25 OpenWrt kern.info kernel: [   60.300000] br-lan: port 2(wlan0) entered forwarding state
Dec 22 12:33:25 OpenWrt kern.info kernel: [   60.304000] br-lan: port 2(wlan0) entered forwarding state
Dec 22 12:33:25 OpenWrt daemon.warn pppd[854]: Could not determine remote IP address: defaulting to 10.64.64.64
Dec 22 12:33:25 OpenWrt daemon.notice pppd[854]: local  IP address xx.xxx.197.50
Dec 22 12:33:25 OpenWrt daemon.notice pppd[854]: remote IP address xxx.xxx.64.64
Dec 22 12:33:25 OpenWrt daemon.notice pppd[854]: primary   DNS address 193.41.112.14
Dec 22 12:33:25 OpenWrt daemon.notice pppd[854]: secondary DNS address 193.41.112.18
Dec 22 12:33:26 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:33:26 OpenWrt daemon.notice netifd: Interface 'wan' is now up
Dec 22 12:33:26 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Dec 22 12:33:27 OpenWrt user.notice root: starting ntpclient
Dec 22 12:33:27 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:34:20 OpenWrt kern.info kernel: [   62.308000] br-lan: port 2(wlan0) entered forwarding state
Dec 22 12:34:20 OpenWrt daemon.info pppd[854]: System time change detected.
Dec 22 12:34:20 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd IEEE 802.11: authenticated
Dec 22 12:34:20 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd IEEE 802.11: associated (aid 1)
Dec 22 12:34:21 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd WPA: pairwise key handshake completed (RSN)
Dec 22 12:34:21 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:34:22 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:34:23 OpenWrt daemon.info hostapd: wlan0: STA 00:17:c4:b0:16:99 IEEE 802.11: authenticated
Dec 22 12:34:23 OpenWrt daemon.info hostapd: wlan0: STA 00:17:c4:b0:16:99 IEEE 802.11: associated (aid 2)
Dec 22 12:34:23 OpenWrt daemon.info hostapd: wlan0: STA 00:17:c4:b0:16:99 WPA: pairwise key handshake completed (RSN)
Dec 22 12:34:23 OpenWrt user.notice usb-modeswitch: 2-1:1.1: Switching seemingly failed
Dec 22 12:34:23 OpenWrt user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Dec 22 12:34:24 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 12d1/1003/0 ??
Dec 22 12:34:25 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Manufacturer=HUAWEI_Technology Product=HUAWEI_Mobile Serial=?
Dec 22 12:34:25 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Selecting /etc/usb_modeswitch.d/12d1:1003 for mode switching
Dec 22 12:34:25 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:26 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:27 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:29 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:30 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:30 OpenWrt user.info sysinit: Loading defaults
Dec 22 12:34:31 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:31 OpenWrt user.info sysinit: Loading synflood protection
Dec 22 12:34:32 OpenWrt user.info sysinit: Adding custom chains
Dec 22 12:34:32 OpenWrt user.notice usb-modeswitch: 2-1:1.2: Switching seemingly failed
Dec 22 12:34:33 OpenWrt user.info sysinit: Loading zones
Dec 22 12:34:33 OpenWrt user.notice /sbin/hotplug-call: there is not a firmware for 12d1/1003/0 ??
Dec 22 12:34:36 OpenWrt user.info sysinit: Loading forwardings
Dec 22 12:34:36 OpenWrt user.info sysinit: Loading rules
Dec 22 12:34:37 OpenWrt user.info sysinit: Loading redirects
Dec 22 12:34:37 OpenWrt user.info sysinit: Loading includes
Dec 22 12:34:38 OpenWrt user.info sysinit: Optimizing conntrack
Dec 22 12:34:38 OpenWrt user.info sysinit: Loading interfaces
Dec 22 12:34:38 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Dec 22 12:34:41 OpenWrt user.info firewall: adding wan (3g-wan) to zone wan
Dec 22 12:34:47 OpenWrt authpriv.info dropbear[1887]: Running in background
Dec 22 12:34:50 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Dec 22 12:34:50 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: started, version 2.62 cachesize 150
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCP, IP range 192.168.1.100 -- 192.168.1.249, lease time 12h
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: using local addresses only for domain lan
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: reading /tmp/resolv.conf.auto
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: using nameserver 193.41.112.14#53
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: using nameserver 193.41.112.18#53
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: using local addresses only for domain lan
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq[1954]: read /etc/hosts - 1 addresses
Dec 22 12:34:54 OpenWrt daemon.info dnsmasq-dhcp[1954]: read /etc/ethers - 0 addresses
Dec 22 12:34:57 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd IEEE 802.11: authenticated
Dec 22 12:34:57 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd IEEE 802.11: associated (aid 1)
Dec 22 12:34:57 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd WPA: pairwise key handshake completed (RSN)
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPDISCOVER(br-lan) 80:60:07:8a:3b:bd
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPOFFER(br-lan) 192.168.1.215 80:60:07:8a:3b:bd
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPREQUEST(br-lan) 192.168.1.125 00:17:c4:b0:16:99
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPACK(br-lan) 192.168.1.125 00:17:c4:b0:16:99 Domek-Komputer
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPDISCOVER(br-lan) 80:60:07:8a:3b:bd
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPOFFER(br-lan) 192.168.1.215 80:60:07:8a:3b:bd
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPREQUEST(br-lan) 192.168.1.215 80:60:07:8a:3b:bd
Dec 22 12:35:00 OpenWrt daemon.info dnsmasq-dhcp[1954]: DHCPACK(br-lan) 192.168.1.215 80:60:07:8a:3b:bd BLACKBERRY-AA9D
Dec 22 12:38:04 OpenWrt authpriv.info dropbear[2051]: Child connection from 192.168.1.125:53026
Dec 22 12:38:11 OpenWrt authpriv.notice dropbear[2051]: Password auth succeeded for 'root' from 192.168.1.125:53026
Dec 22 12:43:25 OpenWrt daemon.info hostapd: wlan0: STA 00:17:c4:b0:16:99 WPA: group key handshake completed (RSN)
Dec 22 12:43:26 OpenWrt daemon.info hostapd: wlan0: STA 80:60:07:8a:3b:bd WPA: group key handshake completed (RSN)
root@OpenWrt:~#

8

Odp: Router HG553-Montowanie dysku HDD 500GB

Tyle że tu nic o dysku nie ma. Jak go podłączyłeś pokaż wynik

cat /proc/bus/usb/devices

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9 (edytowany przez userxyz 2013-12-22 13:58:09)

Odp: Router HG553-Montowanie dysku HDD 500GB

No właśnie nie mogę dojść dlaczego tym razem nie może mi go wykryć. Poprzednio jakoś udało mi się go zamontować, tylko to wszystko było chaotyczne i instalowałem co popadnie. Teraz chce dokładnie zrozumieć o co chodzi.
Na firmware Dlinka bez problemu montuje, tylko,ze tam jest wszystko bardziej przejrzyście zrobione.I automatycznie go montował.

Wynik:

root@OpenWrt:~# cat /proc/bus/usb/devices

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc= 15/900 us ( 2%), #Int=  1, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ohci_hcd
S:  Product=BCM63XX integrated OHCI controller
S:  SerialNumber=bcm63xx
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=12d1 ProdID=1003 Rev= 0.00
S:  Manufacturer=HUAWEI Technology
S:  Product=HUAWEI Mobile
C:* #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=81(I) Atr=03(Int.) MxPS=  64 Ivl=5ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=83(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 2
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 3.03
S:  Manufacturer=Linux 3.3.8 ehci_hcd
S:  Product=BCM63XX integrated EHCI controller
S:  SerialNumber=bcm63xx
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms
root@OpenWrt:~#

To jest dysk na USB SATA 500GB. Jest w zamkniętej obudowie aluminiowej i tam jest juz kontroler do niego podlaczony.

10

Odp: Router HG553-Montowanie dysku HDD 500GB

Router w ogóle go nie widzi.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Router HG553-Montowanie dysku HDD 500GB

Na pewno brakowało biblioteki:
http://downloads.openwrt.org/attitude_a … cm63xx.ipk

Teraz ja doinstalowałem.Zrobiłem reset routera. Jednak dalej go nie montuje. Czyli obstawiam brak jakiegoś modułu.

12

Odp: Router HG553-Montowanie dysku HDD 500GB

Miałeś ją przecież zainstalowaną - zobacz post wyżej. Nie ma więcej modułów, masz zainstalowanego to co ma być. Kernel  nie widzi urządzenia na usb.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13 (edytowany przez userxyz 2013-12-22 14:14:27)

Odp: Router HG553-Montowanie dysku HDD 500GB

To cos do bani pokazuje....wydaje komende przez putty:

root@OpenWrt:~# opkg install http://downloads.openwrt.org/attitude_adjustment/12
.09/brcm63xx/generic/packages/kmod-usb-ohci_3.3.8-1_brcm63xx.ipk
Downloading http://downloads.openwrt.org/attitude_a … cm63xx.ipk.
Installing kmod-usb-ohci (3.3.8-1) to root...
Configuring kmod-usb-ohci.
root@OpenWrt:~#

Właśnie zobaczyłem ze to tez mi zainstalowało...Czyli wychodzi,że muszę wszystko ręcznie z repozytorium instalować.
Teraz pytanie? Ile tego jest do obsługi dysku SATA HDD 500GB.

Repozytorium mam tutqj:
http://downloads.openwrt.org/attitude_a … /packages/

14

Odp: Router HG553-Montowanie dysku HDD 500GB

No tak, jak wskazujesz konkretnie plik to go zawsze zainstaluje, ile razy byś to nie zrobił. I myślisz że to dowodzi tego że nie miałeś zainstalowanego pakietu?

PS. Tym bardziej - jak byś nie miał usb-core to by modemu na usb nie wykrył.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Router HG553-Montowanie dysku HDD 500GB

To dlaczego jak miałem zainstalowany moduł i wydawałem komendę na instalacje tego samego pakietu to zwracało mi coś w stylu ...this package is up to date"

Tak, myślę ze nie było zainstalowanego tego pakietu w routerze i dlatego nie mogę zamontować dysku. Będę instalował ręcznie i zobaczę czy coś to da.

Na pewno jest w czymś przyczyna.Skoro go wcześniej zamontowałem na tym samym routerze z tym samym OpenWrt to teraz tez go mogę zamontować.

16

Odp: Router HG553-Montowanie dysku HDD 500GB

opkg install kmod-usb-ohci taki komunikat zwróci.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17 (edytowany przez userxyz 2013-12-22 22:07:58)

Odp: Router HG553-Montowanie dysku HDD 500GB

Masz rację, to nie o to chodzi.Mam te pakiety zainstalowane. Problem leży gdzie indziej. Nie potrafię go rozwiązać dlaczego nie mogę zamontować tego dysku.

Jednak udało się zamontować dysk.
mnt5

Dograłem te biblioteki i poszlo:

kmod-scsi-generic
block-mount_0.2.0-9_brcm63xx.ipk