Hirdetés

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

  • paprika3002

    csendes tag

    válasz paprika3002 #1080 üzenetére

    Azért a biztonság kedvéért leírom mit csinálok.

    1. Fix IP a laptopon: 192.168.0.2, 255.255.255.0 maszkkal, lan kábel a LAN1-be.
    2. Router kikapcs, reset nyomva tart, router bekapcs, 30 másodperc után reset elenged. Roter narancssárgán lassan villog.
    3. Böngészőbe: 192.168.0.1, kitallóz a openwrt-ar71xx-generic-dir-825-b1-squashfs-backup-loader.bin, upload, vár 1 percet.
    4. Dinamikus IP a laptopon, megkapom a 192.168.1.99 címet, 255.255.255.0 maszkkal, 192.168.1.1 átjáróval.
    5. Luci betölt, jelszó beállít.
    6. winscp-el bemásol a /tmp/openwrt-ar71xx-generic-dir-825-b1-fat-squashfs-sysupgrade.bin.
    7. Putty-al:
    root@OpenWrt:~# sysupgrade -i /tmp/openwrt-ar71xx-generic-dir-825-b1-fat-squashfs-sysupgrade.bin
    Do you have a backup of the caldata partition? (y/N): y
    Keep config files over reflash (Y/n): y
    Edit config file list (y/N): n
    Saving config files...
    Sending TERM to remaining processes ... uhttpd dnsmasq ntpd syslogd klogd hotplug2 ubusd netifd
    Sending KILL to remaining processes ... uhttpd
    Switching to ramdisk...
    Performing system upgrade...
    no valid calibration data found in caldata
    unable to backup calibration data

    root@OpenWrt:/tmp# mount
    rootfs on / type rootfs (rw)
    proc on /proc type proc (rw,noatime)
    sysfs on /sys type sysfs (rw,noatime)
    tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=30928k)
    tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
    devpts on /dev/pts type devpts (rw,noatime,mode=600)
    root on /tmp/root type tmpfs (rw,noatime,mode=755)
    overlayfs:/tmp/root on / type overlayfs (ro,noatime,lowerdir=/,upperdir=/tmp/root)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    none on /proc/bus/usb type usbfs (rw,relatime)

    root@OpenWrt:~# cat /proc/mtd
    dev: size erasesize name
    mtd0: 00040000 00010000 "uboot"
    mtd1: 00010000 00010000 "config"
    mtd2: 00100000 00010000 "kernel"
    mtd3: 00510000 00010000 "rootfs"
    mtd4: 00340000 00010000 "rootfs_data"
    mtd5: 00010000 00010000 "caldata"
    mtd6: 00190000 00010000 "unknown"
    mtd7: 00610000 00010000 "firmware"
    mtd8: 00010000 00010000 "caldata_copy"

    root@OpenWrt:/tmp# sysupgrade -i /tmp/openwrt-dir-825-b1-fat-squashfs-sysupgrade_vargalex_1.1.7.bin
    Do you have a backup of the caldata partition? (y/N): y
    The upgrade image is too big (size:7798784 available:6356992)
    Sysupgrade is not yet supported on dir-825-b1.
    Image check 'platform_check_image' failed.

    [ Szerkesztve ]

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