Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-03-2004, 03:39 PM   #1
LQ Newbie
Registered: Nov 2003
Location: Canada
Distribution: Redhat/mitel-sme
Posts: 6

Rep: Reputation: 0
How to name my linux workstation like in W2K?

Hi Folks,

I have FC1 installed on my workstation and Mitel SME on my server. I'm trying to use SMB to login to my FC1 Workstation from the server to do a backup. To do this I have to give my FC1 workstation a name. I'm pretty sure it's in the /etc/hosts file and a search on the web has not given me a definite answer. I've tried putting a name on the hosts file but then Gnone gives me an error.

Any help or a point in the right direction would be great.


Old 03-03-2004, 03:45 PM   #2
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
man hostname
Old 03-06-2004, 03:59 PM   #3
LQ Newbie
Registered: Nov 2003
Location: Canada
Distribution: Redhat/mitel-sme
Posts: 6

Original Poster
Rep: Reputation: 0
Now I get a Gnome error

I've tried using the hostname command to name my linux workstation. Now I get an error from Gnome on login. The error is:

"Could not lookup internet address for local.localdomain. This will prevent Gnome from operating properly. It may be possible to to correct this problem by adding local.localdomain to the file /etc/hosts."

My hosts file looks like this:

# Do not remove the following line, or various programs
# that require network functionality will fail. localhost.localdomain localhost linux

"linux" is what I named the workstation.

This machine is on my home LAN with another linux server sharing the ADSL connection using DHCP.

Thanks again,

Old 03-06-2004, 04:06 PM   #4
Red Squirrel
Senior Member
Registered: Dec 2003
Distribution: Mint 17.1 KDE on workstation, CentOS 6.x on servers
Posts: 1,121

Rep: Reputation: 47
Put netbios name = computer name in the etc/samba/smb.conf file, you need samba though. I don't get why this is controlled by samba, but I did it and it works. The hostname command does not really work, because when you reboot, it just resets to localhost.localdomain, and that's not really a real hostname because if you type that in any program it won't resolve nowhere, unless you're on the machine.


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 3.0.2, Kerberos, Linux (RHAS3.0), Win2kAD - linux smb server with a w2k client irishb3 Linux - Networking 2 07-20-2004 08:05 AM
I want suse9 workstation to join an w2k domain. posdmr Linux - Networking 0 04-05-2004 10:55 PM
SAMBA bet RH 9 & W2K with Netgear Router - can't see W2K share cevjr Linux - Software 0 07-30-2003 11:44 AM
Is it possible to share a Linux printer on a workstation to W2K clients ikw38 Linux - Networking 1 06-23-2003 09:23 PM
Installed W2k, then RH 7.3 but grub now can't see W2K ericcarlson Linux - General 5 07-17-2002 05:08 PM > Forums > Linux Forums > Linux - Newbie

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

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