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 03-09-2006, 02:18 AM   #1
jwl
LQ Newbie
 
Registered: Mar 2006
Location: Johannesburg
Distribution: Suse 10
Posts: 10

Rep: Reputation: 0
Coputer ID - SAMBA


I have been using Linux on servers for networks for some time (using samba), however I now want to put two servers onto a network, using the second as a backup server. The problem that I have is that after installing the Suse OS and setting up Samba, both servers have the ID Linux. How can this be changed. When I installed I entered Linux2 for the second server, but somehow that has not registered or is it Samba?
 
Old 03-09-2006, 04:02 AM   #2
blinkey
Member
 
Registered: Mar 2006
Posts: 30

Rep: Reputation: 15
I'm guessing that you are browsing the network from a Windows machine, and have just made the change. The Windows browser function will remember a machine for quite a long time, I think upto 90 minutes.

But you should also be able to see the "new" machine.

If this is the problem, you will not be able to access the "old" machine.

You can either wait for the master browser to sort this out, or shutdown and restart ALL machines at the SAME time. (They MUST all be off at the same time or this will not work.)

If you can't see the new machine or the problem machine sees itself as the wrong name this isn't the problem.
 
Old 03-09-2006, 10:03 AM   #3
jwl
LQ Newbie
 
Registered: Mar 2006
Location: Johannesburg
Distribution: Suse 10
Posts: 10

Original Poster
Rep: Reputation: 0
Computer id

Yes!, I am browsing from windows, but that is not the problem. If either of the servers is on, I am able to browse the shared folders. I think that when SuSE is installed or possibly Samba, the computer id is set to Linux. This has been fine when I have only one server on the network.

I have tried to find where the computer name/id can be amended, but have not been able (what with knowing the windows method, which is not the same for Linux). Is it possibly the Netbios id that needs to be changed? and if so, where and how can this be achieved.

Thanks in advance
 
Old 03-09-2006, 11:11 AM   #4
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Quote:
Originally Posted by jwl
...Is it possibly the Netbios id that needs to be changed? and if so, where and how can this be achieved...
/etc/smb.conf or /etc/samba/smb.conf or possibly your smb.conf is in another location, I have no idea where SuSE puts it by default. Anyhow, it has a setting that you can modify:

netbios name = linux
 
Old 03-09-2006, 03:47 PM   #5
jwl
LQ Newbie
 
Registered: Mar 2006
Location: Johannesburg
Distribution: Suse 10
Posts: 10

Original Poster
Rep: Reputation: 0
Id SAMBA

Quote:
Originally Posted by Darin
/etc/smb.conf or /etc/samba/smb.conf or possibly your smb.conf is in another location, I have no idea where SuSE puts it by default. Anyhow, it has a setting that you can modify:

netbios name = linux
This has now given me the netbiosname when I browse, however the original name also appears. The server is now giving me two id's on the network.

I need to change the first name, which I presume is the computer name that has been assigned when the OS was installed. Where can this name be changed?
 
Old 03-09-2006, 03:57 PM   #6
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
server string =

is the only other reference that Samba has to naming. It is equal to the "description" field in network properties of a windows host.

Unless you mean the hostname, which is not referenced by Samba since the naming conventions are different between netbios names and *nix hostnames.
 
Old 03-09-2006, 05:25 PM   #7
jwl
LQ Newbie
 
Registered: Mar 2006
Location: Johannesburg
Distribution: Suse 10
Posts: 10

Original Poster
Rep: Reputation: 0
The problem is solved, both the host name and the netbios name were showing when browsing. I then deleted the netbios name and changed the hostname which then showed only the one name on the network. I then thought about it and checked and found that the ADSL router was showing both names on the windows work station as it had not discarded the first name after the change. If I then left it for a few minutes, the first name would be removed and only the netbios name would show. If I then remove the netbios name and wait for a few minutes, then only the hostname shows.

Thanks for the help
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
Connecting to a remote coputer Mladek Linux - Software 2 07-07-2003 05:45 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

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

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