LinuxQuestions.org
Visit Jeremy's Blog.
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 12-21-2003, 06:06 PM   #1
david_bridges
LQ Newbie
 
Registered: Dec 2003
Posts: 2

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


Hi,

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 :-)

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

Rep: Reputation: 30
Edit smb.conf and look for a line something like:
Code:
;    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, 07:15 PM   #3
david_bridges
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.

Thanks,
David Bridges
 
  


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

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

All times are GMT -5. The time now is 11:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration