Should I change it?Hamza wrote:WORKGROUP?
This is set by default in SAMBA config.
Thanks
Should I change it?Hamza wrote:WORKGROUP?
Hamza wrote:No, just write workgroup in uppercase.
Thank you. I have installed cifs-utils-5.5-x86_64-2.txz and now trying to configure, because:fanthom wrote:cifs-utils were recompiled under rc1 to get rid of additional deps.
please install this package from standard slackware-14.0 and let us know if that helped.
Code: Select all
bash: /sbin/mount.cifs: cannot execute binary file
Dear all,fanthom wrote:are you using 32bit or 64bit porteus?
if 32bit then please install 32bit version from here:
http://ftp.heanet.ie/mirrors/ftp.slackw ... i486-2.txz
also - please remember to run 'mount.cifs' command as root.
if you still get the same error message then boot in 'Always Fresh' mode -> install this package -> check again.
Code: Select all
Removing package /var/log/packages/cifs-utils-5.5-i486-1ftm...
Removing files:
WARNING: /sbin/mount.cifs changed after package installation.
--> Deleting /sbin/mount.cifs
--> /usr/doc/cifs-utils-5.5/ no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/AUTHORS no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/COPYING no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/ChangeLog no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/INSTALL no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/NEWS no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/README no longer exists. Skipping.
--> /usr/doc/cifs-utils-5.5/linux-cifs-client-guide.odt no longer exists. Skipping.
--> /usr/man/man8/mount.cifs.8.gz no longer exists. Skipping.
Code: Select all
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
You must be root to accomplish this. From your previous output it looks as thought you are root.mount error(13): Permission denied
Code: Select all
ls -l /sbin/mount.cifs
Code: Select all
mount.cifs //172.16.0.1/opt /mnt/pc -o username=workgroup/querty,password=@querty
Code: Select all
mount.cifs //192.168.2.100/sharetest /mnt/win -o user=nick
Code: Select all
root@porteus:~# ls -l /sbin/mount.cifs
-rwxr-xr-x 1 root root 31008 May 31 21:41 /sbin/mount.cifs*
root@porteus:~# modprobe cifs
root@porteus:~# mount.cifs //172.16.0.1/mnt /mnt/pc user=qwerty, password=@qwerty
Password:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@porteus:~# mount.cifs //172.16.0.1/mnt /mnt/pc user=qwerty
Password:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@porteus:~# mount.cifs //172.16.0.1/mnt /mnt/pc -o user=qwerty
Password:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@porteus:~# mount.cifs //172.16.0.1/mnt /mnt/pc -o user=XFR/qwerty
Password:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
root@porteus:~# /mnt/pc
bash: /mnt/pc: Is a directory
root@porteus:~# cd /mnt/pc
root@porteus:/mnt/pc# ls
root@porteus:/mnt/pc#
Code: Select all
root@porteus:~# ls -l /sbin/mount.cifs
/bin/ls: cannot access /sbin/mount.cifs: No such file or directory
root@porteus:~# modprobe cifs
root@porteus:~# mount.cifs //172.16.0.1/mnt /mnt/pc user=qwerty, password=@qwerty
Password:
root@porteus:~# mount
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
aufs on / type aufs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda1 on /mnt/sda1 type fuseblk (rw,noatime,allow_other,blksize=4096)
/dev/sdb1 on /mnt/sdb1 type ext4 (rw,noatime,nodiratime)
gvfs-fuse-daemon on /root/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev)
[b]//172.16.0.1/mnt on /mnt/pc type cifs (rw,mand)[/b]
root@porteus:~#
Good morning,brokenman wrote:Please try downloading the 003-mate.xzm from the thread here.
http://forum.porteus.org/viewtopic.php?f=53&t=2250
Then installpkg the full samba package from slackware. Open the file manager in MATE and click on the 'network' browser on the left. If you can see your router/NAS then we know the it is accessible. If you can't see the share then you need to look elsewhere.
Another test would be to try mounting an actual windows share that is not part of your router.
Code: Select all
removepkg cifs-utils-5.5-i486-1ftm
[....]
installpkg samba-3.6.8-i486-1.txz
Verifying package samba-3.6.8-i486-1.txz.
Installing package samba-3.6.8-i486-1.txz:
PACKAGE DESCRIPTION:
# samba (CIFS file and print server)
#
# Samba is a CIFS file and print server for CIFS clients. It allows
# you to make file space or printers on a Samba host available to CIFS
# clients (such as PCs running Windows).
#
# If you have any Windows file servers, you may be able to replace them
# or supplement them with Samba. One of Samba's big strengths is
# integration, so you can use it to tie together your Linux hosts and
# Windows PC clients.
#
Executing install script for samba-3.6.8-i486-1.txz.
Package samba-3.6.8-i486-1.txz installed.
root@porteus:~/Desktop# modprobe cifs
root@porteus:~/Desktop# mount.cifs //172.16.0.1/opt /mnt/pc user=qwerty, password=@qwerty
bash: mount.cifs: command not found
root@porteus:~/Desktop# file /etc/smbpasswd
/etc/smbpasswd: ERROR: cannot open `/etc/smbpasswd' (No such file or directory)
root@porteus:~/Desktop# ls -la /etc/smbpasswd
/bin/ls: cannot access /etc/smbpasswd: No such file or directory
Code: Select all
udevil mount smb://user:pass@10.0.0.1:50/share
I have tried Mate with latest Porteus KDE with copy to RAM +changes.lzm. I will check again, with Always fresh option.brokenman wrote:Great! Mate shows the shares so i think you have some thing wrong with your install. Are you absolutely sure you have no saved changes, nothing in rootcopy and a completely fresh install of the latest Porteus?
It seems there may be some other module or changes overwriting a file/directory and stopping you from accessing mount.cifs
If you can find what is causing the block to mount.cifs then you can create a script to automount the shares. If your going to stay with mate then you can use a script to mount the shares. I've included udevil so you may be able to use it to mount smb. Please try in a mate terminal.Here is where i fear your '@' symbol in your password will interfere! Not a good symbol for passwords.Code: Select all
udevil mount smb://user:pass@10.0.0.1:50/share
BTW: smbpasswd should be found in /usb/bin
My tested version is Porteus KDE 2.1 RC1.Hamza wrote:Interesting. I can mount any samba shares here without any problems. Running v2.0 KDE4 Stable.