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 03-25-2005, 04:45 PM   #1
Dogface1SG
Member
 
Registered: Oct 2003
Posts: 30

Rep: Reputation: 15
Cannot ping XP box


I have set up a linux/samba server in the past and have had the same problem but forget the fix.

When I join the domain(XP Pro), and re-login I get "name already exists on the network" I also get this from my wife's PC which is running XP Home.

testparm shows good

security = user

I have setup the netlogon and profiles with the right permissions.

Any ideas?
 
Old 03-25-2005, 05:41 PM   #2
soulstace
Member
 
Registered: Mar 2005
Location: USA
Distribution: Knoppix
Posts: 64

Rep: Reputation: 15
Did you give each workstation a different netbios name and ip address?
 
Old 03-25-2005, 07:49 PM   #3
Dogface1SG
Member
 
Registered: Oct 2003
Posts: 30

Original Poster
Rep: Reputation: 15
yep

Each has it's own name, and DHCP is handling IP. Later I will be on the server trying some more things. I will post my smb.conf then.

global]
workgroup = MYWORKGROUP
netbios name = MYDOMAIN
server string = Samba Server %v
interfaces = 127.0.0.1 ETH1 192.168.1.1
bind interfaces only = Yes
security = user
encrypt passwords = Yes
map to guest = Bad User
username map = /etc/samba/smbusers
log level = 3
log file = /var/log/samba/log.%m
max log size = 50
name resolve order = wins lmhosts host bcast
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = logon.cmd
logon path = \\%L\profiles\%u\%m
logon home = \\%L\%u\.win_profile\%m
domain logons = Yes
os level = 255
domain master = Yes
dns proxy = No
wins support = Yes
remote announce = 192.168.1.255
socket address = 192.168.1.1 192.168.1.2 192.168.1.4 192.168.1.5
host msdfs = Yes
winbind uid = 10000-20000
winbind gid = 10000-20000
template shell = /bin/bash
winbind separator = #
winbind use default domain = Yes
printer admin = @"Domain Admins"
guest ok = Yes
profile acls = Yes
printing = cups
host msdfs = Yes

[homes]
comment = Home Directories
path = /home/%u
read only = No

[netlogon]
path = /var/lib/samba/netlogon
browseable = No

[profiles]
path = /var/lib/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No

I am gonna play with my firewall and make sure that isn't it this evening. One would think if I can ping the server, I should be able to ping the client. If I ping the client IP it goes through but by name it doesn't.

I am not winning the master election according to my XP logs.

I am using netstat, nbtstat, and net commands, any others in windoze I need to know?

Last edited by Dogface1SG; 03-26-2005 at 07:30 AM.
 
Old 03-28-2005, 02:03 PM   #4
tbayboy
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Same thing here Dogface on almost the same setup. I can see samba shares and ping the linux box from an xp box and I can see netbios shares on the xp box from the linux box and can ping the xp box's IP but not its name (xp box is using DHCP from our router). I'd love to hear your solution if you find it and I'll keep banging away at it on my end (got a web site on the xp box so entering its ip is becoming a pain especially when it gets a new ip from the DHCP server).
 
Old 03-31-2005, 09:06 PM   #5
Dogface1SG
Member
 
Registered: Oct 2003
Posts: 30

Original Poster
Rep: Reputation: 15
I haven't finished reading it all yet

but I think the root of all our evil is Mandrake "ease of use" automating things.

I am reading msec - Mandrake Security Tools and I think our answer is in there.

Are you running security level higher? I am
 
Old 04-01-2005, 09:03 AM   #6
tbayboy
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
I'm running standard security which appears to be lvl 3 and should be fine. I've still got not idea
 
Old 02-05-2006, 07:04 PM   #7
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Rep: Reputation: 0
I've got the same issue, any ideas?
 
Old 02-07-2006, 07:20 PM   #8
brianbek
LQ Newbie
 
Registered: Mar 2005
Location: Nova Scotia, Canada
Distribution: Mandriva 2006
Posts: 18

Rep: Reputation: 0
nmblookup and NBTScan (http://www.inetcat.org/software/nbtscan.html) both solved by problem hope its some help
 
  


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
Cannot ping linux box from XP box antare Linux - Networking 10 03-10-2005 10:48 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
cant ping my linux box tommytomato Linux - Networking 56 05-18-2004 11:27 AM
Can ping box to box thru router - good sign? toastermaker Linux - Networking 15 12-07-2003 12:00 AM
Can't ping linux box Zero Linux - Networking 4 05-11-2002 01:26 AM

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

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