1 (edytowany przez Silvan78 2011-07-10 00:26:13)

Temat: AnyData 510l vs TL-MR3420 & Gargoyle

Witam
Modem AnyData 510l posiada wewnetrzny dysk, ktory mozna by wykozystac w rozszerzeniu flash'a w routerze TP3420 z zainstalowanym Gargoyle (exroot). Niestety niebardzo potrafie rozpoznac gdzie ow device jest ukryty. Teoretycznie dysk jest widziany bo widac go w /proc/bus/usb/.
Podlaczenie innego dysku po hubie usb razem w modemem nie wchodzi w rachube; o dziwo modem przestaje sie laczyc/byc rozpoznawanym, gdy polacze po innym kablu, albo podlacze przez teoretycznie transparentnego huba.

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  1, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 2.06
S:  Manufacturer=Linux 2.6.32.27 ehci_hcd
S:  Product=Atheros AR91xx built-in EHCI controller
S:  SerialNumber=ar71xx-ehci
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

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=16d5 ProdID=6502 Rev= 0.00
S:  Manufacturer=AnyDATA Corporation
S:  Product=AnyDATA CDMA Products
C:* #Ifs= 4 Cfg#= 1 Atr=80 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=  16 Ivl=128ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(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=84(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
E:  Ad=86(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=87(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=08(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

W logu tez jakby widac:

Jul  9 21:19:33 Gargoyle user.info kernel: usb 1-1: new full speed USB device using ar71xx-ehci and address 3
Jul  9 21:19:33 Gargoyle user.info kernel: usb 1-1: configuration #1 chosen from 1 choice
Jul  9 21:19:33 Gargoyle user.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
Jul  9 21:19:33 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
Jul  9 21:19:33 Gargoyle user.info kernel: option 1-1:1.1: GSM modem (1-port) converter detected
Jul  9 21:19:33 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
Jul  9 21:19:33 Gargoyle user.info kernel: option 1-1:1.2: GSM modem (1-port) converter detected
Jul  9 21:19:33 Gargoyle user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
Jul  9 21:19:33 Gargoyle user.info kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Jul  9 21:19:33 Gargoyle user.debug kernel: usb-storage: device found at 3
Jul  9 21:19:33 Gargoyle user.debug kernel: usb-storage: waiting for device to settle before scanning
Jul  9 21:19:33 Gargoyle user.notice usb-modeswitch: 1-1:1.0: Manufacturer=AnyDATA_Corporation Product=AnyDATA_CDMA_Products Serial=?
Jul  9 21:19:33 Gargoyle user.notice 3g-hotplug: Starting interface wan for device ttyUSB0
Jul  9 21:19:34 Gargoyle user.notice usb-modeswitch: 1-1:1.1: Manufacturer=AnyDATA_Corporation Product=AnyDATA_CDMA_Products Serial=?
Jul  9 21:19:34 Gargoyle user.notice usb-modeswitch: 1-1:1.2: Manufacturer=AnyDATA_Corporation Product=AnyDATA_CDMA_Products Serial=?
Jul  9 21:19:34 Gargoyle user.notice usb-modeswitch: 1-1:1.3: Manufacturer=AnyDATA_Corporation Product=AnyDATA_CDMA_Products Serial=?
Jul  9 21:19:37 Gargoyle daemon.notice pppd[3338]: pppd 2.4.4 started by root, uid 0

Tymczasem w /dev jakby nie widze odpowiedniego device

1-1                 mtd0                mtd3ro              mtdblock2           nul                 shm                 urandom
console             mtd0ro              mtd4                mtdblock3           null                tty                 usb1
cpu_dma_latency     mtd1                mtd4ro              mtdblock4           port                ttyS0               watchdog
full                mtd1ro              mtd5                mtdblock5           ppp                 ttyUSB0             zero
kmsg                mtd2                mtd5ro              net                 ptmx                ttyUSB1
log                 mtd2ro              mtdblock0           network_latency     pts                 ttyUSB2
mem                 mtd3                mtdblock1           network_throughput  random              tun

Dodatkowo na slepo szukalem fdiskiem, ale wiekszosc nie zwraca nic ciekawego, albo info, ze fdisk nie wie jak poradzic sobie z plikiem:

last_lba(): I don't know how to handle files with mode 20644
last_lba(): I don't know how to handle files with mode 20644
last_lba(): I don't know how to handle files with mode 20644

Unable to read /dev/usb1

Pomacalem jeszcze udevtrigger --verbose i znalazlem wspomniane info o devices...

/devices/platform/ar71xx-ehci/usb1
/devices/platform/ar71xx-ehci/usb1/1-0:1.0
/devices/platform/ar71xx-ehci/usb1/1-1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.0
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.0/ttyUSB0
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.0/ttyUSB0/tty/ttyUSB0
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.1/ttyUSB1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.1/ttyUSB1/tty/ttyUSB1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.2
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.2/ttyUSB2
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.2/ttyUSB2/tty/ttyUSB2
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3/host1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3/host1/scsi_host/host1
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3/host1/target1:0:0
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3/host1/target1:0:0/1:0:0:0
/devices/platform/ar71xx-ehci/usb1/1-1/1-1:1.3/host1/target1:0:0/1:0:0:0/scsi_device/1:0:0:0

Ale dalej nie wiem ktory to device. Bo usb1 jakby nie chce wspolpracowac.


Czy komus moze udalo sie przerobic ten dysk na ext2 i podmontowac go w tym routerze/systemie?

2

Odp: AnyData 510l vs TL-MR3420 & Gargoyle

Nie został wykryty. Możesz uruchomić blkid i zobaczyć czy partycje się odnajdzie.

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

3

Odp: AnyData 510l vs TL-MR3420 & Gargoyle

blkid nie wyrzuca zadnej informacji. Czyli nie jest widziany sad
No to ciezka sprawa, bo nie moge posiadanych hubow wykozystac (hub, nawet kabek producenta sypia bledami, badz czynia modem niewykrywalnym). Zas dysk MR3420 zapycha sie po pierwszej konfiguracji.... a po paru dniach dzialnia nawet DHCP przestaje podawac adresy.

4

Odp: AnyData 510l vs TL-MR3420 & Gargoyle

Ten Anydata ma slot karty SD? Bo jeżeli mówisz o tym wbudowanym gdzie jest dashboard to jego nie wykorzystasz, on zostaje przełączony przez usb_modeswitch i znika. Zresztą tam nic nie zapiszesz.

PS. W Gargoyle przy 4MB za wiele się już nie zmieści. Zainstaluj zwykłe backfire, będziesz miał dużo wolnego na zrobienie konfiguracji, tyle że GUI nie będziesz miał.

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

5 (edytowany przez Silvan78 2011-07-10 10:36:47)

Odp: AnyData 510l vs TL-MR3420 & Gargoyle

Bah; no wlasnie to GUI jest istotne; bo system stoi u szanownych rodzicow, ktorzy raczej konsoli sie nie klaniaja. Acz pomysle. WIelkie dzieki.
Niestety slotu SD brak sad

6

Odp: AnyData 510l vs TL-MR3420 & Gargoyle

No to po co im gui jak to już raz skonfigurujesz to będzie jak czarna skrzynka bezobslugowa.

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