You are not logged in.
Hello community,
recently I bought a new router, an Easybox 803 LTE. It has an integrated Samba file server which can be used with external USB drives. I am now trying to set up the Samba shares and have some trouble with it.
The router is connected through Ethernet (cable, Wifi is off) to several machines: One runs Arch Linux, another one runs Manjaro, a third one runs Xubuntu and a RasPi is also connected. Right now the RasPi and the Xubuntu box are off, so my observations are constrained to the Manjaro and Arch machines.
Both machines can list the shares I created through the router's web interface:
$ smbclient -L EASYBOX
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Enter photon's password:
Sharename Type Comment
--------- ---- -------
partition1 Disk partition1
Shared folder Disk Shared folder
Shared folder Disk Shared folder
IPC$ IPC
Server Comment
--------- -------
EASYBOX EasyBox File Server
Workgroup Master
--------- -------
EASYBOX EasyBox File Server
The folder "Shared folder" is accessible to the appropriate users on the two machines, therefore it appears twice.
When I try to mount the shared folder on the Manjaro machine it takes some time and afterwards the router resets completely. Mounting the share on the Arch box works fine (thumbs up for Arch ), but if I try to access the directory the share is mounted to, for example through
ls /mnt/mount
there is no output at all. If cancelling the command, I get:
$ LANG=C ls /mnt/mount/
^Cls: reading directory /mnt/mount/: Host is down
Btw, the mount command has been:
$ sudo mount -t cifs //EASYBOX/Shared\ folder /mnt/mount/ -o user=photon,password=PASSWORD,workgroup=WORKGROUP,ip=192.168.2.1
Any advice on how to access the share would be very appreciated!
Thanks in advance,
PhotonX
Last edited by PhotonX (2014-09-18 14:44:35)
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
One more piece of information which might help: I tried to access the share through an old Vista install and it works flawlessly, so the router is not the primary cause of the problem. Also I tested share mode (instead of user mode) and again mounting works but accessing the files doesn't.
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline
I remember having troubles accessing shares with spaces in their names, using "\ " to escape a space didn't seem to work. I then found somewhere we are supposed to replace the space with "\040" instead. So your share path should be
//EASYBOX/Shared\040folder
I'm not surprised windows has no problems accessing that, it has no issues with spaces after all.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Thanks for the hint, I just renamed the folder and share name:
[photon@photon-desktop ~]$ smbclient -L EASYBOX
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
File or folder not found
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Enter photon's password:
Sharename Type Comment
--------- ---- -------
Share Disk Share
IPC$ IPC
Server Comment
--------- -------
EASYBOX EasyBox File Server
Workgroup Master
--------- -------
EASYBOX EasyBox File Server
However, the result is the same:
[photon@photon-desktop ~]$ ls /mnt/mount/
^Cls: reading directory /mnt/mount/: Host is down
Interestingly, if I try to access the share as root, there is no output when aborting the command:
[root@photon-desktop photon]# ls /mnt/mount/
^C
The folder is shared to the user photon with the same password as the user password.
Desktop: http://www.sysprofile.de/id15562, Arch Linux | Notebook: Thinkpad L13 Yoga Gen2, Manjaro
The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work. - Tuomas Lukka
Offline