Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30th August 2004, 05:14 AM
Mtnear Offline
Registered User
 
Join Date: Aug 2004
Location: WV
Age: 36
Posts: 107
Sharing files between a WinXP computer and FC2 computer...

My apologies for the novice question, but I've only been using Linux since last November.

I have a WinXP computer and a FC2 computer hooked up through a switch to my router and cable modem. All I want to do is share files between the two as well as an hp printer that is hooked up to my WinXP box. How exactly do I do this?

When I open up nautilus and double click on "network" it does bring up "Windows Network" but opening that folder shows no information. I've tried to research samba, but I keep getting confused. Thanks for your help.
Reply With Quote
  #2  
Old 30th August 2004, 08:56 AM
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 43
Posts: 519
You have to configure your Samba server. On the Gnome menu, use System Settings -> Server Settings -> Samba.
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
  #3  
Old 30th August 2004, 09:25 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
Quote:
Originally Posted by fjleal
You have to configure your Samba server. On the Gnome menu, use System Settings -> Server Settings -> Samba.
and here is the how to
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #4  
Old 30th August 2004, 01:04 PM
mrfill Offline
Registered User
 
Join Date: Aug 2004
Posts: 1
Quote:
Originally Posted by fjleal
You have to configure your Samba server. On the Gnome menu, use System Settings -> Server Settings -> Samba.
Oh dear! Another novice here - this one a first week user...

When I go to System Settings/Server settings the only option is Services and Samba does not appear.
I am attempting a similar thing to the original poster. I have 4 windows machines successfully networked and wish to introduce machine 5 running FC2. Only one machine connects to the internet and sharing the connection is not required (yet!). The network is used primarily to test ASP websites and does not run a DNS.
I'm sure I'm missing something very basic and did read the guide suggested but to no avail. So what's the secret!!
Reply With Quote
  #5  
Old 30th August 2004, 01:43 PM
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 43
Posts: 519
You didn't install the required Samba packages and/or the configuration utilities. Go to System Settings -> Add/Remove Applications and check those boxes.
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
  #6  
Old 1st September 2004, 02:35 AM
Mtnear Offline
Registered User
 
Join Date: Aug 2004
Location: WV
Age: 36
Posts: 107
Thanks for the info, especially the link to the guide imdeemvp.

However, I'm stuck. Following the "Unofficial FC2 Guide for Beginners" I am able to connect to the network, at least I think I am since I can successfully ping my default gateway address, WinXP computer and www.fedoraguide.org as the guide suggests. I followed the instructions for setting up the samba server, and created the /home/public folder for sharing.

I lose the handle when I try to mount the folder. The instructions state:

E.g. Network computer's IP: 192.168.0.1, Shared folder's name: linux
04) Create a folder:
04a) # mkdir /mnt/sharename
05) Mount network folder:
05a) # mount //192.168.0.1/linux /mnt/sharename -t smbfs -o username=myusername,password=mypassword,uid=99,gid =99,dmask=777,fmask=777


I'm assuming that the "linux" folder that's referred to above is my /home/public folder. When I run the mount command listed above with my gateway address and /home/public in place of "192.168.0.1" and "linux" respectively I get:

Error connecting to 192.168.X.X (Connection refused)
3646: Connection to 192.168.X.X failed
SMB connection failed


Also, win I browse the network files on the WinXP side I can see the samba group that I created "mygroup", but when I double click on that group I'm told that I do not have permission to enter. Can't figure out what I'm doing wrong. Thanks again for the help.

Last edited by Mtnear; 1st September 2004 at 02:40 AM.
Reply With Quote
  #7  
Old 1st September 2004, 08:34 PM
protonos Offline
Registered User
 
Join Date: Sep 2004
Location: Fontainebleau, France
Posts: 6
Hi,

I'd like to understand Mtnear. You have 2 boxes, one runs WinXP and the other one runs Fedora Linux (FC2). You have a shared directory within you WinXP machine, and want to access it from FC2.

In such a case, you don't need to set up a samba server on the FC2 box. you just need smbclient (type "smbclient -v" within a xterm to see wether it is installed).

Once smbclient is installed, the only thing to do is, theorically, the command :

mount //192.168.0.1/shared_dir_name /mnt/sharename -t smbfs -o username=myusername,password=mypassword


You will need to set up a samba server only if you want to access some data on your Linux box from within your WinXP box, but it is a separate step.

Hope this helps.
Reply With Quote
  #8  
Old 1st September 2004, 09:02 PM
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 43
Posts: 519
To access a Windows server from a Linux box, you can enter "smb://<servername>/<resourcename>" on the Nautilus URL box, and browse the shared resource. Nautilus will ask for a login and password pair if it's needed.
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
  #9  
Old 8th September 2004, 02:50 AM
Mtnear Offline
Registered User
 
Join Date: Aug 2004
Location: WV
Age: 36
Posts: 107
Okay, this is still not quite working for me.

On the winxp side - Sometimes I am able to see the shared files and folders just fine through my winxp computer, and sometimes it will not let me into the "samba share" at all. It gives me the message "You were not connected because a duplicate name exists on the network."

On the FC2 side - Sometimes I am able to see my workgroup in the smb// file and then see my 2 computers in that group. However, when I try to access the winxp share I'm told that "The contents of the directory cannot be shown." Other times I am unable to see the computers or even the group.

I'm still pretty lost, and I wish that there was a newbies guide to setting this up somewhere.
Reply With Quote
  #10  
Old 8th September 2004, 04:33 AM
imdeemvp's Avatar
imdeemvp Offline
Registered User
 
Join Date: Feb 2004
Age: 44
Posts: 8,256
Mtnear,

see if this helps....

read the whole network stuff the have
__________________
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
  #11  
Old 11th September 2004, 12:13 AM
mdvberg Offline
Registered User
 
Join Date: Sep 2004
Posts: 1
Samba Problem

Yet another complete novice here...not having problems with getting Samba set-up, but I am having major difficulties getting it to STAY set up. I have followed the how-to's and everything works fine for a while, and then all of the sudden, I am no longer able to connect. When I look in the configuration settings for the Samba server, it has mysteriously changed from "share" under the security tab to "user". As long as it is set to "share", everything works fine, but as soon as it changes to "user", I am unable to connect. To make a long story short, am I doing something wrong here so that the security settings will not stay on "share"?
Reply With Quote
  #12  
Old 11th September 2004, 05:11 AM
ashleysnix's Avatar
ashleysnix Offline
Registered User
 
Join Date: Jul 2004
Location: Melbourne, Australia
Age: 35
Posts: 69
Unhappy

Hi

I'm having similar troubles accessing my linux samba server...

I did a fresh setup & altered the followign in smb.conf:

security = user

encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

Ran the following command:

smbpasswd -a ashley

I haven't created any shares as yet.

When I double-click on the linux server icon under winxp network neighbourhood, i get the following error:

\\Fedora is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions..

The network path was not found.


Any help much appreciated!

Thanks

Ashley
Reply With Quote
  #13  
Old 11th September 2004, 05:49 AM
ashleysnix's Avatar
ashleysnix Offline
Registered User
 
Join Date: Jul 2004
Location: Melbourne, Australia
Age: 35
Posts: 69
My problem turned out to be the firewall on FC2.... Did a "service iptables stop" & got access right away.

Now i need to add a rule into iptables so that smb can work...
Reply With Quote
  #14  
Old 13th September 2004, 10:01 PM
Vinny Offline
Registered User
 
Join Date: Sep 2004
Location: Croydon UK
Age: 51
Posts: 73
my issue is the same. having read how tos. its hard to know exactly which part is not quite correct. i can see mygroup and workgroup from win xp machines. i can see the fc2 server. but i cannot access files yet from either xp or fc2.
i assume its to do with config on the server side. config on the lmhosts or ip add confing??
can someone help with config samba if my server is .100 and my xp machines are on .114 etc
regards Vinny
Reply With Quote
Reply

Tags
fc2, files, sharing, winxp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hooked my winXP HD into my FC6 computer AHDRL EOL (End Of Life) Versions 4 19th February 2007 12:06 AM
File sharing, 2 distros, one computer Detonate Using Fedora 20 3rd February 2007 04:21 PM
Installing WinXP onto existing Fedora computer johannlo Using Fedora 3 12th July 2006 08:03 PM
Transfering files from computer to computer Nickmorgan19457 Installation and Live Media 7 18th March 2006 06:57 AM


Current GMT-time: 16:28 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat