LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-09-2013, 11:06 AM   #1
thirteen_engines
Member
 
Registered: Sep 2009
Location: Saskatoon, Saskatchewan
Distribution: Slackware 14.1
Posts: 82

Rep: Reputation: 19
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
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,485

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
mount -t cifs //ip_address/data /mount_point -o username=name,password=xxxxxx
"username" is not a valid option to mount.cifs. Try with
Code:
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
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 314

Rep: Reputation: 77
You may also think to switch to nfs.
Windows XP has a nfs service.
 
Old 02-09-2013, 04:59 PM   #4
thirteen_engines
Member
 
Registered: Sep 2009
Location: Saskatoon, Saskatchewan
Distribution: Slackware 14.1
Posts: 82

Original Poster
Rep: Reputation: 19
Smile

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.
 
  


Reply


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


All times are GMT -5. The time now is 11:32 AM.

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