Page 1 of 1

Sharing folders from Windows 7 in Mageia 1

PostPosted: Oct 24th, '11, 21:49
by bertaerts
I can see the shared folders from my Windows 7 machine only when I disable my complete firewall on my Mageia 1 laptop.
Mageia Control Center / Security / Setup your personal firewall.
I entered in advanced 137/udp 138/udp 139/tcp 445/tcp and got after save and reopen "Windows File Sharing (SMB)" in the list.
But with these firewall rules, I don't get connection. Only disabling the firewall completely makes connection possible.
I already tried to capture all frames with Wireshark but was not able to find the missing port in my firewall.
How can I configure my firewall to support shared folders from Windows 7 machine?
I already installed samba server and configured it, but that did not help...

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Oct 28th, '11, 14:47
by bertaerts
If I specify the Windows 7 machine not by its name but by its ip address 192.168.1.3 it all works fine with the SMB firewall rules.

So it is the name resolution that fails unless firewall is completely disabled.

See also viewtopic.php?f=24&t=1270 same solution for Windows 7 printer sharing...

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 25th, '11, 00:51
by zlatkodesign
I can share anything, when I try share folder in my home this message pop up:"Error while running /usr/sbin/fileshareset".
Im not expert in Linux so please help.

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 25th, '11, 12:27
by doktor5000
zlatkodesign wrote:I can share anything, when I try share folder in my home this message pop up:"Error while running /usr/sbin/fileshareset".
Im not expert in Linux so please help.

Do you mean you CAN share anything or do mean you CAN NOT share anything?
Could you also please be a bit more specific about how you share that folder in your home?
Please also show the output of
Code: Select all
rpm -q drakxtools-backend


@bertaerts: Did you open bugreports about those issues?

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 26th, '11, 09:13
by zlatkodesign
Doktor5000,sorry,CAN NOT share anything.

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 26th, '11, 15:47
by doktor5000
What about the other informations that i've asked for?

doktor5000 wrote:Could you also please be a bit more specific about how you share that folder in your home?
Please also show the output of
Code: Select all
rpm -q drakxtools-backend


Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 29th, '11, 01:48
by zlatkodesign
Specific,I will try: select one folder in "home",right click-share, than pop-up this error: "Error while running /usr/sbin/fileshareset".
Maybe this is not right way to share something in Mageia? To be more specific, I try to share some folders on my Mageia HDD with my network player "Apacer AL460".
Run movies from my home network (2xPC with Win7) its not a problem, when folders are shared on windows, but when I try same thing on Mageia i can not share anything. Apacer media player see my Linux on network like lokalhost folder but dont see any other folder. Once I have setup Linux home network with my two PC"s with Ubuntu, I dint have any problems with sharing folders.

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Nov 29th, '11, 12:51
by doktor5000
Could you please tell what happens when you press Alt+F2 and run "kdesu kcmshell4 fileshare" (without the quotes) after it asks you for the root password?

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Dec 2nd, '11, 12:04
by zlatkodesign
DOKTOR5000 this is message I get after entering command you write(ALT+F2):"Error stating file '/home/zlatko/kdesu kcmshell4 fileshare': No such file or directory".

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Dec 2nd, '11, 16:13
by doktor5000
You're not supposed to enter this into a terminal, that won't work.
For clarification, after you pressed Alt+F2, you see a small launcher (called krunner)
where you can enter something?

Re: Sharing folders from Windows 7 in Mageia 1

PostPosted: Dec 2nd, '11, 17:11
by mikala
Could you please try something « ugly » for me ?
in a terminal as root rename this file /usr/sbin/fileshare to something like /usr/sbin/fileshare-old
su -
mv /usr/sbin/fileshareset /usr/sbin/fileshareset-old

& then try again to configure the sharing.
It seems like kde is trying to use the first file available in the patch for the root user aka /usr/sbin/fileshareset
instead of using the correct one /usr/lib(64)/kde4/libexec/fileshareset