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

30th August 2004, 05:14 AM
|
|
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.
|

30th August 2004, 08:56 AM
|
 |
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
|

30th August 2004, 09:25 AM
|
 |
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
|

30th August 2004, 01:04 PM
|
|
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!!
|

30th August 2004, 01:43 PM
|
 |
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
|

1st September 2004, 02:35 AM
|
|
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.
|

1st September 2004, 08:34 PM
|
|
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.
|

1st September 2004, 09:02 PM
|
 |
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
|

8th September 2004, 02:50 AM
|
|
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.
|

11th September 2004, 12:13 AM
|
|
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"?
|

11th September 2004, 05:11 AM
|
 |
Registered User
|
|
Join Date: Jul 2004
Location: Melbourne, Australia
Age: 35
Posts: 69

|
|
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
|

11th September 2004, 05:49 AM
|
 |
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...
|

13th September 2004, 10:01 PM
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 22:39 (Sunday, 19-05-2013)
|
|
 |
 |
 |
 |
|
|