1 (edytowany przez mjab 2018-03-26 16:22:11)

Temat: OpenWrt i kalkulator "bc", jak zainstalować?

Witam,

potrzebuję kalkulatora "bc" do OpenWrt, niestety mam taki wynik:

najpierw opkg update i nastepnie:


root@openwrt:/# opkg install bc
Installing bc (1.06.95-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Installing libreadline (6.3-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Collected errors:
* extract_archive: Cannot create symlink from ./usr/lib/libreadline.so.6 to 'libreadline.so.6.3': No space left on device.
* extract_archive: Cannot create symlink from ./usr/lib/libhistory.so to 'libhistory.so.6': No space left on device.
* wfopen: /usr/lib/libhistory.so.6.3: No space left on device.
* pkg_write_filelist: Failed to open //usr/lib/opkg/info/libreadline.list: No space left on device.
* opkg_install_pkg: Failed to extract data files for libreadline. Package debris may remain!
* opkg_install_cmd: Cannot install package bc.
* opkg_conf_write_status_files: Can't open status file //usr/lib/opkg/status: No space left on device.


root@openwrt:/# free
             total         used         free       shared      buffers
Mem:         28480        24388         4092         1076         1724
-/+ buffers:              22664         5816
Swap:            0            0            0



Co mam z tym zrobić? Jak zainstalować bc?

2

Odp: OpenWrt i kalkulator "bc", jak zainstalować?

Nie masz miejsca we flash żeby go zainstalować. Usuń coś. Lub jeszcze lepiej zrób firstboota, bo teraz pewnie już nic nie będziesz mógł zrobić.

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

3 (edytowany przez mjab 2018-03-26 18:01:38)

Odp: OpenWrt i kalkulator "bc", jak zainstalować?

ok, teraz mam tak:

BusyBox v1.23.2 (2017-03-01 17:53:31 CET) built-in shell (ash)


                   _            _____ _____
                  | |          / ____|_   _|
                  | |    _   _| |      | |
                  | |   | | | | |      | |
                  | |___| |_| | |____ _| |_
                  |______\__,_|\_____|_____|

----------------------------------------------------------------
|                                                              |
| OpenWrt Chaos Calmer 15.05.1 (r49484)                        |
| Build time: 2017-06-02 18:58 CEST                            |
|                                                              |
| Cezary Jackiewicz (obsy), http://eko.one.pl                  |
|                                                              |
----------------------------------------------------------------
| Machine: TP-Link TL-WR842N/ND v2                             |
| Uptime: 0d, 00:08:04                                         |
| Load: 0.21 0.49 0.29                                         |
| Flash: total: 7.4GB, free: 7.0GB, used: 0%                   |
| Memory: total: 27.8MB, free: 10.1MB, used: 63%               |
| WAN:                                                         |
| LAN: 172.16.1.1, leases: 1                                   |
| radio1: mode: sta, ssid: Rzeznicza_4/10__ogrzewanie, channel: 1, conn: 1 |
| radio1: mode: ap, ssid: android, channel: 1, conn: 1         |
| radio1: mode: ap, ssid: 170118141330KR.jDom, channel: 1, conn: 0 |
----------------------------------------------------------------



# opkg install bc
Installing bc (1.06.95-1) to root...
Downloading http://downloads.openwrt.org/chaos_calm … r71xx.ipk.
Collected errors:
* gz_open: fork: Cannot allocate memory.
* opkg_install_pkg: Failed to unpack control files from /tmp/opkg-U9xO7g/bc_1.06.95-1_ar71xx.ipk.
* opkg_install_cmd: Cannot install package bc.


# free
             total         used         free       shared      buffers
Mem:         28480        23276         5204         1424         1584
-/+ buffers:              21692         6788
Swap:            0            0            0


jak to ogarnąć? masakra tongue

4

Odp: OpenWrt i kalkulator "bc", jak zainstalować?

A teraz masz za mało pamięci ram żeby to zainstalować smile

Wwyal coś z ramu, np. ubij procesy samby, uhttpd, wyłącz wifi, wyładuj moduły od wifi.

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