Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-09-2013, 11:06 AM   #1
Registered: Sep 2009
Distribution: Slackware 14.1
Posts: 106

Rep: Reputation: 20
CIFS connection problem

At work we have several lab instrument computers running Win XP whose data were backed up on a regular basis to a Slackware 12.0 computer. The Slackware 12.0 machine finally packed it in after many years of reliable service and we now have a new machine running Slack 14.0.

The problem that I am having is that I can no longer connect to the Windows machines to transfer data from them. The Windows XP computers each have a data folder that is shared to the network. The scripts that I was running on the old Slackware 12.0 machine were something like:

mount -t smbfs -o username=name,password=xxxxxx //ip_address/data /mount_point
rsync avz /mount_point /backup_folder

"mount -t smbfs" does not work now in Slack 14.0 so I've tried changing to "mount -t cifs". Doesn't work. Here is what I have been trying to use:

mount -t cifs //ip_address/data /mount_point -o username=name,password=xxxxxx

This just does not work and I'm tearing what little hair I have left out trying to figure out why, especially since the same thing seems to work for other people. Any help with this would be much appreciated.
Old 02-09-2013, 11:34 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,664

Rep: Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543
mount -t cifs //ip_address/data /mount_point -o username=name,password=xxxxxx
"username" is not a valid option to mount.cifs. Try with
mount -t cifs //ip_address/data /mount_point -o user=name,password=xxxxxx
PS - Keep you hair because I am one of the people for which this does work.

Last edited by allend; 02-09-2013 at 11:37 AM. Reason: Forgot the smiley!
Old 02-09-2013, 11:56 AM   #3
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 80
You may also think to switch to nfs.
Windows XP has a nfs service.
Old 02-09-2013, 04:59 PM   #4
Registered: Sep 2009
Distribution: Slackware 14.1
Posts: 106

Original Poster
Rep: Reputation: 20

Allend: Thanks. That worked. Took a while to connect but 'df' shows the Windows machine connected now.

Celyr: Thanks for the idea but my experience with nfs has been less than stellar. If I am still having problems with cifs next week I might consider it but I'm really looking for something that is very robust and can run unattended under almost any circumstances. My experience with nfs leads me to believe that if the Windows machine is down for some reason then when the linux computer trys to mount a share using nfs it will choke.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] CIFS share on old WinNT host - smbclient works, mount -t cifs doesn't Electrode Linux - Networking 4 04-19-2012 10:11 AM
does Windows CIFS support CIFS Unix extensions? bobwall Linux - Server 0 01-26-2011 03:17 PM
cifs problem - Help leonsmit2003 Linux - Newbie 2 08-14-2008 08:10 PM
Trying to script a cifs connection using netbios names lucktsm Linux - Software 2 07-26-2006 05:08 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration