How can I tell if OpenWrt sees the USB stick which has been inserted?
Would it be seen as /dev/sda?
The content of this topic has been archived on 5 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
How can I tell if OpenWrt sees the USB stick which has been inserted?
Would it be seen as /dev/sda?
login via ssh and type
dmesg
login via ssh and type
dmesg
I did that but didn't understand what it meant or how to mount it
usb 1-1.1: new high speed USB device number 3 using ehci-platform
Have you read these articles:
https://wiki.openwrt.org/doc/howto/usb.storage
and first
https://wiki.openwrt.org/doc/howto/usb.essentials
I tried following the links although there is plenty of scope for misunderstanding.
I've now installed kmod-usb-storage but am unable to install kmode-fs-msdosfs...
What is the OpenWrt equivalent of lsblk or blkid?
When a USB stick is inserted there are dmesg msgs showing USB Mass Storage device detected, but I am unable to mount it.
did you install
kmod-usb2
Yes. I installed:-
kmod-usb2
kmod-usb-storage
But was unable to install:-
kmod-fs-msdofs
the error message would be helpful
the error message would be helpful
Unknown package 'kmod-fs-msdosfs'.
ntfs installed ok.
It's kmod-fs-msdos. You may need kmod-fs-vfat or kmod-fs-extfat depending on the format on the drive.
I managed to access an NTFS formatted USB stick, so I'm getting the hang of it.
Accessing a FAT partition is still on my ToDo list...
For ntfs ( read & write )
remove kmod-fs-ntfs and install ntfs-3g
Yes. I installed:-
kmod-usb2
kmod-usb-storageBut was unable to install:-
kmod-fs-msdofs
Hi,i got one tl-wr720n,and flash with `openw71xx-generic-tl-wr720n-v3-squashfs-factory.bin`.
When i input `opkg install kmod-usb-storage`,the result is:
Unknown package 'kmod-usb-storage'.
Collected errors:
* opkg_install_cmd: Cannot install package kmod-usb-storage.
Now,how should i solve it?Thank you.
did you run
opkg update
But I think the 720n hasn't enough space to install the packages
https://wiki.openwrt.org/toh/tp-link/tl-wr720n, it has only 4MB flash
(Last edited by rj-45 on 25 Feb 2018, 13:10)
@yiwang
Devices with only 4MB flash have serious problems with not enough space being available for installation of additional packages. Suggested reading regarding devices with low flash/RAM (yes, you should read them all and thoroughly.):
https://openwrt.org/supported_devices/432_warning
General advice regarding devices with low flash/RAM
https://openwrt.org/faq/after_installat … _on_device
With only 250kB left for package installation, you will soon stumble over the error message _No space left on device_. The linked section shows some solutions.
https://openwrt.org/docs/user-guide/add … agebuilder
You need to build your own space optimized image, with only the packages included that you really need. Imagebuilder is the easiest way to do so.
https://openwrt.org/faq/before_installa … save_space
When you build your own image, you want to exclude unneeded packages to save space for needed packages.
https://openwrt.org/docs/user-guide/add … figuration - Another solution for the _No space left on device_ problem (only for devices with USB port).
(Last edited by tmo26 on 25 Feb 2018, 14:24)
The discussion might have continued from here.