I have an Inteno dg200 Router running some Iopsys linux version (kernel 3.14 or so, I believe)
I've had some trouble getting a fileshare running using the USB ports and my external harddrive. The system supports it. But no matter what I put in, it does not automatically mount it. So today I decided to ssh into the system as root rather than use my webbased control panel.
To my surprise the system does not support the usual ways of finding information on the connected, unmounted drives. Allow me to elaborate:
# fdisk -l
-ash: fdisk: not found
Very well, lets try something else then:
# lsblk
-ash: lsblk: not found
And so I begin running into trouble. From what I have been able to learn online, when people have this problem it's usually because fdisk
lies in /sbin, and that is not in their path as they are not root. Well, I am root here, but to be certain I checked both /sbin and /usr/sbin, but to no avail. Neither directory contained anything called fdisk
or lsblk
, nor does the find
command locate anything called fdisk
.
Is there another way to find out what exactly to mount from CLI or can I, perhaps install fdisk
on the router?
[319198.887000] usb 1-1: new high-speed USB device number 6 using ehci_hcd [319214.101000] usb 1-1: can't set config #1, error -145
lsblk
andfdisk
come fromutil-linux
package, so it seem you don't have it installed (butmount
comes from it also, so it looks strange). Perhaps you have parted:parted -l
?