Sharing folders from Windows 7 in Mageia 1

Sharing folders from Windows 7 in Mageia 1

Postby bertaerts » Oct 24th, '11, 21:49

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...
bertaerts
 
Posts: 181
Joined: Apr 6th, '11, 12:19

Re: Sharing folders from Windows 7 in Mageia 1

Postby bertaerts » Oct 28th, '11, 14:47

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...
bertaerts
 
Posts: 181
Joined: Apr 6th, '11, 12:19

Re: Sharing folders from Windows 7 in Mageia 1

Postby zlatkodesign » Nov 25th, '11, 00:51

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.
zlatkodesign
 
Posts: 11
Joined: Oct 29th, '11, 01:48

Re: Sharing folders from Windows 7 in Mageia 1

Postby doktor5000 » Nov 25th, '11, 12:27

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Sharing folders from Windows 7 in Mageia 1

Postby zlatkodesign » Nov 26th, '11, 09:13

Doktor5000,sorry,CAN NOT share anything.
zlatkodesign
 
Posts: 11
Joined: Oct 29th, '11, 01:48

Re: Sharing folders from Windows 7 in Mageia 1

Postby doktor5000 » Nov 26th, '11, 15:47

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

Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Sharing folders from Windows 7 in Mageia 1

Postby zlatkodesign » Nov 29th, '11, 01:48

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.
zlatkodesign
 
Posts: 11
Joined: Oct 29th, '11, 01:48

Re: Sharing folders from Windows 7 in Mageia 1

Postby doktor5000 » Nov 29th, '11, 12:51

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Sharing folders from Windows 7 in Mageia 1

Postby zlatkodesign » Dec 2nd, '11, 12:04

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".
zlatkodesign
 
Posts: 11
Joined: Oct 29th, '11, 01:48

Re: Sharing folders from Windows 7 in Mageia 1

Postby doktor5000 » Dec 2nd, '11, 16:13

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18067
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Sharing folders from Windows 7 in Mageia 1

Postby mikala » Dec 2nd, '11, 17:11

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
mikala
 
Posts: 114
Joined: Mar 16th, '11, 20:42
Location: French Guiana


Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest