LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-05-2004, 03:46 PM   #1
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Rep: Reputation: 30
command prompt - username@mac address?


at a command prompt I get
Quote:
username@x1-6-110-0d-41-25-f3-47
something like that. Shouldnt it say username@servername?

I thought editing the /etc/hosts file would change that but Im obviously wrong.

Any suggestions?
The GNUbie
 
Old 03-05-2004, 04:13 PM   #2
gregaryh
Member
 
Registered: Jan 2004
Location: Utah USA
Distribution: SuSE Pro 9.0
Posts: 43

Rep: Reputation: 15
Depends on your Distro. On SuSE Systems for instance you would create a file called HOSTNAME in the /etc directory with a single line containing your fully qulaified domain name (FQDN). Or you can use YaST to set it.
 
Old 03-05-2004, 04:30 PM   #3
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
should say under my username

Mandrake 9.2
 
Old 03-15-2004, 12:16 AM   #4
ken1977
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
I have the same problem

Did you ever figure out a solution to it? If you happen to get username@servername or username@ipaddress, I would be grateful if you could post a quick synopsis of what you did.
 
Old 03-15-2004, 01:56 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: command prompt - username@mac address?

Quote:
Originally posted by ryedunn
at a command prompt I get something like that.

username@x1-6-110-0d-41-25-f3-47

Shouldnt it say username@servername?

I thought editing the /etc/hosts file would change that but Im obviously wrong.

Any suggestions?
The GNUbie
Considering the presence of the x and a three-digit
section it's certainly not a mac address ... more likely
to be the assigned hostname that you have with your ISP.


Maybe you want to add your hostname with a
local IP address to your /etc/hosts


Cheers,
Tink
 
Old 03-16-2004, 08:55 AM   #6
ryedunn
Member
 
Registered: Jul 2003
Location: Chicago
Distribution: Fedora, ubuntu
Posts: 459

Original Poster
Rep: Reputation: 30
yes I got it.

I was as simple as just typing

hostname <whatever>
 
  


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
username and password prompt: samba configuration caesarkim Linux - Networking 4 05-21-2009 10:13 AM
How to find an IP address from the MAC address of a remote machine ? jitz Linux - General 3 01-03-2006 08:55 AM
How to find IP address of a machine if I know their MAC Address dysenteryduke Linux - Networking 13 09-12-2005 11:21 AM
how to get ip address, broadcast address, mac address of a machine sumeshstar Programming 2 03-12-2005 05:33 AM
DHCP Server MAC Address found, IP address not assigned wmburke Linux - Wireless Networking 17 11-17-2004 11:33 AM


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