We help IT Professionals succeed at work.

Networking between Win XP and Fedora Linux PC's.

Medium Priority
727 Views
Last Modified: 2013-12-16
I have a 8 port LAN switch to which I have connected Win XP (latest service pack) box and and Fedora Core 6 box.

There is router that connects the switch to the Internet. All is working except I do not know how to network Win XP and Linux boxes, I mean what setup I need to run on both so that I can easily see the hard disk content of one PC to from another PC as well easily copy files from one to another  mainly using GUI interface rather than command line.
Also Win Xp is fully protected with McAfee anti-virus software.

Please be specific when providing this solution like exactly what steps needs to be taken.
Comment
Watch Question

Top Expert 2009
Commented:
you will have to install Samba in each fedora pc to share file between them.

have a look this one

http://www.melbpc.org.au/pcupdate/2403/2403article7.htm

you need to install samba in fedroa

yum install samba

after installing
follow that article from : We Need A New User

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
IT Associate
Commented:
Hi,

Samba is a nice option. If you just want to move files, then it is better recommended to use the SFTP which is ftp over SSH. WinSCP is a nice SFTP client;

winscp.net/

Author

Commented:

I tried to follow the instructions given at
http://www.melbpc.org.au/pcupdate/2403/2403article7.htm

but unfortunatley I ran into  several problems.  For example  the command
useradd -d /home/test5 -s /bin/false -r test5
 is not recognized in fedora linux.

Also I do not want to create another samba user but I want to use existing user
'speed'  which is me and I have all my files there that I want to be able to access
from windows pc. It is not clear from the article do I must create a new samba user
(test5 user in the article)?

In the /etc/samba/smb.conf as referred to in the article there was no section created
for 'fred' which is already existing user on my linux box. So I do not know where to set the path as there are several other sections  that also have commented out path line.

So I am at total loss.  Please  clarify these issues.


Top Expert 2009
Commented:
haahaha
thats just the article .....
you dont have to as it is..
your commetns : useradd -d /home/test5 -s /bin/false -r test5

you dont have to type like this

just useradd test5

it will create all necessary


your commethns :
It is not clear from the article do I must create a new samba use

No you dont have to create samba user

if you Write Security as Share

so those share would be avialable to every one

let me sent you an simple smb.conf wait...
Top Expert 2009
Commented:

create a direcory : mkdir myshare
in smb.conf

change this options

security = user

to
security = Share    


create a share like this

[myshare]
comment = myshare
path = /myshare
guest ok = yes
guest only = yes
create mask = 0666
directory mask = 0777
browseable = no
writable = yes


now restart samba

you will have to open port 137,138,139 to allow pc request samba share from your linux pc

also : do you hae selinux ??

Author

Commented:
I do not know anything about selinux. How do I know if i have it?

I followed your instructions. I am assuming you mean create myshare dir from the root and not from  /home/speed.

whats next now?

Also how do I open ports 137 etc?
Top Expert 2009
Commented:
for simplicity create the directory at main directory where /root, /var , /etc/

dont create under /home/speed, other wise user would not able to see those share in that case you need to implemetnation authentciation ..

type :
sestatus

tel me does it show , enabled or diabled

do you have iptables installed ?? if you dont have too much rules then just flush your iptables

iptables --flush

then from a windows pc

do telnet

telnet your-linux-pc-ip  139

tel me if you can connect

i will be off for couple of hours as my office is finshed, let me know the outcome



Author

Commented:
I typed sestatus in linux terminal window, I get the error:
bash: sestatus: command not found

both as root and as regular user.

I did iptables --flush   in linux box.

on windows  command line   doing telnet  192.168.1.5 139

the window seems to kind of hang and everything is black and try to type anything it does not show but the cursor moves.

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.