電訊茶室's Archiver

角色 發表於 2013-11-23 18:16

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

[i=s] 本帖最後由 角色 於 2013-11-23 18:18 編輯 [/i]

在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:34

[i=s] 本帖最後由 角色 於 2013-11-23 19:48 編輯 [/i]

The procedure to install packages

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

[attach]2965[/attach]

2. Using ssh to enter system and run the following commands[code]
opkg update
opkg install kmod-usb-storage block-mount block-hotplug kmod-fs-ext4 kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1
[/code]It gives the following messages:[code]
Configuring kmod-scsi-core.
Configuring kmod-usb-storage.
Configuring kmod-lib-crc16.
Configuring libuuid.
Configuring libblkid.
Configuring blkid.
Configuring swap-utils.
Configuring block-mount.
Configuring kmod-fs-vfat.
Configuring kmod-fs-ext4.
Configuring kmod-nls-cp437.
Configuring kmod-nls-iso8859-1.
Collected errors:
* opkg_install_cmd: Cannot install package block-hotplug.
root@OpenWrt:~#
[/code]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"
[attach]2966[/attach]

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.
[attach]2967[/attach]

6. Change the file system to vfat and followed by click the command "Save & Apply"
[attach]2968[/attach]

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.
[attach]2969[/attach]

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.
[attach]2970[/attach]

頁: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.