<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT blog &#187; versatek vx-1000mdi</title>
	<atom:link href="http://vmnf.no-ip.org/itblog/tag/versatek-vx-1000mdi/feed/" rel="self" type="application/rss+xml" />
	<link>http://vmnf.no-ip.org/itblog</link>
	<description>Misadventures in the IT area...</description>
	<lastBuildDate>Sun, 04 May 2014 09:38:05 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9</generator>
	<item>
		<title>Versatek VX-1000MDI recovery</title>
		<link>http://vmnf.no-ip.org/itblog/versatek-vx-1000mdi-recovery/</link>
		<comments>http://vmnf.no-ip.org/itblog/versatek-vx-1000mdi-recovery/#comments</comments>
		<pubDate>Fri, 02 May 2014 09:53:42 +0000</pubDate>
		<dc:creator><![CDATA[Vitor M. N. Fernandes]]></dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[basic boot]]></category>
		<category><![CDATA[console terminal]]></category>
		<category><![CDATA[factory defaults]]></category>
		<category><![CDATA[firmware]]></category>
		<category><![CDATA[recovery]]></category>
		<category><![CDATA[securecrt]]></category>
		<category><![CDATA[telnet session]]></category>
		<category><![CDATA[versatek vx-1000mdi]]></category>
		<category><![CDATA[web interface]]></category>
		<category><![CDATA[xmodem transfer]]></category>

		<guid isPermaLink="false">http://vmnf.no-ip.org/itblog/?p=111</guid>
		<description><![CDATA[Versatek VX-1000MDI recovery This is my second post. I hope I can share further experiences I am having so I can help others facing similar issues. Versa Technologies, Inc. VX-1000MDI DSLAM I&#8217;ve got a Versa Technologies, Inc. VX-1000MDI so I could finally simulate a WAN ADSL connection similar to those that ISPs provide to home [&#8230;]]]></description>
				<content:encoded><![CDATA[<h1>Versatek VX-1000MDI recovery</h1>
<p>This is my second post. I hope I can share further experiences I am having so I can help others facing similar issues.</p>
<h2>Versa Technologies, Inc. VX-1000MDI DSLAM</h2>
<p>I&#8217;ve got a Versa Technologies, Inc. VX-1000MDI so I could finally simulate a WAN ADSL connection similar to those that ISPs provide to home Internet users. Device is a DSLAM (Digital Subscriber Line Access Multiplexer) 24 port ADSL 2+ concentrator. ADSL ports are available via a RJ21 female connector. I will need a breakout cable or similar to be able to connect my ADSL router to it! Those 24 ADSL lines share a 100Mbps connection to network (bridge only) via a standard RJ45 port. There is also available a serial Console terminal port via a DE9 male connector.</p>
<table border="0">
<tbody>
<tr>
<td><a id="1" class="highslide" style="margin: 0 0 0px 0px" title="Versatek VX-1000MDI - Back panel" href="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_back_2.jpg"><img src="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_back.jpg" alt="" /></a><br />
Versatek VX-1000MDI &#8211; Back panel</td>
</tr>
<tr>
<td><a id="1" class="highslide" style="margin: 0 0 0px 0px" title="Versatek VX-1000MDI - Inside case" href="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_inside_2.jpg"><img src="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_inside.jpg" alt="" /></a><br />
Versatek VX-1000MDI &#8211; Inside case</td>
</tr>
<tr>
<td><a id="1" class="highslide" style="margin: 0 0 0px 0px" title="Versatek VX-1000MDI - Front panel" href="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_front_2.jpg"><img src="/file2.php?s=itblog_2&amp;fn=Versatek_VX-1000MDI_front.jpg" alt="" /></a><br />
Versatek VX-1000MDI &#8211; Front panel</td>
</tr>
</tbody>
</table>
<p><span id="more-111"></span></p>
<h2>Connecting to device via serial Console terminal</h2>
<p>Unfortunately device was DOA (Dead On Arrival). I was able to turn it on, leds and fans on and connect via a serial Console terminal (found settings printed on device chassis: 38400 8-N-1). Connection was made with an USB &#8211; COM adapter. (If you wish you can look at <a href="http://vmnf.no-ip.org/itblog/how-to-setup-a-serial-console-connection/">How to Setup a serial Console connection</a>.)</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=Connection-Diagram_Serial.png" alt="" /><br />
Serial Console terminal connection diagram</td>
</tr>
</tbody>
</table>
<h2>SecureCRT Console terminal connection to VX-1000MDI</h2>
<p>I got this information from device output:</p>
<pre>NBfz

Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Finding flashfs partition...FAILED
*** No valid flashfs partitions found in flash
ERR: Flash boot failed.
NBb

Helium 500/520 NP Network boot v1.15 (FLASH)

MAC 00:30:50:03:41:FF
SDRAM 0x02000000 bytes

D(Hold '*' during reset for prompt)

Using LAN recovery mode

Booting from auto-select source
Boot from Ethernet Port0
boot
boot
boot
boot
(...)
</pre>
<p>&nbsp;</p>
<p>Device flash was probably cleaned up before shipping (&#8220;No valid flashfs partitions&#8230;&#8221;). After start-up device keeps trying to boot without success from network. I contacted Versatek (<a href="http://www.versatek.com/" target="_blank">http://www.versatek.com/</a>) and even not buying from them they were very nice indeed and delivered what I needed to get it back to work:</p>
<pre>basicboot.zip (379,198 bytes)
flash.zip (1,446,046 bytes)
Uploading boot-firmware on VX1000MDILD - console.pdf (243,764 bytes)
</pre>
<p>&nbsp;</p>
<p>Due to some awkward hardware incompatibility (connecting with an USB &#8211; COM adapter) I was unable to send a &#8220;<code>space</code>&#8221; while device was booting or even an &#8220;<code>*</code>&#8221; to get a boot selection prompt. After some tries with multiple softwares I removed hardware control flow from SecureCRT Console terminal software.</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=SecureCRT_Flow-Control.png" alt="" /><br />
SecureCRT removing flow control options(Options &#8211; Session Options &#8211; Connection &#8211; Serial)</td>
</tr>
</tbody>
</table>
<p>Device started to listen to &#8220;<code>*</code>&#8221; (and / or &#8220;<code>space</code>&#8220;) during boot phase!</p>
<pre>(...)
DBoot from Ethernet, or Flash? (E/F)It appears you loaded the network boot program from a flash boot
Are you sure you want to boot to flash ?
</pre>
<p>&nbsp;</p>
<p>Booting from Flash</p>
<pre>NBfz

Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Finding flashfs partition...FAILED
*** No valid flashfs partitions found in flash
ERR: Flash boot failed.
</pre>
<p>&nbsp;</p>
<p>Since boot to flash was not ok I tried Ethernet recovery mode but unfortunately without success also. I had device connected to a simple network with TFTP32 (available from <a href="http://tftpd32.jounin.net/" target="_blank">http://tftpd32.jounin.net/</a> ) running as TFTP server and simultaneously as DHCP server but device never requested an IP with this setup. I confirmed that both DHCP and TFTP were working with other system.</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=Connection-Diagram_Network.png" alt="" /><br />
Network connection diagram</td>
</tr>
</tbody>
</table>
<p>TFTP32 by Ph. Jounin</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=TFTP32.png" alt="" /><br />
TFTP32 by Ph. Jounin</td>
</tr>
</tbody>
</table>
<p>Used the following settings:</p>
<table style="width: auto" border="0">
<tbody>
<tr>
<td><a id="2" class="highslide" style="margin: 0 0 0px 0px" title="TFTP32: Global settings" href="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-Global_2.png"><img src="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-Global.png" alt="" /></a><br />
TFTP32: Global settings</td>
<td><a id="2" class="highslide" style="margin: 0 0 0px 0px" title="TFTP32: TFTP settings" href="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-TFTP_2.png"><img src="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-TFTP.png" alt="" /></a><br />
TFTP32: TFTP settings</td>
<td><a id="2" class="highslide" style="margin: 0 0 0px 0px" title="TFTP32: DHCP settings" href="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-DHCP_2.png"><img src="/file2.php?s=itblog_2&amp;fn=TFTP32_Settings-DHCP.png" alt="" /></a><br />
TFTP32: DHCP settings</td>
</tr>
</tbody>
</table>
<p>Still I found documentation about a similar device that seemed able to grab an IP, connect to TFTP server and boot in LAN recovery mode.</p>
<pre>(...)
boot
boot
reply
IP 192.168.1.66
Server 192.168.1.234 ()
Booting 'BOOT.bin'
.........................(...)
</pre>
<p>&nbsp;</p>
<p>I had no luck doing above.</p>
<h2>Starting VX-1000MDI recovery process</h2>
<h3>File uploading via xmodem</h3>
<p>Both (Ethernet and Flash) were not working for me so I went for &#8220;<code>space</code>&#8221; on boot option and this time I was able to issue <code>xmodem</code> command and try a send xmodem transfer. First I sent <code>basicboot.bin</code> (from <code>basicboot.zip</code>).</p>
<table style="display: inline" border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=SecureCRT_Transfer-Xmodem.png" alt="" /><br />
SecureCRT using send xmodem transfer</td>
</tr>
</tbody>
</table>
<table style="display: inline" border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=SecureCRT_Transfer-Xmodem_File-Dialog.png" alt="" /><br />
SecureCRT selecting basicboot.bin</td>
</tr>
</tbody>
</table>
<p>Output was:</p>
<pre>NBrNBfz

Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Key pressed, stopping boot.

Entered console ... User request.
]xmodem                                                                             

Starting xmodem transfer.  Press Ctrl+C to cancel.
  100%     576 KB    2 KB/s 00:03:15       0 Errors

Image relocated - type quit to boot
]quit
</pre>
<p>&nbsp;</p>
<p>At this time I was finally with some hope to get this device back in working order. After getting &#8220;Quantum&#8221; prompt I was able to start procedure described on pdf I got from manufacturer. First cleaned up flash partitions:</p>
<pre>NP
i100%
Allocatable memory starts @ 0x10a000, end @ 0x2000000
No, or invalid, configuration information in EEPROM - trying FLASH
Valid configuration (size 256)
Flash Rewrite version 9.0.7.7 (4th Nov 2004) 
BSP: He500/G24 v1.2.0.5
CSP: He5x0/He400 CSP v1.0 (ISOS 9.0)
Copyright (c) 2004
Quantum&gt; 
NP software version is 0x00000900 (reply took 5us)

Quantum&gt; flashfs wipe 1
Quantum&gt; flashfs wipe 2
Quantum&gt; flashfs wipe 3
Quantum&gt;
</pre>
<p>&nbsp;</p>
<p>Hard rebooted device and this time loaded <code>flash.bin</code> (from <code>flash.zip</code>):</p>
<pre>NBrNBfz
Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Key pressed, stopping boot.

Entered console ... User request.
]xmodem                            

Starting xmodem transfer.  Press Ctrl+C to cancel.
  100%    1600 KB    3 KB/s 00:08:14       0 Errors

Image relocated - type quit to boot
]quit
</pre>
<p>&nbsp;</p>
<p>Device now got a brand new firmware&#8230;</p>
<pre>NP
i 100%
Allocatable memory starts @ 0x4d7c00, end @ 0x2000000
No, or invalid, configuration information in EEPROM - trying FLASH
Valid configuration (size 256)
Ethernet gateway version 9.0.7.7 (4th Nov 2004) 
BSP: He500/G24 v1.2.0.5
CSP: He5x0/He400 CSP v1.0 (ISOS 9.0)
Copyright (c) 2004 Versa Technology, Inc.

NP software version is 0x00000900 (reply took 6us)
SNMP Research SNMP Agent Resident Module Version 15.3.1.7 
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
Failed to open //isfs/im.conf - restoring from //expand/isfs/im.conf.factory
                                                               
         ##       ##          #######       #####    ##        
         ##       ##          #########    #######   ##        
          ##     ##           ##     ##   ##    ###  ##        
          ##     ##  ##   ##  ##      ##  ##     ##  ##        
           ##   ##   ### ###  ##      ##  ####       ##        
           ##   ##    ## ##   ##      ##   ######    ##        
           ##   ##     ###    ##      ##     #####   ##        
            ## ##      ###    ##      ##        ###  ##        
            ## ##      ###    ##      ##  ##     ##  ##        
             ###      ## ##   ##     ##   ###   ###  ##        
             ###     ### ###  #########    #######   ########  
             ###     ##   ##  #######       #####    ########  
                                                               
Login: admin
Password: *****

Login successful

--&gt;
</pre>
<p>&nbsp;</p>
<h3>Fixing device configuration</h3>
<p>I still get some errors (see &#8220;Failed to open&#8230; &#8220;) that will be fixed with a minimal configuration restore.</p>
<pre>--&gt; console enable 
Switching from CLI to console mode - type 'exit' to return

Quantum&gt; flashfs update
Updating flash filing system ...
done
Quantum&gt; exit

Returning to CLI mode 

--&gt; system config clear 
Restoring backup configuration //isfs/im.conf.minimal
To finish clearing, please save configuration and restart.
*Note that subsequent changes this session will NOT be saved*.
--&gt; system config save

--&gt; system restart
</pre>
<p>&nbsp;</p>
<p>Restarting&#8230;</p>
<pre>NBpNBfz

Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Finding flashfs partition...done.
NP
i 100%
Allocatable memory starts @ 0x371900, end @ 0x2000000
No, or invalid, configuration information in EEPROM - trying FLASH
Valid configuration (size 256)
Ethernet gateway version 9.0.7.7 (4th Nov 2004) 
BSP: He500/G24 v1.2.0.5
CSP: He5x0/He400 CSP v1.0 (ISOS 9.0)
Copyright (c) 2004 Versa Technology, Inc.

NP software version is 0x00000900 (reply took 6us)
SNMP Research SNMP Agent Resident Module Version 15.3.1.7 
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.


 !!!!!!!!! No users are configured with sufficient access to create other
 !WARNING! users, so this UART session is being logged in automatically with
 !!!!!!!!! sufficient access.



--&gt;
</pre>
<p>&nbsp;</p>
<p>No errors now but also no users on device. Next step will add a default user on device.</p>
<h3>Resetting device to factory default settings</h3>
<p>I will now restore factory default settings.</p>
<pre>--&gt; system config restore factory
Restoring factory defaults...

--&gt; system config save 

--&gt; system restart
</pre>
<p>&nbsp;</p>
<p>New restart with factory defaults. No errors and with a default user named admin with password admin.</p>
<pre>NBpNBfz

Helium 5x0/400 PP boot v1.5

SDRAM size = 0x2000000
Finding flashfs partition...done.
NP
i 100%
Allocatable memory starts @ 0x371900, end @ 0x2000000
No, or invalid, configuration information in EEPROM - trying FLASH
Valid configuration (size 256)
Ethernet gateway version 9.0.7.7 (4th Nov 2004) 
BSP: He500/G24 v1.2.0.5
CSP: He5x0/He400 CSP v1.0 (ISOS 9.0)
Copyright (c) 2004 Versa Technology, Inc.

NP software version is 0x00000900 (reply took 7us)
SNMP Research SNMP Agent Resident Module Version 15.3.1.7 
Copyright 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 SNMP Research, Inc.
                                                               
         ##       ##          #######       #####    ##        
         ##       ##          #########    #######   ##        
          ##     ##           ##     ##   ##    ###  ##        
          ##     ##  ##   ##  ##      ##  ##     ##  ##        
           ##   ##   ### ###  ##      ##  ####       ##        
           ##   ##    ## ##   ##      ##   ######    ##        
           ##   ##     ###    ##      ##     #####   ##        
            ## ##      ###    ##      ##        ###  ##        
            ## ##      ###    ##      ##  ##     ##  ##        
             ###      ## ##   ##     ##   ###   ###  ##        
             ###     ### ###  #########    #######   ########  
             ###     ##   ##  #######       #####    ########  
                                                               
Login: admin
Password: *****

Login successful

--&gt;
</pre>
<p>&nbsp;</p>
<h2>Accessing device via network interface (RJ45 port)</h2>
<p>I am now able to see current device IP configuration. Device is at 192.168.1.253. (I did not try this IP before so I cannot confirm if device was already with this configuration or not.)</p>
<pre>--&gt; ip list interfaces 
 
IP Interfaces:

 ID  |    Name      |    IP Address    |   DHCP   |   Transport
-----|--------------|------------------|----------|----------------
   1 | iplan        | 192.168.1.253    | disabled | 
-------------------------------------------------------------------

--&gt;
</pre>
<p>&nbsp;</p>
<p>I configured my laptop to 192.168.1.1 (with mask 255.255.255.0) and besides being able to access device via serial Console terminal I was now also able to connect to it via both a telnet session and / or its Web interface.</p>
<h3>Telnet session</h3>
<p>Issuing telnet 192.168.1.253 took me to device login screen and just needed to enter default user authentication to get device prompt as serial Console terminal (un: <code>admin</code> and pw: <code>admin</code>).</p>
<pre>$ telnet 192.168.1.253
Trying 192.168.1.253...
         ##       ##          #######       #####    ##
         ##       ##          #########    #######   ##
          ##     ##           ##     ##   ##    ###  ##
          ##     ##  ##   ##  ##      ##  ##     ##  ##
           ##   ##   ### ###  ##      ##  ####       ##
           ##   ##    ## ##   ##      ##   ######    ##
           ##   ##     ###    ##      ##     #####   ##
            ## ##      ###    ##      ##        ###  ##
            ## ##      ###    ##      ##  ##     ##  ##
             ###      ## ##   ##     ##   ###   ###  ##
             ###     ### ###  #########    #######   ########
             ###     ##   ##  #######       #####    ########

Login: admin
Password: *****

Login successful

--&gt;
</pre>
<p>&nbsp;</p>
<h3>Web interface</h3>
<p>Using a common Web browser pointed at 192.168.1.253 I got a login dialog that required same default authentication as previously.</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=VX-1000MDI_Web-Login-1.png" alt="" /><br />
VX-1000MDI Web interface login dialog</td>
</tr>
</tbody>
</table>
<p>After logon&#8230;</p>
<table border="0">
<tbody>
<tr>
<td><img src="/file2.php?s=itblog_2&amp;fn=VX-1000MDI_Web-Interface-2.png" alt="" /><br />
VX-1000MDI Web interface</td>
</tr>
</tbody>
</table>
<p>Device is now fully working and ready to play!</p>
<h2>Comments and suggestions</h2>
<p>As always comments and suggestions are very welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://vmnf.no-ip.org/itblog/versatek-vx-1000mdi-recovery/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
