Hi,
Using a mango, have followed the instructions to enable file sharing. The folder for the router appears, but shows empty (there are files on the attached usb drive). Is there an easy fix to be able to see the files?
The sharing path is correct right? Can you give some details e.g. screenshot.
Will post screenshots later as away from the router, I have followed the instructions as posted on the GL.inet tutorials, I can see the main folder, just contains nothing.
Understood.
But can only find the problem via details.
can you login the router system? execute command:
ls /dev
mount
catch the information
Iâm accessing via Android, screenshots are vlc and cx file Explorer, can see folder but it is empty, any help appreciated
You can use this program on Android to access the router through ssh.
Then use the command given and provide the info needed. If unfamiliar with ssh this guide may help.
Skip down to the ssh login portion since you are using Android.
Downloaded SSH, no idea how to open a connection, and notes you directed me to give no guidance for the app?
Tap quick connect button to create a new connection. Fill in the info needed from the articles ssh section.
Edit. Forget the article, it doesnât matter. Just hit quick connect, fill in the info for your router, probably 192.168.8.1 create a new user using root as user and password you set on the router. Save all this and youâll be able to access your router using ssh
Doesnât accept password, says authentication error
in router system, you installed the âfile shareâ , so it can appear âGL-Sambaâă if you USB device not recognized by router, it canât be find in âGL-Sambaâ directoryă
you can ssh login the router system, check the USB device whether be found.
execute command:
ls /dev
mount
catch the information
Understand what youâre saying, all makes sense, problem is I donât know how to SSH login to the router, the app doesnât allow me to login due to password not being recognised.
Sound like the same problem that I struggled with for hours on both my GL-AR750S and GL-MV1000S.
Try the last post in this thread:
It worked for me on both routers.
Use the password for the router web access not what you set for WiFi access. If your password isnât working you have other problems and should just factory reset and try again.
The router does not automount the USB drive, as it should when inserted. I tried it on my router with the same result.
Instead of using the limited GL.Inet GUI, use the LUCI GUI. Before doing that, install the luci-app-samba package under APPLICATIONS â Plug-ins, if it is not already installed.
Under MORE SETTINGS, click on Advanced to go the the LUCI GUI. Under the System menu at the top, click on Mount Points to list all your mounted file systems without having to go into SSH. The USB drive should be /dev/sda1 that is missing in your screenshot.
If so, click on the Add button to manually add the mount point in the pop-up screen. Pick /dev/sda1 in the Device box and type â/mnt/USBâ (or whatever you like) in the Mount point box. Click on Enabled at the top, then go to the Advanced Settings tab and type ârwâ in the Mount options box. Click on Save button to return to the Mount Points screen and click again on Save & Apply at the bottom. For me, the USB drive then displayed as mounted as /mnt/USB (or whatever you entered before).
If /dev/sda1 does not show up in the Device box, the you have to go into SSH and type the command âblock detectâ, which will detect the USB drive and display its UUID. Instead of picking /dev/sda1 in the Device box, pick the UUID in the UUID box.
Next, under the Services menu at the top, click on Network Shares to list your shared directories. Click on the Add button to manually add the shared directory. Type âGLUSBâ (or whatever you like) in the Name box and â/mnt/USBâ (or whatever you entered before) in the Path box. Clear Read-only, click on Browseable, click on Allow guests and click on Save & Apply at the bottom. For me, the USB drive then was accessible as GLUSB over the network.
It seems Mango does not have sufficient storage to install LuCI. You can try configuring manually in SSH, at your own risk and without any guarantee:
-
Connect and log into router using SSH
-
Enter the command to detect the USB drive:
block detect
Check for an UUID should be displayed with format like âXXXX-YYYYâ and record the UUID.
- Enter the command to add the mount point:
echo "
config mount
option uuid âXXXX-YYYYâ
option target â/mnt/USBâ
option enabled â1â
option options ârwâ
" >>/etc/config/fstab
where XXXX-YYYY is the recorded UUID (keep the single quotes)
- Enter the command to mount the USB drive:
block mount
- Enter the command to display the mount points:
mount
There should be an entry for /mnt/USB if the USB drive has been mounted and proceed to the next step. If not, then stop now because the mount did not work.
- Go to the standard GL GUI and under APPLICATIONS, click on File Sharing. Turn ON Share via Lan, turn OFF Share via WAN, turn ON Writeable. Pick /mnt/USB in the Current Directory box and click on Apply.
If everything worked, then you will be able to access the shared USB drive.
From the output, the USB disk is not recognized at all. So there is no way to proceed to mount.
Can you show the log which may display useful infomation
logread
Amazing! Thanks for perfect instruction!