1

Temat: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Mam router TL-MR3040 na razie z Flash 4MB, ale planuję wymianę na 16MB w celu doinstalowania plugin-gargoyle-usb-storage (i ew. późniejszego rozwoju).

C0 należy wpisać w zakładce Dodatki->Źródła dodatków->Nazwa/URL żeby plugin pojawił się na liście do instalacji ?
Jeśli nie jest to możliwe przez GUI to prośba o poradę jak zrobić to przez SSH.

2

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Zainstalować ręcznie z http://ecco.selfip.net/gargoyle-pl/atti … b-storage/, jak instalować masz w faq.

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

3

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Na próbę zainstalowałem share-users_1.5.10.1-1_ar71xx.ipk, ale udało mi się dopiero jak zrobiłem wget na dysk lokalny.
Połączenie z internetem działa, zaktualizowałem listę pakietów, ale jeśli wpisałem "opkg install http://..." to dostałem odpowiedź:

opkg install http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/plugin-gargoyle-usb-storage/
ERROR: No package named http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/plugin-gargoyle-usb-storage/ found, try updating your package lists

oraz

opkg install http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/plugin-gargoyle-usb-storage/share-users_1.5.10.1-1_ar71xx.ipk
ERROR: No package named http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/plugin-gargoyle-usb-storage/share-users_1.5.10.1-1_ar71xx.ipk found, try updating your package lists

Czy to znaczy, ze muszę wszystkie pakiety ściągną ręcznie i zainstalować jeden po drugim ?
Czy po zainstalowaniu wszystkiego widoczna będzie sekcja "Nośniki USB" w GUI ?

4

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Tak, ręcznie jeden po drugim. Nie zainstalujesz tego bo w 3040 nie masz już wolnej pamięci na to. Extroota chociaż zrobiłeś?

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

5

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

O problemie wolnej pamięci wiem, dlatego w najbliższym tygodniu przelutuje flash na kość 16MB.
Mimo to chce zachować mobilność i GUI, więc Extroota sobie odpuszczam. 
Nie wiem tylko, czy jak już zainstaluje ręcznie całość z  "gargoyle-usb-storage" to konfiguracja będzie to widoczne w GUI tak jak moim drugim routerze 1043ND ?

6

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Dokładnie tak.

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

7

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Cezary napisał/a:

Zainstalować ręcznie z http://ecco.selfip.net/gargoyle-pl/atti … b-storage/, jak instalować masz w faq.

Próbowałem zainstalować kolejno do wr703n-flash 16MB, niestety zainstalował mi się tylko disktype_9-2_ar71xx.ipk, przy reszcie konsola zwraca mi błędy

 root@Gargoyle:~# cd /tmp
root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
ar71xx/plugin-gargoyle-usb-storage/nfs-kernel-server_1.2.6-1_ar71xx.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
nfs-kernel-server_1. 100% |*******************************| 93701   0:00:00 ETA
root@Gargoyle:/tmp# opkg install /tmp/nfs-kernel-server_1.2.6-1_ar71xx.ipk
Installing nfs-kernel-server (1.2.6-1) to root...
Collected errors:
 * opkg_install_pkg: Package nfs-kernel-server md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package nfs-kernel-server.
root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
ar71xx/plugin-gargoyle-usb-storage/plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx
.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
wget: can't open 'plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx.ipk': File exists
root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
ar71xx/plugin-gargoyle-usb-storage/samba36-server_3.6.5-3_ar71xx.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
samba36-server_3.6.5 100% |*******************************|   869k  0:00:00 ETA
root@Gargoyle:/tmp# opkg install /tmp/samba36-server_3.6.5-3_ar71xx.ipk
Installing samba36-server (3.6.5-3) to root...
Collected errors:
 * opkg_install_pkg: Package samba36-server md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package samba36-server.
root@Gargoyle:/tmp# 

???

8

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

1. Zainstaluj wcześniej normalne opkg
2. Nie rób opkg update (bo pliki są w takich samych wersjach i buntuje się o to).
3. Ściągnij wszystko i zależności na dysk i instaluj z dysku.

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

9

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Ok. Ale jak instalować z dysku (pakiety mam pobrane bo potrzebny były mi ścieżki do adresu wget...)?

10

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

opkg install /tmp/plik.cośtam.ipk

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

11

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Niestety nie chce się zainstalować

  opkg install /tmp/nfs-kernel-server-utils_1.2.6-1_ar71xx.ipk
Installing nfs-kernel-server-utils (1.2.6-1) to root...
Collected errors:
 * opkg_install_pkg: Package nfs-kernel-server-utils md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package nfs-kernel-server-utils.
root@Gargoyle:~# opkg update
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl.
root@Gargoyle:~# opkg install /tmp/opkg install /tmp/nfs-kernel-server-utils_1.2
.6-1_ar71xx.ipk
Unknown package '/tmp/opkg'.
Unknown package 'install'.
Installing nfs-kernel-server-utils (1.2.6-1) to root...
Collected errors:
 * opkg_install_cmd: Cannot install package /tmp/opkg.
 * opkg_install_cmd: Cannot install package install.
 * opkg_install_pkg: Package nfs-kernel-server-utils md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package nfs-kernel-server-utils.
root@Gargoyle:~# Installing nfs-kernel-server-utils (1.2.6-1) to root...
-ash: syntax error: unexpected "("
root@Gargoyle:~# Collected errors:
-ash: Collected: not found
root@Gargoyle:~#  * opkg_install_pkg: Package nfs-kernel-server-utils md5sum mis
match. Either the opkg or the package index are corrupt. Try 'opkg update'.
-ash: *: not found
root@Gargoyle:~#  * opkg_install_cmd: Cannot install package nfs-kernel-server-u
tils.
-ash: *: not found
root@Gargoyle:~# opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx
.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.3-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for plugin-gargoyle-usb-storage:
 *     share-users * 
 * opkg_install_cmd: Cannot install package plugin-gargoyle-usb-storage.
root@Gargoyle:~# 

. ?

12

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Ale pisałem żebyś nie robił opkg update. Ręcznie ściągnij pakiety i zainstaluj po kolei.

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

13

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Pakiety wszystkie mam ściągnięte na dysk ale w żaden sposób nie chcą się zainstalować

 rm /bin/opkg
root@Gargoyle:~# wget http://ecco.selfip.net/test/opkg -O /bin/opkg
Connecting to ecco.selfip.net (178.235.241.16:80)
opkg                 100% |*******************************|   123k  0:00:00 ETA
root@Gargoyle:~# chmod 755 /bin/opkg
root@Gargoyle:~# opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx
.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.3-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for plugin-gargoyle-usb-storage:
 *     share-users * 
 * opkg_install_cmd: Cannot install package plugin-gargoyle-usb-storage.
root@Gargoyle:~# cd /tmp
root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
ar71xx/plugin-gargoyle-usb-storage/plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx
.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
wget: can't open 'plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx.ipk': File exists
root@Gargoyle:/tmp# 

14

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

share-users nie masz. Itd.

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

15

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Czyli z podanego linku wyżej wynika że trzeba zainstalować: disktype_9-2_ar71xx.ipk, share-users_1.5.10.1-1_ar71xx.ipk i vsftpd_3.0.2-1_ar71xx.ipk (który i tak nie chce się doinstalować)? Cała reszta zainstalowała się razem z plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx.ipk po zainstalowaniu ww share, dając niespodziankę na końcu instalacji

 root@Gargoyle:~# opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.3-1_ar71xx
.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.3-1) to root...
Installing samba36-server (3.6.5-3) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/samba36-server_3.6.5-3_ar71xx.ipk.
Installing nfs-kernel-server (1.2.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/nfs-kernel-server_1.2.6-1_ar71xx.ipk.
Installing libwrap (7.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/libwrap_7.6-1_ar71xx.ipk.
Installing libblkid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libblkid_2.21.2-1_ar71xx.ipk.
Installing libuuid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libuuid_2.21.2-1_ar71xx.ipk.
Installing librpc (0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/librpc_0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7_ar71xx.ipk.
Installing kmod-fs-nfsd (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/kmod-fs-nfsd_3.3.8-1_ar71xx.ipk.
Installing kmod-fs-nfs-common (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/kmod-fs-nfs-common_3.3.8-1_ar71xx.ipk.
Installing kmod-fs-exportfs (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/kmod-fs-exportfs_3.3.8-1_ar71xx.ipk.
Installing kmod-fs-nfs (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/packages/kmod-fs-nfs_3.3.8-1_ar71xx.ipk.
Installing portmap (6.0-3) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/portmap_6.0-3_ar71xx.ipk.
Installing nfs-kernel-server-utils (1.2.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/nfs-kernel-server-utils_1.2.6-1_ar71xx.ipk.
Installing fdisk (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/fdisk_2.21.2-1_ar71xx.ipk.
Installing blkid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/blkid_2.21.2-1_ar71xx.ipk.
Configuring samba36-server.
Configuring kmod-fs-nfs-common.
Configuring kmod-fs-exportfs.
Configuring kmod-fs-nfsd.
Configuring libwrap.
Configuring libuuid.
Configuring libblkid.
Configuring librpc.
Configuring kmod-fs-nfs.
Configuring portmap.
Configuring nfs-kernel-server.
Configuring nfs-kernel-server-utils.
Configuring fdisk.
Collected errors:
 * check_data_file_clashes: Package blkid wants to install file /sbin/blkid
    But that file is already provided by package  * busybox
 * opkg_install_cmd: Cannot install package plugin-gargoyle-usb-storage.
root@Gargoyle:~# opkg install /tmp/vsftpd_3.0.2-1_ar71xx.ipk
Installing vsftpd (3.0.2-1) to root...
Collected errors:
 * opkg_install_pkg: Package vsftpd md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package vsftpd.
root@Gargoyle:~# cd /tmp
root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/
ar71xx/plugin-gargoyle-usb-storage/vsftpd_3.0.2-1_ar71xx.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
wget: can't open 'vsftpd_3.0.2-1_ar71xx.ipk': File exists

16

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

blkid możesz wcześniej usunąć, bo on pochodzi z busyboxa a instaluje się normalny z pakietu. Tak samo jak swapon/off itd.

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

17

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Cezary napisał/a:

blkid możesz wcześniej usunąć, bo on pochodzi z busyboxa

W jaki sposób?

18

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

rm /sbin/blkid

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

19

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Czy jest możliwość napisania pod Openwrt skryptu w stylu DOSowego .bat, żeby zrobić to wszystko po kolei, nie zapominając o niczym ?
Czy jeżeli zaktualizuje firmware do nowszej wersji Gargoyla PL, to będę musiał doinstalować gargoyle-usb-storage jeszcze raz ?
Co wówczas z konfiguracją ? Zostanie zapisana podczas backup'owania ustawień ?

20

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Możesz. Przecież openwrt to linuks, pół systemu to skrypty.
Jak zaktualizujesz system to wszystkie pakiety musisz instalować jeszcze raz. Konfiguracja w /etc/config zostanie zachowana, z innych miejsc niekoniecznie (przez konfig jest to określone). Dotyczy to także backupu.

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

21

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

Pamięć po upgrade do 16MB: Pamięć wewnętrzna (12.37 MB, w tym 11.89 MB wolne)
i znowu schody już przy instalacji pierwszego pakietu:

root@Gargoyle:/tmp# wget http://ecco.selfip.net/gargoyle-pl/attitude_adjustment/ar71xx/plugin-gargoyle-usb-storage/disktype_9-2_ar71xx.ipk
Connecting to ecco.selfip.net (178.235.241.16:80)
disktype_9-2_ar71xx. 100% |*******************************| 29732   0:00:00 ETA
root@Gargoyle:/tmp# opkg install disktype_9-2_ar71xx.ipk
ERROR: disktype_9-2_ar71xx.ipk is not a valid package file, cannot install
root@Gargoyle:/tmp#

22

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

To samo co zawsze: najpierw zainstaluj sobie zwykły opkg. http://eko.one.pl/forum/viewtopic.php?pid=73553#p73553

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

23

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

dzięki, ale problemów ciąg dalszy:

root@Gargoyle:/tmp# opkg install plugin-gargoyle-usb-storage_1.5.10.4-1_ar71xx.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.4-1) to root...
Installing kmod-usb-sierrawireless-directip (3.3.8-10) to root...
Collected errors:
 * opkg_download_pkg: Package kmod-usb-sierrawireless-directip is not available from any configured src.
 * opkg_install_pkg: Failed to download kmod-usb-sierrawireless-directip. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package plugin-gargoyle-usb-storage.

co teraz ?

24

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

ls -al /tmp pokaż.

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

25

Odp: TL-MR3040 instalacja plugin-gargoyle-usb-storage

ok, działa.

zrobiłem jeszcze raz opkg update,
potem musiałem usunąć
rm /lib/modules/3.3.8/sierra.ko
rm /sbin/swapoff
rm /sbin/swapon
bo instalator pokazywał, że już istnieją. Po tym ruszyło i wygląda, że działa.