返回列表 發帖

【OpenWRT】—— TL-WR1043ND USB port for additional file storage

本帖最後由 角色 於 2013-11-23 18:18 編輯

在TL-LINK TL-WR1043ND里有一个USB Port,在OpenWRT里主要有两个用途。第一个是一般的File Storage (FAT32,EXT4),而第二个就是用来用作真个root file system用,以代替原来的8M flash ROM。在12.09 Final里(其他version没有试过),可以很简单就可以搞定。

下面我谈论怎样把external USB flash变成移动系统(Linux和Windows)的优盘。

本帖最後由 角色 於 2013-11-23 19:48 編輯

The procedure to install packages

1. Using your browser to enter the system GUI and check the system, as shown in below



2. Using ssh to enter system and run the following commands
  1. opkg update
  2. opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
複製代碼
It gives the following messages:
  1. Configuring kmod-scsi-core.
  2. Configuring kmod-usb-storage.
  3. Configuring kmod-lib-crc16.
  4. Configuring libuuid.
  5. Configuring libblkid.
  6. Configuring blkid.
  7. Configuring swap-utils.
  8. Configuring block-mount.
  9. Configuring kmod-fs-vfat.
  10. Configuring kmod-fs-ext4.
  11. Configuring kmod-nls-cp437.
  12. Configuring kmod-nls-iso8859-1.
  13. Collected errors:
  14. * opkg_install_cmd: Cannot install package block-hotplug.
  15. root@OpenWrt:~#
複製代碼
From the experimental results obtained, it shows that the last error message can be ignored.

3. Reboot the system

4. Check the System, it shows an additional item "Mount Points"


5. Sicne the default file system is EXT4 which could only read by Linux, we have to change to vfat (FAT32) by editing the settings.


6. Change the file system to vfat and followed by click the command "Save & Apply"


7. It shows the revised file system changed to vfat. In order to use it, we have to enable this mount point. Afterwards, reboot the system.


8. Since the system has already installed the hotplug function which allows you insert FAT32 USB flash drive into the USB port of the router. If the system is configured correctly, it gives the mounted system.
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

TOP

返回列表