Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-21-2003, 07:06 PM   #1
LQ Newbie
Registered: Dec 2003
Posts: 2

Rep: Reputation: 0
Question My computer is calling itself "localhost" in windows


I've just installed redhat9 and am having problems connecting other computers (2x w2k & 1xMAC ) to the linux computer.

After manually setting the ip addresses of the machines to get them on the same subnet ( i can ping between machines = good), the machine is showing up in the network neighbourhood as Localhost.

Naturally this is not good given that each machine out there thinks of itself as being localhost.

How do i change my machine name and/or get samba to broadcast a specific name to the network?

At the moment it's a default setup.

I'm two days old on linux. Yesterday having been spent getting the machine to dual boot with windows on a second hard disk :-)

David Bridges
Old 12-21-2003, 07:18 PM   #2
Registered: Jul 2003
Distribution: Debian Testing
Posts: 180

Rep: Reputation: 30
Edit smb.conf and look for a line something like:
;    netbios name = <name_of_this_server>
Uncomment it if it's commented (no leading semicolon), and change <name_of_this_server> to whatever you want to broadcast.
Old 12-21-2003, 08:15 PM   #3
LQ Newbie
Registered: Dec 2003
Posts: 2

Original Poster
Rep: Reputation: 0
It worked. Thanks.

There was no such line in the conf so i did have to add it.

I've also done some searching and found that the firewall is blocking the requests too.

David Bridges


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
Why "bash-2.05b$" in Terminal instead of "username@localhost username" jayelitumbiolo Linux - General 9 10-04-2009 04:16 AM
how do i change the name of my computer from "localhost" poiuytrewq Linux - Newbie 3 04-17-2005 06:57 AM
odd recursion: calling "by hand" vs calling by cronscript... prx Programming 4 02-12-2005 05:59 PM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-07-2005 12:44 AM
computer name "localhost" deWin Linux - Networking 5 03-23-2004 01:11 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration