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

  • krisztian98

    csendes tag

    Sziasztok,

    A finishben érzem magam :)
    Szívatott az, hogy SSH-ban nem tudtam belépni. Rájöttem, hogy a telnetnél kell megadni passwd parancsot, jelszót megadni és utánna megy csak az SSH-s kapcsolat.

    A Win SCP-vel a routerre rácsatlakoztam a tmp könyvtárba másoltam a factory.bin-t

    Viszont mikor az Putty-on keresztül SSH-kapcsolattal bemegyek egészen eljutok idáig.
    login as: root
    root@192.168.1.1's password:

    BusyBox v1.19.4 (2014-03-04 10:19:53 PST) built-in shell (ash)
    Enter 'help' for a list of built-in commands.

    _______ ________ __
    | |.-----.-----.-----.| | | |.----.| |_
    | - || _ | -__| || | | || _|| _|
    |_______|| __|_____|__|__||________||__| |____|
    |__| W I R E L E S S F R E E D O M
    -----------------------------------------------------
    BARRIER BREAKER (Bleeding Edge, r39770)
    -----------------------------------------------------
    * 1/2 oz Galliano Pour all ingredients into
    * 4 oz cold Coffee an irish coffee mug filled
    * 1 1/2 oz Dark Rum with crushed ice. Stir.
    * 2 tsp. Creme de Cacao
    -----------------------------------------------------
    root@OpenWrt:~# cd /tmp
    root@OpenWrt:/tmp# mtd -r write /tmp/factory.bin
    Usage: mtd [<options> ...] <command> [<arguments> ...] <device>[:<device>...]

    The device is in the format of mtdX (eg: mtd4) or its label.
    mtd recognizes these commands:
    unlock unlock the device
    refresh refresh mtd partition
    erase erase all data on device
    verify <imagefile>|- verify <imagefile> (use - for stdin) to device
    write <imagefile>|- write <imagefile> (use - for stdin) to device
    jffs2write <file> append <file> to the jffs2 partition on the devi ce
    fixtrx fix the checksum in a trx header on first boot
    fixseama fix the checksum in a seama header on first boot
    Following options are available:
    -q quiet mode (once: no [w] on writing,
    twice: no status messages)
    -n write without first erasing the blocks
    -r reboot after successful command
    -f force write without trx checks
    -e <device> erase <device> before executing the command
    -d <name> directory for jffs2write, defaults to "tmp"
    -j <name> integrate <file> into jffs2 data when writing an image
    -s <number> skip the first n bytes when appending data to th e jffs2 partiton, defaults to "0"
    -p write beginning at partition offset
    -o offset offset of the image header in the partition(for fixtrx)
    -F <part>[:<size>[:<entrypoint>]][,<part>...]
    alter the fis partition table to create new part itions replacing
    the partitions provided as argument to the write command
    (only valid together with the write command)

    Example: To write linux.trx to mtd4 labeled as linux and reboot afterwards
    mtd -r write linux.trx linux

    root@OpenWrt:/tmp#

    Valaki a pontos parancsot le tudná írni?

    Köszi eddigi türelmeteket :):
    Krisztián

    [ Szerkesztve ]

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