Downloading files from thumb drive to asus router






















Immediately, the router told me this:. Actually, this was a pleasant surprise: At least, the router knew there was a USB flash drive connected, it knew it didn't work, and it knew why it didn't work.

As I already knew that I didn't need anything on this flash drive, I formatted the flash drive with the router. Here's what it looked like:. I could then take it and plug it into any other router and quickly copy that IOS without going through any network configuration or connecting that router to the network. However, what interests me even more is that it frees us from the limitations of only having 16 MB, MB, or MB of storage on our routers.

These limitations have defined our work for so long that the lack of them suddenly opens up so many more possibilities. What do you think? Have you used a USB flash drive with your Cisco routers? Share your own experiences in the discussion area. Want to learn more about router and switch management? Automatically sign up for our free Cisco Routers and Switches newsletter , delivered each Friday! A little background Before we get started, let's review some of the specifics you need to know about using USB flash and CF cards with Cisco routers.

If you are on your own network, you can ignore the warning That is beyond the scope of this article. You should then receive a prompt for the password, type it in and you should be at the command prompt. You should see some changes to your terminal as you re-insert the thumb drive. You're looking for the location of the USB flash drive sd[x] , in our example it is sda. For my particular requirements, we are going to create 2 partitions for maximum flexibility and for some future projects, I'll be using an 8GB ninja USB flash drive in this example, it may also work with non-ninja thumb drives, but this has not been tested.

You can modify the below commands to accommodate the desired partitions needed but in this example we will use sda1, which will be used for installing entware. It allows one to install a variety of different software packages directly onto the router.

Basic software such as nano , a simple to use text editing tool to use in place of vi , or more complex packages such as asterisk , a voip server for all of your telephony needs. Now that we know where the USB drive is, we want to be sure to unmount all of the partitions, we can unmount all of the partitions of sda with this command. This should unmount any partitions, we can verify our drive sda no longer has any partitions mounted. To partition the disk, we need to interact with fdisk on-screen, to review all of the commands in order:.

Execute fdisk on selected drive again be sure to replace the [x] to your drive letter, typically a. Hit enter - for default value may differ depending on the size of your USB drive to make this partition size starting from end of partition "2" , to the rest of what is available on the drive. Howevery, they worked for mine. Transfer these files to a thumb drive and connect to router.

Alternatively, these files can also be transferred by scp once it is enabled in step 1. At this stage while the reset button is still pressed , navigate to It will flash your router.

After flashing, your router should restart and you can reopen the login webpage. Exit the shell. Retrieve this file from the thumb drive and upload it to cfeditor. Download the modified 1. This is your new bootloader to be flashed on to the router. Place this file back on the thumb drive. For example, download Asuswrt-Merlin and upload it to the firmware upgrade webpage in the router. Skip to content. Sign in Sign up.

Instantly share code, notes, and snippets. Last active Oct 8,



0コメント

  • 1000 / 1000