LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 08-20-2007, 07:11 PM   #1
cafeelgood
LQ Newbie
 
Registered: Aug 2007
Location: Québec, Canada
Distribution: Ubuntu
Posts: 2

Rep: Reputation: 0
hostname -f giving no results


Having a small problem with the hostname. When typing
Code:
root@server:~# hostname -f
hostname: Unknown host
there seems to have a problem... but not with a simple

Code:
root@server:~# hostname
server.*******.info
This is a clean install of ubuntu server edition (feisty fawn) and there are only two modifications:
1.
Code:
echo server.*******.info > /etc/hostname
And
2.
Code:
root@server:~# cat /etc/hosts
127.0.0.1       localhost.localdomain localhost
10.0.4.10       serveur.*******.info serveur

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Does anyone understand this?
Everything seems to be all right...
 
Old 08-20-2007, 07:14 PM   #2
cafeelgood
LQ Newbie
 
Registered: Aug 2007
Location: Québec, Canada
Distribution: Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
I will answer myself but viewing my post... i was writing serveur (which is in french) instead of server like the real name of the machine.

I was using both idiomas, but should only use english when naming a machine... doh.

Sorry for writing this non-problem!
 
  


Reply



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
Strange results when I do a df mlh Linux - General 11 05-31-2007 10:49 AM
chkrootkit results rdwinders Linux - Newbie 4 01-22-2007 03:10 PM
df and du giving contradictory results ? wearetheborg Linux - General 7 02-03-2006 04:49 PM
hostname results mindcry Linux - Networking 0 11-26-2002 05:10 AM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 05:01 PM

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

All times are GMT -5. The time now is 06:47 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
Open Source Consulting | Domain Registration