LinuxQuestions.org
Help answer threads with 0 replies.
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-20-2009, 02:51 PM   #1
jbarnhart
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Rep: Reputation: 0
Sharing Kubuntu files with WinXP and Win98 computers.


Last weekend I installed Kubuntu 8.1, with KDE 4.1.2, with intentions to use it in my peer-to-peer LAN for file sharing. After getting a little familiar with the Linux system, I was able locate the XP computers on my LAN via Konqueror. I've been able to transfer files from the Windows computers to the Linux hard drive.

This weekend I'm hoping to take the next step. I want to make the files on the Linux hard drive available for use by the WinXP and Win98 computers on my LAN.

In windows, I set sharing, then find the drive using network neighborhood, or with the path in my foxpro program (e.g. \\MAIN\C\FXP\ONE\FILE.TXT). I have no idea how to make this happen on the Kubuntu computer. I know the IP address that my router has assigned to the computer, but network neighborhood doesn't find the Linux computer.

I know this is probably easy, but I'm just a newbie who needs help. How do I set up for simple file sharing? How do I get the Windows computers to see the Linux hard drive? What kind of path statement will be functional for my foxpro programs?

Thanks,

jb
 
Old 02-20-2009, 03:02 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by jbarnhart View Post
Last weekend I installed Kubuntu 8.1, with KDE 4.1.2, with intentions to use it in my peer-to-peer LAN for file sharing. After getting a little familiar with the Linux system, I was able locate the XP computers on my LAN via Konqueror. I've been able to transfer files from the Windows computers to the Linux hard drive.

This weekend I'm hoping to take the next step. I want to make the files on the Linux hard drive available for use by the WinXP and Win98 computers on my LAN.

In windows, I set sharing, then find the drive using network neighborhood, or with the path in my foxpro program (e.g. \\MAIN\C\FXP\ONE\FILE.TXT). I have no idea how to make this happen on the Kubuntu computer. I know the IP address that my router has assigned to the computer, but network neighborhood doesn't find the Linux computer.

I know this is probably easy, but I'm just a newbie who needs help. How do I set up for simple file sharing? How do I get the Windows computers to see the Linux hard drive? What kind of path statement will be functional for my foxpro programs?

Thanks,

jb
You want to set up Samba, so that Windows will be able to see the Linux share(s) as just another Windows drive.

This http://kubuntu101.blogspot.com/2005/...ing-samba.html Should get you going....lots of info on Google, and it's not difficult these days to make Samba perform in a small environment.
 
Old 02-20-2009, 03:08 PM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If your XP computers are XP Home edition, you won't be able to join a domain.

Your Samba server either doesn't have the services running (e.g. smbd) or the firewall is blocking traffic.
Please post your /etc/samba/smb.conf file.

What kind of share do you want to offer?

If you use the default "Security = User" and use the smbpasswd file for storing the usernames & passwords, you will want to add each user as a linux user and then use the smbpasswd command to add them to the smbpasswd file as well. Whether any user can access the share will determine if they need to be a Linux user. If you are just offering a guest share, then it isn't necessary If it will be limited to authenticated users, they need to be a Linux user so that the Linux permission system controls read/write access in the directory being shared.

There is a book you may find useful. "Samba 3 by Example". Look in your package system and see if there is a samba-doc package. If so, it has this book. If not you can download it from the Samba web site: http://www.samba.org/samba/docs/Samba3-ByExample.pdf

It has sample configurations for different types of networks. One may be a close fit.
 
Old 02-20-2009, 03:57 PM   #4
jbarnhart
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
You want to set up Samba, so that Windows will be able to see the Linux share(s) as just another Windows drive.

This http://kubuntu101.blogspot.com/2005/...ing-samba.html Should get you going....lots of info on Google, and it's not difficult these days to make Samba perform in a small environment.
Nice document, but it doesn't match my system, so it doesn't help me. No administrator button, etc.
 
Old 02-20-2009, 04:14 PM   #5
jbarnhart
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
What kind of share do you want to offer?

I just want to store my .dbf .doc and .jpg files in a common location. There will be 10-15 people accessing these files from workgroup computers on the LAN. I currently use a Win98SE for this function because of the 10 user limit imposed by XP and VISTA, so I obviously don't have a high level of security.

But alas, I'm so new to this that I'm stumbling over the first step. I've done a lot of googling, but the steps never seem to match what my interface displays. It looks like I won't be able to accomplish it from a GUI, so I'll need to learn how to set up the appropriate configuration files. I've written .bats for years, and edited Windows cfg files, but I'm totally new to Linux, so the language barrier makes me feel pretty stupid.

I think I'm sunk if I can't map the linux computer with path information in a format similar to what I use from Windows. My office management software and my picture display software both require the common windows path format to locate files.

Tomorrow is set aside for the next step in this grand adventure.
 
Old 02-20-2009, 04:20 PM   #6
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,215

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
that would be samba, as long as all machines are on the same workgroup you can emulate windows shares with samba and access them by your windows clients over the network the same way as you would if it was shared by an actual windows machine

if you need a gui tool to configure samba webmin (http://www.webmin.com) would be a good start
 
Old 02-20-2009, 04:46 PM   #7
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
Samba has a web-based configuration tool called SWAT. It includes all the basic documentation in HTML format.

If you just want peer-to-peer or a standalone server in a Windows workgroup, this really is pretty straightforward. If I can do it, probably anyone can.

The documentation on the www.samba.org website is actually quite good.
 
Old 02-20-2009, 08:29 PM   #8
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
If all of your users can write to the share, and read, write & delete any document in it, then you could use the "Map to Guest = Bad User" option (in the global section). This means that a user doesn't need to authenticate, and will be aliased to the "Guest" user in Windows and the "nobody" user in Linux.

The share would have "guest ok = yes".

There is a similar share in the Samba 3 by Example book.
 
Old 02-21-2009, 04:38 PM   #9
jbarnhart
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Okay, I'm making some progress. Thanks Frieza! The webmin GUI did help me set up a shared Kubuntu folder accessible by my Windows computers. And thanks to the others who have given me good suggestions. I intend to teach myself the ins and outs of changing samba.conf manually. It's just going to take some time for me to learn this new language.

Now I've run into a problem providing users access to one of my Kubuntu subfolders. I have three folders under my shared Kubuntu OMS folder which contain the three types of files I need to share across my LAN - DOCS (.doc), FXP (.dbf), IMAGE (.jpg). I thought that setting the permissions for OMS to "CAN VIEW AND MODIFY", including the subfolders, would allow for all three folders to have the same permissions. Somehow this hasn't worked out.

I can access and change files on the DOCS and FXP directories, but the IMAGE directory seems to be off limits. All the files (82,007) and folders (10,373) transferred from my Win98 computer to the Kubuntu hard drive, but I'm not allowed access to set the permissions. First it takes a very long time for Dolphin or Konqueror to process the folder size, then I'm not given access to the permission settings.

Is this because I used the Windows computer to copy the files to the Kubuntu drive? I've tried to remove the folder so I could try recopying, but I'm not allowed access to delete the folder either.

My WinXP camera computer needs to add subfolders with jpg files in the Kubuntu IMAGE folder on a daily basis. I need all these new entries to automatically have the correct permissions. What am I missing here? When I first modified permissions for the other folders I was asked for my password. When I try to modify permissions for the IMAGE folder, I get nowhere.

jb
 
Old 02-21-2009, 05:03 PM   #10
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,215

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
Quote:
Originally Posted by jbarnhart View Post
Okay, I'm making some progress. Thanks Frieza! The webmin GUI did help me set up a shared Kubuntu folder accessible by my Windows computers. And thanks to the others who have given me good suggestions. I intend to teach myself the ins and outs of changing samba.conf manually. It's just going to take some time for me to learn this new language.
my reccomendation for a starting point on how to learn this would be to make changes in webmin and see how those changes reflect in the configuration file
 
Old 02-23-2009, 04:33 PM   #11
jbarnhart
LQ Newbie
 
Registered: Feb 2009
Posts: 11

Original Poster
Rep: Reputation: 0
The excitement is building! I'm now thinking about using Linux on more than just a file server. I'm contemplating the possibilities of setting up Linux workstations as well.

I've been tinkering with DOSBox as a method to run my DOS Foxpro programs. I've got it working, but the speed is waaaaay too slow. Ctrl-F12 for cycle changes isn't the solution, as my newer version of DOSBox uses cycles=AUTO. Any hints for speeding up DOSBox?

Alternately I'm looking at DOSEMU, which is said to be faster, but I'm having significant configuration issues. My .dbf files are all stored on a Samba Shared drive, but the DOSEmu installation has created C and D drives in /etc/dosemu. I'd like to mount my /home/drb/oms folder as DOS C, like I did with DOSBox, because my programs need to run from C. I can't map the Samba Shared drive with NET MAP because NET.EXE isn't available from my DOSEMU C prompt. Do I need to mount some additional drives in DOSEMU configuration to have access to the rest of my computer's hard drive from DOS C? I'll keep plugging, but some help may speed up the resolution of the problem.

Thanks!

Last edited by jbarnhart; 02-23-2009 at 05:00 PM.
 
  


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
Samba: Cannot access share files from win98 but winxp ok Niceman2005 Linux - General 20 07-30-2012 03:53 AM
Upgrading older computers from Win98 to Linux RonRussell Linux - Newbie 1 04-18-2005 08:03 PM
sharing files b/w win98/2k/xp and red hat 9.0 simpleman07 Linux - Networking 3 11-13-2004 12:57 PM
Sharing files with WinXP Pro and RH9 Makochild Linux - Hardware 7 02-05-2004 11:45 PM
[b]Problems sharing files between linux computers blaze Linux - Networking 5 11-27-2002 06:48 PM


All times are GMT -5. The time now is 01:51 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