LinuxQuestions.org
Review your favorite Linux distribution.
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 07-18-2004, 05:20 PM   #1
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Rep: Reputation: 15
set up a standalone server


what i want to do is very simple: set up a standalone server with my suse 9.1 machine that will allow me to play music and movies located on an xp machine

i've been at this for a solid month with nothing to show

-my suse box is visible in LinNeighborhood, but when i query the IP of my xp machine, i get a "query error!"
-testparm returns no errors

here is my smb.conf:

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/07/14 05:02:14

# Global parameters
[global]
workgroup = MSHOME
netbios name = SUSEBOX
interfaces = eth0, lo
security = share
encrypt passwords = yes
map to guest = Bad User
username map = /etc/samba/smbusers
printcap cache time = 750
logon path = \\%L\profiles\.msprofile
logon drive = P:
logon home = \\%L\%U\.9xprofile
printer admin = @ntadmin, root, administrator
cups options = raw
hosts allow = all

[homes]
comment = Home Directories
valid users = %S
read only = No
inherit permissions = Yes
browseable = No

[profiles]
comment = Network Profiles Service
path = %H
read only = No
create mask = 0600
directory mask = 0700
store dos attributes = Yes

[users]
comment = All users
path = /home
read only = No
inherit permissions = Yes
veto files = /aquota.user/groups/shares/

[groups]
comment = All groups
path = /home/groups
read only = No
inherit permissions = Yes

[pdf]
comment = PDF creator
path = /var/tmp
create mask = 0600
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

[printers]
comment = All Printers
path = /var/tmp
create mask = 0600
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin, root
force group = ntadmin
create mask = 0664
directory mask = 0775

can anyone offer some guidance?

Last edited by skippuff54; 07-18-2004 at 05:21 PM.
 
Old 07-18-2004, 06:13 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
are you running a firewall on the xp machine, have you added the proper users to the xp machine, what does smbclient -L ip address of windows machine return?
 
Old 07-18-2004, 09:36 PM   #3
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
are you running a firewall on the xp machine
nope, i disabled it
Quote:
have you added the proper users to the xp machine
i haven't done a thing to the xp machine, and the only reason that i haven't is because when i first started this project, my suse box could "see" my xp box but not the other way around. i made some changes to smb.conf, had all machines seeing each other just fine, then restarted and nothing worked at all...so no, i haven't added any users, what is the proper way to do that?

Quote:
what does smbclient -L ip address of windows machine return?
SUSEBOX:~ # smbclient -L 24.88.126.16
timeout connecting to 24.88.126.16:445
timeout connecting to 24.88.126.16:139
Error connecting to 24.88.126.16 (Operation already in progress)
Connection to 24.88.126.16 failed

i guess that means it's trying to connect on ports 445 and 139, and i'm positive my firewall isn't up on that computer.
 
Old 07-19-2004, 06:58 AM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
if your positive the firewall isn't up on the xp box try adding a user to xp. you'll need the same username and password as the user/samba user of your linux box.
good luck.
 
Old 07-19-2004, 10:18 AM   #5
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
thanks.

i'll give it another shot this afternoon.
 
Old 07-19-2004, 10:21 AM   #6
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
will i need to make any registry changes in xp?
 
Old 07-19-2004, 04:47 PM   #7
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
you shouldn't need to make registry changes to add a user.
good luck.
 
Old 07-19-2004, 08:16 PM   #8
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
You problem is networked related.

That output from smbclient shows that your computer is unable to communicate with the Windows machine. If there are no firewalls on either machine, you need to check your wiring and possibly your NICs for something that is malfunctioning.
 
Old 07-20-2004, 01:23 AM   #9
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
i can ping the machine no problem though
 
Old 07-20-2004, 02:24 AM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Then perhaps the "Server" process isn't running on the Windows XP machine. Or else you have nothing shared on the Windows XP machines. Windows XP won't create the IPC$ unless you share something, and without this SMB networking cannot be established.
 
Old 07-20-2004, 10:18 AM   #11
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
i'm definitely sharing a folder on the xp computer. this is what confuses me about the whole thing. there was a point in time when my shares were visible and accessible, and the only reason that i made any changes at all was because my suse machine was not visible on the network. i made some changes to smb.conf, everything worked for a few minutes, then i restarted and my network was unreachable. i've tried everything, even reinstalled samba twice.

long story short, the reason that i don't think my hardware is malfunctioning is because my network was working fine previously (for a just a moment).

Last edited by skippuff54; 07-20-2004 at 10:23 AM.
 
Old 07-20-2004, 02:43 PM   #12
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have you ensured that smbd and nmbd are infact running?
 
Old 07-20-2004, 03:26 PM   #13
skippuff54
Member
 
Registered: Apr 2004
Location: SC
Distribution: SuSE 9.1 Personal
Posts: 39

Original Poster
Rep: Reputation: 15
over and over again. swat tells me that they're not running, but they start at boot with no error and the logs indicate that they're running.

also,

Quote:
SUSEBOX:~ # ps -C smbd
PID TTY TIME CMD
2653 ? 00:00:00 smbd
SUSEBOX:~ # ps -C nmbd
PID TTY TIME CMD
1942 ? 00:00:00 nmbd
1943 ? 00:00:00 nmbd
again, it seems that they are running. i have tried sending a hangup signal to xinetd too to make sure it wasn't listening on port 139. i want the services to start as daemons instead of through xinetd.

Last edited by skippuff54; 07-20-2004 at 03:30 PM.
 
  


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
StandAlone Mail Server ehegagoka Slackware 9 09-08-2005 09:35 AM
Running a standalone server on startup? critical Linux - Software 5 08-03-2005 05:06 PM
looking for CUPS standalone print server lopette Linux - Networking 6 02-28-2005 02:23 AM
Standalone Samba server from an NT domain dnar Linux - Networking 3 02-24-2003 02:51 AM
Should I run samba server from xinetd or standalone? system Linux - Networking 0 12-19-2001 07:54 AM

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

All times are GMT -5. The time now is 04:54 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