PDA

View Full Version : XP Samba help


linearfish
2006-01-23, 10:33 AM CST
I have two computers:
1. A desktop running XP which is directly connected to my router
2. A laptop running FC4 which links to the router using a wireless card

I've gotten the laptop able to share the internet connection and now I'm having a rough time trying to get file sharing going between the two computers. What I'd really like to be able to do is check my email from either computer. I've played around with Samba using many of the posts from this board but I haven't had much luck. I think my main problem is in how to set up the XP box.

I configured XP to make a "home or office network" named Sadie and used that to enter into Samba. When I browsed from Nautilus, it recognized a Windows Network (though there's no files in there). Windows however, when I click on "view workgroup computers" finds nothing.

Any advice. I'm still very much a newbie when it comes to linux, but at least I'm trying.

Thanks.

overule
2006-01-23, 10:39 AM CST
Same things happened to me!

I can share internet connection but the two computers ( xp and fedora ) are not able to browse what are shared.

I also tried tons of posts from this forum but none worked. :(

linearfish
2006-01-23, 12:02 PM CST
I think this just falls under the category of try...try...try...try...etc... It also falls under the category of "I don't know why it works, but it does."

After reading this (http://www.reallylinux.com/docs/sambaserver.shtml) and not really understanding it, I typed on my linux box ifconfig and found the ip address of the machine. Then I went to my XP machine and in run typed //ipaddress and now I can see my Samba share folders. I still need to add read and write privledges from Windows, but at least I'm making progress.

paperdiesel
2006-01-23, 04:13 PM CST
You need to make sure that you have samba installed.

Open a console, switch to root (su -), and type:

yum install samba.

Once it's installed (or if it's already installed):

You'll need to get samba to start at bootup:

1. Open a console
2. Switch to root (su -)
3. Add these lines to the bottom of your /etc/rc.local file:

/usr/sbin/smbd -D
/usr/sbin/nmbd -D

This way, samba will start up when you boot up. Once you've saved the file and are back at the prompt, run those two commands (one-time only, they'll be running automatically next time you boot).

/usr/sbin/smbd -D
/usr/sbin/nmbd -D

Now that samba is up and running, you need to go to your control panel (in your X GUI of choice) and edit samba... set up some shared folders, etc.

pd

linearfish
2006-01-26, 04:03 PM CST
Just in case anyone else is having this problem:

I couldn't figure out how to get Linux to see the Windows box. Apparently the problem was my Windows Firewall. I set it to allow my laptop's ip address and that seems to have fixed everything.