installing a DLNA server (minidlna) and mounting a USB stick - Xiaomi Mini
get the minidlna package
now unless you plan on serving your media from NVRAM you probably will want to mount a USB stick to serve your files from.
the Xiaomi mini wifi comes with one USB2 (highspeed port) and usbcore is part already part of the image (CC-RC2) but you'll still need to add the mass storage driver, and some filesystem support (e.g for windows formatted FAT32 stick):
it complains about fstab missing but you can create a default file with
(ie usb device detect but no /dev/sda being created)
anyhoo, from that point on you can add your mountpoint in fstab or using LuCI
(a new subtab mountpoints will have been created under system)
i mounted mine under /data
opkg install minidlnaand i also installed the luci config app to make things easier to configure
opkg install luci-app-minidlnaand when reloading luci you'll a services tab with minidlna.
now unless you plan on serving your media from NVRAM you probably will want to mount a USB stick to serve your files from.
the Xiaomi mini wifi comes with one USB2 (highspeed port) and usbcore is part already part of the image (CC-RC2) but you'll still need to add the mass storage driver, and some filesystem support (e.g for windows formatted FAT32 stick):
opkg install kmod-usb-storage block-mount kmod-fs-vfat kmod-nls-cp437 kmod-nls-iso8859-1(note:the block-hotplug package is merged into block-mount, wiki isn't updated yet)
it complains about fstab missing but you can create a default file with
block detect > /etc/config/fstabfor some reason i had to reboot the router at this stage)
(ie usb device detect but no /dev/sda being created)
anyhoo, from that point on you can add your mountpoint in fstab or using LuCI
(a new subtab mountpoints will have been created under system)
i mounted mine under /data
so back to the minidlna tab
enable, set your mediadirectories to your mountpoint ie /data
restart minidlna.
done!