LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-09-2018, 07:16 PM   #1
rlx
Member
 
Registered: Jul 2009
Location: Montréal
Distribution: Slackware customized
Posts: 50

Rep: Reputation: 13
What would prevent opening a Samba share on a linux box from another linux box


Hi everyone,

I am running Clonezilla from a TabletPC and I issue the following command from a command prompt after eth0 is configured. I am asked for the password. The command should mount a share on my Linux server. Unfortunately the mount fails saying it cant find the file path,

mount.cifs //192.168.1.100/root/sa602/cz.d /user/partimag -o "user=root"

That command fails when run from a TabletPC booted with Clonezilla but succeeds if I run it on the Linux server.

I just updated Clonezilla to the latest version.

The above command (or something similar) has worked for many years with the older version of Clonezilla, but it stopped working just after I upgraded the Clonezilla USB boot key to the latest version a few days ago.

I have a router configured with fixed IP addresses for the Linux server and two tabletPC's so there is no adressing error here.

Samba is running on the Linux server and the above command works fine if I type it in the Linux server.

The Samba communications work fine in all directions between the TabletPC's (when they run Windows and not Clonezila) and the Linux server.

So my question is what are the tools available to investigate that problem from the Clonezilla prompt?

ping 192.168.1.100 works fine. What other test might help?

Thanks for any clue

(Edit) I can mount a share from another TablePC running Windows from the pc running Clonezilla, but I can't mount a share from the Linux server that has my larger disks and will store the backup.

Last edited by rlx; 11-09-2018 at 07:47 PM. Reason: Clarification
 
Old 11-09-2018, 09:03 PM   #2
rlx
Member
 
Registered: Jul 2009
Location: Montréal
Distribution: Slackware customized
Posts: 50

Original Poster
Rep: Reputation: 13
I applied nino09's suggestion from another post and that solved the mount issue. I added the following line to my server smb.cfg file and mount.cifs now works from the Clonezilla prompt. I still have some work to do to understand why Clonezilla still fails but that's another step.

[global]
min protocol = SMB2

(Edit) I am not sure though that the above edit was the actual solution. It was a Friday, this was the first time I upgraded Clonezilla in many years. The real issue was more likely that initially I didn't provide the right IP address to initialize the Ethernet on the Clonezilla PC initially and later I ended up doing it right at the time I edited the Samba config file. The actual problem was most likely a user error.

Last edited by rlx; 11-10-2018 at 07:36 PM.
 
  


Reply



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
How to mount a Linux Samba share on a Windows box durus123 Linux - Server 2 11-23-2011 04:58 PM
xp-box to share internet connection with linux-box CrazyHorse Linux - Networking 7 09-28-2006 11:05 PM
opening new by clicking pushbutton dialog box in qt for linux nbb Programming 3 08-09-2004 03:58 AM
Browsing Samba share from another linux box FiveFlat Linux - Software 3 01-13-2004 02:10 AM
Linux box - Windows box =Samba? hbidad Linux - Software 7 02-10-2003 10:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration