Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-29-2004, 09:26 PM
|
#1
|
LQ Newbie
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3
Rep:
|
File sharing using Samba
Please help. I'm trying to use Samba to share files between a Windows XP Home machine and a Linux machine (Fedora Core 2). Printing and Internet access work fine (the Windows machine is connected to the Internet and to the printer). But I can't get file sharing to work. When I go in Windows Explorer, it shows Mygroup, but when I click on it, the machine hangs up.
Here's my smb.comf:
[global]
workgroup = mygroup
server string = Samba Server
hosts allow = 192.168.0.1
printcap name = /etc/printcap
load printers = yes
cups options = raw
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
username map = /etc/samba/smbusers
password server = None
guest ok = yes
dns proxy = yes
[homes]
comment = Home Directories
browseable = yes
writeable = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
printable = yes
[adam]
path = /home/adam
browseable = yes
writeable = yes
guest ok = yes
Thanks very much.
|
|
|
11-29-2004, 10:02 PM
|
#2
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Is the windows box 192.168.0.1?
What's in /var/log/samba/%m.log? (%m is the connecting machine name)
|
|
|
11-30-2004, 09:24 PM
|
#3
|
LQ Newbie
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3
Original Poster
Rep:
|
Yes, the Windows box is 192.168.0.1.
I can't open the log files. When I double click, I get a message that it could not display; the attempt to log in failed. When I right click, the icon disappears.
|
|
|
11-30-2004, 09:34 PM
|
#4
|
Senior Member
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197
Rep:
|
Quote:
Originally posted by adammthompson
When I double click, ...
|
Click?
Try a terminal and more /var/log/samba/machineName.log to see the whole file, or tail /var/log/samba/machineName.log to see the last 10 lines of it.
|
|
|
12-02-2004, 09:01 PM
|
#5
|
LQ Newbie
Registered: Oct 2004
Distribution: Fedora Core 2
Posts: 3
Original Poster
Rep:
|
/var/log/samba has nmbd.log nmbd.log.1 nmbd.log.2 smbd.log smbd.log.1 smbd.log.2. Here is nmbd.log.2:
[2004/10/31 21:58:29, 0] nmbd/nmbd.c:main(665)
Netbios nameserver version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/10/31 21:58:37, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
[2004/10/31 21:58:38, 0] nmbd/nmbd.c:main(665)
Netbios nameserver version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/10/31 21:59:11, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
[2004/10/31 21:59:12, 0] nmbd/nmbd.c:main(665)
Netbios nameserver version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/10/31 22:00:30, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
[2004/10/31 22:00:31, 0] nmbd/nmbd.c:main(665)
Netbios nameserver version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1994-2004
[2004/10/31 22:06:20, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server LOCALHOST is now a local master browser for workgroup MYGROUP
on subnet 192.168.0.194
*****
[2004/10/31 22:41:00, 0] nmbd/nmbd.c:terminate(54)
Got SIGTERM: going down...
Here's smbd.log.2:
[2004/10/31 21:58:28, 0] smbd/server.c:main(760)
smbd version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/31 21:58:37, 0] smbd/server.c:main(760)
smbd version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/31 21:59:12, 0] smbd/server.c:main(760)
smbd version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/10/31 22:00:31, 0] smbd/server.c:main(760)
smbd version 3.0.7-2.FC2 started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
Does this help at all?
|
|
|
All times are GMT -5. The time now is 12:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|