LinuxQuestions.org
Help answer threads with 0 replies.
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
 
LinkBack Search this Thread
Old 04-23-2004, 01:08 AM   #1
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Distribution: Mandrake 10.1CE(desktop) Slackware 10.0 (Laptop)
Posts: 230

Rep: Reputation: 30
Samba- works if you manually enter ip


I looked around this site but couldn't really find anything that sounded like my problem.

I am running Mandrake 10 on a small office network. We are using the linux box as a file server and have configured Samba to allow Windows 2000 computers the ability to save and pull from a central location. The problem is this, If I open "Network Neighborhood" it does not show the server, only the other client PC's. In order to see the server I have to manually enter the IP address of the server. I can map drives this way too and they work great, I just cannot browse to find them. I must manually enter the entire address.

In other words, Win2k is able to connect to the server, read and write to the proper shares, map the folders, etc.. but the server name (file-server) is never visible under network neighborhood. I would like to be able to click on it from a windows box and see the folders without having to manually enter the IP. I will be adding more linux boxes and want to be able to see them in the tree as well.

By the way, I can see the server, by name, using SMB4k.

What am I doing wrong here?

Thanks Peacedog for the starter smb.conf file. I pasted and built mine from it. It worked great and got me up and running.
 
Old 04-23-2004, 04:12 AM   #2
pudhiyavan
Member
 
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
can you just post your smb.conf file
 
Old 04-23-2004, 09:28 AM   #3
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Distribution: Mandrake 10.1CE(desktop) Slackware 10.0 (Laptop)
Posts: 230

Original Poster
Rep: Reputation: 30
ok< sorry about that. here is my smb.conf
it is based on the one peacedog posted as his starting point.


[global]

workgroup = MDKGROUP
netbios name = localhost
server string = Samba Server %v
security = SHARE
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = yes
printer admin = @adm
printing = cups

[homes]
comment = Home Directories
path = /home/user1
public = yes
browseable = yes
writable = yes


[HPofficeJetT]
comment = HP OfficeJet T
path = /var/spool/samba
read only = No
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
printer name = HPOfficeJetT
oplocks = No
share modes = No

Now, just so you know. everything is working great. All of the users login and access their folders just fine. We just cant "see" the server name listed anywhere or login using the "name" we have to manually type \\192.168.0.1\home and map it that way.

Thanks for any help
 
Old 04-23-2004, 11:06 AM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
change this

netbios name = localhost

to

netbios name = <anyname>

and insure nmbd is running. remember after any changes to restart both smbd and nmbd.
good luck.
 
Old 04-23-2004, 04:43 PM   #5
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Distribution: Mandrake 10.1CE(desktop) Slackware 10.0 (Laptop)
Posts: 230

Original Poster
Rep: Reputation: 30
Ok, I changed the name of the netbios and restarted SMBD. NMBD is also running. I still have the same situation.

I can map the drives and they work fine but the computer does not show up in the workgroup lists of the XP or win2k boxes. The workgroup only shows two computers.
 
Old 04-23-2004, 06:22 PM   #6
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
are you running any firewalls, if so have you made provisions for the network? just checking, have you restarted the windows machines?
 
Old 04-23-2004, 10:20 PM   #7
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Distribution: Mandrake 10.1CE(desktop) Slackware 10.0 (Laptop)
Posts: 230

Original Poster
Rep: Reputation: 30
I am running a firewall in my router. I turned it off and had similar results. I have rebooted the Windows boxes and have, of course restarted smbd.

Its one of those things that only bothers me because I don't know the answer. The truth is, I like it ok like this because nobody can poke around. Once I map the drives with the Windows boxes, they work fine and I only had to do it once because I set them up to automap when they boot.

I still want to know why though...
 
Old 04-23-2004, 10:44 PM   #8
Crito
Senior Member
 
Registered: Nov 2003
Location: Knoxville, TN
Distribution: Kubuntu 9.04
Posts: 1,168

Rep: Reputation: 53
You also need to change the default workgroup name, MDKGROUP, to whatever your Windows computers use.
 
Old 04-24-2004, 04:09 PM   #9
Frank_Drebin
Member
 
Registered: Feb 2004
Location: Atlanta, GA USA
Distribution: Mandrake 10.1CE(desktop) Slackware 10.0 (Laptop)
Posts: 230

Original Poster
Rep: Reputation: 30
Quote:
You also need to change the default workgroup name, MDKGROUP, to whatever your Windows computers use.
Did this originally and it didn't do a thing. I then changed the windows boxes to mdkgroup and rebooted each one of them. They all see the group fine and see eachother fine. The server just doesn't show up.
 
Old 04-24-2004, 09:44 PM   #10
zaphodiv
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 388

Rep: Reputation: 30
Are you using static ip addresses? If the subnet mask is different on the clients and server it could explain this problem eg if the server is using 255.255.0.0 and the clients re using 255.255.255.0

They must all be using the same braodcast address to show up in network neighbourhood
 
Old 04-26-2004, 11:52 AM   #11
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA Approx. N 36°36.434' W 79°24.342' Accur. 100' or so.
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,209

Rep: Reputation: 155Reputation: 155
try changing

dns proxy = yes

to

dns proxy = no
 
Old 04-26-2004, 03:02 PM   #12
Freeman-Jo
Member
 
Registered: Apr 2004
Location: Internet
Distribution: Gentoo
Posts: 30

Rep: Reputation: 15
I don't think that's what PEACEDOG meant, when he ask you to check it.
Firewall/Router, doesn't block traffic w/in, it only block the perameter.
What he meant was check if you have any firewall services on your linux box, eg: ipchains, iptables.

Quote:
Originally posted by Frank_Drebin
I am running a firewall in my router. I turned it off and had similar results. I have rebooted the Windows boxes and have, of course restarted smbd.

Its one of those things that only bothers me because I don't know the answer. The truth is, I like it ok like this because nobody can poke around. Once I map the drives with the Windows boxes, they work fine and I only had to do it once because I set them up to automap when they boot.

I still want to know why though...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
My sound module (snd-mia) works, but without manually restarting the initscript... jacksonscottsly Linux - Hardware 0 07-31-2005 08:19 AM
dhclient works only manually?? djlinux Linux - Networking 1 06-20-2005 05:09 AM
What password I should enter at attempt of access to the catalogue of a samba-server? ukrainet Linux - Newbie 1 12-21-2004 07:36 AM
Samba: XP can see shares, but cannot enter them paradoxdruid Linux - Software 0 09-20-2004 11:20 PM
xmms - freedb doesn't recognize CD - can I enter manually? cpv204 Linux - Software 0 06-05-2003 08:47 PM


All times are GMT -5. The time now is 01:51 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration