LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Cannot Browse Linux Box From Windoze XP (https://www.linuxquestions.org/questions/linux-networking-3/cannot-browse-linux-box-from-windoze-xp-405119/)

rstein6516 01-18-2006 06:30 PM

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.

Maestro485 01-18-2006 06:52 PM

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.

rstein6516 01-18-2006 07:14 PM

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.

Maestro485 01-19-2006 11:09 AM

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.

Dmjmusser 01-19-2006 12:28 PM

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

rstein6516 01-20-2006 03:51 PM

Thanx all I am learning alot. The site samba.org is a wealth of information.

Maestro485 01-20-2006 05:39 PM

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

Dmjmusser 01-23-2006 10:03 AM

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

Maestro485 01-24-2006 07:00 AM

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


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