LinuxQuestions.org
Help answer threads with 0 replies.
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 01-18-2006, 07:30 PM   #1
rstein6516
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Rep: Reputation: 0
Cannot Browse Linux Box From Windoze XP


I am a linux newbie and am having a problem accessing the linux box from a windows xp box. I can access the windows xp box from linux. I can also see the debian box from windows xp in network neighborhood. When I click on it I get the message user not able to log in from this account. I guess I have to set up the user of the xp box on the linux box but have no clue how to do it.
 
Old 01-18-2006, 07:52 PM   #2
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
The problem is likely with your samba configuration. Samba is the program that allows networking between windows and linux, and the fact that you can see the linux box from windows indicates that its working. The samba configuration file (smb.conf) is generally located somewhere in the /etc directory, but it can vary and I've never used debian myself. Someone else around here may know the trick, or check out the samba website.

Alternatively, you might want to check out a program called webmin (www.webmin.com). It provides a GUI via the web browser for configuring a wide variety of programs, including samba. It's basically a frontend for the config files, but I've always found it pretty useful, especially as a beginner.
 
Old 01-18-2006, 08:14 PM   #3
rstein6516
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx

Thanx I will give it a look but as a beginner I would like to learn to do it manually. If anyone else has any info on how to do it I would appreciate the input. In debian the file is located at /etc/samba/smb.conf.
 
Old 01-19-2006, 12:09 PM   #4
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
The smb.conf file offers a lot of examples for you to experiment with. The easiest way to make a folder completely accessible is this entry:

[nameofshare]
public = yes
path = /path/to/shared/directory

There are many other options you can introduce for security and they are covered fully in the smb.conf man page. That man page is quite long however, so you may want to check out the documentation on the website instead.
 
Old 01-19-2006, 01:28 PM   #5
Dmjmusser
Member
 
Registered: Nov 2005
Location: Detroit, Michigan -- USA
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
If you really want to learn how to make Samba work for you, you can also go to Samba.org and check out the "Offical HOWTO" and "Learn By Example" in the links on the left of the homepage.

There are MANY options available to you when using Samba. I use Samba as a file server, and in a secure networking environment, you can do just a couple of simple things to make the Samba file server fairly secure for your users.

Yes, you'll need to set shares. The example above is a very simple example, but sometimes more is needed than just the smb.conf file. You may also need to set up Samba usernames and passwords for logins. Or that basic setup may work for you. It just depends on your situation. In the HOWTO section on the website I cited, there is a chapter called "Fast Start: Cure for Impatience" that will show very basic Samba setups for file servers.

The smb.conf file that should already be in your /etc/samba/ directory should also show you some different options available to you. My recommendation, however, would be for you to start off with a fresh file (though I would keep the "default" for backup), and use what you learn from the HOWTO to create a file that suits your needs.

Enjoy yourself! Samba can be really cool to play around with once you get a basic grasp of its concepts.

~Myles

Last edited by Dmjmusser; 01-19-2006 at 01:30 PM.
 
Old 01-20-2006, 04:51 PM   #6
rstein6516
LQ Newbie
 
Registered: Dec 2005
Posts: 13

Original Poster
Rep: Reputation: 0
Thanx all I am learning alot. The site samba.org is a wealth of information.
 
Old 01-20-2006, 06:39 PM   #7
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
Glad to see you're getting the hang of it. Not to be plugging webmin or anything, but a great deal of what I learned about samba configuration was by having webmin do it for me, then checking out the smb.conf file to see what the hell happened :-)

However, there is nothing better than reading the manual. That is really one of the best parts of linux...the documentation is free and thorough, plus the community is always there to answer questions.

Anyway, keep working with it. Samba is a fantastic program (I even have it on my xbox thanks to xebian).

-Matt
 
Old 01-23-2006, 11:03 AM   #8
Dmjmusser
Member
 
Registered: Nov 2005
Location: Detroit, Michigan -- USA
Distribution: Fedora Core
Posts: 90

Rep: Reputation: 15
Quote:
Originally Posted by Maestro485
Samba is a fantastic program (I even have it on my xbox thanks to xebian).

-Matt
Whoa, are you serious? What do you use Samba for on your Xbox?

~Myles
 
Old 01-24-2006, 08:00 AM   #9
Maestro485
Member
 
Registered: Apr 2004
Location: Pittsburgh
Distribution: Slackware
Posts: 136

Rep: Reputation: 16
I have a modchip in it which allows me to run linux and therefore samba on my xbox. Its a distro called Xebian made for the xbox. Check out:

xbox-linux.sourceforge.net

if you are interested. I put a bigger hard drive in it and use it as a "server"/backup machine. Plus Xebian comes with freevo, so my music/movie files are accessable via xbox remote through my tv and stereo.

I must say I use my xbox way more now with linux on it than I did for playing games (actually I only played halo 2, but that is a great game).

Matt
 
  


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
how to install openssh on cywin on a windoze box browny_amiga General 4 04-01-2006 11:16 AM
trouble setting shares so samba networked xp box can browse files mjewell Mandriva 4 11-13-2005 09:20 AM
Possible secret account on Windoze box.. need help fotoguy General 5 08-15-2004 07:12 PM
can't browse windows workgroup when linux box online revdshepard Linux - Networking 2 02-04-2004 03:14 PM
netsending a windoze box? fr0ggeh Linux - Software 1 07-20-2003 12:14 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration