LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-01-2005, 04:21 PM   #1
djgerbavore
Member
 
Registered: Jun 2004
Location: PA
Distribution: Fedora (latest git kernel)
Posts: 458

Rep: Reputation: 30
networking xp and linux


I'm trying to set up a small network, to share folders and printers. However i'm getting errors when i start nmbd daemon.
Code:
[2004/12/31 05:36:02, 0] nmbd/nmbd.c:main(795)
  Netbios nameserver version 2.2.8a started.
  Copyright Andrew Tridgell and the Samba Team 1994-2002
[2004/12/31 05:36:06, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 26569 received with no matching record.
[2004/12/31 05:36:06, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
  find_response_record: response packet id 26570 received with no matching record.
[2004/12/31 05:41:47, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
i can ping the xp machine, and i have just a basic, simple smb.conf file just to start out.

Code:
[gobal]
	workgroup = WORKGROUP
	hosts allow = 169.254.203.196
[homes]
	comment = home dir
	writeable = Yes
	browseable = Yes
is there something i have to set up on my xp machine or do i need change my smb.conf file?

thanks for the help

djgerbavore
 
Old 01-01-2005, 07:37 PM   #2
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
xp to linux network

hello djgerbavore

I have a similar system to yours

The following is my /etc/samba/smb.conf file

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba HOWTO Collection.
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings =====================================
[global]

# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
workgroup = WORKGROUP

# server string is the equivalent of the NT Description field
server string = Samba Server


# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.1.

# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

security = share
password level = 0

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY


# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
os level = 0

# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
domain master = no

# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = no

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes

#============================ Share Definitions ==============================
[HDD]
comment = shared area
path = /shared
public = yes
writable = yes


fort this to work for you, you will need a /shared directory on your linux box. And you need to (as root) chmod 777 /shared
also, on the xp box your workgroup needs to be the default name "workgroup"

This is a simple low/no security method I use on a protected network.

good luck.
 
  


Reply



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
Linux networking slylos Linux - Newbie 8 02-24-2005 03:37 PM
Linux Networking alexr186 Linux - Networking 4 10-11-2003 10:48 AM
Linux Networking Arch3r Linux - Networking 0 07-22-2003 03:01 PM
Linux RH 8.0 networking klmn1 Linux - Networking 1 11-18-2002 06:52 AM
Networking Linux Disaster Linux - Newbie 6 12-04-2000 04:46 PM

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

All times are GMT -5. The time now is 10:02 AM.

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