(I was logged in as root for all of the things I did in this post. And SMB and cifs-utils are installed on my main machine.)
I have a USB enclosure (containing a 240 GB SSD, NTFS format, volume label "storage") plugged into my Linksys WRT-AC1200 (stock firmware). I would like to see the files in MGA6. The router's fancy features are turned off (FTP server, DLNA server, the app that lets me modify settings from my Android phone or Alexa). Under Windows, the sharing works fine. The entire drive is one giant share, no passwords or anything. (after I get linux to see the drive, I can implement passwords if I wish.)
Under Mageia, go into Dolphin. Look under "places" and click on "Network". Then click on "Samba Shares" and then "Workgroup". An icon shows up for "Wrt-ac1200(Samba 3.0.28a)". Click on that and you can see the directories on the router's USB drive, just like in Windows 7. Click on an .xls file, for example, and the file opens in OpenOffice Calc. Very nice. But the "WrtAC-1200" still does not show up in Dolphin's "Devices" section.
When I open a terminal window and type "diskdrake --smb", I can browse the servers on the network and set up the router's USB drive. Diskdrake will create an entry in /etc/fstab as follows:
- Code: Select all
//wrt-ac1200/Router\040Storage /mnt/storage cifs username=% 0 0
I specified a mount point of /mnt/storage, it will be owner root, group root, and it will be "drwxr xr x". Close Dolphin and open a new Dolphin. Look under "Devices". The entry for "Router Storage on wrt-ac1200" is finally there, so everything is fine, right?
No. Click on the entry in Devices, and nothing will happen. Go to a terminal window and cd over to /mnt/storage, and it is not mounted.
A couple of hours ago, I thought I got a message in the lower right corner of the screen (and a message in a terminal window that I had open) that I had to re-type my password to access the share. But I do not get these message now.
Can anybody help me figure out how to mount this thing? I have tried wikis, Mageia documentation, forums, I even tried installing Ubuntu instead of Mageia to try to see the share and write down settings with my pen. It didn't work. I just can't find the way to get this drive mounted from bootup (or in the devices section of Dolphin).
EDIT: Why is "Router\040Storage" in the fstab file? I changed the volume label of that USB NTFS drive from "Router Storage" to "storage". But every time I remove the line from /etc/fstab and re-create the location on the USB drive (diskdrake --smb), the computer still finds "Router Storage" or "Router\040Storage". Is this mis-naming (or the extra space) hurting me? Is "Router Storage" hard-coded into the linksys firmware? Do I need to reinstall Mageia to get rid of "Router\040Storage"?
Any help is greatly appreciated.