Keresés

Új hozzászólás Aktív témák

  • vargalex

    Topikgazda

    válasz Intruder2k5 #11781 üzenetére

    Hi!

    Web-es frissítésnél (még soha nem próbáltam, de most megnéztem) a firmware file feltöltése után, de még a flash-elés elindítása előtt jön a checksum. És figyelmeztet is, hogy hasonlítsd össze az eredeti ellenőrző összeggel:

    És a /tmp-ben ilyenkor már ott van a firmware (firmware.img néven):

    root@OpenWrt:~# ls -las /tmp/
    0 drwxrwxrwt 17 root root 580 Apr 20 08:54 .
    0 drwxr-xr-x 1 root root 0 Jan 1 1970 ..
    4 -rwx------ 1 root root 5 Apr 19 14:05 .switch2jffs
    0 drwx------ 2 root root 40 Apr 19 14:04 .uci
    4 -rw-r--r-- 1 root root 27 Apr 19 14:04 TZ
    0 drwx------ 3 root root 60 Apr 19 14:05 cores
    4 -rw-r--r-- 1 root root 64 Apr 20 05:36 dhcp.leases
    0 drwxr-xr-x 2 root root 40 Apr 19 14:05 dropbear
    4 -rw-r--r-- 1 root root 1996 Apr 19 23:07 firewall
    7948 -rw-r--r-- 1 root root 8126464 Apr 20 08:44 firmware.img
    4 -rw-r--r-- 1 root root 139 Apr 19 14:04 fstab
    0 drwx------ 3 root root 60 Apr 19 14:05 lib
    0 drwxr-xr-x 2 root root 280 Apr 20 08:41 lock
    0 drwxr-xr-x 3 root root 120 Apr 19 14:05 log
    0 -rw-r--r-- 1 root root 0 Apr 19 14:05 log.nmbd
    96 -rw------- 1 root root 86281 Apr 20 08:40 luci-indexcache
    0 drwxr-xr-x 2 root root 40 Apr 20 08:40 luci-modulecache
    0 drwx------ 2 root root 60 Apr 20 08:41 luci-sessions
    0 drwx------ 2 root root 40 Apr 20 08:54 mc-root
    4 -rw-r--rw- 1 root root 48 Apr 19 23:14 md5sumcheck
    0 drwxr-xr-t 2 root root 80 Apr 19 14:05 minidlna
    0 drwxr-xr-x 2 root root 40 Apr 20 08:41 opkg-lists
    0 drwxr-xr-x 2 root root 40 Jan 1 1970 overlay
    4 -rw-r--r-- 1 root root 32 Apr 19 14:05 resolv.conf
    4 -rw-r--r-- 1 root root 59 Apr 19 14:04 resolv.conf.auto
    0 drwxr-xr-x 3 root root 200 Apr 19 14:05 run
    4 -rw-r--r-- 1 root root 657 Apr 19 14:05 smb.conf
    0 drwxr-xr-x 2 root root 80 Apr 19 14:04 state
    0 drwxr-xr-x 3 root root 60 Apr 20 08:41 usr

    Illetve a Luci kódjába belenézve ő még platform, flash méret, stb. ellenőrzést is végez. Tehát lehet, hogy mégsem annyira rossz az. :)

    [ Szerkesztve ]

    Alex

Új hozzászólás Aktív témák