LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-18-2009, 11:12 PM   #1
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Rep: Reputation: 0
win xp system seeing files on linux system


I have a small home network, 2 xp desktops, and 1 linux laptop. I can see and transfer files from my linux laptop to the xp desktops, but I can not see my linux laptop from either of my 2 xp desktops. What do I need to do on the desktops so that I will be able to see the files on my linux laptop?
 
Old 02-18-2009, 11:20 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
One thing you have to do is turn on file sharing on the Windows XP machines and indicate which files you want to share. I believe if you right-click on the drive or folder you want to share, you will see an option to share the drive. If it isn't shared, you won't be able to see them. If the folders are properly shared, you should be able to see the shared files on your other XP box. If this is working, then there are other issues.

What Linux distribution do you have and which desktop are you using (Gnome or KDE or ??).
 
Old 02-19-2009, 12:21 AM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,830

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
are you running samba
if not then win xp will never see a lvm or ext3 filesystem
 
Old 02-19-2009, 12:33 AM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 172Reputation: 172
You might also want to look at Cifs (newer version of samba).
 
Old 02-19-2009, 09:43 AM   #5
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,398

Rep: Reputation: 101Reputation: 101
Samba is certainly a good approach. I have Samba running on several Linux machines and can access files on the Linux machines from my XP and Vista machines.

One thing to be aware of... the firewall software on your Windows machines may block access to the Linux machines. I had that happen when I first tried Samba some years back. An upgrade to Zone Alarm put me out of business. Took me several MONTHS to get it working again. But don't let that put you off - if the Windows machines can see each other then they should be able to see the shares presented by Samba which are intended to look like Windows shares to Windows machines.

Another option... If you have ssh (secure shell, openssh etc.) installed on the Linux you can access the files on the Linux machine from a Windows machine using Winscp (a free utility). Looks and works like the old Windows File Manager.

To make your network complete you can add Putty to the Windows machines to have command line access to the Linux machine and something like Vnc to allow remote desktop access between machines.

Good luck,

Ken
 
Old 02-19-2009, 10:11 AM   #6
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
Or you can use Ext2Fsd.

Last edited by alan_ri; 03-06-2009 at 05:59 PM. Reason: invalid link
 
Old 02-19-2009, 10:11 AM   #7
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
Yes as far as I know samba is running. The folders I want to share are setup correctly because I can see the xp machine from my linux laptop. The other xp desktops can see each other. I just don't know how to get the xp machines to see the linux laptop. What do I type in? The ip address oesn't give me anything. Do I need to run the network wizard on the xp machine or something?
 
Old 02-19-2009, 10:20 AM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Quote:
Originally Posted by cherokeeman96 View Post
Yes as far as I know samba is running. The folders I want to share are setup correctly because I can see the xp machine from my linux laptop. The other xp desktops can see each other. I just don't know how to get the xp machines to see the linux laptop. What do I type in? The ip address oesn't give me anything. Do I need to run the network wizard on the xp machine or something?
You just might need to configure samba correctly.

I have no idea if your distro offers some kind of graphical tool to do it, but the straight way to do it would be to edit this file:

/etc/samba/smb.conf
Code:
[global]
#this needs to be the same group that the windows machines
workgroup = homenetwork
#a string to identify the machine, it can be whatever
server string = my_linux_box
security = user
log file = /var/log/samba/log.%m
encrypt passwords = yes
socket options = TCP_NODELAY

[my_samba_share]
comment = massive storage
#path to share
path = /my_samba_files/
read only = yes
guest ok = yes
This is for zero security and no pain just like windows does by default. You probably want to tweak some options etc. etc. Check the smb man page for the full galore of config options.
 
Old 02-19-2009, 10:23 AM   #9
vlademir
Member
 
Registered: Jan 2009
Location: The Netherlands
Distribution: Centos,Ubuntu,Mandriva,Suse11.1
Posts: 86

Rep: Reputation: 17
Quote:
Originally Posted by cherokeeman96 View Post
Yes as far as I know samba is running. The folders I want to share are setup correctly because I can see the xp machine from my linux laptop. The other xp desktops can see each other. I just don't know how to get the xp machines to see the linux laptop. What do I type in? The ip address oesn't give me anything. Do I need to run the network wizard on the xp machine or something?
Try to type on you internet explorer brosser :
Quote:
\\ IP ADRESS OF YOUR LAPTOP
 
Old 02-19-2009, 10:24 AM   #10
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I am running SimplyMepis 8 kde3.5 I believe it is based on the debian lenny kerner 2.6.27
 
Old 02-19-2009, 10:42 AM   #11
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,398

Rep: Reputation: 101Reputation: 101
On the Linux machine you need to create Samba accounts to match the Windows accounts. Type the following in a terminal:
Quote:
sudo smbpasswd -a username
where username is the Windows user then enter and confirm the user's password. The password should match the user's Windows password.

Here is the smb.conf entry to allow me to access my home directory on one of my Linux machines:
Quote:
[ken]
path = /home/ken
available = yes
browsable = yes
public = yes
writable = yes
To access the Linux machine I can simply do Start; Run; enter the machine name "\\taylor6" and then <Enter>. I then see the share named "ken" in a Windows explorer window. I can map a drive letter to the share and have it always available.

I do have a static IP address assigned to machine taylor6 and an entry in the host file on the Windows machine.

Ken
 
Old 02-19-2009, 10:04 PM   #12
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I have been in the control center under the samba settings and made sure it is on the same network, but I cannot get windows to see it. I tried typing in the ip address, and I also tried to go to start run and type in the server string "name" of my laptop and windows error says that network path can't be found. I have used teamviewer and I can connect to my windows machine from linux and control everything fine, but also when I run teamviewr from my windows machine to connect to my linux machine it connects fine and displays the desktop but I can't control anything on the linux side even though I have it set up to have full control in the options.
 
Old 02-21-2009, 10:19 AM   #13
taylorkh
Senior Member
 
Registered: Jul 2006
Location: North Carolina
Distribution: CentOS 6, CentOS 7 (with Mate), Ubuntu 16.04 Mate
Posts: 1,398

Rep: Reputation: 101Reputation: 101
I have not used teamviewer however, a quick scan of their web site it implies that it can works through firewalls (apparently without user intervention/configuration of the firewall). I am not sure that the fact that it can see the Linux desktop implies that all is well for Samba sharing etc.

The first fundamental check - can you ping the Linux machine from the XP machine? by name? by IP address?

If not, you have some network or firewall or dns issues. What firewall to you have on the XP machines?

Then download putty from http://www.chiark.greenend.org.uk/~sgtatham/putty/

This should allow you to make a command line connection from the XP machines to the Linux machine.

If both of these work then the issue may be with your Samba configuration. You did use smbpasswd to create an account on the Linux machine corresponding to the XP account(?)

Ken
 
Old 02-26-2009, 09:17 PM   #14
cherokeeman96
LQ Newbie
 
Registered: Feb 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I tried Putyy, it couldn't connect. I tried to ping the address of the linux box and kept getting request timeout. I am running Bitdefender Internet Security 2009. I temporarily disabled the firewall and still could not connect to linux box. I do not have a account per say on xp box, as I do not have to log in it just boots straight into my desktop.
 
Old 02-26-2009, 09:43 PM   #15
sleddog
Member
 
Registered: Jan 2002
Location: Labrador, Canada
Distribution: CentOS, Debian
Posts: 182

Rep: Reputation: 35
Quote:
Originally Posted by cherokeeman96 View Post
I tried Putyy, it couldn't connect. I tried to ping the address of the linux box and kept getting request timeout. I am running Bitdefender Internet Security 2009. I temporarily disabled the firewall and still could not connect to linux box.
This would seem to indicate that there's a firewall on the Linux box.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 share files from a windows system to linux system vijaya_svk Linux - Software 3 02-10-2008 03:16 AM
installing win xp on a linux system iam whoiam Linux - Newbie 3 09-23-2004 08:17 AM
linux running off of win system Lost_linux_Noob Linux - Newbie 5 10-10-2003 10:21 PM
A routing Linux to win system problem jarethfox Linux - Networking 2 08-03-2003 10:08 PM
linux and win xp on the same system Netforce Linux - General 13 07-30-2003 10:32 AM


All times are GMT -5. The time now is 02:29 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration