Linux - NetworkingThis 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.
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.
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
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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?
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.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.