LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-28-2003, 01:52 PM   #1
ardi76
LQ Newbie
 
Registered: Apr 2003
Posts: 9

Rep: Reputation: 0
How to find a name of Linux box!


Hi, everyone!
I have a newbie question:
How to find a name of Linux box?
I'm installing a samba server and I need a name of linux box to add to the other w2k box!
Thx in advance!
 
Old 08-28-2003, 01:55 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
do you mean this name?
cat /etc/sysconfig/network | grep HOSTNAME
 
Old 08-28-2003, 02:29 PM   #3
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
To find the name for SMB its in the smb.conf file. there is a entry that says "netbios name=" thats where you can find it
 
Old 08-28-2003, 02:55 PM   #4
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
At the command line, type: hostname
 
Old 08-28-2003, 03:07 PM   #5
ardi76
LQ Newbie
 
Registered: Apr 2003
Posts: 9

Original Poster
Rep: Reputation: 0
Thx guys, the command hostname showed me the exact name like the w2k machine when connected the linux machine on network!
I really do not understand why when I connect to Linux box like a root the command in shell is like this
"linux:/" and this is the machine name. I was expecting more the invitation like "root:/"

thx again!
 
  


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
find linux box by name vs. IP zchoyt Linux - Networking 6 08-15-2005 10:24 PM
WinXP does not find Linux Box in Network noordwijk Linux - Networking 6 08-05-2005 11:05 PM
How can I find out the users setup on a Linux box R4z0r Linux - General 4 06-28-2003 11:32 AM
windows cant find linux box manthram Linux - Networking 4 03-31-2002 11:30 PM
What's up with this - Netscape can't find Linux Box (Pop3) pponchot Linux - Networking 1 10-06-2001 10:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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