From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=NyMaClOg4tx+O1msanVuQOuf6Aubnw6hlDtaWRTmlt0=; b=waWFpbuLFidgyEWTxtqdBwRKhMN2zeuqzosrODQEeIwa1drqFah0OO3D8LHwNE+iw7 0/DIpZS6SjTfGOIL5Eg01994s46SuF2vduHmnFZDXaQkMEloJYLEFCd5pMYPtYtYydLw 4dTMGaoXRPR/yOsBsXAZ8eaobC/qefBJ6ndKI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=U9a7r3N9MIWxUZI4FzBpZiATl4Zsms9iJGr9iq2FD65nfjkdVwjLwqHpdyVSG3uNbW fvLSOcrqgMT7eehx0c64p8ceiWxJNh2GUNb1ToX+L5PS3nYzTybLFRBo1ZF6IRpz5CZM 1RrcsRlvWFikwxJWpi4BEryd6hRE/hoj6PsAA= Message-ID: <49801D5E.40205@gmail.com> Date: Wed, 28 Jan 2009 11:54:54 +0300 From: Vladimir Elizarov User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: ALT Linux sysadmin discuss References: <4980106A.3070707@gmail.com> <20090128081203.GA22474@snowwhite.immo> In-Reply-To: <20090128081203.GA22474@snowwhite.immo> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Sysadmins] =?utf-8?q?openwrt_=D0=B8_asus_wl-320ge?= X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2009 08:55:03 -0000 Archived-At: List-Archive: Pavlov Konstantin wrote: > On Wed, Jan 28, 2009 at 10:59:38AM +0300, Vladimir Elizarov wrote: > >> Пытаюсь залить прошивку через tftp. Делаю всё как написано в >> документации. Сделал hard-reset до асусвской прошивки (1.9.8.6) >> >> Выключил девайc >> сделал: >> >> atftp --trace --option "timeout 1" --option "mode octet" --put --local-file openwrt-brcm-2.4-squashfs.trx 192.168.1.1 >> >> и включил девайс >> >> показывает следующие: >> Trace mode on. >> Option timeout = 1 >> Option mode = octet >> sent WRQ > >> source port mismatch, check bypassedtimeout: retrying... >> sent WRQ > >> source port mismatch, check bypassedtimeout: retrying... >> sent WRQ > >> source port mismatch, check byassedtimeout: retrying... >> sent WRQ > >> source port mismatch, check bypassedtimeout: retrying... >> sent WRQ > >> source port mismatch, check bypassedtimeout: retrying... >> sent WRQ > >> source port mismatch, check bypassedtimeout: retrying... >> >> >> связь между точкой и компом есть. Похоже на то что tftp не включен, на >> странице wl-320ge про особое включение tftp ничего не написано. Как его всё-таки включить? >> > > В diag mode надо. > > В моем wl500gp это так: > > To install OpenWrt using TFTP or the ASUS firmware restoration tool you have to > put the router in diag mode. To put the router in the diag mode, do this: > > * Unplug the router's power cord. > > * Confirm your PC is configured to request an address via DHCP. > > * Connect the router's LAN1 port directly to your PC. > > * Push the black RESTORE button using a pen or such, and keep the button pushed > down. > > * Plug the power on while keeping the RESTORE button pushed for few > seconds. > > * When you see a slowly blinking power light, you are in diag mode. > > * Now the router should accept an image via TFTP or via the ASUS firmware > restoration tool. > > In diag mode, the router takes address 192.168.1.1. It responds to ping, so you > can confirm that it is in diag mode and ready for the tftp by using "ping > 192.168.1.1". > > Note: I used the Asus tool to reflash the orginal asus firmware over kamikaze > 7.09. In diag mode the asus kept the IP address assigned to it in kamikaze, > which was not 192.168.1.1. The asus firmware restoration tool worked even > though the asus in diag mode did not assign my PC an IP via DHCP and even > though I could not ping the asus at 192.168.1.1. I had to use > ethereal/wireshark to monitor traffic on LAN1 to figure out what I had set the > IP address to. Then, using the proper IP address I could access the stock Asus > web pages to use the "Reset to Factory Default" function and restore all > settings to factory state. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Sysadmins mailing list > Sysadmins@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/sysadmins > Да. действительно в Diag mode всё получилось. Спасибо.