1

Temat: TP-Link MR3420 v2 chyba umarł.

Witam, dałem koledze router, wrócił do mnie. Chciał zaaktualizować Gargoyle no i kicha, robił to przez wifi. Działa wifi, jest połączenie o nazwie OpenWRT. Da się dostać przez PuTTY, ale żadne hasło nie wchodzi. Da się go jeszcze uratować ?

2

Odp: TP-Link MR3420 v2 chyba umarł.

Wgrał Ci pewnie czyste OpenWrt. Zajrzyj do FAQ.

3

Odp: TP-Link MR3420 v2 chyba umarł.

Tak, dobra mam. Jednak było czyste.

4

Odp: TP-Link MR3420 v2 chyba umarł.

Czemu jak chcę zrobić opkg update mam:

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2014-09-27 09:44:51 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle PL 1.6.2.2 (b70bfc1)                                |
| OpenWrt Attitude Adjustment 12.09.1 (r42647)                 |
| Build time: 2014-09-27 09:44 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-MR3420 v2                                |
| Uptime: 0d, 00:04:54                                         |
| Load: 0.11 0.18 0.10                                         |
| Flash: total: 320KB, free: 44KB, used: 86%                   |
| Memory: total: 28.5MB, free: 15.9MB, used: 44%               |
| WAN: 31.2.112.86, proto: 3g                                  |
| LAN: 192.168.1.1                                             |
| WLAN: mode: ap, ssid: Gargoyle, channel: 11, conn: 1         |
----------------------------------------------------------------
root@Gargoyle:~# opkg update
-ash: opkg: not found
root@Gargoyle:~#
root@Gargoyle:~#

5

Odp: TP-Link MR3420 v2 chyba umarł.

W gargoyle jest gpkg, opkg jest tylko linkiem do niego. Ponad to już zapchałeś czymś flash, czasami nie próbowałeś instalować czystego opkg?

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

6

Odp: TP-Link MR3420 v2 chyba umarł.

Wrzuciłem  sysupgrade i o dziwo wszystko wróciło. Zainstalowalem gnokii ale nie czyta sms.

7

Odp: TP-Link MR3420 v2 chyba umarł.

A skonfigurowałeś gnokii?

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

8 (edytowany przez dexter 2015-01-27 21:48:08)

Odp: TP-Link MR3420 v2 chyba umarł.

Mam wrzucone tu /etc/gnokiirc.

[global]
    model = AT
    port = /dev/ttyUSB0
    connection = serial

W menu routera mam funkcję sms. Skrypt tez wrzuciłem do odbioru przez www.

9

Odp: TP-Link MR3420 v2 chyba umarł.

To wywołaj gnokii z konsoli i sprawdzisz.

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

10

Odp: TP-Link MR3420 v2 chyba umarł.

Spróbowałem jeszcze raz. Teraz jest tak

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2014-09-27 09:44:51 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle PL 1.6.2.2 (b70bfc1)                                |
| OpenWrt Attitude Adjustment 12.09.1 (r42647)                 |
| Build time: 2014-09-27 09:44 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-MR3420 v2                                |
| Uptime: 0d, 00:02:03                                         |
| Load: 0.28 0.15 0.06                                         |
| Flash: total: 320KB, free: 72KB, used: 78%                   |
| Memory: total: 28.5MB, free: 15.0MB, used: 47%               |
| WAN: 46.215.118.18, proto: 3g                                |
| LAN: 192.168.1.1                                             |
| WLAN: mode: ap, ssid: Gargoyle, channel: 11, conn: 1         |
----------------------------------------------------------------
root@Gargoyle:~# opkg update
Downloading package list for attitude_adjustment source...
Package list for attitude_adjustment downloaded successfully.

Downloading package list for eko1 source...
Package list for eko1 downloaded successfully.

Downloading package list for gargoylepl_packages source...
Package list for gargoylepl_packages downloaded successfully.

root@Gargoyle:~# opkg -nodeps install-plugin-smsbox
gpkg: opkg/ipkg compatible package manager
      written by Eric Bishop

usage: gpkg sub-command [options] [package argument(s)]
where sub-command is one of:

Package Manipulation:
  update                        Update list of available packages
  upgrade [pkgs]                Upgrade packages
  install [pkgs]                Install package(s)
  remove  [pkgs]                Remove package(s)

Informational Commands
  list [pkgs|regexp]            List available packages
  list-installed [pkgs|regexp]  List installed packages
  info [pkgs|regexp]            Display info for packages
  dest-info                     Display info about package destinations

Options:
  --regex,r                     Package argument is a regular expression
                                Only accepted for list/info commands
  --conf,-f [conf_file]         Use <conf_file> as opkg/gpkg configuration file
  --dest,-d [dest_name]         Use <dest_name> as the the root directory for
                                package installation, removal, upgrading
                                <dest_name> should be a defined dest name from
                                the configuration file,
  --link-dest,-l [dest_name]    After installation, symlink files to a
                                differentdestination specified by <dest_name>
  --only-dest,-n [dest_name]    Only display packages installed in <dest_name>
  --tmp-dir,-t   [dir_path]     Specify path of tmp-dir
  --output-format,-o [format]   Specify output format of list/info commands
                                can be 'human-readable', 'json' or 'js'
                                Default is 'human-readable'
  --package-variables,-v [vars] Comma seperated list of package variables
                                to print when info command is called

Force Options:
  --force-depends,-p            Install/remove despite failed dependencies
  --force-maintainer,-m         Overwrite preexisting config files
  --force-reinstall,-e          Reinstall package(s)
  --force-overwrite,-w          Overwrite files from other package(s)
  --autoremove,-a               Remove packages that were installed
                                automatically to satisfy dependencies
  --autoremove-same-dest,-s     Remove packages that were installed
                                automatically to satisfy dependencies
                                only if they were installed to same
                                destination as package being removed
root@Gargoyle:~# opkg install -d ram gnokii
Preparing to install the following packages, which will require 230657 bytes:
        libusb, gnokii

Preparing to install package libusb...
        Downloading...
        Downloaded libusb successfully.
        Installing libusb...
        Successfully installed libusb.
Preparing to install package gnokii...
        Downloading...
        Downloaded gnokii successfully.
        Installing gnokii...
        Successfully installed gnokii.
Installation of packages successful.

root@Gargoyle:~# n -s /tmp/usr/lib/libgnokii.so.3 /usr/lib/libgnokii.so.3
-ash: n: not found
root@Gargoyle:~#  ln -s /tmp/usr/lib/libgnokii* /usr/lib/
root@Gargoyle:~# ln -s /tmp/usr/lib/libgnokii* /usr/lib/
ln: /usr/lib/libgnokii.so: File exists
ln: /usr/lib/libgnokii.so.3: File exists
ln: /usr/lib/libgnokii.so.3.5.0: File exists
root@Gargoyle:~#



Co dalej ? W dodatkach pojawiło się SMS Support for Gargoyle (PL). to zainstalowac ?

11

Odp: TP-Link MR3420 v2 chyba umarł.

Po prostu zainstaluj z dodatków jak ci starczy miejsca.

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

12

Odp: TP-Link MR3420 v2 chyba umarł.

W jakim formacie mam zapisać sms.sh ?

13

Odp: TP-Link MR3420 v2 chyba umarł.

W żadnym? Przecież plugin jest kompletny, o jakim sms.sh piszesz i w jakim celu?

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

14

Odp: TP-Link MR3420 v2 chyba umarł.

Po zresetowaniu znikł mi SMS w panelu routera, to jest potrzebne jak chce przez stronę odczytywać sms tak ? Tu gdzie 3ginfo ?

15

Odp: TP-Link MR3420 v2 chyba umarł.

Jesteś pewien że masz dostateczną ilość miejsca we flash żeby to wszystko władować? Bo raczej nie.

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

16

Odp: TP-Link MR3420 v2 chyba umarł.

Źle zrobiłem zapchałem flash ale wyczyściłem i teraz mam takie coś :

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2014-09-27 09:44:51 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle PL 1.6.2.2 (b70bfc1)                                |
| OpenWrt Attitude Adjustment 12.09.1 (r42647)                 |
| Build time: 2014-09-27 09:44 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-MR3420 v2                                |
| Uptime: 0d, 00:04:20                                         |
| Load: 0.33 0.24 0.11                                         |
| Flash: total: 320KB, free: 72KB, used: 78%                   |
| Memory: total: 28.5MB, free: 15.0MB, used: 47%               |
| WAN: 37.7.106.188, proto: 3g                                 |
| LAN: 192.168.1.1                                             |
| WLAN: mode: ap, ssid: Gargoyle, channel: 11, conn: 1         |
----------------------------------------------------------------
root@Gargoyle:~# gnokii
gnokii: can't load library 'libusb-0.1.so.4'
root@Gargoyle:~# ln -s /tmp/usr/lib/libgnokii.so.3 /usr/lib/libgnokii.so.3
ln: /usr/lib/libgnokii.so.3: File exists
root@Gargoyle:~# ln -s /tmp/usr/lib/libgnokii* /usr/lib/
ln: /usr/lib/libgnokii.so: File exists
ln: /usr/lib/libgnokii.so.3: File exists
ln: /usr/lib/libgnokii.so.3.5.0: File exists
root@Gargoyle:~# gnokii
gnokii: can't load library 'libusb-0.1.so.4'
root@Gargoyle:~# gnokii -- identify
gnokii: can't load library 'libusb-0.1.so.4'
root@Gargoyle:~# gnokii: can't load library 'libusb-0.1.so.4'
>

17

Odp: TP-Link MR3420 v2 chyba umarł.

Zainstaluj libusb

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

18

Odp: TP-Link MR3420 v2 chyba umarł.

A router teraz krzyczy, że jednak jest zainstalowane. Nie wiem czy bawić się w exroot ale chyba będzie trzeba.

19 (edytowany przez dexter 2015-01-27 23:23:15)

Odp: TP-Link MR3420 v2 chyba umarł.

SMS jest ale nadal nie oczytuje, brak mi głowy na dzis do tego.

20

Odp: TP-Link MR3420 v2 chyba umarł.

To teraz wyślij ręcznie smsa przez gnokii i zobaczysz czy w ogóle działa.

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

21

Odp: TP-Link MR3420 v2 chyba umarł.

No i wpisuję

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2014-09-27 09:44:51 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle PL 1.6.2.2 (b70bfc1)                                |
| OpenWrt Attitude Adjustment 12.09.1 (r42647)                 |
| Build time: 2014-09-27 09:44 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-MR3420 v2                                |
| Uptime: 0d, 18:06:45                                         |
| Load: 0.01 0.04 0.05                                         |
| Flash: total: 320KB, free: 76KB, used: 76%                   |
| Memory: total: 28.5MB, free: 14.5MB, used: 49%               |
| WAN: 5.174.103.168, proto: 3g                                |
| LAN: 192.168.1.1                                             |
| WLAN: mode: ap, ssid: Gargoyle, channel: 11, conn: 1         |
----------------------------------------------------------------
root@Gargoyle:~# echo "U" | gnokii --sendsms 2580 -C 0
gnokii: can't load library 'libusb-0.1.so.4'
root@Gargoyle:~# gnokii: can't load library 'libusb-0.1.so.4'
> echo "U" | gnokii --sendsms 2580 -C 0
>

22

Odp: TP-Link MR3420 v2 chyba umarł.

To samo - nie masz biblioteki 'libusb-0.1.so.4'. Albo jej nie zainstalowałeś, albo zainstalowałeś w /tmp a nie zrobiłeś linków w systemie, co na jedno wychodzi.

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

23

Odp: TP-Link MR3420 v2 chyba umarł.

Wpisuję w putty opkg install libusb i

login as: root
root@192.168.1.1's password:


BusyBox v1.19.4 (2014-09-27 09:44:51 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.


             _____                             _
            |  __ \                           | |
            | |  \/ __ _ _ __ __ _  ___  _   _| | ___
            | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \
            | |_\ \ (_| | | | (_| | (_) | |_| | |  __/
             \____/\__,_|_|  \__, |\___/ \__, |_|\___|
                              __/ |       __/ |
                             |___/       |___/

----------------------------------------------------------------
|                                                              |
| Gargoyle PL 1.6.2.2 (b70bfc1)                                |
| OpenWrt Attitude Adjustment 12.09.1 (r42647)                 |
| Build time: 2014-09-27 09:44 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-MR3420 v2                                |
| Uptime: 0d, 18:12:33                                         |
| Load: 0.14 0.07 0.05                                         |
| Flash: total: 320KB, free: 68KB, used: 79%                   |
| Memory: total: 28.5MB, free: 13.9MB, used: 51%               |
| WAN: 5.174.103.168, proto: 3g                                |
| LAN: 192.168.1.1                                             |
o | WLAN: mode: ap, ssid: Gargoyle, channel: 11, conn: 1         |
----------------------------------------------------------------
root@Gargoyle:~# opkg update
Downloading package list for attitude_adjustment source...
Package list for attitude_adjustment downloaded successfully.

Downloading package list for eko1 source...
Package list for eko1 downloaded successfully.

Downloading package list for gargoylepl_packages source...
Package list for gargoylepl_packages downloaded successfully.

root@Gargoyle:~# opkg install libusb
WARNING: Package libusb is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

root@Gargoyle:~#

24

Odp: TP-Link MR3420 v2 chyba umarł.

Use --force-reinstall to force reinstallation

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

25 (edytowany przez dexter 2015-01-28 21:02:32)

Odp: TP-Link MR3420 v2 chyba umarł.

No i działa. Dziękuję smile