51

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

$ /etc/skrypt.sh
-ash: $: not found
to jest coś dziwnego

52

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

ls -al /etc/

pokaż

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

53

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

root@openwrt:~# ls -al /etc/ pokaż
ls: pokaż: No such file or directory
/etc/:
drwxr-xr-x    1 root     root          4096 Aug 19 20:32 .
drwxr-xr-x    1 root     root          4096 Aug 18 20:15 ..
lrwxrwxrwx    1 root     root             7 Aug 18 20:05 TZ -> /tmp/TZ
-rw-rw-r--    1 root     root          1036 Aug 18 20:09 banner
-rw-rw-r--    1 root     root           520 Jul 19 10:07 banner.failsafe
drwxr-xr-x    2 root     root            47 Aug 10 06:42 chatscripts
drwxr-xr-x    1 root     root          4096 Aug 18 21:08 config
drwxr-xr-x    1 root     root          4096 Aug 19 20:20 crontabs
-rw-r--r--    1 root     root             1 Jan  1  2001 ddns_gargoyle.conf
-rw-rw-r--    1 root     root          7105 Jun 30 09:29 ddns_providers.conf
-rwxrwxr-x    1 root     root          3672 Aug  3 19:41 diag.sh
-rw-r--r--    1 root     root           704 Aug 18 20:39 dnsmasq.conf
drwx------    1 root     root          4096 Aug 18 20:05 dropbear
-rw-r--r--    1 root     root             0 Aug 18 20:05 ethers
-rw-r--r--    1 root     root           509 Aug 10 06:42 ethertypes
-rw-r--r--    1 root     root            33 Jan  1  1970 extroot.md5sum
-rw-r--r--    1 root     root           352 Aug 18 20:05 firewall.user
lrwxrwxrwx    1 root     root            10 Aug 10 06:42 fstab -> /tmp/fstab
lrwxrwxrwx    1 root     root            19 Aug 10 06:42 functions.sh -> ../lib/functions.sh
-rw-r--r--    1 root     root            74 Jan  1  2001 gargoyle_default_ifs
drwxr-xr-x    2 root     root           125 Aug 10 06:42 gcom
-rw-rw-r--    1 root     root           123 Oct 20  2012 group
-rw-r--r--    1 root     root            67 Aug 18 20:05 hosts
drwxrwxr-x    1 root     root          4096 Oct 16  2012 hotplug.d
-rw-rw-r--    1 root     root           833 Oct 20  2012 hotplug2-common.rules
-rw-rw-r--    1 root     root            80 Oct 20  2012 hotplug2-init.rules
-rw-r--r--    1 root     root           242 Aug 10 06:10 hotplug2.rules
-rw-r--r--    1 root     root            81 Aug 18 20:05 httpd_gargoyle.password
-rw-r--r--    1 root     root          1791 Aug 10 06:10 httpd_gargoyle.pem
drwxr-xr-x    1 root     root          4096 Aug 18 21:08 init.d
-rw-rw-r--    1 root     root           104 Jan  1  2001 inittab
drwxr-xr-x    2 root     root            32 Aug 10 06:42 iproute2
drwxr-xr-x    1 root     root          4096 Aug 18 21:08 l7-protocols
drwxr-xr-x    2 root     root          4096 Jan  1  2001 md5
drwxr-xr-x    2 root     root           190 Aug 10 06:42 modules-boot.d
drwxr-xr-x    1 root     root          4096 Aug 18 21:15 modules.d
lrwxrwxrwx    1 root     root            12 Aug 10 06:42 mtab -> /proc/mounts
-rw-rw-r--    1 root     root           214 Aug 10 06:39 openwrt_release
-rw-rw-r--    1 root     root             8 Aug 10 06:39 openwrt_version
-rw-r--r--    1 root     root           637 Aug 18 21:12 opkg.conf
-rw-r--r--    1 root     root           190 Aug 18 20:05 passwd
-rw-rw-r--    1 root     root           190 Oct  5  2012 passwd-
drwxr-xr-x    4 root     root           115 Aug 10 06:42 ppp
-rwxrwxr-x    1 root     root           888 Oct 20  2012 preinit
-rw-rw-r--    1 root     root           634 Aug 10 06:42 profile
-rw-rw-r--    1 root     root           740 Aug 10 06:42 protocols
-rwxrwxr-x    1 root     root          1555 Oct 20  2012 rc.common
drwxr-xr-x    1 root     root          4096 Aug 19 20:19 rc.d
-rw-rw-r--    1 root     root           145 Aug 19 20:22 rc.local
lrwxrwxrwx    1 root     root            16 Aug 10 06:42 resolv.conf -> /tmp/resolv.conf
-rw-rw-r--    1 root     root          3017 Oct 20  2012 services
-rw-------    1 root     root           153 Aug 18 20:05 shadow
-rw-------    1 root     root           149 Oct 28  2012 shadow-
-rw-rw-r--    1 root     root             9 Oct 20  2012 shells
-rw-r--r--    1 root     root          2349 Aug 17 23:02 skrypt.sh
-rw-rw-r--    1 root     root           989 Jul  8 22:28 sysctl.conf
-rw-rw-r--    1 root     root           169 Jan  1  2001 sysupgrade.conf
drwxr-xr-x    2 root     root          4096 Aug 18 21:08 tor
-rwxr-xr-x    1 root     root         10966 Aug 17 07:27 tor.firewall
drwxr-xr-x    1 root     root          4096 Aug 18 21:08 uci-defaults
drwxr-xr-x    2 root     root          5231 Aug 10 06:42 usb_modeswitch.d
root@openwrt:~#

54

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

chmod 755 /etc/skrypt.sh zrób

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

55

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

chmod 755 /etc/skrypt.sh
root@openwrt:~# $ /etc/skrypt.sh
-ash: $: not found
bez zmian

56

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Ale też tego $

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

57

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

co mam zrobić z tym dolarem $

58

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Nic, wywal go, nie wpisuj go.

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

59

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

teraz jest ok z małymi błedami ale moze jakoś poprzerabiam:
root@openwrt:~# /etc/skrypt.sh
/etc/skrypt.sh: line 75: digitemp_DS9097: not found

60

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Bo digitempa nie zainstalowałeś.

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

61

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Czarku na Ciebie zawsze można liczyć wink

62

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Czarku a jeszcze jedno da się zainstalować plugin-gargoyle-usb-storage w przed ostatniej wersji gargulca

63

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Od kliku wersji się nie zmienił, więc możesz ostatnią instalować.

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

64

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

coś nie chce iść:
root@openwrt:~#  opkg install plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk
Collected errors:
* wfopen: plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk: No such file or directory.
* pkg_init_from_file: Failed to extract control file from plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk.
root@openwrt:~#

65

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

http://eko.one.pl/forum/viewtopic.php?pid=73553#p73553

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

66

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

bez zmian:
root@openwrt:~# opkg update
Downloading http://downloads.openwrt.org/attitude_a … 1xx/generi        c/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/attitude_adjustment.
Downloading http://ecco.selfip.net/attitude_adjustm … s/Packages.        gz.
Updated list of available packages in /var/opkg-lists/eko1.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … 1xx/packag        es/Packages.gz.
Updated list of available packages in /var/opkg-lists/gargoylepl.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … 1xx//Packa        ges.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Downloading http://ecco.selfip.net/gargoyle-pl/atti … 1xx/packag        es//Packages.gz.
Updated list of available packages in /var/opkg-lists/1.
Downloading http://ecco.selfip.net/gargoyle-pl/atti … 1xx/plugin        -gargoyle-usb-storage//Packages.gz.
wget: server returned error: HTTP/1.0 404 Not Found
Collected errors:
* opkg_download: Failed to download http://ecco.selfip.net/gargoyle-pl/attitude        _adjustment/ar71xx//Packages.gz, wget returned 1.
* opkg_download: Failed to download http://ecco.selfip.net/gargoyle-pl/attitude        _adjustment/ar71xx/plugin-gargoyle-usb-storage//Packages.gz, wget returned 1.
root@openwrt:~# opkg install opkg
Package opkg (618-3) installed in root is up to date.
root@openwrt:~# opkg install plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk
Collected errors:
* wfopen: plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk: No such file or d        irectory.
* pkg_init_from_file: Failed to extract control file from plugin-gargoyle-usb-s        torage_1.5.10.11-1_ar71xx.ipk.
root@openwrt:~#

67

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Nie bez zmian - podaj pełny url do tego pakietu, on nie jest w katalogu z repozytorium jak nie zauważyłeś.

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

68

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

root@openwrt:~# opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.11-1_ar71xx.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.11-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@openwrt:~#
inaczej zadziałalem i też nic

69

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

I tak każdą zależnością którą potrzebuje.  share-users  resztę z tego katalogu.

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

70

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

dość opornie
root@openwrt:~#  opkg install /tmp/share-users
Unknown package '/tmp/share-users'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/share-users.
root@openwrt:~# opkg install /tmp/plugin-gargoyle-usb-storage share-users
Unknown package '/tmp/plugin-gargoyle-usb-storage'.
Unknown package 'share-users'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/plugin-gargoyle-usb-storage.
* opkg_install_cmd: Cannot install package share-users.
root@openwrt:~# opkg install /tmp/plugin-gargoyle-usb-storage
Unknown package '/tmp/plugin-gargoyle-usb-storage'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/plugin-gargoyle-usb-storage.
root@openwrt:~# opkg install /tmp/share-users
Unknown package '/tmp/share-users'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/share-users.
root@openwrt:~#

71

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Ale patrz co robisz. Pakiet nazywa się share-users_1.5.10.11-1_ar71xx.ipk nie share-user, przez podane pełnego url masz go zainstalować.

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

72

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

ciągle pod górkę jedyne co się zmieniło to to ze plugin-gargoyle-usb-storage pojawiło się w dodatkach ale itak nie da się zaistalować problem jest tez zainstalowac drukarki

root@Gargoyle:~# opkg install /tmp/share-users_1.5.10.11-1_ar71xx.ipk
Installing share-users (1.5.10.11-1) to root...
Configuring share-users.
root@Gargoyle:~# opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.11-1_ar71x
Unknown package '/tmp/plugin-gargoyle-usb-storage_1.5.10.11-1_ar71x'.
Collected errors:
* opkg_install_cmd: Cannot install package /tmp/plugin-gargoyle-usb-storage_1.5.10.11-1_ar71x.
root@Gargoyle:~#  opkg install /tmp/plugin-gargoyle-usb-storage_1.5.10.11-1_ar71
xx.ipk
Installing plugin-gargoyle-usb-storage (1.5.10.11-1) to root...
Installing samba36-server (3.6.5-3) to root...
Downloading http://ecco.selfip.net/attitude_adjustm … ar71xx.ipk.
Installing nfs-kernel-server (1.2.6-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing libwrap (7.6-1) to root...
Downloading http://downloads.openwrt.org/attitude_a … ar71xx.ipk.
Installing libblkid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustm … ar71xx.ipk.
Installing libuuid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustm … ar71xx.ipk.
Installing librpc (0.9.32-rc2-0a2179bbc0844928f2a0ec01dba93d9b5d6d41a7) to root...
Downloading http://downloads.openwrt.org/attitude_a … ar71xx.ipk.
Installing kmod-fs-nfsd (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing kmod-fs-nfs-common (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing kmod-fs-exportfs (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing kmod-fs-nfs (3.3.8-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing portmap (6.0-3) to root...
Downloading http://downloads.openwrt.org/attitude_a … ar71xx.ipk.
Installing nfs-kernel-server-utils (1.2.6-1) to root...
Downloading http://ecco.selfip.net/gargoyle-pl/atti … ar71xx.ipk.
Installing fdisk (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustm … ar71xx.ipk.
Installing blkid (2.21.2-1) to root...
Downloading http://ecco.selfip.net/attitude_adjustm … 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:~#

73

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

rm /sbin/blkid, tak samo swapon/off jak się będzie darł. Ale - musisz zainstalować ręcznie wszystkie pakiety z tego katalogu, bo te z tego nie będą działać. A już widzę że sambę i nfs zainstalowałeś z repo AA zamiast z tego katalogu.

Muszą być te z katalogu bo to są wersję z gargoyle ze specjalnie przerobionymi skryptami. Inne nie będą działać prawidłowo.

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

74

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Czarku mozna jasniej skąd co i jak?

75

Odp: tp-link mr3420 jak przywrócić orginalny soft tp-linka

Wszystkie pakiety z http://ecco.selfip.net/gargoyle-pl/atti … b-storage/ musisz ręcznie zainstalować, nic o takiej samej nazwie nie może pochodzić z repo AA.

Resztę zależności już normalnie z repo.

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