Wireless Controller
Dedicated Wi-Fi control and management for high density and mobility
gkaur
Staff
Staff
Article Id 194413
Description

Unable to copy the code to the controller flash.


Scope

KB ARTICLE TYPE: Troubleshooting

RELATED PRODUCTS: Controller and 3CDeamon as ftp server.

RELATED SOFTWARE VERSIONS: 3.6

KEYWORDS: Controller, 3CDeamon as ftp server, flash


Solution
When attempting to copy the controller firmware/code to the controller flash using ftp/tftp it will not extract to the flash, it will be saved in /opt/meru/images/ directory as a tar file, it will not untar.

STEPS TAKEN FOR TROUBLESHOOTING:

STEP 1 :

Verify if the controller firmware that is downloaded is intended for the respective controller.

STEP 2 :

Try copying the file using ftp/tftp using the below command :

 

# copy ftp://username@ip_address_ftp_server/<image-name>.tar.

(where username is username of ftp server and ip address is ip address of ftp server and make sure that there is space

after filename.tar and ends up with “.” “fullstop/period”)

# copy tftp://ip_address_tftp_server/<image-name>.tar .

(where ip address is ip address of tftp server and make sure that there is space after filename.tar and ends up with “.”

“fullstop/period”)

STEP 3:

Type “show flash” command and see if the file/code is extracted. Command to be used #show flash

STEP 4:

If still the code is not found using the above command execute the below command and see if the file is located in the
“images” directory, command to be used :
#cd images
#dir
#file_name.tar

STEP 5:

If you're still not able to extract the file, log into root and execute the following commands

for example:

# show flash

3.6-130

#log root

bash-2.05a# cd /opt/meru/images/

bash-2.05a# ftp 10.10.58.27 (note the ip provided is ip address of the ftp server)

Connected to 10.10.58.27 (10.10.58.27).

220 3Com 3CDaemon FTP Server Version 2.0

Name (10.10.58.27:admin): anonymous

331 User name ok, need password

Password:

230-The response '' is not valid.

230-Next time, please use your email address as password.

230 User logged in

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> dir

227 Entering passive mode (10,10,58,27,13,37)

125 Using existing data connection

-rwxrwxrwx 1 owner group 59576320 Jan 14 03:06 meru-3.6-124-MC1000-rpm.tar

226 Closing data connection

ftp> get meru-3.6-127-MC1000-rpm.tar ./meru-3.6-127-MC1000-rpm.tar

local: ./meru-3.6-127-MC1000-rpm.tar remote: meru-3.6-127-MC1000-rpm.tar

227 Entering passive mode (10,10,58,27,13,60)

125 Using existing data connection

226 Closing data connection; File transfer successful.

59535360 bytes received in 22.6 secs (2.6e+03 Kbytes/sec)

(this will import the controller firmware to the current directory which is /images)

ftp>bye

bash-2.05a# dir

meru-3.6-127-MC1000-rpm.tar

STEP 6:

Now extract the tar file (controller code) using the following command (example)

bash-2.05a# tar -xvf meru-3.6-127-MC1000-rpm.tar

bash-2.05a#exit

MeruController1# show flash

3.6-130

3.6-127

(Now the code 3.6-127 is found in flash)

RESOLUTION:

The code can be uploaded to the controller flash using the above steps


Contributors