LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-06-2005, 03:10 PM   #1
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Rep: Reputation: 0
Question networking - xp and slackware 10.1


I apologise if this has already been answered, but I can't seem to find an answer anywhere.

What do I need to do to share a folder on my xp box so my linux box can access it? I can ping them from each other. I probably need to be walked through the process if anyone can spare the time because I am a linux .

I think I read somewhere that I need the SAMBA server? Do I need this or is it optional?
 
Old 03-06-2005, 03:21 PM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
it's pretty simple
you need to share the folder in Windoze
then just use a samba browser to access it.

You don't need the server part running unless you want the windows box to see the linux box.........
 
Old 03-06-2005, 03:27 PM   #3
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
Does the samba browser come with slackware 10.1? I did a full install so I imagine if it comes with it I have it installed...

I can see the windows box from the linux box but it says I do not have the permissions neccessary to view the contents (the windows box is sharing it to "everyone"
 
Old 03-07-2005, 12:47 AM   #4
barton
Member
 
Registered: Nov 2004
Posts: 78

Rep: Reputation: 15
In the manual for Samba, you have to add a user. The command is something like smbclient -a. Check out samba.org and in the search field enter. "adding users" this should take care of the permissions issues.
 
Old 03-07-2005, 07:40 AM   #5
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
in the /etc/samba folder there are only 2 things a file named "smb.conf-sample" and a folder named "private" with nothing in it...

When I tried 'smbclient -a' it said /etc/samba/samba.conf didn't exist. Does this mean I don't have the samba client installed?
 
Old 03-07-2005, 10:13 AM   #6
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
Quote:
Originally posted by elf
in the /etc/samba folder there are only 2 things a file named "smb.conf-sample" and a folder named "private" with nothing in it...

When I tried 'smbclient -a' it said /etc/samba/samba.conf didn't exist. Does this mean I don't have the samba client installed?
Open the /etc/samba/smb.conf.example with an editor as root, at the line that says workgroup, add the workgroup name that you use on your XP box. Then save the file as smb.conf. Then, go into KDE Control Center, find the Internet and Network section, then go to the Samba Configuration area (near the bottom) and set it up. The settings are pretty obvious if your familiar with networking, there are many options but basic read only access is setup by default if I remember correctly. Also, this must be done as root, either log into KDE as root or you'll have to hit the administrator mode button and put the root password in.

If you're using Gnome...don't...just kidding. I don't remember where these settings are in Gnome, I use it on an Ubuntu box, I think you just use network config but not sure. Since you're using Slack 10.1, it should have installed both so you can always log into KDE one time as root and set it up that way, it should still work in Gnome I think.
Good Luck!
 
Old 03-07-2005, 10:19 AM   #7
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
OH, BTW - you'll either have to restart the samba daemon or just reboot the computer I believe. I'd just reboot if I were you. You can watch for the samba load during the boot process. It's real obvious. Just so you know, I'm a relative newb myself (about 2 months) but I did get this working using the procedure I described. With Debian and Ubuntu it was even easier. With SuSE, it was pretty much imposible which is the main reason I switched to Slack 10.1. So far I have found Slack to be the best distro I've tried although I still have some issues to work out. Cheers.
 
Old 03-07-2005, 10:58 AM   #8
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
Aw crap, one more thing, sorry. If you do get it working, when you go to access the folder on your XP box, if it asks for a password, don't put anything in there, just hit OK. If it's setup by defaults, you don't need one. The fact it asks is a little confusing.
 
Old 03-07-2005, 11:39 AM   #9
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
there is no samba configuration area in KDE control center

There is a 'local network browsing' section but the only thing in there is LISa Daemon

oh and thanks for all the help its nice to have a place to get answers to all my linux questions
 
Old 03-07-2005, 03:30 PM   #10
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
Quote:
Originally posted by elf
there is no samba configuration area in KDE control center

There is a 'local network browsing' section but the only thing in there is LISa Daemon

oh and thanks for all the help its nice to have a place to get answers to all my linux questions
If it's not there it probably didn't get installed. Check your package manager and install the samba package. Then do what I said. Oh, and just for the heck of it, check for a samba folder in /etc/. Cheers.

Last edited by sharkzf6; 03-07-2005 at 03:32 PM.
 
Old 03-07-2005, 03:35 PM   #11
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
under the package manager it says samba-3.0.4-i486-1 is installed and gives me the option to uninstall

and like I said earlier there is a /etc/samba folder with 'private' (folder) and 'smb.conf' and 'smb.conf-sample'
 
Old 03-07-2005, 03:43 PM   #12
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
Quote:
Originally posted by elf
under the package manager it says samba-3.0.4-i486-1 is installed and gives me the option to uninstall

and like I said earlier there is a /etc/samba folder with 'private' (folder) and 'smb.conf' and 'smb.conf-sample'
Crap, can't check mine right now, booted Debian and got some downloads going I don't want to interupt. I'll check mine and see how it compares. Clearly the Samba package is installed for both the reasons you indicate. Not sure why it would be marked private...you could uninstall and reinstall the package. That's actually more of a Windows trick but 'sometimes' it works with Linux. Like I said, I'll check mine in an hour or so and get back with you. Sounds like something small and annoying but fixable. BTW - do you normally use KDE or Gnome? Did you install both? Cheers.
 
Old 03-07-2005, 03:55 PM   #13
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
Hi,

okay i think we need a recap.

You don't need to configure /etc/samba/samba.conf etc if you just want to browse samba shares on Windoze boxes....

These files are just for allowing samba shares on the box. Although you do need the daemon running

There is a samba browser for KDE - other than Lisa. That i can't remember! lol

Anyway what happens if you type 'smb' at the command prompt.

I'll get back to you with a proper amount of info tomorrow.........
 
Old 03-07-2005, 04:50 PM   #14
sharkzf6
Member
 
Registered: Jan 2005
Location: San Antonio, TX
Distribution: Debian Sarge, SuSE 9.2, Ubuntu Warty, Slackware 10.1
Posts: 63

Rep: Reputation: 15
Quote:
Originally posted by satinet
Hi,

okay i think we need a recap.

You don't need to configure /etc/samba/samba.conf etc if you just want to browse samba shares on Windoze boxes....

These files are just for allowing samba shares on the box. Although you do need the daemon running

There is a samba browser for KDE - other than Lisa. That i can't remember! lol

Anyway what happens if you type 'smb' at the command prompt.

I'll get back to you with a proper amount of info tomorrow.........
I'm sure you are correct. I go both ways on my boxes so I had to set up the smb.conf in order to get into my two Linux boxes from my two XP boxes. Didn't mean to give eroneous info, just conveying my own experience. As I stated, I am newb also...relatively speaking that is. Cheers.

Oh, almost forgot, the KDE browser is just a Konqueror setup to go to smb/// by default, it's like you said, you can actually get there just knowing the address...

Last edited by sharkzf6; 03-07-2005 at 04:52 PM.
 
Old 03-07-2005, 11:08 PM   #15
elf
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
BTW - do you normally use KDE or Gnome? Did you install both?
I normally use KDE because I like the way the interface looks more, but I have both installed and can switch relatively easily with xwmconfig

Quote:
Anyway what happens if you type 'smb' at the command prompt.
It says "-bash: smb: command not found". In case it matters from the prompt it says
Quote:
root@<computername>:~#
(computer name is substituted with my computers name, but I'm sure you already knew that)
 
  


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
Networking with Slackware AJ_Cantos Slackware 9 04-26-2005 06:50 PM
networking w/ slackware 9.1 xviddivxoggmp3 Slackware 6 02-27-2004 05:09 PM
networking xp and slackware exigent Linux - Networking 8 07-19-2003 04:36 PM
slackware 8 NETWORKING xcobra Linux - General 8 06-10-2002 10:09 AM
Slackware Networking slack-penguin Linux - Networking 4 04-29-2002 06:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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