OpenWrt Forum Archive

Topic: No /dev/sda* for USB in TP-LINK MR3020

The content of this topic has been archived on 18 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi!

I have Openwrt Attitude Adjustment installed on my TP-LINK MR3020 and so far all is good. I have setup my wifi to be a client of another wireless router I have so I am able to access internet on my computer *and* mess around with my TP-LINK router on my macbook running OSX.

I installed all requisite packages as asked on wiki page for USB drive detection yet I don't see any /dev/sda* at all! I rebooted the router a couple of times.

root@OpenWrt:/# ls /dev/*
/dev/console             /dev/mtdblock0           /dev/ttyS11
/dev/cpu_dma_latency     /dev/mtdblock1           /dev/ttyS12
/dev/full                /dev/mtdblock2           /dev/ttyS13
/dev/kmsg                /dev/mtdblock3           /dev/ttyS14
/dev/log                 /dev/mtdblock4           /dev/ttyS15
/dev/mem                 /dev/mtdblock5           /dev/ttyS2
/dev/mtd0                /dev/network_latency     /dev/ttyS3
/dev/mtd0ro              /dev/network_throughput  /dev/ttyS4
/dev/mtd1                /dev/null                /dev/ttyS5
/dev/mtd1ro              /dev/port                /dev/ttyS6
/dev/mtd2                /dev/ppp                 /dev/ttyS7
/dev/mtd2ro              /dev/ptmx                /dev/ttyS8
/dev/mtd3                /dev/random              /dev/ttyS9
/dev/mtd3ro              /dev/tty                 /dev/urandom
/dev/mtd4                /dev/ttyATH0             /dev/watchdog
/dev/mtd4ro              /dev/ttyS0               /dev/zero
/dev/mtd5                /dev/ttyS1
/dev/mtd5ro              /dev/ttyS10

/dev/bus:
usb

/dev/pts:
0

/dev/shm:


Also I cant seem to install (because there is no such package) or find "fdisk" package.

Help? Thanks!

(Last edited by sindhus on 29 Jul 2015, 16:49)

what does dmesg tell you?

did you connect the stick with this ?

List all packages (and only those) that you installed for USB support.

Since I couldn't get Breaking Barrier to recognize USB disks, I upgraded my TP-LINK to the latest image from trunk [1] but that too failed to recognize USB despite all modules being installed. Finally I installed Attitude Adjustment, then did the following:

0. Setup up my wifi and other basic Internet setups
1. Installed kmod-usb-storage, kmod-usb-ohci, kmod-fs-ext4, kmod-usb-uhci    , dosfsck, dosfslabel, block-mount
2. Put my USB disk, checked with 'dmesg', recognised, yay!
3. Followed instructions from [2] to automount (once this is in place, my UI has a new tab called Mount Points under System http://i.imgur.com/3L5dT30.png)

Thanks for everyone who helped out! smile
Hope my notes help someone!

[1] https://downloads.openwrt.org/snapshots … actory.bin
[2] http://wiki.openwrt.org/doc/howto/stora … nt_on_boot

The discussion might have continued from here.