LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-29-2009, 02:31 AM   #1
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Rep: Reputation: 15
PC Linux samba not detected on Microsoft Windows Network


Hi all sorry for post question like this, i know this question had been asked many times but i had try many ways but it fails .
My new pc linux samba not detected on microsoft window network and also
can't be ping by hostname by windows pc client but if i use ip address
it want's.
I've try to add netbios name = tower1
on smb.conf and also add wins support = Yes
it can't too, and if i add ip address linux with the hostname
to file host on pc windows client it can but the problem is in my network
there is still users using win98 when i edited the host file it's not effect anything. I'm not yet to install dns server(some of my friends told
me i must install dns server) which make me weird is on old pc linux samba
not configured anything just use standard configuration but it can work actually i don't join the configuration cause that is old server.
Sorry for this post and need advice please.

Thank's a lot.
 
Old 06-29-2009, 05:29 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
can't be ping by hostname by windows pc client but if i use ip address
it want's.
If you can ping a host via IP address, but not with host name, that suggests your 'hosts' file on various systems do not match IP address on the real machines.

Are you running DHCP? Running servers on a network with changing IP addresses is difficult at best. There are two ways to improve this situation.

Go to static IP addresses, and update the 'hosts' files on all systems you need to communicate.

The second way, is to go into to your DHCP server, and set it up so a specific MAC address is always assigned the same IP address. MAC addresses are fixed at manufacturing time ( you can override a hardware MAC address by some OS's ) but once set, this is usually not changed. So the effect is you always know the IP address of a specific machine. This is the more difficult way to set things up, since you need access to the DHCP server, and it needs the ability to assign specific IP's to MAC addresses.
 
Old 06-30-2009, 05:08 AM   #3
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Hi Camorri thanks for your reply, in my network i use dhcp static server using Mikrotik and
on Mikrotik i've add the mac address of the new linux samba and on Mikrotik it detected very well but why on all client Windows PC it not detected on windows network connection if we open the my network places - Entire Network - , the linux samba pc not shown.
Need advise please.

Thanks a lot
 
Old 06-30-2009, 05:38 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
on smb.conf and also add wins support = Yes
This should help. Have you added the samba server to the windows configuration on each windows system? Been a while since I went looking for where exactly to put it, I know it is there. If you can not find it, I have an XP system, and a Win98 system to look at.

Have you got a firewall running on any, or all of your systems? Some Linux distros start one by default. You may have ports blocked.

Are all systems in the same workgroup?
 
Old 06-30-2009, 05:44 AM   #5
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
All System are in one group "FILESERVER" i've set to that.
But i'm not added samba server to each windows configuration, can you tell me how to do that,
cause i think if on each windows system had been setting with the name Workgroup(My computer -
Properties - Computer Name- Change)same as the Linux samba it will be Okay, correct me if i'm
wrong.

Thank's a lot and need advise please.
 
Old 06-30-2009, 08:46 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Open up the TCP/IP configuration. There is an Advanced button, click it. There should be four tabs on the screen, one is the Wins tab. Click it, add the IP address of the Smaba server.

It is similar on other windoze versions.

If that doesn't help, the firewall is the next best bet...
 
Old 06-30-2009, 08:49 AM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
I ran into a problem like this once with an XP box. Installing NetBUEI on the Windows box fixed it.
 
Old 07-02-2009, 05:42 AM   #8
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Hi all thanks for your replies, just now i had setting the wins tab on tcp ip configuration
and added the ip samba server but nothing happen and now i can't got in on windows network connection Fileserver the error is:
"Fileserver is not accessible. You might not have permission to use this network resource.
Contact the Administrator of this server to find out if you have access permissions.
the server is not configured for transactions"
When i use new samba server the old samba server i've turn off and plug out the network cable,
is there any relations about that ?
And for now i will try Netbeui, need advise please, sorry for disturbing all your time.

thanks a lot.
 
Old 07-02-2009, 06:18 AM   #9
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Hi all, sorry just now i've found the problem, the problem is on samba setting on yast
i use suse 10.2 and on samba server - identity - netbios hostname must empty so i just delete
the content on netbios hostname and it success.
I don't know why the netbios hostname on samba server with yast must empty cause the content on
that is true using the real hostname "tower1" ???
Maybe anyone know the reason, please tell me.
Thanks a lot for all your help and sorry for this dumb question.


regards,
b-RAM
 
Old 07-02-2009, 06:36 AM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Sorry, can not help you understand the effect of the Netbui name. I have never used one. It sounds like things are working now, Is that correct?
 
Old 07-02-2009, 07:38 PM   #11
b-RAM
Member
 
Registered: Apr 2009
Distribution: OpenSuse, Slackware
Posts: 70

Original Poster
Rep: Reputation: 15
Yes, Camorri thank you for your help and your kind attention. ^^


regards,
b-RAM
 
  


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
Logon to Windows network from linux ...not SAMBA! jago25_98 Linux - Networking 1 05-22-2007 07:19 AM
how windows partition is detected by samba abhis_mail2002 Fedora 3 12-07-2005 08:27 AM
Formatting new hd for windows-linux samba network use? matsgl Linux - Hardware 4 03-01-2005 05:04 PM
can browse samba network with windows but not linux tuxkwb Linux - Networking 0 12-01-2004 04:52 PM
Samba and firewalls on Linux/Windows network - where to start? abovett Linux - Security 9 06-21-2004 06:18 PM

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

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