LinuxQuestions.org
Help answer threads with 0 replies.
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 12-02-2007, 02:42 PM   #1
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Rep: Reputation: 30
WinXP share > Fedora 8


Simple home network (work group)

Linksys router wired to 2 computers: WinXP and Fedora 8

Both computers are already sharing the internet with no problem.

Fedora 8 connected to the internet as soon as I connected the ethernet cable from the router to the back of the fedora computer.

What I want to do is access the shared folder on WinXP.

In other words, a one-way share. I want to be able to see the shared folder on WinXp with Fedora 8.

Are there easy GUI steps to accomplish this?

And another question that may or may not be related to this:

In Fedora System > Network (Network Configuration) on the DNS tab the Hostname is listed as localhost.localdomain, which was set up that way automatically when I installed Fedora from the Live CD. I didn't change the default.

Will I need to change that entry to reflect my work group's name? And if so, will that change my command line prompt, which right now is [myname@localhost ~]$

One other thing. A Vista computer is also on this network and has access to WinXp shared folder but Fedora 8 doesn't need to 'see' Vista.

(I wish I didn't have to see Vista either, but that's another story.)
 
Old 12-02-2007, 03:21 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
As for gui there is a tool called smb4k. Also if using KDE you can use the smb://machine_ip/share_name in the konqueror window. For Gnome I don't know.
If you have define host names for ips in your /etc/hosts file then you can use the host name instead of ip.

Brian
 
Old 12-02-2007, 03:41 PM   #3
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Brian1 View Post
As for gui there is a tool called smb4k. Also if using KDE you can use the smb://machine_ip/share_name in the konqueror window.
I am using KDE.

Is 'smb4k' the name I'd use to install it with yum? It didn't come on the Fedora 8 Live CD as far as I can see.

And if I use Konqueror, is /share_name the folder I'd access on the XP box?
 
Old 12-02-2007, 04:40 PM   #4
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Not sure of an rpm package of smb4k. Just google for smb4k and install from source.

Brian
 
Old 12-03-2007, 07:02 AM   #5
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Brian1 View Post
Not sure of an rpm package of smb4k. Just google for smb4k and install from source.
I've never installed from source so I don't know how to do it.
 
Old 12-03-2007, 07:11 AM   #6
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Brian1 View Post
As for gui there is a tool called smb4k.
I just noticed on their website

http://smb4k.berlios.de/

that you can install smb4k on Fedora by doing:

Code:
$ yum install smb4k
The website says that smb4K is part of Fedora Extras
 
Old 12-03-2007, 10:26 AM   #7
9nine9
Member
 
Registered: Nov 2001
Distribution: Debian, Fedora, Kubuntu, Puppy
Posts: 166

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Brian1 View Post
As for gui there is a tool called smb4k. Also if using KDE you can use the smb://machine_ip/share_name in the konqueror window.
I was able to open the WinXP shared folder with no problem using Konqueror. With smb4k, I did a search for my WinXP's ip address and it found it, but when I clicked on it in the Network window, I got error messages from the 'setroubleshoot browser'.

Quote:
Summary
SELinux is preventing /usr/bin/net (samba_net_t) "read write" to socket
(unconfined_t).

Detailed Description
SELinux denied access requested by /usr/bin/net. It is not expected that
this access is required by /usr/bin/net and this access may signal an
intrusion attempt. It is also possible that the specific version or
configuration of the application is causing it to require additional access.

Allowing Access
You can generate a local policy module to allow this access - see
http://fedora.redhat.com/docs/selinu...fc5/#id2961385 Or you can disable
SELinux protection altogether. Disabling SELinux protection is not
recommended. Please file a http://bugzilla.redhat.com/bugzilla/enter_bug.cgi
against this package.

Additional Information

Source Context system_u:system_r:samba_net_t:s0
Target Context system_u:system_r:unconfined_t:s0
Target Objects socket [ unix_stream_socket ]
Affected RPM Packages samba-common-3.0.27a-0.fc8 [application]
Policy RPM selinux-policy-3.0.8-58.fc8
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.catchall
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.23.1-49.fc8 #1 SMP
Thu Nov 8 21:41:26 EST 2007 i686 i686
Alert Count 4
First Seen Mon 03 Dec 2007 11:05:36 AM EST
Last Seen Mon 03 Dec 2007 11:11:36 AM EST
Local ID 29ba39ec-fd51-444a-bcb9-44d711c1acb3
Line Numbers

Raw Audit Messages

avc: denied { read write } for comm=net dev=sockfs egid=500 euid=500
exe=/usr/bin/net exit=0 fsgid=500 fsuid=500 gid=500 items=0 path=socket:[12475]
pid=2582 scontext=system_u:system_r:samba_net_t:s0 sgid=500
subj=system_u:system_r:samba_net_t:s0 suid=500 tclass=unix_stream_socket
tcontext=system_u:system_r:unconfined_t:s0 tty=(none) uid=500
 
  


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
installed fedora5 &winxp. fedora fine, can't boot winxp uruloki Linux - Newbie 5 07-23-2006 10:12 AM
problem mounting winXP share on Fedora.C2 hq4ever Linux - General 2 07-10-2004 08:56 PM
How do I install Fedora on my comp running WinXP Pro, WinXP Home and Win2000 Server pureheartedsoul Linux - Newbie 3 03-30-2004 02:45 PM
cant mount winxp share m_u_y_m_u_y Linux - Networking 4 10-17-2003 01:05 AM
connecting to a WinXP share kyrra Linux - Networking 2 11-04-2002 01:25 PM

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

All times are GMT -5. The time now is 02:20 AM.

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