LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-05-2004, 08:52 PM   #1
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Rep: Reputation: 15
Seeing the wifes foldesr on her xp machine


My wife is running XP Pro and I just installed Fedora after having Suse 9.1 for a few months, I did have Suse set up so I could share files and folders back and forth, Mainly I want the music she has on her computer.

I've been digging around on my fedora box and I'll be darned if I can get to see her files... or be able to see mine from hers.

I enabled SMB in Applications / System Settings / Server Settings / Samba and Also turned on Samba from the services part.

In the Samba Server configuration panel I have under Directory /home/dgentry/Documents
share name is Documents
Premissions is read only
Discription is Documents

I'm posting this with the hopes of getting some help and while I await the answer I'll be doing some reading in my Redhat linux 9 bible..... I figure 9 and fedora have to be close enough to at least lead me in the sorta right direction.

Thanks for your help

Doug
 
Old 12-06-2004, 12:23 AM   #2
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
G'day Doug,

It is probably worth trying to access her machine with the smbclient first just to make sure you can get connected. If that works then we can work on getting that folders you want set to mount points.

smbclient is a command line utility so you need to run a shell and at the prompt type
Code:
$ smbclient -L machinename
You will be prompted for a password (i assume if it was wortking before you either already have a username and password on the XP Pro box or it is set to use simple file sharing).

If your Linux username does not match the username on the XP Pro box then you will need to use the -u command line parameter to specify the username you wish to use.

If you need to check any of these option try man smbclient.

See how you go and let us know either way.

Rich
 
Old 12-06-2004, 01:41 AM   #3
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
smb browsing is broken in FC3 because of iptables...

if u disable the firewall u will be able to browse her machine :/
 
Old 12-06-2004, 10:04 AM   #4
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Original Poster
Rep: Reputation: 15
disable firewall.

Hmmmmm, I think I checked the option to NOT make the firewall since I have a firewall on my router anyway.... but then again I could be wrong... Hmmmmm, how to disable the firewall?
 
Old 12-06-2004, 11:32 AM   #5
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Original Poster
Rep: Reputation: 15
Well I got to the firewall and disabled it. and I ran the command you told me to. I get the following information which I assume is a good thing because earlier I would get nothing. anyway, here's the info. [dgentry@localhost ~]$ smbclient -L shannon
Password:
Domain=[SHANNON] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
My Documents Disk
IPC$ IPC Remote IPC
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
My Music Disk
EPSON Printer EPSON Stylus CX5400
Downloaded Disk
Printer3 Printer Creates Adobe PDF
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer Fax via eFax 3.2
Domain=[SHANNON] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------
[dgentry@localhost ~]$



What do I do now?
 
Old 12-06-2004, 02:28 PM   #6
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
ok so you can connect to her pc with samba, you may want to go a bit further with smblient (smbclient is like an ftp program, same sort of commands). You could try

Code:
smbclient //shannon/my\ music\ disc
*NOTE* the backslashes are there to make the spaces work - spaces are evil ;-)

with this you should be connected an able to do a dir or whatever.

Now from here it depends on how you wish to use it, personally I would put an entry in /etc/fstab and either mount automatically if your wifes pc is on all the time or at least make it easy to mount if it's not.

so to mount manually from the command line, to test, try
Code:
mount -t smbfs //shannon/my\ music\ disc -o=username=your_username,password=your_password /mnt_dir
so you need to sub in your_username, your_password and a mount dir

now if all goes well you should be able to browse through the mnt_dir and see all the music (i assume there is music on the my music dirve share )

ok so for the last trick you (may) want to add this entry to your /etc/fstab

the line will look something like this
Code:
//shannon/my\ music\ disc   /mnt/dir   smbfs   username=your_username,password=your_password   0 0
give all that a go and let us know.

ps there may be an easy automatic way to do this in fedora so you may want to investigate that first (i'm more at home on the command line thats all)

Rich
 
Old 12-06-2004, 03:02 PM   #7
Doug.Gentry
Member
 
Registered: Aug 2003
Location: Enumclaw, Washingtion. USA
Distribution: Suse 9.2, Fedora 3, wifes XP
Posts: 143

Original Poster
Rep: Reputation: 15
SWAT

I was reading my book "Linux Redhat 9 Bible" and read the part about SMB client and server, and also the chapter about SWAT.

I ran swat and can now connect to shannons Computer. I have all my music now and I should have her printer configured in a minute or two.

Thanks for your help.
 
Old 12-29-2004, 03:01 AM   #8
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
I also had a problem with connection to a Windows XP box with the CUPS printing. After disabling the 'iptables' service I was able to add a Windows print queue and print successfully.

However, i dont want to be firewall-less so how can i modify my iptables configuration to allow connection to Windows XP machines? For reference, i believe this is just a problem with WinXP, as I have been able to successfully mount shares on a Windows 2000 Active directory domain. Also, the firewall on WinXP SP2 is off. I have a firewall on my router but I did not have to make changes to that at all. It was all in 'iptables'.

Thanks
 
Old 03-03-2005, 12:00 PM   #9
Jabmist
LQ Newbie
 
Registered: Mar 2005
Posts: 1

Rep: Reputation: 0
readonly?

I've mounted a shared drive from an XP box,
but only Root
(who did the mount command)
has write privs on the mounted directory.

How do I give the rest of my users access?
they can see the files, but cant edit anything.
Thanks
Jabmist
 
  


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
scp: copy a file from local machine to remote machine seran Linux - Newbie 8 10-30-2007 12:23 PM
sharing internet from a windows 98 machine to a Red Hat Linux machine ritwiksolutions Linux - Newbie 7 03-14-2006 10:20 AM
how to open a dilog on local machine when i do ssh to remote machine fahad26 Programming 3 05-03-2005 07:39 PM
Display of Unix Machine on a PCQ Linux Machine gopalkasat Linux - Networking 1 12-14-2004 02:37 AM
Can't connect Fedora to wifes USB CX 5400 on XP Doug.Gentry Linux - Networking 1 12-11-2004 11:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:26 PM.

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